Function at 0x100ba937
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c87eb
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x254], 0
mov dword [ebp - 0x24], 1
and word [ebp - 0x23c], 0
push 0x208
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.100771d0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x240]
call fcn.10003bfa
and dword [ebp - 4], 0
push 0
push 0x100df4d4
lea ecx, [ebp - 0x240]
call fcn.10014cdc
test eax, eax
jl 0x100baa15
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 0x10]
call fcn.100281d3
add esp, 0xc
movzx eax, al
test eax, eax
je 0x100baa10
lea eax, [ebp - 0x23c]
push eax
push str._HostInstallPackDir_
lea ecx, [ebp - 0x240]
call fcn.1002887f
test eax, eax
je 0x100baa10
push 0x104
lea ecx, [ebp - 0x240]
call fcn.10005b69
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1007b1b2
add esp, 0xc
jmp 0x100bab7c
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x240]
call fcn.10014cdc
test eax, eax
jl 0x100baa47
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 0x10]
call fcn.10028760
add esp, 0xc
jmp 0x100bab7c
push 0
push 0x100df558
lea ecx, [ebp - 0x240]
call fcn.10014cdc
test eax, eax
jl 0x100baab4
push 0x105
lea eax, [ebp - 0x23c]
push eax
call fcn.100b98ea
pop ecx
pop ecx
test eax, eax
je 0x100baaaf
lea eax, [ebp - 0x23c]
push eax
push str._suziDir_
lea ecx, [ebp - 0x240]
call fcn.1002887f
test eax, eax
je 0x100baaaf
push 0x104
lea ecx, [ebp - 0x240]
call fcn.10005b69
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1007b1b2
add esp, 0xc
jmp 0x100bab7c
push 0
push str._suziDirexe_
lea ecx, [ebp - 0x240]
call fcn.10014cdc
test eax, eax
jl 0x100bab67
lea ecx, [ebp - 0x244]
call fcn.10014b4b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
push eax
call fcn.100ba7a0
pop ecx
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x244]
call fcn.10003c65
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10014be9
lea ecx, [ebp - 0x244]
call fcn.10003bb7
test eax, eax
jle 0x100bab56
lea ecx, [ebp - 0x244]
call fcn.10003bb7
push eax
lea ecx, [ebp - 0x244]
call fcn.10005b69
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1007b1b2
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10014be9
jmp 0x100bab7c
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003bfa
mov byte [ebp - 4], 3
lea eax, [ebp - 0x250]
push eax
call fcn.100b9e47
pop ecx
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x264]
call fcn.10005b69
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x28]
call fcn.1002887f
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.10014be9
movzx eax, byte [ebp - 0x249]
test eax, eax
je 0x100bac0e
push 0x104
lea ecx, [ebp - 0x28]
call fcn.10005b69
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1007b1b2
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003c7e
and word [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x20]
call fcn.10014b4b
mov byte [ebp - 4], 5
movzx eax, word [ebp - 0x14]
push eax
push 0x100df5c0
lea eax, [ebp - 0x20]
push eax
call fcn.10008825
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10005b69
push eax
push str._HTag
lea ecx, [ebp - 0x28]
call fcn.1002887f
test eax, eax
je 0x100bac8f
push 0x104
lea ecx, [ebp - 0x28]
call fcn.10005b69
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1007b1b2
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003bfa
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10014be9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10014be9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.100771ba
leave
ret