Function at 0x40b2a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ff11
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.0040de00
push 1
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.0040afd0
push 0
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0040afd0
mov ecx, dword [ebp - 0x238]
mov ecx, dword [ecx + 0x80]
call fcn.00401b80
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0041454e
lea ecx, [ebp - 0x14]
call fcn.004050e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004050e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004054c0
mov edx, dword [ebp - 0x238]
mov byte [edx + 0x7c], 0
push 0x3f7
mov ecx, dword [ebp - 0x238]
call fcn.00414466
mov dword [ebp - 0x18], eax
push 0x3f6
push 0x3f6
push 0x3f7
mov ecx, dword [ebp - 0x238]
call fcn.0041443c
push 0x3f6
mov ecx, dword [ebp - 0x238]
call fcn.00414466
mov dword [ebp - 0x22c], eax
push 1
mov ecx, dword [ebp - 0x22c]
call fcn.0040b080
lea ecx, [ebp - 0x230]
call fcn.004050e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.004050e0
mov byte [ebp - 4], 3
push 0x81
lea eax, [ebp - 0x230]
push eax
call fcn.0040bad0
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.004054b0
push eax
push 0x3fd
mov ecx, dword [ebp - 0x238]
call fcn.004144b9
push 0x82
lea ecx, [ebp - 0x220]
push ecx
call fcn.0040bad0
add esp, 8
lea ecx, [ebp - 0x220]
call fcn.004054b0
push eax
push 0x3fe
mov ecx, dword [ebp - 0x238]
call fcn.004144b9
mov ecx, dword [ebp - 0x238]
add ecx, 0x78
call fcn.004054c0
push pe_nt_image_headers32
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00414baf
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004051c0
push 0x447378
lea ecx, [ebp - 0x14]
call fcn.00405200
push pe_nt_image_headers32
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 0x40b49b
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x238]
add ecx, 0x78
call fcn.004051c0
mov eax, dword [ebp - 0x238]
add eax, 0x78
push eax
lea ecx, [ebp - 0x14]
call fcn.004051e0
push 0x447394
lea ecx, [ebp - 0x14]
call fcn.00405200
lea ecx, [ebp - 0x14]
call fcn.004054b0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0041454e
lea ecx, [ebp - 0x224]
call fcn.004050e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x238]
mov ecx, dword [ecx + 0x80]
call fcn.004068c0
push eax
lea edx, [ebp - 0x224]
push edx
call fcn.004061f0
add esp, 8
push 0x447398
lea eax, [ebp - 0x224]
push eax
call fcn.00409cc0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40b53b
push 0x9a
call fcn.0040ad40
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x8c
call fcn.0040b050
jmp 0x40b55e
push 0x99
call fcn.0040ad40
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x8c
call fcn.0040b050
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.004296c6
mov esp, ebp
pop ebp
ret