Function at 0x4301d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431474
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x441cc0]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c4], ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x5c4]
call fcn.0042ff60
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
ja 0x430229
cmp dword [ebp - 0x1c], 0
jbe 0x4307d8
lea eax, [ebp - 0x168]
push eax
call fcn.0042b300
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406c6b
mov byte [ebp - 4], 1
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x40]
call fcn.00403220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call fcn.00402df0
lea ecx, [ebp - 0x40]
push ecx
push 0x8040
lea ecx, [ebp - 0x168]
call fcn.00402600
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407082
test eax, eax
je 0x4307a2
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004069ee
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
push 0x11c
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040695f
test eax, eax
jbe 0x43076b
mov edx, dword [ebp - 0x178]
cmp edx, dword [ebp - 0x164]
jge 0x43076b
lea eax, [ebp - 0x174]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
push 0x439eb0
push str.__s___FreeSpace:_lld_FileSize:_lld
call fcn.0042b430
add esp, 0x18
mov edx, dword [ebp - 0x170]
cmp edx, dword [ebp - 0x158]
ja 0x43042f
jb 0x430352
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x15c]
jae 0x43042f
lea ecx, [ebp - 0x18c]
call fcn.00402b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190]
call fcn.00402b50
mov byte [ebp - 4], 4
push 0x82
lea ecx, [ebp - 0x18c]
call fcn.004024f0
push 0x83
lea ecx, [ebp - 0x190]
call fcn.004024f0
mov ecx, dword [ebp - 0x190]
push ecx
push 0x439f28
push str.__s___s
call fcn.0042b430
add esp, 0xc
push 0
lea ecx, [ebp - 0x18c]
call fcn.00402600
push eax
lea ecx, [ebp - 0x190]
call fcn.00402600
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00406c05
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5b0], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190]
call fcn.00402b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18c]
call fcn.00402b70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406d46
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00402b70
mov eax, dword [ebp - 0x5b0]
jmp 0x4307db
lea ecx, [ebp - 0x188]
call fcn.00406c6b
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.004030f0
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x5c8]
mov dword [ebp - 0x5cc], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x5b8]
push edx
mov ecx, dword [ebp - 0x5c4]
call fcn.0042fd50
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5d4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x5cc]
push ecx
mov edx, dword [ebp - 0x5d4]
push edx
lea eax, [ebp - 0x5bc]
push eax
call fcn.00402f00
add esp, 0xc
mov dword [ebp - 0x5d8], eax
mov ecx, dword [ebp - 0x5d8]
mov dword [ebp - 0x5dc], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5dc]
push edx
lea ecx, [ebp - 0x168]
call fcn.004020d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5bc]
call fcn.00402b70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5b8]
call fcn.00402b70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5b4]
call fcn.00402b70
mov eax, dword [ebp - 0x178]
add eax, 1
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x178]
push edx
push 0x439f64
push str.__s____d__d_UnPack_file_name:_s___d_
call fcn.0042b430
add esp, 0x1c
lea eax, [ebp - 0x40]
push eax
push 0x9001
lea ecx, [ebp - 0x168]
call fcn.00402600
push eax
lea ecx, [ebp - 0x188]
call fcn.00407082
test eax, eax
je 0x43070d
mov cl, byte [0x43622e]
mov byte [ebp - 0x5a4], cl
push 0x3ff
push 0
lea edx, [ebp - 0x5a3]
push edx
call fcn.00413d10
add esp, 0xc
push 0
push 0x400
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.0041e1c0
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
push 0
push 0x400
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call fcn.004308b0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
jmp 0x430612
mov ecx, dword [ebp - 0x5ac]
add ecx, 1
mov edx, dword [ebp - 0x5a8]
adc edx, 0
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 0x5a8], edx
mov eax, dword [ebp - 0x5a8]
cmp eax, dword [ebp - 0x198]
ja 0x430665
jb 0x430630
mov ecx, dword [ebp - 0x5ac]
cmp ecx, dword [ebp - 0x19c]
jae 0x430665
push 0x400
lea edx, [ebp - 0x5a4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040695f
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x5a4]
push ecx
lea ecx, [ebp - 0x188]
call fcn.004069a1
jmp 0x4305f4
mov edx, dword [ebp - 0x1a0]
push edx
lea eax, [ebp - 0x5a4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040695f
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
push ecx
lea edx, [ebp - 0x5a4]
push edx
lea ecx, [ebp - 0x188]
call fcn.004069a1
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x188]
call fcn.00407b67
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x5e0]
mov dword [ebp - 0x5e4], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5e4]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x188]
call fcn.00406b56
push edx
push eax
mov ecx, dword [ebp - 0x178]
push ecx
push 0x439fdc
push str.__s__UnPack_count:_d_len:_d_File:_s
call fcn.0042b430
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c0]
call fcn.00402b70
lea ecx, [ebp - 0x188]
call fcn.00406c05
jmp 0x430738
lea edx, [ebp - 0x40]
push edx
call fcn.0042b5f0
add esp, 4
mov eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x164]
jne 0x430738
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00406d46
jmp 0x43076b
mov ecx, dword [ebp - 0x178]
cmp ecx, dword [ebp - 0x164]
jne 0x430757
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00406d46
jmp 0x43076b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00406d46
jmp 0x4302bd
mov edx, dword [ebp - 0x178]
push edx
push str.CUnPack::UnPackFiles
push str.__s__UnPack_total__d_files.
call fcn.0042b430
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00406c05
mov eax, dword [ebp - 0x5c4]
mov dword [eax + 8], 1
mov dword [ebp - 0x10], 1
jmp 0x4307ae
lea ecx, [ebp - 0x40]
push ecx
call fcn.0042b5f0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406d46
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00402b70
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00413c2f
mov esp, ebp
pop ebp
ret