Function at 0x47cdf0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x47cdf8
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 0xa0]
mov edx, dword [0x42ed7c]
call fcn.00407ff0
xor eax, eax
push ebp
push 0x47ddc3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov eax, 0x49304c
call fcn.00406f58
lea eax, [ebp - 0x38]
call fcn.00406f58
call fcn.004337f0
test eax, eax
jle 0x47cf8b
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00433860
mov eax, dword [ebp - 0x2c]
mov edx, 0x47dde0
call fcn.00407d48
jne 0x47cea6
mov eax, dword [0x48a484]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x47de40
call fcn.00442230
mov eax, dword [0x48a414]
mov dword [eax], 0xc9
mov dword [0x48a3d0], 4
mov dword [0x48a3d4], 0
jmp 0x47dd5d
mov eax, dword [ebp - 0x2c]
mov edx, 0x47de7c
call fcn.00407d48
jne 0x47cec1
mov byte [0x49303e], 1
jmp 0x47cf7f
mov eax, dword [ebp - 0x2c]
mov edx, 0x47dea4
call fcn.00407d48
jne 0x47cee9
mov eax, 0x49304c
mov edx, dword [ebp - 0x2c]
call fcn.004072fc
mov byte [0x48a3e5], 1
jmp 0x47cf7f
mov eax, dword [ebp - 0x2c]
mov edx, 0x47ded0
call fcn.00407d48
jne 0x47cf01
mov byte [0x48a3e6], 1
jmp 0x47cf7f
mov eax, dword [ebp - 0x2c]
mov edx, 0x47df00
call fcn.00407d48
jne 0x47cf19
mov byte [0x49303d], 1
jmp 0x47cf7f
lea eax, [ebp - 0xc4]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.00407d80
mov eax, dword [ebp - 0xc4]
mov edx, 0x47df28
call fcn.004342c0
test eax, eax
jne 0x47cf7f
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
call fcn.00407344
lea eax, [ebp - 0x38]
mov ecx, 6
mov edx, 1
call fcn.00407dc8
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x38]
call fcn.00434270
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x38]
call fcn.00407344
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x47ce55
call fcn.0047ae70
call fcn.0047b020
call fcn.00479c10
mov eax, dword [eax + 8]
cmp byte [eax + 0xc], 0
je 0x47cfaa
mov byte [0x48a3e5], 1
cmp byte [0x48a3e6], 0
je 0x47cfba
mov byte [0x48a3e5], 0
cmp dword [0x49304c], 0
jne 0x47cfd2
mov eax, 0x49304c
mov edx, 0x47df44
call fcn.004072fc
lea eax, [ebp - 0xcc]
push eax
push 0x47df70
lea edx, [ebp - 0xd4]
xor eax, eax
call fcn.00433860
push dword [ebp - 0xd4]
push 0x47df94
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00407c98
mov edx, dword [ebp - 0xd0]
mov ecx, 0x47dfa4
mov eax, dword [0x49304c]
call fcn.00430d70
mov edx, dword [ebp - 0xcc]
mov eax, 0x49304c
call fcn.004072fc
cmp dword [0x493014], 0
je 0x47d086
lea eax, [ebp - 0xd8]
push eax
lea edx, [ebp - 0xe0]
mov eax, 0x493018
call fcn.0046e400
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, 0x47dfb4
call fcn.00407c10
mov edx, dword [ebp - 0xdc]
mov ecx, 0x47dfa4
mov eax, dword [0x49304c]
call fcn.00430d70
mov edx, dword [ebp - 0xd8]
mov eax, 0x49304c
call fcn.004072fc
call fcn.004337f0
test eax, eax
jle 0x47d0ec
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 4]
call fcn.00433860
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.0042f950
mov edx, dword [ebp - 0xe8]
mov ecx, 0x47dfa4
mov eax, dword [0x49304c]
call fcn.00430d70
mov edx, dword [ebp - 0xe4]
mov eax, 0x49304c
call fcn.004072fc
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x47d099
push 1
mov ecx, 0x47dfcc
mov dl, 1
mov eax, dword [0x42eb88]
call fcn.00436370
mov dword [0x48a3fc], eax
mov eax, dword [0x48a3fc]
call fcn.00435150
test al, al
jne 0x47d12b
mov dword [0x48a3d0], 6
mov dword [0x48a3d4], 0
jmp 0x47dd5d
call fcn.0047bcc0
test al, al
je 0x47d14d
mov dword [0x48a3d0], 5
mov dword [0x48a3d4], 0
jmp 0x47dd5d
call fcn.0047b9d0
call fcn.0047c980
test al, al
jne 0x47d16b
mov eax, dword [0x48a414]
mov dword [eax], 1
jmp 0x47dd5d
mov eax, dword [0x493040]
call fcn.00433030
lea eax, [ebp - 0xf0]
mov ecx, 0x47e004
mov edx, dword [0x493040]
call fcn.00407c10
mov edx, dword [ebp - 0xf0]
mov eax, dword [0x48a484]
mov eax, dword [eax]
call fcn.00441830
lea eax, [ebp - 0xf8]
call fcn.0047b290
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0xf4]
mov edx, 0x47e024
call fcn.00407c10
mov edx, dword [ebp - 0xf4]
mov eax, dword [0x48a484]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00442230
lea edx, [ebp - 0xfc]
mov eax, 0x47e070
call fcn.00434270
mov eax, dword [ebp - 0xfc]
call fcn.004765b0
cmp al, 2
jne 0x47d213
call fcn.00454d60
cmp al, 3
jne 0x47d213
call fcn.00454d60
shr eax, 8
cmp al, 1
jne 0x47d213
call fcn.0047c400
test al, al
jne 0x47dd5d
mov eax, 0x47e09c
call fcn.004765b0
cmp al, 2
jne 0x47d243
call fcn.00454d60
cmp al, 3
jne 0x47d243
call fcn.00454d60
shr eax, 8
cmp al, 1
jne 0x47d243
call fcn.0047c400
test al, al
jne 0x47dd5d
mov eax, dword [ebp - 0x38]
mov edx, dword [0x48a598]
mov edx, dword [edx]
call fcn.00407d48
jne 0x47d281
xor edx, edx
mov al, 1
call fcn.00463e60
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
jne 0x47d26b
mov byte [ebp - 0x31], 1
lea eax, [ebp - 0x38]
xor edx, edx
mov dl, byte [ebp - 0x31]
mov ecx, dword [0x48a4e4]
mov edx, dword [ecx + edx*4]
call fcn.00407344
cmp dword [ebp - 0x38], 0
je 0x47d2bf
lea edx, [ebp - 0x31]
mov eax, dword [ebp - 0x38]
call fcn.0046e0b0
test al, al
je 0x47d2bf
lea eax, [ebp - 0x100]
mov ecx, dword [ebp - 0x38]
mov edx, 0x47e0bc
call fcn.00407c10
mov edx, dword [ebp - 0x100]
mov eax, dword [0x48a484]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00442230
jmp 0x47d2c7
call fcn.0047ade0
mov byte [ebp - 0x31], al
mov al, byte [ebp - 0x31]
call fcn.0046e090
mov al, byte [0x48a3e5]
call fcn.0047b490
test al, al
jne 0x47d2ed
mov eax, dword [0x48a414]
mov dword [eax], 1
jmp 0x47dd5d
call fcn.0047cb80
mov eax, dword [0x493040]
call fcn.00434590
test al, al
jne 0x47d391
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00478010
mov ecx, 0x493018
mov edx, 0x1fa
call fcn.0046eb20
cmp byte [0x48a3e5], 0
jne 0x47d381
push 0x10
lea eax, [ebp - 0x104]
push eax
mov eax, dword [0x493040]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0x11
lea edx, [ebp - 0x10c]
xor ecx, ecx
mov al, 0x39
call fcn.0046de80
mov eax, dword [ebp - 0x104]
push eax
lea eax, [ebp - 0x110]
call fcn.00479220
mov ecx, dword [ebp - 0x110]
xor eax, eax
pop edx
call fcn.00454c30
mov eax, dword [0x48a414]
mov dword [eax], 1
jmp 0x47dd5d
call fcn.0047a5b0
cdq
mov dword [0x48a3d8], eax
mov dword [0x48a3dc], edx
lea edx, [ebp - 0x114]
mov eax, dword [0x493040]
call fcn.00432c80
mov eax, dword [ebp - 0x114]
call fcn.00434410
test al, al
jne 0x47d3da
mov dl, byte [0x47e0e4]
mov eax, dword [0x493040]
call fcn.0042fd70
test al, al
jne 0x47d467
push 0
push 2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00478010
mov ecx, 0x493018
mov edx, 0x1fa
call fcn.0046eb20
cmp byte [0x48a3e5], 0
jne 0x47d457
push 0x10
lea eax, [ebp - 0x118]
push eax
mov eax, dword [0x493040]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0x11
lea edx, [ebp - 0x10c]
xor ecx, ecx
mov al, 0x38
call fcn.0046de80
mov eax, dword [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
call fcn.00479220
mov ecx, dword [ebp - 0x11c]
xor eax, eax
pop edx
call fcn.00454c30
mov eax, dword [0x48a414]
mov dword [eax], 1
jmp 0x47dd5d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x493040]
call fcn.00407a40
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x48a3ec]
jne 0x47d4b9
cmp eax, dword [0x48a3e8]
jae 0x47d5f2
jmp 0x47d4bf
jge 0x47d5f2
push 0x47e0f4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x124]
call fcn.00417728
push dword [ebp - 0x124]
push 0x47e14c
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x128]
call fcn.00417728
push dword [ebp - 0x128]
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.00407c98
mov edx, dword [ebp - 0x120]
mov eax, dword [0x48a484]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00442230
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00478010
mov ecx, 0x493018
mov edx, 0x1fd
call fcn.0046eb20
cmp byte [0x48a3e5], 0
jne 0x47d5e2
push 0x10
lea eax, [ebp - 0x12c]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [0x493040]
call fcn.00434170
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0x11
push dword [0x48a3ec]
push dword [0x48a3e8]
lea ecx, [ebp - 0x144]
xor edx, edx
xor eax, eax
call fcn.00431000
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0x11
lea edx, [ebp - 0x13c]
mov ecx, 1
mov al, 1
call fcn.0046de80
mov eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x148]
call fcn.00479220
mov ecx, dword [ebp - 0x148]
xor eax, eax
pop edx
call fcn.00454c30
mov eax, dword [0x48a414]
mov dword [eax], 1
jmp 0x47dd5d
push 0x47e168
push 0xa
call fcn.004791f0
mov ecx, eax
mov dl, 1
mov eax, dword [0x42e1a8]
call fcn.004359c0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x47d9c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xb0]
call fcn.00447f20
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x47d644
cmp eax, 0
jbe 0x47d7b4
jmp 0x47d64a
jle 0x47d7b4
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
push eax
call fcn.00447670
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 4]
pop ecx
call fcn.0044b760
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.00435250
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x47d7ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.004792d0
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x24]
call fcn.00435350
lea eax, [ebp - 0x14c]
mov ecx, 0x47e17c
mov edx, dword [0x493040]
call fcn.00407c10
mov eax, dword [ebp - 0x14c]
mov edx, 1
call fcn.00432fc0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x47d74e
xor eax, eax
push ebp
push 0x47d747
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x47d72f
cmp eax, 0x10
jne 0x47d72f
lea eax, [ebp - 0xc0]
call fcn.00447f20
lea edx, [ebp - 0xc0]
mov ecx, 0x10
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x10
jne 0x47d72f
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0xb0]
call fcn.00447ef0
test al, al
je 0x47d72f
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d74e
mov eax, dword [ebp - 0x4c]
call fcn.004058a0
pop eax
jmp eax
cmp dword [ebp - 0x28], 0
jle 0x47d795
mov eax, dword [ebp - 0x24]
call fcn.00435220
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x47d787
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004799c0
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x47d775
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.00435250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d7b4
lea eax, [ebp - 0x54]
call fcn.00406f7c
pop eax
jmp eax
call fcn.0047a8a0
test al, al
je 0x47d7cf
call fcn.0047a550
test al, al
jne 0x47d817
xor eax, eax
call fcn.00479690
jmp 0x47d817
mov eax, dword [0x493040]
call fcn.00433030
mov al, 1
call fcn.00479690
call fcn.00479b90
mov edx, 0x47e1a0
call fcn.00452070
call fcn.0047c120
push eax
lea eax, [ebp - 0x150]
call fcn.00479c40
mov eax, dword [ebp - 0x150]
push eax
call fcn.00479b90
mov edx, 0x47e1a0
pop ecx
call fcn.00453880
cmp byte [0x48a3e4], 0
je 0x47d851
mov eax, dword [0x48a484]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x47e1b4
call fcn.00442230
mov dword [0x48a3d0], 2
mov dword [0x48a3d4], 0
call fcn.00406744
jmp 0x47dd5d
call fcn.00479e70
cmp byte [0x48a3e6], 0
je 0x47d8b5
call fcn.00479b90
mov ecx, eax
mov dl, 1
mov eax, dword [0x473768]
call fcn.00475070
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x47d8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xc], 0
je 0x47d896
xor edx, edx
mov eax, dword [ebp - 0x44]
call fcn.00475350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d8b5
mov eax, dword [ebp - 0x44]
call fcn.004058a0
pop eax
jmp eax
cmp dword [ebp - 0x38], 0
je 0x47d914
call fcn.00479b90
mov ecx, eax
mov dl, 1
mov eax, dword [0x473668]
call fcn.00473840
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x47d90d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov al, byte [ebp - 0x31]
mov edx, dword [0x48a4e4]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x40]
call fcn.00473d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d914
mov eax, dword [ebp - 0x40]
call fcn.004058a0
pop eax
jmp eax
cmp dword [ebp - 0x28], 0
jle 0x47d9af
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x47d943
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004799c0
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x47d931
lea eax, [ebp - 0x154]
mov ecx, 0x47e17c
mov edx, dword [0x493040]
call fcn.00407c10
mov eax, dword [ebp - 0x154]
xor edx, edx
call fcn.00432fc0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x47d9af
xor eax, eax
push ebp
push 0x47d9a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xb0]
mov ecx, 0x10
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d9af
mov eax, dword [ebp - 0x4c]
call fcn.004058a0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d9ce
lea eax, [ebp - 0x24]
call fcn.0041fb64
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ddca
lea eax, [ebp - 0x17c]
mov edx, 0x10
call fcn.00406fb8
lea eax, [ebp - 0x12c]
mov edx, 8
call fcn.00406fb8
lea eax, [ebp - 0x104]
mov edx, 0x11
call fcn.00406fb8
lea eax, [ebp - 0xa0]
mov edx, dword [0x42ed7c]
call fcn.004083b4
lea eax, [ebp - 0x38]
call fcn.00406f58
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406fb8
pop eax
jmp eax