Function at 0x43a650
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x468
call fcn.0043c4d0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
cmp dword [0x4533a0], 0
jne 0x43a6cd
call sub.LIBEAY32.dll_Ordinal_93
push eax
call sub.LIBEAY32.dll_Ordinal_78_1
add esp, 4
mov dword [0x4533a0], eax
cmp dword [0x4533a0], 0
je 0x43a6cd
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
push 0x10
push 0x6a
mov ecx, dword [0x4533a0]
push ecx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
push str.OPENSSL_DEBUG_MEMORY
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x43a744
push 0x44e898
push str.OPENSSL_DEBUG_MEMORY
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x43a732
push 0x43c420
push 0x43c41a
push 0x43c414
push 0x43c40e
push 0x43c408
call sub.LIBEAY32.dll_Ordinal_2161
add esp, 0x14
xor edx, edx
test edx, edx
jne 0x43a6ff
push 3
call sub.LIBEAY32.dll_Ordinal_2164
add esp, 4
jmp 0x43a744
push 0
push 0
push 0
push 0
push 0
call sub.LIBEAY32.dll_Ordinal_2161
add esp, 0x14
push 1
call sub.LIBEAY32.dll_Ordinal_189_1
add esp, 4
push 0x43ac00
call sub.LIBEAY32.dll_Ordinal_197
add esp, 4
mov eax, dword [sym.imp.MSVCRT.dll__fmode]
mov dword [eax], 0x8000
mov ecx, dword [sym.imp.MSVCRT.dll_free]
push ecx
mov edx, dword [sym.imp.MSVCRT.dll_realloc]
push edx
mov eax, dword [sym.imp.MSVCRT.dll_malloc]
push eax
call sub.LIBEAY32.dll_Ordinal_198
add esp, 0xc
call sub.LIBEAY32.dll_Ordinal_246
call sub.LIBEAY32.dll_Ordinal_3212
call sub.LIBEAY32.dll_Ordinal_2708
call fcn.0042af90
xor ecx, ecx
test ecx, ecx
jne 0x43a75b
push str.OPENSSL_CONF
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a7c4
push str.SSLEAY_CONF
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a7d8
call fcn.0042cbf0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [0x453398], eax
push 0
call sub.LIBEAY32.dll_Ordinal_2279
add esp, 4
mov dword [0x45339c], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x45339c]
push eax
call sub.LIBEAY32.dll_Ordinal_2276
add esp, 0xc
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x43a880
call sub.LIBEAY32.dll_Ordinal_3205
and eax, 0xfff
cmp eax, 0x72
jne 0x43a85a
mov ecx, dword [ebp - 4]
push ecx
push str.WARNING:_cant_open_config_file:__s_n
mov edx, dword [0x4533a0]
push edx
call sub.LIBEAY32.dll_Ordinal_86_1
add esp, 0xc
call sub.LIBEAY32.dll_Ordinal_222
mov eax, dword [0x45339c]
push eax
call sub.LIBEAY32.dll_Ordinal_2281
add esp, 4
mov dword [0x45339c], 0
jmp 0x43a880
mov ecx, dword [0x4533a0]
push ecx
call sub.LIBEAY32.dll_Ordinal_250
add esp, 4
mov edx, dword [0x45339c]
push edx
call sub.LIBEAY32.dll_Ordinal_2281
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.0043b0e0
mov dword [ebp - 0x440], eax
push 0x28
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.0042aac0
add esp, 0xc
lea eax, [ebp - 0x438]
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x440]
push edx
call sub.LIBEAY32.dll_Ordinal_897
add esp, 8
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
je 0x43a8fd
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x438]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x468]
call dword [ecx + 8]
add esp, 8
mov dword [ebp - 0x458], eax
jmp 0x43ab19
cmp dword [ebp + 8], 1
je 0x43a94a
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.0043ad20
add esp, 0xc
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jge 0x43a945
mov dword [ebp - 0x458], 0
jmp 0x43ab19
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x460], 0x400
mov dword [ebp - 0x45c], 0
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x45c]
add ecx, 1
mov dword [ebp - 0x45c], ecx
test eax, eax
je 0x43a99c
mov dword [ebp - 0x464], 0x44e86c
jmp 0x43a9a6
mov dword [ebp - 0x464], str.OpenSSL_
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x20
push edx
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
mov edx, dword [sym.imp.MSVCRT.dll__iob]
push edx
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
jne 0x43a9fd
jmp 0x43ab19
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 1
jg 0x43aa1a
jmp 0x43aa60
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x45c]
movsx eax, byte [edx - 2]
cmp eax, 0x5c
je 0x43aa2e
jmp 0x43aa60
mov ecx, dword [ebp - 0x45c]
sub ecx, 2
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x45c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x460]
sub eax, dword [ebp - 0x45c]
mov dword [ebp - 0x460], eax
jmp 0x43a971
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.0042ac50
add esp, 0x10
test eax, eax
jne 0x43aa87
jmp 0x43aafc
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.0043ad20
add esp, 0xc
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jge 0x43aabc
mov dword [ebp - 0x458], 0
jmp 0x43ab19
cmp dword [ebp - 0x458], 0
je 0x43aae2
mov edx, dword [ebp - 0x43c]
mov eax, dword [edx]
push eax
push str.error_in__s_n
mov ecx, dword [0x4533a0]
push ecx
call sub.LIBEAY32.dll_Ordinal_86_1
add esp, 0xc
push 0
push 0
push 0xb
mov edx, dword [0x4533a0]
push edx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
jmp 0x43a94a
push str.bad_exit_n
mov eax, dword [0x4533a0]
push eax
call sub.LIBEAY32.dll_Ordinal_86_1
add esp, 8
mov dword [ebp - 0x458], 1
cmp dword [ebp - 0x10], 0
je 0x43ab2b
mov ecx, dword [ebp - 0x10]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
cmp dword [0x45339c], 0
je 0x43ab4d
mov edx, dword [0x45339c]
push edx
call sub.LIBEAY32.dll_Ordinal_2281
add esp, 4
mov dword [0x45339c], 0
cmp dword [ebp - 0x440], 0
je 0x43ab65
mov eax, dword [ebp - 0x440]
push eax
call sub.LIBEAY32.dll_Ordinal_890
add esp, 4
cmp dword [ebp - 0x454], 0
je 0x43ab7d
mov ecx, dword [ebp - 0x454]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
push 1
call sub.LIBEAY32.dll_Ordinal_3189
add esp, 4
call fcn.0042b190
call sub.LIBEAY32.dll_Ordinal_298
call sub.LIBEAY32.dll_Ordinal_2949
call sub.LIBEAY32.dll_Ordinal_2604
push 0
call sub.LIBEAY32.dll_Ordinal_254
add esp, 4
call sub.LIBEAY32.dll_Ordinal_224
xor edx, edx
test edx, edx
jne 0x43ab7d
mov eax, dword [0x4533a0]
push eax
call sub.LIBEAY32.dll_Ordinal_190
add esp, 4
cmp dword [0x4533a0], 0
je 0x43abe0
mov ecx, dword [0x4533a0]
push ecx
call sub.LIBEAY32.dll_Ordinal_66
add esp, 4
mov dword [0x4533a0], 0
mov edx, dword [ebp - 0x458]
push edx
call dword [sym.imp.MSVCRT.dll_exit]
mov esp, ebp
pop ebp
ret