Function at 0x545a90
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 0x545f4f
test eax, eax
je 0x545f5c
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005ca730
test eax, eax
je 0x545f45
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005ca6a0
mov dword [esp + 0x24], eax
test eax, eax
je 0x545f82
mov eax, ebx
and eax, 8
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 4
mov dword [esp + 0x2c], eax
and ebx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004f1490
cmp dword [esp + 0x20], eax
jge 0x545f4f
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004f14b0
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edi, dword [eax + 4]
mov dword [esp + 4], 0x2e
mov dword [esp], edi
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x545ef0
sub eax, edi
mov esi, eax
xor ebx, ebx
jmp 0x545b9f
mov dword [esp + 4], ebx
mov eax, dword [0x6ec6d0]
mov dword [esp], eax
call fcn.004f14b0
mov ebp, eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x545d30
inc ebx
mov eax, dword [0x6ec6d0]
mov dword [esp], eax
call fcn.004f1490
cmp ebx, eax
jl 0x545b70
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x545c30
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x545c10
mov dword [esp + 0x10], 0xd4
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.004f5490
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 2
call fcn.004f5e00
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x545ed7
inc dword [esp + 0x20]
jmp 0x545b10
mov dword [esp + 8], str.path
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005ca730
mov esi, eax
test eax, eax
jne 0x545c59
call fcn.004f5590
mov esi, edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.005accc0
mov ebx, eax
test eax, eax
je 0x545ff0
mov dword [esp + 4], str.OPENSSL_init
mov dword [esp], eax
call fcn.005ac900
mov dword [esp + 0x38], eax
test eax, eax
je 0x545fe9
mov dword [esp + 4], str.OPENSSL_finish
mov dword [esp], ebx
call fcn.005ac900
mov dword [esp + 0x3c], eax
mov ebp, dword [0x6ec6d0]
test ebp, ebp
je 0x545ff7
mov dword [esp + 8], 0x11d
mov dword [esp + 4], str.conf_mod.c
mov dword [esp], 0x18
call fcn.004bc970
mov ebp, eax
test eax, eax
je 0x545f8e
mov dword [eax], ebx
mov dword [esp], edi
call fcn.004ea6a0
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 [0x6ec6d0]
mov dword [esp], eax
call fcn.004f1150
test eax, eax
je 0x545f86
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 0x154
mov dword [esp + 4], str.conf_mod.c
mov dword [esp], 0x14
call fcn.004bc970
mov esi, eax
test eax, eax
je 0x545e37
mov dword [esi], ebp
mov dword [esp], edi
call fcn.004ea6a0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004ea6a0
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x545e23
test eax, eax
je 0x545e18
mov eax, dword [ebp + 8]
test eax, eax
je 0x545eff
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], esi
call eax
test eax, eax
jle 0x545f30
mov ebx, 1
mov eax, dword [0x6ec6cc]
test eax, eax
je 0x545f0e
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004f1150
test eax, eax
je 0x545dd6
inc dword [ebp + 0x10]
jmp 0x545c1c
mov dword [esp + 0x10], 0x172
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x73
mov dword [esp], 0xe
call fcn.004f5490
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x545e11
test ebx, ebx
jne 0x545f3b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x545e20
mov dword [esp], ecx
call fcn.004bce80
mov eax, dword [esi + 8]
test eax, eax
je 0x545e2f
mov dword [esp], eax
call fcn.004bce80
mov dword [esp], esi
call fcn.004bce80
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x545c10
mov dword [esp + 0x10], 0xdf
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], 0x6d
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.004f5490
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.004f08c0
lea eax, [esp + 0x43]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.__retcode
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x68eb09
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 6
call fcn.004f5e00
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x545c1c
mov eax, 0xffffffff
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov esi, eax
jmp 0x545b60
xor ebx, ebx
mov eax, dword [0x6ec6cc]
test eax, eax
jne 0x545dbe
call fcn.004f0c80
mov dword [0x6ec6cc], eax
test eax, eax
jne 0x545dbe
mov dword [esp + 0x10], 0x16c
jmp 0x545dde
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x545e11
mov dword [esp], esi
call eax
jmp 0x545e11
test bl, 0x20
jne 0x545f5c
call fcn.004f5590
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 eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005ca730
test eax, eax
jne 0x545ad3
jmp 0x545f4a
xor eax, eax
jmp 0x545f54
mov dword [esp], ebp
call fcn.004bce80
xor ebp, ebp
mov dword [esp], ebx
call fcn.005ac610
mov dword [esp + 0x10], 0x10f
mov dword [esp + 0xc], str.conf_mod.c
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x75
mov dword [esp], 0xe
call fcn.004f5490
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__path
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 4
call fcn.004f5e00
jmp 0x545bb8
mov ebp, 0x70
jmp 0x545f90
mov ebp, 0x6e
jmp 0x545f98
call fcn.004f0c80
mov dword [0x6ec6d0], eax
test eax, eax
je 0x545f8e
jmp 0x545cc1