Function at 0x4c37b0
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 0x4c3c65
test eax, eax
je 0x4c3c72
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510910
test eax, eax
je 0x4c3c5b
mov dword [esp + 4], eax
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510880
mov dword [esp + 0x24], eax
test eax, eax
je 0x4c3c98
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.004b3aa0
cmp dword [esp + 0x20], eax
jge 0x4c3c65
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004b3ac0
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 0x4c3bc0
mov edi, eax
sub edi, esi
xor ebx, ebx
jmp 0x4c38bf
mov dword [esp + 4], ebx
mov eax, dword [0x65ee28]
mov dword [esp], eax
call fcn.004b3ac0
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 0x4c3a00
inc ebx
mov eax, dword [0x65ee28]
mov dword [esp], eax
call fcn.004b3aa0
cmp ebx, eax
jl 0x4c3890
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4c3900
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4c3c12
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c3bab
inc dword [esp + 0x20]
jmp 0x4c3830
mov dword [esp + 8], 0x5e6bd5
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00510910
mov edi, eax
test eax, eax
jne 0x4c3929
call fcn.004b2040
mov edi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.00511670
mov ebx, eax
test eax, eax
je 0x4c3d20
mov dword [esp + 4], str.OPENSSL_init
mov dword [esp], eax
call fcn.005112b0
mov dword [esp + 0x38], eax
test eax, eax
je 0x4c3cff
mov dword [esp + 4], str.OPENSSL_finish
mov dword [esp], ebx
call fcn.005112b0
mov dword [esp + 0x3c], eax
mov ebp, dword [0x65ee28]
test ebp, ebp
je 0x4c3d06
mov dword [esp + 8], 0x12b
mov dword [esp + 4], str.conf_mod.c
mov dword [esp], 0x18
call fcn.004b8590
mov ebp, eax
test eax, eax
je 0x4c3ca4
mov dword [eax], ebx
mov dword [esp], esi
call fcn.004cefc0
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 [0x65ee28]
mov dword [esp], eax
call fcn.004b3770
test eax, eax
je 0x4c3c9c
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.004b8590
mov edi, eax
test eax, eax
je 0x4c3b0b
mov dword [eax], ebp
mov dword [esp], esi
call fcn.004cefc0
mov dword [edi + 4], eax
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.004cefc0
mov dword [edi + 8], eax
mov dword [edi + 0x10], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c3af7
test eax, eax
je 0x4c3aec
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c3bcf
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], edi
call eax
test eax, eax
jle 0x4c3bfd
mov ebx, 1
mov eax, dword [0x65ee2c]
test eax, eax
je 0x4c3bde
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b3770
test eax, eax
je 0x4c3aa6
inc dword [ebp + 0x10]
jmp 0x4c38f0
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.004b26a0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c3ae1
test ebx, ebx
jne 0x4c3c08
test edi, edi
je 0x4c3b0b
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c3af4
mov dword [esp], ecx
call fcn.004b8a80
mov eax, dword [edi + 8]
test eax, eax
je 0x4c3b03
mov dword [esp], eax
call fcn.004b8a80
mov dword [esp], edi
call fcn.004b8a80
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4c38e4
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.004b26a0
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.004deb60
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], 0x5e6c21
mov dword [esp + 8], esi
mov dword [esp + 4], str.module
mov dword [esp], 6
call fcn.004b2e70
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c38f0
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 0x4c3880
xor ebx, ebx
mov eax, dword [0x65ee2c]
test eax, eax
jne 0x4c3a8e
call fcn.004b3290
mov dword [0x65ee2c], eax
test eax, eax
jne 0x4c3a8e
mov dword [esp + 0x10], 0x17e
jmp 0x4c3aae
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c3ae1
mov dword [esp], edi
call eax
jmp 0x4c3ae5
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.004b26a0
mov dword [esp + 8], esi
mov dword [esp + 4], str.module
mov dword [esp], 2
call fcn.004b2e70
jmp 0x4c38e4
test bl, 0x20
jne 0x4c3c72
call fcn.004b2040
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.00510910
test eax, eax
jne 0x4c37f3
jmp 0x4c3c60
xor eax, eax
jmp 0x4c3c6a
mov dword [esp], ebp
call fcn.004b8a80
xor ebp, ebp
mov dword [esp], ebx
call fcn.00510fc0
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.004b26a0
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.004b2e70
jmp 0x4c38d8
mov ebp, 0x70
jmp 0x4c3ca6
call fcn.004b3290
mov dword [0x65ee28], eax
test eax, eax
je 0x4c3ca4
jmp 0x4c3991
mov ebp, 0x6e
jmp 0x4c3cae