Function at 0x4c5e10
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 0x4c60ce
mov dword [esp + 0xc], 0x168
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 9
call fcn.004d2b30
mov ebx, dword [0x65de38]
test ebx, ebx
jne 0x4c5e67
jmp 0x4c5ec0
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
je 0x4c5ec0
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4c5e60
test byte [ebx + 0x54], 4
jne 0x4c5eb0
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.004d2b30
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004c6590
test eax, eax
jne 0x4c6040
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.004d2b30
mov edi, 0x5e6bc8
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x4c60c7
mov dword [esp], str.OPENSSL_ENGINES
call sub.msvcrt.dll_getenv
mov esi, eax
test eax, eax
je 0x4c60bd
mov dword [esp], 0x5e6bc8
call fcn.004c5e10
mov ebx, eax
test eax, eax
je 0x4c60c7
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x5e6bd0
mov dword [esp], eax
call fcn.004c0bb0
test eax, eax
je 0x4c5fe0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5e6bd3
mov dword [esp + 4], 0x5e6bd5
mov dword [esp], ebx
call fcn.004c0bb0
test eax, eax
je 0x4c5fe0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x5e6bde
mov dword [esp], ebx
call fcn.004c0bb0
test eax, eax
je 0x4c5fe0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5e6be6
mov dword [esp + 4], 0x5e6be8
mov dword [esp], ebx
call fcn.004c0bb0
test eax, eax
je 0x4c5fe0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5e6bf1
mov dword [esp], ebx
call fcn.004c0bb0
test eax, eax
jne 0x4c5ea6
nop
lea esi, [esi]
mov dword [esp], ebx
call fcn.004c67f0
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.004b2280
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x5e6bf6
mov dword [esp], 2
call fcn.004b2a50
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 0x4c5e82
mov esi, str._projects_sdks_openssl_1.0.0o_mingw32_devel_lib_engines
jmp 0x4c5f0e
xor ebx, ebx
jmp 0x4c5fe0
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.004b2280
xor ebx, ebx
jmp 0x4c5ea6