Function at 0x438cc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc9b
mov eax, dword fs:[0]
push eax
mov eax, 0x315c
call fcn.00589110
mov eax, dword [0x6d2e20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x114]
call fcn.00531e90
mov dword [ebp - 4], 0
mov al, byte [0x6a6f4e]
mov byte [ebp - 0x1114], al
push 0xfff
push 0
lea eax, [ebp - 0x1113]
push eax
call fcn.00588e80
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1114]
push ecx
call fcn.00589140
add esp, 8
push 0x642188
lea eax, [ebp - 0x1114]
push eax
call fcn.00589150
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1114]
push ecx
call fcn.00589150
add esp, 8
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0058a8d0
add esp, 8
cmp eax, 0xffffffff
jne 0x438db6
mov dword [ebp - 0x1118], 0
lea eax, [ebp - 0x1118]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00437eb0
mov dword [ebp - 0x111c], eax
cmp dword [ebp - 0x111c], 0
jne 0x438db6
cmp dword [ebp - 0x1118], 0
je 0x438db6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00437f50
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1114]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043b480
push eax
lea ecx, [ebp - 0x114]
call fcn.0044fbe0
test eax, eax
je 0x438e06
mov dword [ebp - 0x3168], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.005756a0
mov eax, dword [ebp - 0x3168]
jmp 0x438f73
mov byte [ebp - 0x211c], 0
push 0xfff
push 0
lea eax, [ebp - 0x211b]
push eax
call fcn.00588e80
add esp, 0xc
lea eax, [ebp - 0x1114]
push eax
push str.StartingShot_UI_:
lea ecx, [ebp - 0x211c]
push ecx
call fcn.0058903d
add esp, 0xc
cmp dword [0x6d94ec], 0
je 0x438e65
push 7
push 7
lea eax, [ebp - 0x211c]
push eax
mov ecx, dword [0x6d94ec]
mov edx, dword [ecx]
mov eax, dword [0x6d94ec]
push eax
mov ecx, dword [edx + 8]
call ecx
mov byte [ebp - 0x311c], 0
push 0xfff
push 0
lea eax, [ebp - 0x311b]
push eax
call fcn.00588e80
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x311c]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x311c]
push eax
lea ecx, [ebp - 0x1114]
push ecx
call fcn.00589140
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1114]
push ecx
call fcn.00589150
add esp, 8
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1114]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043b480
push eax
lea ecx, [ebp - 0x114]
call fcn.0044fbe0
test eax, eax
je 0x438f0f
mov dword [ebp - 0x3164], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.005756a0
mov eax, dword [ebp - 0x3164]
jmp 0x438f73
lea eax, [ebp - 0x1114]
push eax
push 0x6431b0
lea ecx, [ebp - 0x211c]
push ecx
call fcn.0058903d
add esp, 0xc
cmp dword [0x6d94ec], 0
je 0x438f51
push 7
push 7
lea eax, [ebp - 0x211c]
push eax
mov ecx, dword [0x6d94ec]
mov edx, dword [ecx]
mov eax, dword [0x6d94ec]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x3160], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.005756a0
mov eax, dword [ebp - 0x3160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058848d
mov esp, ebp
pop ebp
ret 0x14