Function at 0x1002e822
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a0ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002f449
lea eax, [ebp + 0x10]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x13c]
movzx eax, byte [eax]
test eax, eax
je 0x1002e969
mov dword [ebp - 0x14c], 0xbac64a68
mov dword [ebp - 0x24], 0xfd66c4a8
mov dword [ebp - 0x1a8], 1
push 2
lea ecx, [ebp - 0x188]
call fcn.1000995a
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x1c8]
push eax
push 0x417e
lea eax, [ebp - 0x188]
push eax
push 0x5fc1
push 1
call fcn.1002b935
add esp, 0x18
push 0
lea eax, [ebp - 0x24]
push eax
push 0x2645
push 0x787
push 1
push 1
push 0x3475
push 0x117b
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.10033a43
add esp, 0x28
mov dword [ebp - 0x24], 0
jmp 0x1002e925
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002e955
push 1
push 0x7edd
push 1
push 0x2013
lea eax, [ebp - 0x24]
push eax
push 0x302a
lea eax, [ebp - 0x188]
push eax
push 0
call fcn.1002c5c6
add esp, 0x20
jmp 0x1002e91e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.100099dd
jmp 0x1002f447
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x108], eax
xor eax, eax
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x62]
push eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x168]
call fcn.1003414f
mov dword [ebp - 4], 1
and dword [ebp - 0x2c], 0
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x168]
call fcn.10014c96
dec eax
mov dword [ebp - 0xf4], eax
jmp 0x1002e9e4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0xf4]
jae 0x1002ee0f
mov dword [ebp - 0x78], 0x7dfa860b
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xac], 9
mov dword [ebp - 0x16c], 3
mov dword [ebp - 0x114], 0xca12
mov dword [ebp - 0x34], 0
jmp 0x1002ea2f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002ea45
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xd4], 0xffffffff
jmp 0x1002ea28
push 1
push 0x3645
push 0
lea eax, [ebp - 0x78]
push eax
push 0x26fc
lea eax, [ebp - 0x1c]
push eax
push 0x40cd
push 1
call fcn.1002c5c6
add esp, 0x20
mov dword [ebp - 0x1c], 0
jmp 0x1002ea7a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1002ed93
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xd8], 0x80f885bd
mov dword [ebp - 0x68], 0xdfe9
mov dword [ebp - 0xfc], 0xd015b01d
mov eax, dword [ebp - 0x1c]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0xd4]
cmp ecx, dword [ebp + eax*4 - 0xd4]
jle 0x1002eacb
mov dword [ebp - 0xc8], 1
jmp 0x1002ead2
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 1
jbe 0x1002eae7
mov dword [ebp - 0x130], 1
jmp 0x1002eaee
and dword [ebp - 0x130], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd4]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xd4]
neg eax
je 0x1002eb1a
mov dword [ebp - 0xa4], 1
jmp 0x1002eb21
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0x28]
je 0x1002ece4
mov dword [ebp - 0x1d8], 0x868fdadf
mov dword [ebp - 0x1d0], 9
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0xd4], eax
mov dword [ebp - 0x28], 0xb
jmp 0x1002eb61
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffd
je 0x1002ecdf
push 2
lea ecx, [ebp - 0x15c]
call fcn.1000995a
mov byte [ebp - 4], 2
push 0x5723
push 1
push 0x6b18
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1ac]
push eax
push 0x404d
push 1
call fcn.1002a9c4
add esp, 0x1c
mov eax, dword [ebp - 0xac]
neg eax
cmp eax, dword [ebp - 0xfc]
jge 0x1002ebbe
mov dword [ebp - 0x80], 1
jmp 0x1002ebc2
and dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0x15c]
call fcn.100099f9
mov eax, dword [eax]
dec eax
cmp eax, 0x6ed55c59
je 0x1002ebe5
mov dword [ebp - 0xa0], 1
jmp 0x1002ebec
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x15c]
call fcn.100099f9
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
je 0x1002ec10
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xd4], 0
je 0x1002ec2e
push 1
lea ecx, [ebp - 0x15c]
call fcn.100099f9
cmp dword [eax], 0
je 0x1002ec2e
mov dword [ebp - 0xc4], 1
jmp 0x1002ec35
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x104]
jge 0x1002ec6e
mov dword [ebp - 0x88], 1
jmp 0x1002ec75
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 9
jbe 0x1002ec8a
mov dword [ebp - 0x90], 1
jmp 0x1002ec91
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x90]
jne 0x1002ecab
mov dword [ebp - 0xbc], 1
jmp 0x1002ecb2
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd4]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.100099dd
jmp 0x1002eb5a
jmp 0x1002ed6e
mov dword [ebp - 0x10c], 0xb1aa435c
mov dword [ebp - 0x1b0], 0x9ed994ad
mov dword [ebp - 0x1b8], 0x70f3f850
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1cc], 0xfffffffb
push 0x5838
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x3050
call fcn.10033d14
add esp, 0x10
push 0x1a9c
push 1
push 0x530c
push 0x3204
push 0x2e81
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0x7bf8
push 0x5650
push 0x59cd
call fcn.1002ac55
add esp, 0x2c
mov byte [ebp - 0x1d], 0
push 0x4757
lea eax, [ebp - 0x1d]
push eax
push 1
push 0
push 1
push 0x6f3d
call fcn.1002b2b1
add esp, 0x18
jmp 0x1002ea73
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x168]
call fcn.10014992
mov dword [ebp - 0x148], eax
and dword [ebp - 0x40], 0
jmp 0x1002edbb
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x40], 2
jae 0x1002ee0a
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
add eax, dword [ebp - 0x2c]
xor edx, edx
div dword [0x10074480]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10015382
mov ecx, dword [ebp - 0x148]
add ecx, dword [ebp - 0x40]
mov byte [ecx], al
jmp 0x1002edad
jmp 0x1002e9dd
mov dword [ebp - 0x14], 0x36444696
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x17c], 0xffffffff
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0x170], 0xffffffff
mov dword [ebp - 0x128], 0xfffffff8
mov dword [ebp - 0x70], 0x466e
mov dword [ebp - 0x11c], str.hxhiks_gvty_mfsb_mfibhgpu
cmp dword [ebp - 0x70], 0x46ff
jle 0x1002eeff
and dword [ebp - 0x30], 0
jmp 0x1002ee7a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2119
jge 0x1002eeff
and dword [ebp - 0x44], 0
jmp 0x1002ee90
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x473a
jge 0x1002eefa
and dword [ebp - 0x54], 0
jmp 0x1002eea6
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x444b
jge 0x1002eef8
and dword [ebp - 0x4c], 0
jmp 0x1002eebc
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x17ec
jge 0x1002eef6
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x4c]
and eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push dword [ebp - 0x120]
push dword [ebp - 0x124]
mov ecx, 0x10074f78
call fcn.10009792
jmp 0x1002eeb5
jmp 0x1002ee9f
jmp 0x1002ee89
jmp 0x1002ee73
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], 0x439c
jge 0x1002ef1c
mov edx, dword [ebp - 0x11c]
mov ecx, 0x10074f78
call fcn.1000cd04
jmp 0x1002ef38
mov dword [ebp - 4], 1
jmp 0x1002ef48
mov dword [ebp - 0x38], 0
jmp 0x1002ef58
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002ef6e
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1c0], 0x33c017f2
jmp 0x1002ef51
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jle 0x1002ef7f
mov dword [ebp - 0x74], 1
jmp 0x1002ef83
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
jl 0x1002ef97
mov dword [ebp - 0x9c], 1
jmp 0x1002ef9e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x17c], ecx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x14]
jne 0x1002efcb
mov dword [ebp - 0x84], 1
jmp 0x1002efd2
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x84]
jl 0x1002efe9
mov dword [ebp - 0x8c], 1
jmp 0x1002eff0
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
je 0x1002f01a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x17c], 0
je 0x1002f01a
mov dword [ebp - 0x94], 1
jmp 0x1002f021
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
add eax, 0x395e2de4
cmp eax, dword [ebp - 0x14]
je 0x1002f042
xor eax, eax
inc eax
je 0x1002f042
mov dword [ebp - 0xa8], 1
jmp 0x1002f049
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa8]
jl 0x1002f063
mov dword [ebp - 0xb0], 1
jmp 0x1002f06a
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp + eax - 0x1c0], ecx
cmp dword [ebp - 0x128], 0xb002
jl 0x1002f12b
mov dword [ebp - 0xe8], 0xb400765e
mov dword [ebp - 0x18], 0
jmp 0x1002f0a7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x35
jge 0x1002f0fd
mov dword [ebp - 0xe4], 0xff68
mov dword [ebp - 0x14], 1
jmp 0x1002f0c7
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff7
jg 0x1002f0fb
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x1f]
push eax
push 1
push 0x3dcb
push 1
call fcn.1002ae91
add esp, 0x10
mov eax, dword [ebp - 0xe4]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x17c], eax
jmp 0x1002f0c0
jmp 0x1002f0a0
push 0x61b8
push 0x2edc
lea eax, [ebp - 0x14]
push eax
push 0x6fa9
lea eax, [ebp - 0xe8]
push eax
push 0
push 0x993
call fcn.10033616
add esp, 0x1c
jmp 0x1002f415
mov dword [ebp - 0x198], 0xffff
mov dword [ebp - 0x194], 0xffff
mov dword [ebp - 0x190], 0xffff
mov dword [ebp - 0x18c], 0xffff
cmp dword [ebp - 0x14], 0
je 0x1002f1eb
push 2
lea ecx, [ebp - 0x1a4]
call fcn.1000995a
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1d4]
push eax
push 0xb93
push 1
push 1
push 1
lea eax, [ebp - 0x1a4]
push eax
call fcn.1002b2b1
add esp, 0x18
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x198], 0
je 0x1002f1bb
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x198], 0
je 0x1002f1bb
mov dword [ebp - 0xb8], 1
jmp 0x1002f1c2
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.100099f9
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.100099dd
jmp 0x1002f415
mov dword [ebp - 0xc0], 0x6c8e
mov dword [ebp - 0xf8], str.svto_biide_gxmdhfpkj_lub_xqqhebj_awfc_ymupm_uniwytsin_cwmgwtg_wqvfsukpp_ixgjxcm_ccnkkbqm
cmp dword [ebp - 0xc0], 0x6e73
jle 0x1002f2d1
push 0
push 0
push 0
push 0x4ce
call dword [sym.imp.GDI32.dll_PolyPolyline]
and dword [ebp - 0x48], 0
jmp 0x1002f22d
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x4449
jge 0x1002f2c1
and dword [ebp - 0x50], 0
jmp 0x1002f247
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x55f0
jge 0x1002f2bc
and dword [ebp - 0x58], 0
jmp 0x1002f25d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x49ea
jge 0x1002f2ba
mov eax, dword [ebp - 0x48]
and eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x58]
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
lea ecx, [ebp - 0x1f0]
call fcn.10001335
pop ecx
pop ecx
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.10001437
push eax
call fcn.100420be
pop ecx
lea ecx, [ebp - 0x1f0]
call fcn.1000142d
jmp 0x1002f256
jmp 0x1002f240
jmp 0x1002f226
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov byte [ebp - 0x20], 0
push 0x7c1f
push 0x5b33
push 0x30b1
lea eax, [ebp - 0x20]
push eax
push 1
push 1
call fcn.1002a8f2
add esp, 0x18
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc0], 0x6900
jge 0x1002f310
push dword [ebp - 0xf8]
call fcn.100420be
pop ecx
jmp 0x1002f32c
mov dword [ebp - 4], 1
jmp 0x1002f33c
mov dword [ebp - 0x6c], 0x8ce
mov dword [ebp - 0x100], str.ukft_agvtjdod_xkswznvc_sfykcf_aclo_yvehqujh_liqsdos_tzztlrf_jjoju_jdpk_adaaz_pejhtuhw_edv
cmp dword [ebp - 0x6c], 0xb85
jle 0x1002f3af
and dword [ebp - 0x60], 0
jmp 0x1002f363
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xd3d
jge 0x1002f3af
and dword [ebp - 0x5c], 0
jmp 0x1002f379
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x76f0
jge 0x1002f3ad
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x5c]
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
mov ecx, 0x10074f78
call fcn.10009792
jmp 0x1002f372
jmp 0x1002f35c
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002f3cc
push 0
push 0x743d
push 1
call fcn.1002bef9
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0x6c], 0x55e
jge 0x1002f3e9
mov edx, dword [ebp - 0x100]
mov ecx, 0x10074f78
call fcn.1000cd04
jmp 0x1002f405
mov dword [ebp - 4], 1
jmp 0x1002f415
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.100341ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.1001498d
jmp 0x1002f46c
jmp 0x1002f46c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xdc], eax
push 0x4329
push dword [ebp - 0xdc]
push 1
push 0xfb8
call fcn.100297c5
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret