Function at 0x409c60
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x42e453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
call fcn.00401210
add esp, 4
lea ecx, [esp + 0x74]
push 0x104
push ecx
push str.SYSTEMROOT
mov dword [esp + 0x18c], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [esp + 8]
push 0x43b104
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00422ca2
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 1
push ecx
lea ecx, [esp + 0x3c]
call fcn.00422a7b
push str._system32driversUSBSpeedUp.exe
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x18c], 2
call fcn.00422ca2
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 4
call fcn.00422a0d
lea eax, [esp + 8]
push 0x43b124
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00422ca2
lea edx, [esp + 0x74]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x184], 5
call fcn.00422a7b
push str._system32driversCBMUSBSys.sys
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x188], 6
push eax
call fcn.00422ca2
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 8
call fcn.00422a0d
lea ecx, [esp + 8]
push str.CBMHubLib.dll
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00422ca2
lea eax, [esp + 0x74]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x184], 9
call fcn.00422a7b
push str._system32driversCBMHubLib.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x18c], 0xa
call fcn.00422ca2
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 0xc
call fcn.00422a0d
lea edx, [esp + 8]
push str.CBMHubLib.sys
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00422ca2
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 0xd
push ecx
lea ecx, [esp + 0x48]
call fcn.00422a7b
push str._system32driversCBMHubLib.sys
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x18c], 0xe
call fcn.00422ca2
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x10
call fcn.00422a0d
lea ecx, [esp + 0x4c]
call fcn.0042371b
mov eax, dword [esp + 0x10]
push ebx
push 0x8000
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x18c], 0x11
call fcn.0042382d
test eax, eax
je 0x409ff3
lea ecx, [esp + 0x4c]
call fcn.00423a48
push str._install_ChipsBank
lea ecx, [esp + 0x2c]
call fcn.00422a7b
mov eax, dword [esp + 0x188]
mov byte [esp + 0x180], 0x12
cmp eax, ebx
jne 0x409e89
push 1
push 0x43b62c
call fcn.00409590
add esp, 8
test eax, eax
je 0x409fe2
push str._remove_ChipsBank
lea ecx, [esp + 0x2c]
call fcn.00422b96
jmp 0x409f8f
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.00422a7b
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0x18c], 0x13
call fcn.00422782
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0x190], 0x14
call fcn.00422782
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x194], 0x15
call fcn.00422782
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x198], 0x16
call fcn.00422782
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x19c], 0x17
call fcn.00422782
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x1a0], 0x18
call fcn.00422782
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x1a4], 0x19
call fcn.00422782
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0x1a8], 0x1a
call fcn.00422782
mov byte [esp + 0x1a4], 0x12
call fcn.00409660
add esp, 0x24
cmp eax, ebx
jne 0x409f8f
push ebx
push 0x43b62c
call fcn.00409590
add esp, 8
cmp eax, 1
je 0x409fe2
push ecx
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00422a7b
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x18c], 0x1b
call fcn.00422782
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x190], 0x1c
call fcn.00422782
mov byte [esp + 0x18c], 0x12
call fcn.0040a0c0
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x180], 0x11
call fcn.00422a0d
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x10
call fcn.00423770
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 0xd
call fcn.00422a0d
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0xc
call fcn.00422a0d
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 9
call fcn.00422a0d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 8
call fcn.00422a0d
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 5
call fcn.00422a0d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 4
call fcn.00422a0d
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 1
call fcn.00422a0d
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], bl
call fcn.00422a0d
lea ecx, [esp + 8]
mov dword [esp + 0x180], 0xffffffff
call fcn.00422a0d
mov ecx, dword [esp + 0x178]
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret