Function at 0x4c3390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4c3845
test eax, eax
je 0x4c3852
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510510
test eax, eax
je 0x4c383b
mov dword [esp + 4], eax
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510480
mov dword [esp + 0x24], eax
test eax, eax
je 0x4c3878
mov edx, ebx
and edx, 8
mov dword [esp + 0x30], edx
mov edx, ebx
and edx, 4
mov dword [esp + 0x2c], edx
and ebx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004b3680
cmp dword [esp + 0x20], eax
jge 0x4c3845
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004b36a0
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov esi, dword [eax + 4]
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x4c37a0
mov edi, eax
sub edi, esi
xor ebx, ebx
jmp 0x4c349f
mov dword [esp + 4], ebx
mov eax, dword [0x65de28]
mov dword [esp], eax
call fcn.004b36a0
mov ebp, eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x4c35e0
inc ebx
mov eax, dword [0x65de28]
mov dword [esp], eax
call fcn.004b3680
cmp ebx, eax
jl 0x4c3470
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4c34e0
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4c37f2
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c378b
inc dword [esp + 0x20]
jmp 0x4c3410
mov dword [esp + 8], 0x5e6af5
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510510
mov edi, eax
test eax, eax
jne 0x4c3509
call fcn.004b1c20
mov edi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.00511270
mov ebx, eax
test eax, eax
je 0x4c3900
mov dword [esp + 4], str.OPENSSL_init
mov dword [esp], eax
call fcn.00510eb0
mov dword [esp + 0x38], eax
test eax, eax
je 0x4c38df
mov dword [esp + 4], str.OPENSSL_finish
mov dword [esp], ebx
call fcn.00510eb0
mov dword [esp + 0x3c], eax
mov ebp, dword [0x65de28]
test ebp, ebp
je 0x4c38e6
mov dword [esp + 8], 0x12b
mov dword [esp + 4], str.conf_mod.c
mov dword [esp], 0x18
call fcn.004b8170
mov ebp, eax
test eax, eax
je 0x4c3884
mov dword [eax], ebx
mov dword [esp], esi
call fcn.004cebc0
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 0
mov dword [esp + 4], ebp
mov eax, dword [0x65de28]
mov dword [esp], eax
call fcn.004b3350
test eax, eax
je 0x4c387c
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 0x163
mov dword [esp + 4], str.conf_mod.c
mov dword [esp], 0x14
call fcn.004b8170
mov edi, eax
test eax, eax
je 0x4c36eb
mov dword [eax], ebp
mov dword [esp], esi
call fcn.004cebc0
mov dword [edi + 4], eax
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.004cebc0
mov dword [edi + 8], eax
mov dword [edi + 0x10], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c36d7
test eax, eax
je 0x4c36cc
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c37af
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], edi
call eax
test eax, eax
jle 0x4c37dd
mov ebx, 1
mov eax, dword [0x65de2c]
test eax, eax
je 0x4c37be
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b3350
test eax, eax
je 0x4c3686
inc dword [ebp + 0x10]
jmp 0x4c34d0
mov dword [esp + 0x10], 0x185
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x73
mov dword [esp], 0xe
call fcn.004b2280
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c36c1
test ebx, ebx
jne 0x4c37e8
test edi, edi
je 0x4c36eb
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c36d4
mov dword [esp], ecx
call fcn.004b8660
mov eax, dword [edi + 8]
test eax, eax
je 0x4c36e3
mov dword [esp], eax
call fcn.004b8660
mov dword [esp], edi
call fcn.004b8660
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4c34c4
mov dword [esp + 0x10], 0xeb
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x6d
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.004b2280
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.__8d
mov dword [esp + 4], 0xd
lea eax, [esp + 0x43]
mov dword [esp], eax
call fcn.004de760
lea edx, [esp + 0x43]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], str.__retcode
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x5e6b41
mov dword [esp + 8], esi
mov dword [esp + 4], str.module
mov dword [esp], 6
call fcn.004b2a50
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c34d0
mov eax, 0xffffffff
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edi, eax
jmp 0x4c3460
xor ebx, ebx
mov eax, dword [0x65de2c]
test eax, eax
jne 0x4c366e
call fcn.004b2e70
mov dword [0x65de2c], eax
test eax, eax
jne 0x4c366e
mov dword [esp + 0x10], 0x17e
jmp 0x4c368e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c36c1
mov dword [esp], edi
call eax
jmp 0x4c36c5
mov dword [esp + 0x10], 0xde
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.004b2280
mov dword [esp + 8], esi
mov dword [esp + 4], str.module
mov dword [esp], 2
call fcn.004b2a50
jmp 0x4c34c4
test bl, 0x20
jne 0x4c3852
call fcn.004b1c20
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], str.openssl_conf
mov dword [esp + 4], 0
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510510
test eax, eax
jne 0x4c33d3
jmp 0x4c3840
xor eax, eax
jmp 0x4c384a
mov dword [esp], ebp
call fcn.004b8660
xor ebp, ebp
mov dword [esp], ebx
call fcn.00510bc0
mov dword [esp + 0x10], 0x11d
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x75
mov dword [esp], 0xe
call fcn.004b2280
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__path
mov dword [esp + 8], esi
mov dword [esp + 4], str.module
mov dword [esp], 4
call fcn.004b2a50
jmp 0x4c34b8
mov ebp, 0x70
jmp 0x4c3886
call fcn.004b2e70
mov dword [0x65de28], eax
test eax, eax
je 0x4c3884
jmp 0x4c3571
mov ebp, 0x6e
jmp 0x4c388e