Function at 0x100331ed
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072d8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003341d
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x34], 0x593e
mov dword [ebp - 0x88], 0x10008130
cmp dword [ebp - 0x34], 0x5a67
jle 0x1003330b
and dword [ebp - 0x1c], 0
jmp 0x10033273
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x78f0
jge 0x10033301
and dword [ebp - 0x18], 0
jmp 0x1003328d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x27d3
jge 0x100332fc
and dword [ebp - 0x24], 0
jmp 0x100332a3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5517
jge 0x100332fa
and dword [ebp - 0x20], 0
jmp 0x100332b9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4cf6
jge 0x100332f8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x18]
or eax, ecx
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0x1061af58
call fcn.10021543
jmp 0x100332b2
jmp 0x1003329c
jmp 0x10033286
jmp 0x1003326c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x5718
jge 0x10033331
mov edx, dword [ebp - 0x88]
mov ecx, 0x1061af58
call fcn.10025cea
jmp 0x1003334d
or dword [ebp - 4], 0xffffffff
jmp 0x10033357
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x100333a2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x10033418
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jg 0x100333f5
mov dword [ebp - 0x30], 1
jmp 0x100333f9
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jg 0x1003340c
mov dword [ebp - 0x38], 1
jmp 0x10033410
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x100334b6
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10033495
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10033473
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x10033493
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.10021821
mov dword [eax], 0xed680444
jmp 0x10033468
jmp 0x100334b6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret