Function at 0x40b7c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401a1
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x454688]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x238]
call fcn.0040e375
push 1
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.0040b4f0
push 0
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0040b4f0
mov ecx, dword [ebp - 0x238]
mov ecx, dword [ecx + 0x80]
call fcn.00401aa0
push eax
mov ecx, dword [ebp - 0x238]
call fcn.00414aba
lea ecx, [ebp - 0x14]
call fcn.00404ed0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004052a0
mov edx, dword [ebp - 0x238]
mov byte [edx + 0x7c], 0
push 0x3f7
mov ecx, dword [ebp - 0x238]
call fcn.004149d2
mov dword [ebp - 0x18], eax
push 0x3f6
push 0x3f6
push 0x3f7
mov ecx, dword [ebp - 0x238]
call fcn.004149a8
push 0x3f6
mov ecx, dword [ebp - 0x238]
call fcn.004149d2
mov dword [ebp - 0x22c], eax
push 1
mov ecx, dword [ebp - 0x22c]
call fcn.0040b5a0
lea ecx, [ebp - 0x230]
call fcn.00404ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00404ed0
mov byte [ebp - 4], 3
push 0x81
lea eax, [ebp - 0x230]
push eax
call fcn.0040bfd0
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.00405390
push eax
push 0x3fd
mov ecx, dword [ebp - 0x238]
call fcn.00414a25
push 0x82
lea ecx, [ebp - 0x220]
push ecx
call fcn.0040bfd0
add esp, 8
lea ecx, [ebp - 0x220]
call fcn.00405390
push eax
push 0x3fe
mov ecx, dword [ebp - 0x238]
call fcn.00414a25
mov ecx, dword [ebp - 0x238]
add ecx, 0x78
call fcn.004052a0
push 0x100
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0041511b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404fb0
push 0x447388
lea ecx, [ebp - 0x14]
call fcn.00404ff0
push 0x100
lea ecx, [ebp - 0x21c]
push ecx
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jle 0x40b9bb
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x238]
add ecx, 0x78
call fcn.00404fb0
mov eax, dword [ebp - 0x238]
add eax, 0x78
push eax
lea ecx, [ebp - 0x14]
call fcn.00404fd0
push 0x4473a4
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea ecx, [ebp - 0x14]
call fcn.00405390
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00414aba
lea ecx, [ebp - 0x224]
call fcn.00404ed0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x238]
mov ecx, dword [ecx + 0x80]
call fcn.00406660
push eax
lea edx, [ebp - 0x224]
push edx
call fcn.00405fe0
add esp, 8
push 0x4473a8
lea eax, [ebp - 0x224]
push eax
call fcn.0040a280
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ba5b
push 0x9a
call fcn.0040b260
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x8c
call fcn.0040b570
jmp 0x40ba7e
push 0x99
call fcn.0040b260
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x8c
call fcn.0040b570
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
call fcn.00401130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00401130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00401130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401130
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00429c7e
mov esp, ebp
pop ebp
ret