Function at 0x4fad60
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x64
call fcn.0058ee00
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
test ebx, ebx
jne 0x4fad9b
mov ebx, fcn.004fc340
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.004d4420
add esp, 4
cmp eax, 0x15
je 0x4fadd8
push 0x5b
push str.....openssl_1.1.0fcryptopkcs12p12_mutl.c
push 0x79
push 0x6b
push 0x23
call fcn.004bf2b0
add esp, 0x14
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov eax, dword [esi + 4]
cmp dword [eax + 8], 0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jne 0x4fadfb
mov dword [esp + 0xc], 1
jmp 0x4fae0d
mov edx, eax
mov eax, dword [edx + 8]
push eax
call fcn.004df100
add esp, 4
mov dword [esp + 0xc], eax
mov edx, dword [esi + 4]
mov eax, dword [edx]
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.0050f2c0
mov ecx, dword [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.004e2a40
mov eax, dword [esp + 0x34]
push eax
call fcn.004d4420
push eax
call fcn.004d4140
push eax
call fcn.004e8860
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4fae7a
push 0x68
push str.....openssl_1.1.0fcryptopkcs12p12_mutl.c
push 0x76
push 0x6b
push 0x23
call fcn.004bf2b0
add esp, 0x14
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
push edi
push esi
call fcn.004dc6c0
push esi
mov edi, eax
call fcn.00505ae0
add esp, 8
test edi, edi
jl 0x4fafbc
cmp eax, 0x329
je 0x4faea9
cmp eax, 0x3d6
je 0x4faea9
cmp eax, 0x3d7
jne 0x4faf12
push str.LEGACY_GOST_PKCS12
call sub.MSVCR90.dll_getenv
add esp, 4
test eax, eax
jne 0x4faf12
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x80]
lea edi, [eax + 0x20]
mov eax, dword [esp + 0x18]
push edi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
mov edx, esi
call fcn.004facb0
add esp, 0x18
test eax, eax
jne 0x4faf40
push 0x76
push str.....openssl_1.1.0fcryptopkcs12p12_mutl.c
push 0x6b
push 0x6b
push 0x23
call fcn.004bf2b0
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push edi
push eax
mov eax, dword [esp + 0x8c]
push 3
push ecx
push edx
push eax
push ebp
call ebx
add esp, 0x24
test eax, eax
jne 0x4faf40
push 0x7c
jmp 0x4faeea
call fcn.00522ce0
push 0
push esi
push edi
lea ecx, [esp + 0x3c]
mov ebx, eax
push ecx
push ebx
call fcn.005227b0
add esp, 0x14
test eax, eax
je 0x4fafb3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push ecx
push edx
push ebx
call fcn.005229e0
add esp, 0xc
test eax, eax
je 0x4fafb3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push ebx
call fcn.00522a00
add esp, 0xc
test eax, eax
je 0x4fafb3
push ebx
call fcn.00522ac0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
push ebx
call fcn.00522ac0
add esp, 4
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0058ecc6
add esp, 0x64
ret