Function at 0x4c6230
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x4c64ee
mov dword [esp + 0xc], 0x168
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 9
call fcn.004d2f30
mov ebx, dword [0x65ee38]
test ebx, ebx
jne 0x4c6287
jmp 0x4c62e0
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
je 0x4c62e0
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4c6280
test byte [ebx + 0x54], 4
jne 0x4c62d0
inc dword [ebx + 0x58]
mov dword [esp + 0xc], 0x182
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 0xa
call fcn.004d2f30
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004c69b0
test eax, eax
jne 0x4c6460
lea esi, [esi]
mov dword [esp + 0xc], 0x182
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 0xa
call fcn.004d2f30
mov edi, 0x5e6ca8
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x4c64e7
mov dword [esp], str.OPENSSL_ENGINES
call sub.msvcrt.dll_getenv
mov esi, eax
test eax, eax
je 0x4c64dd
mov dword [esp], 0x5e6ca8
call fcn.004c6230
mov ebx, eax
test eax, eax
je 0x4c64e7
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x5e6cb0
mov dword [esp], eax
call fcn.004c0fd0
test eax, eax
je 0x4c6400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5e6cb3
mov dword [esp + 4], 0x5e6cb5
mov dword [esp], ebx
call fcn.004c0fd0
test eax, eax
je 0x4c6400
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x5e6cbe
mov dword [esp], ebx
call fcn.004c0fd0
test eax, eax
je 0x4c6400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5e6cc6
mov dword [esp + 4], 0x5e6cc8
mov dword [esp], ebx
call fcn.004c0fd0
test eax, eax
je 0x4c6400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5e6cd1
mov dword [esp], ebx
call fcn.004c0fd0
test eax, eax
jne 0x4c62c6
nop
lea esi, [esi]
mov dword [esp], ebx
call fcn.004c6c10
mov dword [esp + 0x10], 0x1a2
mov dword [esp + 0xc], str.eng_list.c
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x6a
mov dword [esp], 0x26
call fcn.004b26a0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x5e6cd6
mov dword [esp], 2
call fcn.004b2e70
xor ebx, ebx
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx]
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ebx + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [ebx + 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [ebx + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [ebx + 0x44]
mov dword [eax + 0x44], edx
mov edx, dword [ebx + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [ebx + 0x50]
mov dword [eax + 0x50], edx
mov edx, dword [ebx + 0x54]
mov dword [eax + 0x54], edx
mov ebx, eax
jmp 0x4c62a2
mov esi, str._projects_sdks_openssl_1.0.0o_mingw32_devel_lib_engines
jmp 0x4c632e
xor ebx, ebx
jmp 0x4c6400
mov dword [esp + 0x10], 0x165
mov dword [esp + 0xc], str.eng_list.c
mov dword [esp + 8], 0x43
mov dword [esp + 4], 0x6a
mov dword [esp], 0x26
call fcn.004b26a0
xor ebx, ebx
jmp 0x4c62c6