Function at 0x4756e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x4756e8
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 0xa0]
mov edx, dword [0x42d430]
call fcn.00407edc
xor eax, eax
push ebp
push 0x47675a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x8001
call sub.KERNEL32.DLL_SetErrorMode
mov eax, 0x48adc8
call fcn.00406e44
lea eax, [ebp - 0x38]
call fcn.00406e44
call fcn.00431f20
test eax, eax
jle 0x47587b
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00431f90
mov eax, dword [ebp - 0x2c]
mov edx, 0x476774
call fcn.00407c34
jne 0x475796
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4767d4
call fcn.00440830
mov eax, dword [0x482178]
mov dword [eax], 0xc9
mov dword [0x482138], 4
mov dword [0x48213c], 0
jmp 0x4766f4
mov eax, dword [ebp - 0x2c]
mov edx, 0x476810
call fcn.00407c34
jne 0x4757b1
mov byte [0x48adba], 1
jmp 0x47586f
mov eax, dword [ebp - 0x2c]
mov edx, 0x476838
call fcn.00407c34
jne 0x4757d9
mov eax, 0x48adc8
mov edx, dword [ebp - 0x2c]
call fcn.004071e8
mov byte [0x48214d], 1
jmp 0x47586f
mov eax, dword [ebp - 0x2c]
mov edx, 0x476864
call fcn.00407c34
jne 0x4757f1
mov byte [0x48214e], 1
jmp 0x47586f
mov eax, dword [ebp - 0x2c]
mov edx, 0x476894
call fcn.00407c34
jne 0x475809
mov byte [0x48adb9], 1
jmp 0x47586f
lea eax, [ebp - 0xc4]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.00407c6c
mov eax, dword [ebp - 0xc4]
mov edx, 0x4768bc
call fcn.004329f0
test eax, eax
jne 0x47586f
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
call fcn.00407230
lea eax, [ebp - 0x38]
mov ecx, 6
mov edx, 1
call fcn.00407cb4
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x38]
call fcn.004329a0
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x38]
call fcn.00407230
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x475745
call fcn.004737c0
call fcn.00473970
call fcn.00472560
mov eax, dword [eax + 8]
cmp byte [eax + 0xc], 0
je 0x47589a
mov byte [0x48214d], 1
cmp byte [0x48214e], 0
je 0x4758aa
mov byte [0x48214d], 0
cmp dword [0x48adc8], 0
jne 0x4758c2
mov eax, 0x48adc8
mov edx, 0x4768d8
call fcn.004071e8
lea eax, [ebp - 0xcc]
push eax
push 0x476904
lea edx, [ebp - 0xd4]
xor eax, eax
call fcn.00431f90
push dword [ebp - 0xd4]
push 0x476928
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00407b84
mov edx, dword [ebp - 0xd0]
mov ecx, 0x476938
mov eax, dword [0x48adc8]
call fcn.0042f4a0
mov edx, dword [ebp - 0xcc]
mov eax, 0x48adc8
call fcn.004071e8
call fcn.00472560
mov eax, dword [eax + 8]
lea edx, [ebp - 0xd8]
call fcn.0046dbc0
cmp dword [ebp - 0xd8], 0
je 0x47598c
lea eax, [ebp - 0xdc]
push eax
call fcn.00472560
mov eax, dword [eax + 8]
lea edx, [ebp - 0xe4]
call fcn.0046dbc0
mov ecx, dword [ebp - 0xe4]
lea eax, [ebp - 0xe0]
mov edx, 0x476948
call fcn.00407afc
mov edx, dword [ebp - 0xe0]
mov ecx, 0x476938
mov eax, dword [0x48adc8]
call fcn.0042f4a0
mov edx, dword [ebp - 0xdc]
mov eax, 0x48adc8
call fcn.004071e8
cmp dword [0x48ad90], 0
je 0x4759e7
lea eax, [ebp - 0xe8]
push eax
lea edx, [ebp - 0xf0]
mov eax, 0x48ad94
call fcn.00466d70
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xec]
mov edx, 0x476984
call fcn.00407afc
mov edx, dword [ebp - 0xec]
mov ecx, 0x476938
mov eax, dword [0x48adc8]
call fcn.0042f4a0
mov edx, dword [ebp - 0xe8]
mov eax, 0x48adc8
call fcn.004071e8
call fcn.00431f20
test eax, eax
jle 0x475a4d
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0xf4]
push eax
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
call fcn.00431f90
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.0042e010
mov edx, dword [ebp - 0xf8]
mov ecx, 0x476938
mov eax, dword [0x48adc8]
call fcn.0042f4a0
mov edx, dword [ebp - 0xf4]
mov eax, 0x48adc8
call fcn.004071e8
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x4759fa
push 1
mov ecx, 0x47699c
mov dl, 1
mov eax, dword [0x42d23c]
call fcn.004349c0
mov dword [0x482164], eax
mov eax, dword [0x482164]
call fcn.004337a0
test al, al
jne 0x475a8c
mov dword [0x482138], 6
mov dword [0x48213c], 0
jmp 0x4766f4
call fcn.004745b0
test al, al
je 0x475aae
mov dword [0x482138], 5
mov dword [0x48213c], 0
jmp 0x4766f4
call fcn.00474320
call fcn.00475270
test al, al
jne 0x475acc
mov eax, dword [0x482178]
mov dword [eax], 1
jmp 0x4766f4
mov eax, dword [0x48adbc]
call fcn.00431760
lea eax, [ebp - 0x100]
mov ecx, 0x4769d4
mov edx, dword [0x48adbc]
call fcn.00407afc
mov edx, dword [ebp - 0x100]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
call fcn.0043fe30
lea eax, [ebp - 0x108]
call fcn.00473be0
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
mov edx, 0x4769f4
call fcn.00407afc
mov edx, dword [ebp - 0x104]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00440830
lea edx, [ebp - 0x10c]
mov eax, 0x476a40
call fcn.004329a0
mov eax, dword [ebp - 0x10c]
call fcn.0046ef10
cmp al, 2
jne 0x475b74
call fcn.00453000
cmp al, 3
jne 0x475b74
call fcn.00453000
shr eax, 8
cmp al, 1
jne 0x475b74
call fcn.00474cf0
test al, al
jne 0x4766f4
mov eax, 0x476a6c
call fcn.0046ef10
cmp al, 2
jne 0x475ba4
call fcn.00453000
cmp al, 3
jne 0x475ba4
call fcn.00453000
shr eax, 8
cmp al, 1
jne 0x475ba4
call fcn.00474cf0
test al, al
jne 0x4766f4
mov eax, dword [ebp - 0x38]
mov edx, dword [0x4822f8]
mov edx, dword [edx]
call fcn.00407c34
jne 0x475be2
xor edx, edx
mov al, 1
call fcn.00460990
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
jne 0x475bcc
mov byte [ebp - 0x31], 1
lea eax, [ebp - 0x38]
xor edx, edx
mov dl, byte [ebp - 0x31]
mov ecx, dword [0x48224c]
mov edx, dword [ecx + edx*4]
call fcn.00407230
cmp dword [ebp - 0x38], 0
je 0x475c20
lea edx, [ebp - 0x31]
mov eax, dword [ebp - 0x38]
call fcn.00466a20
test al, al
je 0x475c20
lea eax, [ebp - 0x110]
mov ecx, dword [ebp - 0x38]
mov edx, 0x476a8c
call fcn.00407afc
mov edx, dword [ebp - 0x110]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00440830
jmp 0x475c28
call fcn.00473730
mov byte [ebp - 0x31], al
mov al, byte [ebp - 0x31]
call fcn.00466a00
mov al, byte [0x48214d]
call fcn.00473de0
test al, al
jne 0x475c4e
mov eax, dword [0x482178]
mov dword [eax], 1
jmp 0x4766f4
call fcn.00475470
mov eax, dword [0x48adbc]
call fcn.00432cc0
test al, al
jne 0x475cf2
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00470b80
mov ecx, 0x48ad94
mov edx, 0x1fa
call fcn.00467490
cmp byte [0x48214d], 0
jne 0x475ce2
push 0x10
lea eax, [ebp - 0x114]
push eax
mov eax, dword [0x48adbc]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0x11
lea edx, [ebp - 0x11c]
xor ecx, ecx
mov al, 0x39
call fcn.004667f0
mov eax, dword [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
call fcn.00471be0
mov ecx, dword [ebp - 0x120]
xor eax, eax
pop edx
call fcn.00452ed0
mov eax, dword [0x482178]
mov dword [eax], 1
jmp 0x4766f4
call fcn.00472f00
cdq
mov dword [0x482140], eax
mov dword [0x482144], edx
lea edx, [ebp - 0x124]
mov eax, dword [0x48adbc]
call fcn.004313b0
mov eax, dword [ebp - 0x124]
call fcn.00432b40
test al, al
jne 0x475d3b
mov dl, byte [0x476ab4]
mov eax, dword [0x48adbc]
call fcn.0042e430
test al, al
jne 0x475dc8
push 0
push 2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00470b80
mov ecx, 0x48ad94
mov edx, 0x1fa
call fcn.00467490
cmp byte [0x48214d], 0
jne 0x475db8
push 0x10
lea eax, [ebp - 0x128]
push eax
mov eax, dword [0x48adbc]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0x11
lea edx, [ebp - 0x11c]
xor ecx, ecx
mov al, 0x38
call fcn.004667f0
mov eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
call fcn.00471be0
mov ecx, dword [ebp - 0x12c]
xor eax, eax
pop edx
call fcn.00452ed0
mov eax, dword [0x482178]
mov dword [eax], 1
jmp 0x4766f4
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 [0x48adbc]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceExW
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x482154]
jne 0x475e1a
cmp eax, dword [0x482150]
jae 0x475f53
jmp 0x475e20
jge 0x475f53
push 0x476ac4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x134]
call fcn.004173ec
push dword [ebp - 0x134]
push 0x476b1c
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x138]
call fcn.004173ec
push dword [ebp - 0x138]
lea eax, [ebp - 0x130]
mov edx, 4
call fcn.00407b84
mov edx, dword [ebp - 0x130]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00440830
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.00470b80
mov ecx, 0x48ad94
mov edx, 0x1fd
call fcn.00467490
cmp byte [0x48214d], 0
jne 0x475f43
push 0x10
lea eax, [ebp - 0x13c]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [0x48adbc]
call fcn.004328a0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 0x148], 0x11
push dword [0x482154]
push dword [0x482150]
lea ecx, [ebp - 0x154]
xor edx, edx
xor eax, eax
call fcn.0042f730
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 0x11
lea edx, [ebp - 0x14c]
mov ecx, 1
mov al, 1
call fcn.004667f0
mov eax, dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x158]
call fcn.00471be0
mov ecx, dword [ebp - 0x158]
xor eax, eax
pop edx
call fcn.00452ed0
mov eax, dword [0x482178]
mov dword [eax], 1
jmp 0x4766f4
push 0x476b38
push 0xa
call fcn.00471bb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x42c85c]
call fcn.00434010
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x47635e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xb0]
call fcn.004463d0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x475fa5
cmp eax, 0
jbe 0x476115
jmp 0x475fab
jle 0x476115
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
push eax
call fcn.00445b20
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 4]
pop ecx
call fcn.00449a00
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.004338a0
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x47610e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.00471c90
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x24]
call fcn.004339a0
lea eax, [ebp - 0x15c]
mov ecx, 0x476b4c
mov edx, dword [0x48adbc]
call fcn.00407afc
mov eax, dword [ebp - 0x15c]
mov edx, 1
call fcn.004316f0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4760af
xor eax, eax
push ebp
push 0x4760a8
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 0x476090
cmp eax, 0x10
jne 0x476090
lea eax, [ebp - 0xc0]
call fcn.004463d0
lea edx, [ebp - 0xc0]
mov ecx, 0x10
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x10
jne 0x476090
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0xb0]
call fcn.004463a0
test al, al
je 0x476090
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4760af
mov eax, dword [ebp - 0x4c]
call fcn.0040578c
pop eax
jmp eax
cmp dword [ebp - 0x28], 0
jle 0x4760f6
mov eax, dword [ebp - 0x24]
call fcn.00433870
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x4760e8
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.00472310
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x4760d6
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.004338a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476115
lea eax, [ebp - 0x54]
call fcn.00406e68
pop eax
jmp eax
call fcn.004731f0
test al, al
je 0x47614d
call fcn.00472ea0
test al, al
jne 0x4761ae
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [0x482240]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
xor edx, edx
call fcn.004721a0
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xe
jne 0x476130
jmp 0x4761ae
mov eax, dword [0x48adbc]
call fcn.00431760
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [0x482240]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov dl, 1
call fcn.004721a0
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xe
jne 0x47615c
call fcn.004724e0
mov edx, 0x476b70
call fcn.00450310
call fcn.00474a10
push eax
lea eax, [ebp - 0x160]
call fcn.00472590
mov eax, dword [ebp - 0x160]
push eax
call fcn.004724e0
mov edx, 0x476b70
pop ecx
call fcn.00451b20
cmp byte [0x48214c], 0
je 0x4761e8
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x476b84
call fcn.00440830
mov dword [0x482138], 2
mov dword [0x48213c], 0
call fcn.00406630
jmp 0x4766f4
call fcn.004727c0
cmp byte [0x48214e], 0
je 0x47624c
call fcn.004724e0
mov ecx, eax
mov dl, 1
mov eax, dword [0x46c0d8]
call fcn.0046d950
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x476245
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xc], 0
je 0x47622d
xor edx, edx
mov eax, dword [ebp - 0x44]
call fcn.0046dcb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47624c
mov eax, dword [ebp - 0x44]
call fcn.0040578c
pop eax
jmp eax
cmp dword [ebp - 0x38], 0
je 0x4762ab
call fcn.004724e0
mov ecx, eax
mov dl, 1
mov eax, dword [0x46bfd8]
call fcn.0046c1b0
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x4762a4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov al, byte [ebp - 0x31]
mov edx, dword [0x48224c]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x40]
call fcn.0046c670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4762ab
mov eax, dword [ebp - 0x40]
call fcn.0040578c
pop eax
jmp eax
cmp dword [ebp - 0x28], 0
jle 0x476346
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x4762da
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.00472310
inc dword [ebp - 4]
dec dword [ebp - 0x50]
jne 0x4762c8
lea eax, [ebp - 0x164]
mov ecx, 0x476b4c
mov edx, dword [0x48adbc]
call fcn.00407afc
mov eax, dword [ebp - 0x164]
xor edx, edx
call fcn.004316f0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x476346
xor eax, eax
push ebp
push 0x47633f
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 0x476346
mov eax, dword [ebp - 0x4c]
call fcn.0040578c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476365
lea eax, [ebp - 0x24]
call fcn.0041f828
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476761
lea eax, [ebp - 0x18c]
mov edx, 0x10
call fcn.00406ea4
lea eax, [ebp - 0x13c]
mov edx, 8
call fcn.00406ea4
lea eax, [ebp - 0x114]
mov edx, 0x15
call fcn.00406ea4
lea eax, [ebp - 0xa0]
mov edx, dword [0x42d430]
call fcn.004082a0
lea eax, [ebp - 0x38]
call fcn.00406e44
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406ea4
pop eax
jmp eax