Function at 0x10035dde
Capabilities:
Get disk size

Disassembly:
mov eax, 0x1005fa90
call fcn.1005e208
sub esp, 0xd8
mov byte [ebp - 0x48], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10035e1f
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x100367ab
push ecx
push 0x280a
sub esp, 0xc
mov dl, 1
call fcn.10032fe9
add esp, 0x14
jmp 0x100367ab
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x44], eax
inc ecx
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], 0xef9a8551
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x24], ebx
jmp 0x10035e53
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x64], ebx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x10035e49
mov dword [ebp - 0x24], ebx
jmp 0x10035e6f
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x8c], 0x6595ad33
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ecx
jl 0x10035e5e
push 0x45e8
push ecx
lea eax, [ebp - 0x30]
mov edx, 0x43c1
push eax
push 0x6d6
push 0x256d
push ebx
xor cl, cl
call fcn.10037b4f
add esp, 0x18
mov dword [ebp - 0x30], ebx
push 2
pop edi
jmp 0x10035f05
cmp dword [ebp - 0x30], ebx
jne 0x10035ebf
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x64]
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x64], ebx
jne 0x10035ebf
mov eax, ebx
jmp 0x10035ec2
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x60], 0xffffffff
jne 0x10035ee8
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x64], ebx
je 0x10035ee8
cmp dword [ebp - 0x64], ebx
je 0x10035ee8
xor edx, edx
inc edx
jmp 0x10035eea
mov edx, ebx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
neg edx
cmp edx, eax
setl cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], edi
jle 0x10035ea0
mov dword [ebp - 0x20], 0xce125d16
mov dword [ebp - 0x18], ebx
jmp 0x10035f23
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x88], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x10035f16
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jl 0x1003609f
push 1
lea ecx, [ebp - 0xb8]
call fcn.100065f0
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], ebx
push eax
push ecx
push ecx
push 0x238e
lea eax, [ebp - 0xcc]
mov edx, 0x428a
push eax
push ebx
call fcn.1003861b
mov dword [ebp - 0x28], 0x5f76
add esp, 0x18
cmp dword [ebp - 0x28], 0x6282
jle 0x10035fde
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 0x3f5e
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, 0x1007d6f8
cdq
idiv esi
and edx, edi
mov eax, edx
cdq
push edx
push eax
call fcn.100062e1
inc esi
cmp esi, 0x6e48
jl 0x10035f97
mov esi, dword [ebp - 0x18]
add ebx, esi
dec dword [ebp - 0x2c]
push 0
mov dword [ebp - 0x1c], ebx
pop ebx
jne 0x10035f92
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x141a
jl 0x10035f88
inc edi
cmp edi, 0x4b8e
jl 0x10035f85
push 2
pop edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0x5cd2
jge 0x1003601b
mov edx, str.lgrhr_xqwlfqk_oedmezwoe_llary_aflcjcc_eynnpzkw_jxpivfxw_zpgdchxkf_weud
mov ecx, 0x1007d6f8
call fcn.1000aa27
jmp 0x1003601b
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xb8]
mov dword [eax], ebx
mov dword [ebp - 0x18], ebx
jmp 0x10036039
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x80], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1003602b
mov dword [ebp - 0x80], ebx
jmp 0x10036079
push ecx
push ecx
mov dword [ebp - 0x1c], 0x1c03809d
lea edx, [ebp - 0x3a]
mov byte [ebp - 0x3a], bl
mov ecx, 0x35f6
push ebx
call fcn.100330e0
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov dword [ebp + eax*4 - 0x88], 0x2250db85
mov dword [ebp - 0x1c], 0x2250db85
inc dword [ebp - 0x80]
cmp dword [ebp - 0x80], ebx
jle 0x10036044
mov eax, dword [ebp - 0xb8]
dec dword [eax]
jns 0x10036026
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10006673
dec dword [ebp - 0x20]
jmp 0x10035f2c
mov dword [ebp - 0x20], 0xffffffe9
jmp 0x100360cd
push ecx
push 1
mov dword [ebp - 0x1c], 0xfffffffc
lea edx, [ebp - 0x39]
mov byte [ebp - 0x39], bl
push 0x5100
call fcn.10033e9a
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jne 0x100360d3
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff0
jg 0x100360a8
mov eax, dword [ebp - 0x44]
mov dl, 1
push 0x5e3e
push ebx
push 0x1653
movzx eax, word [eax]
mov ecx, 0x53ed
push 0x3509
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], 0x9b642c70
push ebx
call fcn.10034ed7
add esp, 0x10
mov byte [ebp - 0x3b], bl
lea eax, [ebp - 0x3b]
mov edx, 0x20a2
push ebx
push eax
call fcn.10033e9a
pop ecx
pop ecx
push ebx
sub esp, 0x18
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x68]
push eax
call fcn.10037895
mov dword [ebp - 0x28], 0x69f4
add esp, 0x24
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0x18], 0xb6cd
mov dword [ebp - 0x1c], 0x3842
mov dword [ebp - 0x1c], 0xb000e2e4
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x28], 1
jle 0x1003619f
inc dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
cmp eax, 0xe6728d5a
setge cl
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 9
mov dword [ebp - 0xc4], eax
jne 0x1003619f
mov ecx, ebx
jmp 0x100361a2
xor ecx, ecx
inc ecx
imul eax, dword [ebp - 0x28], 0x8a13
mov edx, 0x1d76
add eax, ecx
mov cl, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x30b9
push ebx
push ebx
push 0x3773
mov byte [ebp - 0x3c], bl
call fcn.10033920
add esp, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 0xd4e06482
mov dword [ebp - 0x28], 0xf8a6ebbf
mov dword [ebp - 0x18], ebx
jmp 0x100361fa
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x74], 0xfffffffd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x100361ec
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xffffffe7
je 0x1003631a
xor edx, edx
inc edx
mov dword [ebp - 0x18], 0xb5d1cb6a
mov dword [ebp - 0x20], ebx
jmp 0x1003622d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x9c], 4
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jl 0x1003621c
mov dword [ebp - 0x20], ebx
jmp 0x10036246
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x38], 0xf37d45db
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edx
jl 0x10036238
mov dword [ebp - 0x38], 3
cmp dword [ebp - 0x38], ebx
jl 0x10036308
mov dword [ebp - 0x2c], 0xfff8
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x9c]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x9c]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x9c]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0xd5
add ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x9c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x9c]
imul ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
je 0x100362be
mov eax, edx
cmp dword [ebp - 0x70], ebx
jne 0x100362c0
mov eax, ebx
cmp eax, dword [ebp - 0x98]
jle 0x100362cf
mov esi, ebx
cmp dword [ebp - 0x38], ebx
je 0x100362d1
mov esi, edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp eax, esi
setle cl
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
dec dword [ebp - 0x38]
jns 0x1003625b
cmp dword [ebp - 0x38], ebx
jne 0x10036308
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x98]
mov eax, ebx
je 0x1003630a
mov eax, edx
mov dword [ebp - 0x38], eax
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffe7
jne 0x10036210
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x10036435
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x34], 0xe91e
mov dword [ebp - 0x28], ebx
jmp 0x10036423
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x2c], 0xfbf73ecb
mov dword [ebp - 0x18], ebx
jmp 0x10036417
mov dword [ebp - 0xac], 0xe519c81b
xor edx, edx
mov dword [ebp - 0xa8], 0xe519c81b
mov dword [ebp - 0xa4], 0xe519c81b
mov dword [ebp - 0xa0], 0xe519c81b
mov dword [ebp - 0x50], 0xfffffffd
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setne dl
cmp edx, dword [ebp - 0x70]
jle 0x10036396
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x74]
test eax, eax
mov eax, dword [ebp - 0x18]
setne cl
xor edx, edx
imul ecx, ecx, 7
cmp ecx, eax
setle dl
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
neg edx
sbb edx, edx
inc edx
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp + eax*4 - 0x74], ecx
xor ecx, ecx
mov eax, dword [ebp - 0xac]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xac]
neg eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x74]
cmp eax, 0xfffffff9
setl cl
cmp ecx, dword [ebp - 0xac]
jge 0x10036405
cmp dword [ebp - 0x50], ebx
je 0x1003640f
cmp dword [ebp - 0x34], ebx
je 0x1003640f
xor eax, eax
inc eax
jmp 0x10036411
mov eax, ebx
mov dword [ebp - 0x2c], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jle 0x10036352
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], edi
jle 0x1003633c
dec dword [ebp - 0x24]
jns 0x10036326
mov eax, dword [ebp - 0x1c]
mov dl, 4
mov esi, dword [ebp - 0x44]
mov cl, byte [eax + esi]
call fcn.1003d520
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jb 0x100361d9
mov dword [ebp - 0x20], 0x29ec
cmp dword [ebp - 0x20], 0x2d15
jle 0x100364c3
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0xfb2
mov edi, ebx
mov ebx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, 0x1007d6f8
and eax, edi
or eax, ebx
cdq
push edx
push eax
call fcn.100062e1
inc edi
cmp edi, 0x765c
jl 0x1003647e
dec esi
dec dword [ebp - 0x2c]
push 0
pop ebx
jne 0x10036479
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x4a72
jl 0x1003646f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x85c
jl 0x1003646a
push 2
pop edi
mov dword [ebp - 0x34], 0x4e2db58e
lea ecx, [ebp - 0xd8]
push edi
call fcn.100065f0
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x34], 0x4515
mov dword [ebp - 0x34], 0x17fc
cmp dword [ebp - 0x34], 0xe6e
jge 0x10036679
call fcn.10047dda
push eax
push 0x1006cce4
push str.in.txt
call fcn.10047f89
add esp, 0xc
call fcn.10047dda
add eax, 0x20
push eax
push 0x1006ccf0
push str.out.txt
call fcn.10047f89
add esp, 0xc
lea eax, [ebp - 0x58]
mov ecx, 0x1007d7b0
push eax
call fcn.10005fe0
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x28], ebx
jle 0x10036679
push 0x1069a6e0
push ecx
lea eax, [ebp - 0x4c]
mov ecx, 0x1007d7b0
push eax
call fcn.10005fe0
pop ecx
mov ecx, eax
call fcn.10005fe0
mov esi, dword [0x1069a6e0]
mov edx, dword [ebp - 0x4c]
cmp esi, 1
jl 0x100365a7
mov eax, 0x1007e8c8
mov ebx, esi
cmp edx, 1
jle 0x1003659b
or dword [eax], 0xffffffff
lea ecx, [edx*8 - 0xd]
or dword [eax + 4], 0xffffffff
lea edi, [eax + 8]
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
add eax, 0x50
dec ebx
jne 0x1003657e
mov esi, dword [0x1069a6e0]
mov edi, dword [edx*4 + 0x1006906c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], 1
cmp edi, esi
jg 0x10036600
mov eax, dword [ebp - 0x54]
dec edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], edi
mov ecx, eax
call fcn.10035d28
mov ecx, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
adc ebx, edx
mov edx, dword [ebp - 0x18]
add edx, edi
inc eax
mov dword [ebp - 0x18], edx
cmp edx, esi
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
jle 0x100365d4
mov edx, dword [ebp - 0x4c]
jmp 0x10036603
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x28]
push ebx
push ecx
push esi
push ecx
push edx
push ecx
inc edi
mov edx, str.Case
push edi
push ecx
mov ecx, 0x1007d6f8
mov dword [ebp - 0x28], edi
call fcn.1000aa27
pop ecx
mov ecx, eax
call fcn.100061cf
mov edx, str.:_n_
mov ecx, eax
call fcn.1000aa27
pop ecx
mov ecx, eax
call fcn.100061cf
mov edx, str.__m_
mov ecx, eax
call fcn.1000aa27
pop ecx
mov ecx, eax
call fcn.100061cf
mov edx, str.___lists_
mov ecx, eax
call fcn.1000aa27
mov ecx, eax
call fcn.100062e1
push eax
call fcn.1000abfe
pop ecx
cmp edi, dword [ebp - 0x58]
jl 0x1003654d
push 2
xor ebx, ebx
pop edi
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x2c], 0x3d13
cmp dword [ebp - 0x2c], 0x3f3d
jle 0x100366e4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov ebx, esi
mov esi, 0x527b
mov eax, ebx
mov ecx, 0x1007d6f8
cdq
push edx
push eax
call fcn.100062e1
add ebx, edi
dec esi
jne 0x100366b2
mov esi, dword [ebp - 0x1c]
inc edi
cmp edi, 0xf07
jl 0x100366ab
inc esi
mov dword [ebp - 0x1c], esi
push 0
pop ebx
cmp esi, 0x72ae
jl 0x100366a9
push 2
pop edi
mov dword [ebp - 0x34], 0x20796559
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0x3a31
jge 0x10036728
mov edx, str.snohtt_mdpr_ltzvxi_xzpgnkidw_bvtaftxk_rdoqrp_hruy_swfnp_nhghet_fotbo_ycnotzpdi_blqo_mko
mov ecx, 0x1007d6f8
call fcn.1000aa27
jmp 0x10036728
push ebx
push 0x2b4a
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 3
push 0x282c
mov dword [ebp - 0x1c], 0xa26cdee9
lea ecx, [ebp - 0x40]
push eax
call fcn.10033e46
add esp, 0x10
mov dword [ebp - 0x40], ebx
jmp 0x10036769
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xe0], 0xfffffff9
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], edi
jl 0x10036758
dec dword [ebp - 0x18]
lea ecx, [ebp - 0xd8]
inc dword [ebp - 0x1c]
call fcn.10006673
mov dword [ebp - 4], 6
cmp dword [ebp - 0x20], 0x27c2
jge 0x1003679e
mov edx, str.yaokrc_sbfvlwf_tsszrze_lgd_ldkcddsg_nfgs_epmxds_nepw_oaixwr_qfxb_ydgd_wzafz
mov ecx, 0x1007d6f8
call fcn.1000aa27
mov eax, dword [ebp - 0x84]
mov cx, word [ebp - 0x68]
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret