Function at 0x544c70
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x64
call fcn.00546ac0
mov eax, dword [0x5b3094]
xor eax, esp
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, fcn.00502ac0
cmovne ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
call fcn.0046b550
add esp, 4
cmp eax, 0x15
je 0x544cee
push 0x5b
push str.cryptopkcs12p12_mutl.c
push 0x79
push 0x6b
push 0x23
call fcn.0046e600
add esp, 0x14
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00547055
add esp, 0x64
ret
mov ecx, dword [ebp + 4]
push esi
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], edx
test eax, eax
jne 0x544d0e
lea esi, [eax + 1]
jmp 0x544d19
push eax
call fcn.004c0130
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x14]
push edi
push 0
push eax
push dword [ecx]
call fcn.004d2a00
push dword [esp + 0x24]
lea eax, [esp + 0x2c]
push 0
push 0
push eax
call fcn.004b9f30
push dword [esp + 0x38]
call fcn.0046b550
push eax
call fcn.0046b4c0
push eax
call fcn.0046ccb0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x544d84
push 0x68
push str.cryptopkcs12p12_mutl.c
push 0x76
push 0x6b
push 0x23
call fcn.0046e600
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00547055
add esp, 0x64
ret
push ebx
push edi
call fcn.00477290
push edi
mov ebx, eax
call fcn.00447940
add esp, 8
test ebx, ebx
js 0x544eb8
cmp eax, 0x329
je 0x544db3
cmp eax, 0x3d6
je 0x544db3
cmp eax, 0x3d7
jne 0x544e18
push str.LEGACY_GOST_PKCS12
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
jne 0x544e18
push edi
lea ebx, [eax + 0x20]
lea eax, [esp + 0x34]
push eax
push ebx
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x98]
push dword [esp + 0x34]
call fcn.00544bc0
add esp, 0x20
test eax, eax
jne 0x544e44
push 0x76
push str.cryptopkcs12p12_mutl.c
push 0x6b
push 0x6b
push 0x23
call fcn.0046e600
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00547055
add esp, 0x64
ret
push edi
lea eax, [esp + 0x34]
push eax
push ebx
push esi
push 3
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x9c]
push dword [esp + 0x38]
call dword [esp + 0x48]
add esp, 0x24
test eax, eax
jne 0x544e44
push 0x7c
jmp 0x544df0
call fcn.0048d3c0
push 0
push edi
mov esi, eax
lea eax, [esp + 0x38]
push ebx
push eax
push esi
call fcn.0048d5a0
add esp, 0x14
test eax, eax
je 0x544eaf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push dword [eax]
push dword [eax + 8]
push esi
call fcn.0048d7b0
add esp, 0xc
test eax, eax
je 0x544eaf
push dword [esp + 0x28]
push dword [esp + 0x30]
push esi
call fcn.0048d4f0
add esp, 0xc
test eax, eax
je 0x544eaf
push esi
call fcn.0048d350
add esp, 4
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00547055
add esp, 0x64
ret
push esi
call fcn.0048d350
add esp, 4
mov ecx, dword [esp + 0x70]
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00547055
add esp, 0x64
ret