Function at 0x416d80
Capabilities:
Get common file path
Get disk information
Get memory capacity
Read .ini file
Set environment variable
Set file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48b64c
push eax
mov eax, 0x1670
mov dword fs:[0], esp
call fcn.004584e0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0
push str.SHARE_MEMORY_PATH
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ebx, dword [esp + 0x1690]
lea eax, [esp + 0x1380]
lea ecx, [esp + 0x1280]
push eax
lea edx, [esp + 0x1484]
push ecx
lea eax, [esp + 0x358]
push edx
push eax
push ebx
call fcn.0045887a
mov al, byte [esp + 0x364]
add esp, 0x14
test al, al
je 0x416e22
mov edi, 0x4b0f9c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x350]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4c0094]
test eax, eax
jne 0x416e4e
mov al, byte [esp + 0x350]
test al, al
jne 0x416e4e
mov ecx, dword [esp + 0x1694]
push 0x4b203c
call fcn.0046e8dc
xor al, al
jmp 0x417e2c
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._systemkey
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x54]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045a229
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 8
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
lea edx, [esp + 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x416f21
mov al, byte [esp + 0x350]
test al, al
je 0x416f21
lea eax, [esp + 0x50]
push 6
push eax
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x416f21
mov edi, dword [esp + 0x1690]
or ecx, 0xffffffff
add ebp, 0x11c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4170c7
add ebp, 0x11c
push ebp
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp], 0
jne 0x416f64
mov edi, str.c:_temp
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046b466
add esp, 4
mov dl, 0x2f
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi + 0x11b], 0x5c
je 0x416f95
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi + 0x11b], dl
jne 0x416faa
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + esi + 0x11b], al
jmp 0x416f66
mov edi, 0x4b0f9c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
call fcn.0041bf70
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.0046e753
push ebp
call fcn.0046b466
mov eax, dword [esp + 0x1694]
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call fcn.0046e7c1
push str._system
lea ecx, [esp + 0x20]
mov dword [esp + 0x168c], 0
call fcn.0046eb2f
push ebp
lea ecx, [esp + 0x14]
call fcn.0046e7c1
push str._system
lea ecx, [esp + 0x14]
mov byte [esp + 0x168c], 1
call fcn.0046eb2f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0x4b0f98
push ecx
push edx
call fcn.00409d80
add esp, 0xc
lea ecx, [esp + 0x10]
push ebp
call fcn.0046e8dc
push str.config
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov eax, dword [esp + 0x10]
push eax
call fcn.0046b466
add esp, 4
mov byte [esp + 0x1688], 0
lea ecx, [esp + 0x10]
call fcn.0046e753
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1688], 0xffffffff
call fcn.0046e753
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._temphist
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x50]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00408d30
lea ecx, [esp + 0x54]
push ecx
call fcn.0046b2fd
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._system_base.dic
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x5c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045a229
add esp, 0x10
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._system_basecol.dic
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x54]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045a229
add esp, 8
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._systemconfig.dic
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0045a229
add esp, 8
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._system_format.dic
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x54]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045a229
add esp, 8
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._systemkey
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x50]
and ecx, 3
push 0x180
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0045a229
add esp, 8
lea ecx, [esp + 0x50]
push 0x80
push ecx
call ebx
lea edx, [esp + 0x50]
push edx
call fcn.0046b2fd
lea eax, [esp + 0x54]
push 0x4b162c
push eax
call fcn.0045879b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x417391
mov ecx, dword [esp + 0x1694]
push 0x4b1fd4
call fcn.0046e8dc
xor al, al
jmp 0x417e2c
push 0
call fcn.0045a120
add esp, 4
shl eax, 4
push str.PRODUCT__TRS4MMRR_MMRRMMRR_MMRRGMTU_MQPRDDMU_n
push esi
mov dword [0x4c0664], eax
call fcn.00459452
mov ecx, dword [0x4c0664]
add esp, 8
push ecx
push str.TOKEN___lu_n
push esi
call fcn.00459452
mov edx, dword [0x4c0664]
add esp, 0xc
add edx, 4
push edx
push str.CONFIG___lu_n
push esi
call fcn.00459452
mov eax, dword [0x4c0664]
add esp, 0xc
add eax, 5
push eax
push str.BASE___lu_n
push esi
call fcn.00459452
mov ecx, dword [0x4c0664]
add esp, 0xc
add ecx, 6
push ecx
push str.BASECOL___lu_n
push esi
call fcn.00459452
mov edx, dword [0x4c0664]
add esp, 0xc
add edx, 7
push edx
push str.FORMAT___lu_n
push esi
call fcn.00459452
mov eax, dword [0x4c0664]
add esp, 0xc
add eax, 8
push eax
push str.INSTANCE___lu_n
push esi
call fcn.00459452
mov ecx, dword [0x4c0664]
add esp, 0xc
add ecx, 9
push ecx
push str.GLOBAL___lu_n
push esi
call fcn.00459452
push esi
call fcn.0045869f
add esp, 0x10
lea ecx, [esp + 0x14]
push ebp
call fcn.0046e7c1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1688], 2
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x3a
jne 0x41748f
push 0x4b0f9c
lea ecx, [esp + 0x18]
call fcn.0046eb2f
mov eax, dword [esp + 0x14]
push eax
call fcn.0043f3a0
cmp eax, 1
jne 0x4178c7
push str.brfgxzj
call fcn.0043f3f0
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4174ba
push 0x4b1f2c
jmp 0x4178bb
mov dl, byte [0x4bfab8]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5d1]
mov byte [esp + 0x5d0], dl
mov byte [esp + 0x6d0], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x6d1]
mov byte [esp + 0x3d0], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x3d1]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push edx
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041b910
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3d0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.0046e753
mov edi, str._trsmin.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and ecx, 3
lea eax, [esp + 0x3d0]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x5d4]
push 0x100
push ecx
push 0x4bfab8
push str.trsibase
push str.install
call ebx
mov al, byte [esp + 0x5d0]
test al, al
jne 0x417617
mov edi, dword [esp + 0x1690]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ibase
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x3d0]
lea ecx, [esp + 0x6d0]
push eax
push 0x100
push ecx
push 0x4bfab8
push str.trsdict
push str.install
call ebx
mov al, byte [esp + 0x6d0]
test al, al
jne 0x4176aa
mov edi, dword [esp + 0x1690]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x6d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.dict
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4bfab8]
mov ecx, 0x3f
mov byte [esp + 0x250], al
xor eax, eax
lea edi, [esp + 0x251]
lea edx, [esp + 0x250]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3d0]
push ecx
push 0x100
stosw word es:[edi], ax
push edx
push 0x4bfab8
push str.trsibase1
push str.install
stosb byte es:[edi], al
call ebx
mov al, byte [esp + 0x250]
test al, al
jne 0x41775c
mov edi, dword [esp + 0x1690]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x250]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x250]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ibase1
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4bfab8]
mov ecx, 0x3f
mov byte [esp + 0x4d0], al
xor eax, eax
lea edi, [esp + 0x4d1]
lea edx, [esp + 0x4d0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3d0]
push ecx
push 0x100
stosw word es:[edi], ax
push edx
push 0x4bfab8
push str.trsibase2
push str.install
stosb byte es:[edi], al
call ebx
mov al, byte [esp + 0x4d0]
test al, al
jne 0x41780e
mov edi, dword [esp + 0x1690]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x4d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ibase2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4c0090], 1
jne 0x4178e2
xor eax, eax
mov cl, byte [esp + 0x251]
mov dword [esp + 0x25], eax
mov byte [esp + 0x25], cl
mov dword [esp + 0x29], eax
mov byte [esp + 0x26], 0
mov byte [esp + 0x2d], al
mov al, byte [esp + 0x250]
test al, al
mov byte [esp + 0x24], al
je 0x417876
mov edi, 0x4b0f9c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4178a7
mov al, byte [esp + 0x250]
test al, al
je 0x4178e2
lea ecx, [esp + 0x250]
push 0
push ecx
call fcn.0046b28d
add esp, 8
test eax, eax
je 0x4178e2
mov edx, dword [esp + 0x10]
push edx
call fcn.0043f480
call fcn.0043f3d0
push 0x4b1ee4
mov ecx, dword [esp + 0x1698]
call fcn.0046e8dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x1688], 0xffffffff
call fcn.0046e753
xor al, al
jmp 0x417e2c
mov ebx, dword [esp + 0x10]
push 0
lea eax, [esp + 0xdac]
push 0
push eax
push ebx
call fcn.0043f510
lea ecx, [esp + 0x8d0]
push 1
push ecx
push 0
call fcn.0043e8b0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._temp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7d0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046b466
lea ecx, [esp + 0x7d4]
lea edx, [esp + 0x11ac]
push ecx
push edx
call fcn.004646f0
add esp, 0xc
test eax, eax
je 0x4179b4
lea edi, [esp + 0x7d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7d0]
lea edx, [esp + 0x1208]
push ecx
push edx
call fcn.004646f0
add esp, 8
test eax, eax
je 0x4179fb
lea edi, [esp + 0x7d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4bfab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0xda8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0xda8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
test al, al
je 0x417d0a
jmp 0x417a42
mov ecx, dword [esp + 0x1c]
mov al, byte [ebp]
inc ecx
cmp al, 0x2c
mov dword [esp + 0x1c], ecx
mov ebx, ebp
je 0x417a64
cmp al, 0x3b
je 0x417a64
cmp al, 9
je 0x417a64
test al, al
je 0x417a64
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x2c
jne 0x417a50
cmp ecx, 1
mov byte [ebx], 0
jne 0x417af2
lea ecx, [esp + 0x5d0]
push ecx
push ebp
call fcn.004646f0
add esp, 8
test eax, eax
je 0x417cba
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x8d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4b0ffc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5d0]
jmp 0x417c8e
cmp ecx, 2
jne 0x417b7d
lea eax, [esp + 0x6d0]
push eax
push ebp
call fcn.004646f0
add esp, 8
test eax, eax
je 0x417cba
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x8d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4b0ffc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6d0]
jmp 0x417c8e
cmp ecx, 3
jne 0x417c08
lea eax, [esp + 0x250]
push eax
push ebp
call fcn.004646f0
add esp, 8
test eax, eax
je 0x417cba
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x8d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4b0ffc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x250]
jmp 0x417c8e
cmp ecx, 4
jne 0x417cba
lea eax, [esp + 0x4d0]
push eax
push ebp
call fcn.004646f0
add esp, 8
test eax, eax
je 0x417cba
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x8d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4b0ffc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4d0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x8d0]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, byte [ebx + 1]
lea ebp, [ebx + 1]
test dl, dl
je 0x417cfd
mov edi, 0x4b0e5c
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
test dl, dl
rep movsb byte es:[edi], byte [esi]
jne 0x417a3e
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
cmp eax, 3
jge 0x417d7c
lea eax, [esp + 0x250]
push eax
call fcn.0046b466
mov edi, 0x4b1ed8
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x8d0]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x8d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x250]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x30]
mov word [esp + 0xd9a], 0
push eax
mov dword [esp + 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push str.brfgxzj
push 0
lea ecx, [esp + 0x8d8]
push 0
push ecx
push ebx
call fcn.0043f750
test eax, eax
jge 0x417e0b
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
call fcn.0041a4e0
mov ecx, dword [esp + 0x1694]
push eax
mov byte [esp + 0x168c], 3
call fcn.0046e88c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1688], 2
call fcn.0046e753
push ebx
call fcn.0043f480
call fcn.0043f3d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1688], 0xffffffff
call fcn.0046e753
xor al, al
jmp 0x417e2c
push ebx
call fcn.0043f480
call fcn.0043f3d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1688], 0xffffffff
call fcn.0046e753
mov al, 1
mov ecx, dword [esp + 0x1680]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x167c
ret 8