Function at 0x40bce0
Capabilities:
Copy file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44063d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x454688]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
lea ecx, [ebp - 0x240]
call fcn.00404ed0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00404ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00404ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00404ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00404ed0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00404ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00404ed0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00404ed0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.00404ed0
mov byte [ebp - 4], 8
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0x4473ec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40bdbe
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404fb0
push 0
push 0x4473f8
lea ecx, [ebp - 0x18]
call fcn.004050b0
test eax, eax
jle 0x40be29
push 0
push 0x4473fc
lea ecx, [ebp - 0x18]
call fcn.004050b0
sub eax, 1
push eax
lea edx, [ebp - 0x244]
push edx
lea ecx, [ebp - 0x18]
call fcn.004051c0
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404f90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call fcn.00401130
jmp 0x40be35
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404f90
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x80]
call fcn.004065a0
push eax
lea ecx, [ebp - 0x20]
call fcn.00404fb0
push 0x447400
lea ecx, [ebp - 0x20]
call fcn.00404ff0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00404f90
push str._setup.chm
lea ecx, [ebp - 0x238]
call fcn.00404ff0
push 0
lea ecx, [ebp - 0x238]
call fcn.00405390
push eax
lea ecx, [ebp - 0x20]
call fcn.00405390
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.mk:_MSITStore:
lea ecx, [ebp - 0x23c]
call fcn.00404fb0
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00404fd0
push str._::_arcgis_explorer__choosing_the_installation_type.htm
lea ecx, [ebp - 0x23c]
call fcn.00404ff0
push str.hh.exe
lea ecx, [ebp - 0x230]
call fcn.00404fb0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
lea eax, [ebp - 0x23c]
push eax
call fcn.00404ef0
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x24c], esp
lea edx, [ebp - 0x230]
push edx
call fcn.00404ef0
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x80]
call fcn.00406eb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.00401130
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00401130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00401130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00401130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00401130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00401130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00401130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00429c7e
mov esp, ebp
pop ebp
ret