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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
test edx, edx
je 0x532052
test eax, eax
je 0x532060
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00531b20
test eax, eax
je 0x532046
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00531aa0
mov dword [esp + 0x24], eax
test eax, eax
je 0x5323a9
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], 0
and eax, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
and eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
and eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.005ab060
cmp dword [esp + 0x20], eax
jge 0x532052
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.005ab070
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 4], 0x2e
mov dword [esp], edi
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x532350
sub eax, edi
mov esi, eax
xor ebx, ebx
jmp 0x532007
mov eax, dword [0x7baf58]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.005ab070
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov ebp, eax
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x532183
inc ebx
mov eax, dword [0x7baf58]
mov dword [esp], eax
call fcn.005ab060
cmp ebx, eax
jl 0x531fd8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x532086
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x532360
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x532345
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
jmp 0x531f84
test byte [esp + 0x78], 0x20
jne 0x532060
call fcn.0055b460
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x70]
mov dword [esp + 8], str.openssl_conf
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00531b20
test eax, eax
jne 0x531f3f
jmp 0x53204d
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x75190d
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00531b20
mov dword [esp + 0x38], eax
test eax, eax
je 0x532416
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0053e650
mov esi, eax
test eax, eax
je 0x5324d3
mov dword [esp + 4], str.OPENSSL_init
mov dword [esp], eax
call fcn.0053eb10
mov ebx, eax
test eax, eax
je 0x5324cc
mov dword [esp + 4], str.OPENSSL_finish
mov dword [esp], esi
call fcn.0053eb10
mov dword [esp + 0x3c], eax
mov eax, dword [0x7baf58]
test eax, eax
je 0x532426
mov dword [esp + 8], 0xea
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], 0x18
call fcn.0057d320
mov ebp, eax
test eax, eax
je 0x532438
mov dword [eax], esi
mov dword [esp + 8], 0xef
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], edi
call fcn.00588c70
mov edx, dword [esp + 0x3c]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x5324da
mov eax, dword [0x7baf58]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.005aace0
mov ebx, eax
test eax, eax
je 0x53243c
mov dword [esp + 8], 0x125
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], 0x14
call fcn.0057d170
mov ebx, eax
test eax, eax
je 0x5322a5
mov dword [ebx], ebp
mov dword [esp + 8], 0x12a
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], edi
call fcn.00588c70
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x12b
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], eax
call fcn.00588c70
mov esi, dword [ebx + 4]
test esi, esi
mov dword [ebx + 8], eax
sete cl
test eax, eax
mov dword [ebx + 0x10], 0
sete al
or cl, al
mov byte [esp + 0x38], cl
jne 0x53225a
mov eax, dword [ebp + 8]
test eax, eax
je 0x53221e
mov edx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
test eax, eax
jle 0x53224b
mov byte [esp + 0x38], 1
mov eax, dword [0x7baf54]
test eax, eax
je 0x5323fa
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.005aace0
test eax, eax
je 0x5323b3
mov esi, dword [ebp + 0x10]
inc esi
mov dword [ebp + 0x10], esi
jmp 0x532038
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x532257
mov dword [esp], ebx
call eax
mov esi, dword [ebx + 4]
mov dword [esp + 8], 0x153
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], esi
call fcn.0057d150
mov dword [esp + 8], 0x154
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0057d150
mov dword [esp + 8], 0x155
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], ebx
call fcn.0057d150
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x53202c
mov dword [esp + 0x10], 0xad
mov dword [esp + 0xc], str.crypto_conf_conf_mod.c
mov dword [esp + 8], 0x6d
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.0055ae30
lea eax, [esp + 0x43]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.__8d
mov dword [esp + 4], 0xd
mov dword [esp], eax
call fcn.005232e0
lea eax, [esp + 0x43]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], str.__retcode
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x751965
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 6
call fcn.00560d00
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x532038
add esp, 0x5c
or eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov esi, eax
jmp 0x531fd4
mov dword [esp + 0x10], 0xa2
mov dword [esp + 0xc], str.crypto_conf_conf_mod.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x76
mov dword [esp], 0xe
call fcn.0055ae30
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 2
call fcn.00560d00
jmp 0x53202c
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x143
mov dword [esp + 0xc], str.crypto_conf_conf_mod.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x73
mov dword [esp], 0xe
call fcn.0055ae30
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x532257
cmp byte [esp + 0x38], 0
jne 0x532252
jmp 0x532257
call fcn.005aa870
mov dword [0x7baf54], eax
test eax, eax
jne 0x53222b
mov dword [esp + 0x10], 0x13d
jmp 0x5323bb
call fcn.0055b460
mov dword [esp + 0x38], edi
mov eax, edi
jmp 0x5320ae
call fcn.005aa870
mov dword [0x7baf58], eax
test eax, eax
jne 0x532113
xor ebx, ebx
jmp 0x53246f
mov dword [esp + 8], 0xf8
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.0057d150
mov dword [esp + 8], 0xf9
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], ebp
call fcn.0057d150
mov dword [esp], esi
call fcn.0053e2e0
mov dword [esp + 0x10], 0xdc
mov dword [esp + 0xc], str.crypto_conf_conf_mod.c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x75
mov dword [esp], 0xe
call fcn.0055ae30
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__path
mov dword [esp + 8], edi
mov dword [esp + 4], str.module
mov dword [esp], 4
call fcn.00560d00
jmp 0x532020
mov ebx, 0x70
jmp 0x53246f
mov ebx, 0x6e
jmp 0x53246f
mov dword [esp + 8], 0xf3
mov dword [esp + 4], str.crypto_conf_conf_mod.c
mov dword [esp], ebp
xor ebx, ebx
call fcn.0057d150
jmp 0x53246f