Function at 0x100082b0
Capabilities:
Create thread
Get disk size
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a9fa
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
mov eax, dword [0x100b64c8]
test eax, eax
jne 0x10008324
push 0x2f4
call fcn.1007faf4
mov esi, eax
mov dword [ebp - 0x21c], esi
push 0x2f4
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.10076a20
mov dword [0x100b64c8], eax
mov eax, dword [eax + 0x1f0]
mov dword [edi + 0x78], eax
test eax, eax
je 0x100083c1
mov ecx, dword [edi + 0x100]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x10008363
nop word [eax + eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.1007face
add esp, 8
mov eax, esi
test esi, esi
jne 0x10008350
mov eax, dword [edi + 0x100]
mov dword [eax], eax
mov eax, dword [edi + 0x100]
mov dword [eax + 4], eax
mov dword [edi + 0x104], 0
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x100083a6
mov esi, dword [eax]
push 0xc
push eax
call fcn.1007face
add esp, 8
mov eax, esi
test esi, esi
jne 0x10008393
mov eax, dword [edi + 0x108]
mov dword [eax], eax
mov eax, dword [edi + 0x108]
mov dword [eax + 4], eax
mov dword [edi + 0x10c], 0
add edi, 0x5c
xorps xmm0, xmm0
movlpd qword [ebp - 0x220], xmm0
mov eax, edi
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x230], xmm0
cmp dword [edi + 0x14], 8
jb 0x100083e9
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
mov eax, dword [edi + 0x14]
je 0x1000841d
cmp eax, 8
jb 0x100083ff
mov edi, dword [edi]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x1000845f
cmp eax, 8
jb 0x10008424
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000845f
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
shrd ecx, eax, 0xa
shr eax, 0xa
push eax
push ecx
lea eax, [ebp - 0x218]
push str._lld
push eax
call fcn.100077f0
lea ecx, [ebp - 0x218]
call fcn.1007c4c0
mov esi, eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
push esi
mov ebx, eax
mov edi, edx
call fcn.1008029f
shld edi, ebx, 0xa
add esp, 0x24
shl ebx, 0xa
mov edx, edi
mov ecx, ebx
call fcn.10089aa0
movsd xmm1, qword [0x100a6518]
mov ebx, dword [ebp - 0x250]
mulsd xmm0, xmm1
mulsd xmm0, xmm1
mulsd xmm0, xmm1
mulsd xmm0, qword [0x100a6658]
cvttsd2si eax, xmm0
mov dword [ebx + 0x74], eax
test eax, eax
je 0x1000858a
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
call dword [sym.imp.findSector.dll_InitFindSector]
cmp dword [ebx + 0x78], 0
push 0
push 0
push ebx
je 0x10008518
push 0x100085b0
jmp 0x1000851d
push 0x100086d0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0x1c], eax
push 0x10008760
push 0x3e8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 8], 0
mov dword [ebx + 0xc], eax
jne 0x1000858a
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
call esi
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x244], ebx
push eax
call edi
cmp dword [ebx + 8], 0
je 0x10008566
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
ret 4