Function at 0x4323cc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x169
push 0
push 0
dec ecx
jne 0x4323d5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405168
mov eax, dword [ebp - 8]
call fcn.00405168
xor eax, eax
push ebp
push 0x432cce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404d44
lea eax, [ebp - 0xa39]
mov ecx, 0xa29
xor edx, edx
call fcn.0040359c
push 0xa29
lea eax, [ebp - 0xa39]
push eax
mov eax, dword [ebp - 4]
call fcn.00405178
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
jle 0x43245f
cmp eax, 0xa29
jge 0x43245f
lea eax, [ebp - 0xc]
lea edx, [ebp - 0xa39]
mov ecx, 0xa29
call fcn.00404f14
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa40]
push eax
lea edx, [ebp - 0xa4c]
xor eax, eax
call fcn.00402ec8
mov eax, dword [ebp - 0xa4c]
lea edx, [ebp - 0xa48]
call fcn.0040b6fc
mov eax, dword [ebp - 0xa48]
lea edx, [ebp - 0xa44]
call fcn.00430764
mov ecx, dword [ebp - 0xa44]
mov edx, 0x432cec
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa40]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa50]
push eax
xor ecx, ecx
mov edx, 0x432cfc
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa50]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa54]
push eax
lea edx, [ebp - 0xa58]
mov eax, ebx
call fcn.00430fa8
mov ecx, dword [ebp - 0xa58]
mov edx, 0x432d0c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa54]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa5c]
push eax
lea edx, [ebp - 0xa60]
mov eax, ebx
call fcn.0043225c
mov ecx, dword [ebp - 0xa60]
mov edx, 0x432d20
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa5c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa64]
push eax
lea edx, [ebp - 0xa68]
mov eax, ebx
call fcn.0043225c
mov ecx, dword [ebp - 0xa68]
mov edx, 0x432d30
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa64]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa6c]
push eax
lea edx, [ebp - 0xa70]
mov eax, ebx
call fcn.004317d8
mov ecx, dword [ebp - 0xa70]
mov edx, 0x432d40
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa6c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa74]
push eax
lea edx, [ebp - 0xa78]
mov eax, ebx
call fcn.004317d8
mov ecx, dword [ebp - 0xa78]
mov edx, 0x432d50
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa74]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea edx, [ebp - 0xa80]
mov eax, ebx
call fcn.00431768
mov ecx, dword [ebp - 0xa80]
mov edx, 0x432d64
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa7c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa84]
push eax
lea edx, [ebp - 0xa88]
mov eax, ebx
call fcn.00431a34
mov ecx, dword [ebp - 0xa88]
mov edx, 0x432d78
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa84]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa8c]
push eax
lea edx, [ebp - 0xa90]
mov eax, ebx
call fcn.004318d8
mov ecx, dword [ebp - 0xa90]
mov edx, 0x432d8c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa8c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa94]
push eax
lea edx, [ebp - 0xa98]
mov eax, ebx
call fcn.00431b90
mov ecx, dword [ebp - 0xa98]
mov edx, 0x432d9c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa94]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xa9c]
push eax
lea edx, [ebp - 0xaa0]
mov eax, ebx
call fcn.00431cec
mov ecx, dword [ebp - 0xaa0]
mov edx, 0x432dac
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xa9c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [ebx + 0xe0]
add al, 0xf8
sub al, 3
jae 0x4327af
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xaa4]
push eax
lea edx, [ebp - 0xab0]
mov eax, ebx
call fcn.00431e48
mov eax, dword [ebp - 0xab0]
lea edx, [ebp - 0xaac]
call fcn.00432368
mov eax, dword [ebp - 0xaac]
lea edx, [ebp - 0xaa8]
call fcn.00430764
lea eax, [ebp - 0xaa8]
mov edx, 0x432dc0
call fcn.00404f88
mov ecx, dword [ebp - 0xaa8]
mov edx, 0x432dd4
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xaa4]
lea eax, [ebp - 0xc]
call fcn.00404d44
jmp 0x4327fa
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xab4]
push eax
lea edx, [ebp - 0xab8]
mov eax, ebx
call fcn.00431308
lea eax, [ebp - 0xab8]
mov edx, 0x432de8
call fcn.00404f88
mov ecx, dword [ebp - 0xab8]
mov edx, 0x432dd4
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xab4]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xabc]
push eax
lea edx, [ebp - 0xac0]
mov eax, ebx
call fcn.00431208
lea eax, [ebp - 0xac0]
mov edx, 0x432e00
call fcn.00404f88
mov ecx, dword [ebp - 0xac0]
mov edx, 0x432dd4
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xabc]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xac4]
push eax
lea edx, [ebp - 0xacc]
mov eax, ebx
call fcn.00433570
mov eax, dword [ebp - 0xacc]
lea edx, [ebp - 0xac8]
call fcn.00430764
lea eax, [ebp - 0xac8]
mov edx, 0x432e10
call fcn.00404f88
mov ecx, dword [ebp - 0xac8]
mov edx, 0x432e1c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xac4]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xad0]
push eax
lea edx, [ebp - 0xad4]
mov eax, ebx
call fcn.00433570
mov ecx, dword [ebp - 0xad4]
mov edx, 0x432e38
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xad0]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xad8]
push eax
lea edx, [ebp - 0xadc]
mov eax, ebx
call fcn.00433058
mov ecx, dword [ebp - 0xadc]
mov edx, 0x432e50
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xad8]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xae0]
push eax
lea edx, [ebp - 0xae4]
mov eax, ebx
call fcn.00431768
mov ecx, dword [ebp - 0xae4]
mov edx, 0x432e68
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xae0]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xae8]
push eax
lea edx, [ebp - 0xaf0]
mov eax, ebx
call fcn.00431e48
mov eax, dword [ebp - 0xaf0]
lea edx, [ebp - 0xaec]
call fcn.00432368
mov ecx, dword [ebp - 0xaec]
mov edx, 0x432e78
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xae8]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xaf4]
push eax
lea edx, [ebp - 0xaf8]
mov eax, ebx
call fcn.00431208
mov ecx, dword [ebp - 0xaf8]
mov edx, 0x432e94
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xaf4]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xafc]
push eax
lea edx, [ebp - 0xb00]
mov eax, ebx
call fcn.0043152c
mov ecx, dword [ebp - 0xb00]
mov edx, 0x432eac
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xafc]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb04]
push eax
lea edx, [ebp - 0xb08]
mov eax, ebx
call fcn.0043152c
mov ecx, dword [ebp - 0xb08]
mov edx, 0x432ec0
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb04]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb0c]
push eax
lea edx, [ebp - 0xb10]
mov eax, ebx
call fcn.00431444
mov ecx, dword [ebp - 0xb10]
mov edx, 0x432ed8
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb0c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb14]
push eax
lea edx, [ebp - 0xb18]
mov eax, ebx
call fcn.00431444
mov ecx, dword [ebp - 0xb18]
mov edx, 0x432ef0
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb14]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb1c]
push eax
lea edx, [ebp - 0xb20]
mov eax, ebx
call fcn.00431208
mov ecx, dword [ebp - 0xb20]
mov edx, 0x432f08
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb1c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb24]
push eax
lea edx, [ebp - 0xb28]
mov eax, ebx
call fcn.00431308
mov ecx, dword [ebp - 0xb28]
mov edx, 0x432f1c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb24]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb2c]
push eax
lea edx, [ebp - 0xb30]
mov eax, ebx
call fcn.00431308
mov ecx, dword [ebp - 0xb30]
mov edx, 0x432f34
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb2c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb34]
push eax
lea edx, [ebp - 0xb38]
mov eax, ebx
call fcn.00431668
mov ecx, dword [ebp - 0xb38]
mov edx, 0x432f48
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb34]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb3c]
push eax
lea edx, [ebp - 0xb40]
mov eax, ebx
call fcn.00431668
mov ecx, dword [ebp - 0xb40]
mov edx, 0x432f5c
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb3c]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0xb44]
push eax
lea edx, [ebp - 0xb48]
mov eax, ebx
call fcn.0043341c
mov ecx, dword [ebp - 0xb48]
mov edx, 0x432f70
mov eax, dword [ebp - 0xc]
call fcn.0041013c
mov edx, dword [ebp - 0xb44]
lea eax, [ebp - 0xc]
call fcn.00404d44
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00404d00
mov eax, dword [esi]
call fcn.0040b3a0
test al, al
jne 0x432ca3
mov eax, dword [esi]
call fcn.0040b3b0
test al, al
jne 0x432ca3
lea edx, [ebp - 0xb4c]
mov eax, dword [ebp - 4]
call fcn.0040a808
mov edx, dword [ebp - 0xb4c]
mov eax, 0x432f90
call fcn.0040f998
test eax, eax
jle 0x432c93
mov al, byte [0x432ce0]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x432fa8
mov edx, 0x432f90
mov eax, dword [ebp - 4]
call fcn.0041013c
push esi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004323cc
cmp dword [ebp - 8], 0
je 0x432ca3
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00404d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432cd5
lea eax, [ebp - 0xb4c]
mov edx, 0x44
call fcn.00404cd0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404cd0
ret