Function at 0x1001a553
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001a81e
mov dword [ebp - 0x34], 0x79f9
mov dword [ebp - 0x48], 0x100086f8
cmp dword [ebp - 0x34], 0x7a33
jle 0x1001a64e
and dword [ebp - 0x30], 0
jmp 0x1001a5ac
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3d2f
jge 0x1001a64e
and dword [ebp - 0x20], 0
jmp 0x1001a5c6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x38bb
jge 0x1001a649
and dword [ebp - 0x2c], 0
jmp 0x1001a5dc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x216b
jge 0x1001a644
and dword [ebp - 0x28], 0
jmp 0x1001a5f2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x22ce
jge 0x1001a642
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sar eax, cl
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea ecx, [ebp - 0xa8]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.1002e045
jmp 0x1001a5eb
jmp 0x1001a5d5
jmp 0x1001a5bf
jmp 0x1001a5a5
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x77a5
jge 0x1001a66a
push dword [ebp - 0x48]
call fcn.1004a056
pop ecx
jmp 0x1001a686
or dword [ebp - 4], 0xffffffff
jmp 0x1001a690
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0x5cfb
mov dword [ebp - 0x90], 0x10008760
cmp dword [ebp - 0x38], 0x5d78
jle 0x1001a72f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x18], 0
jmp 0x1001a6c7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4c6d
jge 0x1001a72f
and dword [ebp - 0x1c], 0
jmp 0x1001a6dd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5da0
jge 0x1001a72d
and dword [ebp - 0x24], 0
jmp 0x1001a6f3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5773
jge 0x1001a72b
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1001a6ec
jmp 0x1001a6d6
jmp 0x1001a6c0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x5983
jge 0x1001a755
mov edx, dword [ebp - 0x90]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1001a771
or dword [ebp - 4], 0xffffffff
jmp 0x1001a77b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1001a7e4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001a7c5
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], 3
jge 0x1001a7e2
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.1002e222
mov dword [eax], 0x10c13fe6
jmp 0x1001a7ba
jmp 0x1001a81c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0x85aa7f79
jb 0x1001a810
mov dword [ebp - 0x3c], 1
jmp 0x1001a814
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1001a858
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
push 0xf83
push 0x1542
push dword [ebp - 0x6c]
push 0x263f
push 0x699c
push 0x3ee6
push 0
push 0xf63
push dword [ebp - 0x74]
call fcn.100267c8
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret