Function at 0x403492
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
push 0x10
call fcn.004142c4
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.004142c4
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.004142c4
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x80000301
push 0
push 0x3a
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x5c
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4035cc
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4035dc
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4035f0
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x43
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403655
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x20]
xor eax, eax
call dword [0x41aaf6]
nop
nop
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403675
push ebx
call fcn.004142ca
add esp, 4
cmp dword [ebp - 0x24], 3
jne 0x40376c
push 0x80000301
push 0
push 0x43
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4036e0
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
nop
nop
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403706
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push 0x80000401
mov ebx, dword [ebp - 0x18]
push dword [ebx + 4]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00415840
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403754
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403768
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x44
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4037cd
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x20]
xor eax, eax
call dword [0x41aaf6]
nop
nop
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4037ed
push ebx
call fcn.004142ca
add esp, 4
cmp dword [ebp - 0x24], 3
jne 0x4038e4
push 0x80000301
push 0
push 0x44
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403858
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
nop
nop
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40387e
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push 0x80000401
mov ebx, dword [ebp - 0x18]
push dword [ebx + 4]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00415840
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4038cc
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4038e0
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x45
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403945
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x20]
xor eax, eax
call dword [0x41aaf6]
nop
nop
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403965
push ebx
call fcn.004142ca
add esp, 4
cmp dword [ebp - 0x24], 3
jne 0x403a5c
push 0x80000301
push 0
push 0x45
push 1
mov ebx, 0x9d4
call fcn.00415e90
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x140
call fcn.00415f40
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4039d0
push ebx
call fcn.004142ca
add esp, 4
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
nop
nop
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4039f6
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push 0x80000401
mov ebx, dword [ebp - 0x18]
push dword [ebx + 4]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00415840
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.00401da9
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403a44
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403a58
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x403a6f
mov eax, 0x41a23d
push eax
push 1
mov ebx, 0x198
call fcn.004155a0
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401c7c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403aa1
push ebx
call fcn.004142ca
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00415840
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x403ac8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403ad9
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403b0d
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret