Function at 0x1001655b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006466f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001675d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10016746
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], 0xfc7
mov dword [ebp - 0x5c], str.bzewsoh_tnie_sfliok
cmp dword [ebp - 0x20], 0x12c3
jle 0x10016682
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x14], 0
jmp 0x10016602
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1956
jge 0x10016682
and dword [ebp - 0x18], 0
jmp 0x10016618
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2893
jge 0x1001667d
and dword [ebp - 0x1c], 0
jmp 0x1001662e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3105
jge 0x1001667b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0xac]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.10004ac4
push eax
call fcn.1004cf6c
pop ecx
lea ecx, [ebp - 0xac]
call fcn.10004aba
jmp 0x10016627
jmp 0x10016611
jmp 0x100165fb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0xe71
jge 0x1001669e
push dword [ebp - 0x5c]
call fcn.1004cf6c
pop ecx
jmp 0x100166ba
or dword [ebp - 4], 0xffffffff
jmp 0x100166c4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10016744
lea eax, [ebp - 0x94]
push eax
call fcn.100081cc
pop ecx
mov esi, eax
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.1000ad09
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.1000f9a6
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 2
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
call fcn.10016fa9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10004efa
jmp 0x1001675b
push 0x2033
push 0xa4a
push 0x9b8
call dword [sym.imp.KERNEL32.dll_HeapCreate]
jmp 0x1001676b
push 0x5d8e
push 1
call fcn.1000c6a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret