Function at 0x1001f198
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x150
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x24], 0xab3921de
mov dword [ebp - 0x18], 0x9507
mov dword [ebp - 0x30], 0xffffffff
push 3
lea ecx, [ebp - 0xcc]
call fcn.10019f2a
and dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
jmp 0x1001f201
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x1001f21a
push dword [ebp - 0x54]
lea ecx, [ebp - 0xcc]
call fcn.10019fc8
and dword [eax], 0
jmp 0x1001f1fa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
je 0x1001f243
mov dword [ebp - 0xb0], 1
jmp 0x1001f24a
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x1001f265
mov dword [ebp - 0xd4], 1
jmp 0x1001f26c
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x1001f298
mov dword [ebp - 0x7c], 1
jmp 0x1001f29c
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jle 0x1001f2ad
mov dword [ebp - 0x78], 1
jmp 0x1001f2b1
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x78]
je 0x1001f2cb
mov dword [ebp - 0x5c], 1
jmp 0x1001f2cf
and dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.10019fc8
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x5c]
jl 0x1001f536
mov dword [ebp - 0x28], 0xae07ea4c
mov dword [ebp - 0x68], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001cd1b
pop ecx
pop ecx
mov dword [ebp - 0x24], 0
jmp 0x1001f31a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x18
jg 0x1001f534
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0xa4], 0x4b7c80bf
mov dword [ebp - 0xdc], 0xd3f7cc82
mov dword [ebp - 0x14], 0
jmp 0x1001f34f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x30
jg 0x1001f52f
mov dword [ebp - 0xb4], 0x1d4c3f1
mov dword [ebp - 0x2c], 0x5d7d231d
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1001f430
mov dword [ebp - 0xe4], 0xe526954e
mov dword [ebp - 0xc0], 0xbb265d63
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], 0xd9cc1323
mov dword [ebp - 0x18], 0
jmp 0x1001f3b9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1001f42e
mov dword [ebp - 0xbc], 0xadaf8d98
lea eax, [ebp - 0x30]
push eax
call fcn.1001d9fe
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1001df19
add esp, 0x3c
jmp 0x1001f3b2
jmp 0x1001f46b
mov dword [ebp - 0xf8], 0x8dbec8b2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1001eee7
add esp, 0x20
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0xdc], 6
je 0x1001f489
mov dword [ebp - 0xac], 1
jmp 0x1001f490
and dword [ebp - 0xac], 0
cmp dword [ebp - 0x28], 0
je 0x1001f4b1
cmp dword [ebp - 0x28], 0x225765c9
jle 0x1001f4a8
cmp dword [ebp - 0xa4], 0
je 0x1001f4b1
mov dword [ebp - 0x80], 1
jmp 0x1001f4b5
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x80], eax
jg 0x1001f4c9
mov dword [ebp - 0x9c], 1
jmp 0x1001f4d0
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x9c], eax
jge 0x1001f4e7
mov dword [ebp - 0x88], 1
jmp 0x1001f4ee
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x88], eax
jne 0x1001f502
mov dword [ebp - 0x70], 1
jmp 0x1001f506
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x70]
jl 0x1001f51a
mov dword [ebp - 0x74], 1
jmp 0x1001f51e
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
jmp 0x1001f348
jmp 0x1001f313
jmp 0x1001f54c
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1001f54c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10019fac
push 1
lea eax, [ebp - 0x148]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10017ece
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x13c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x13c]
lea edi, [ebp - 0x10c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xd0], 0x50ba1bf2
mov dword [ebp - 0x34], 0
jmp 0x1001f5ab
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1001f5c1
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x94], 0xfffffffd
jmp 0x1001f5a4
mov dword [ebp - 0xa8], 0x6ae4
mov dword [ebp - 0xd8], 0x10008a34
cmp dword [ebp - 0xa8], 0x6b82
jle 0x1001f6af
and dword [ebp - 0x4c], 0
jmp 0x1001f5f2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x30ab
jge 0x1001f6af
and dword [ebp - 0x44], 0
jmp 0x1001f60c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x2ece
jge 0x1001f6aa
and dword [ebp - 0x50], 0
jmp 0x1001f626
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1c8e
jge 0x1001f6a5
and dword [ebp - 0x58], 0
jmp 0x1001f63c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x6c83
jge 0x1001f6a0
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
shl eax, cl
mov ecx, dword [ebp - 0x58]
shl eax, cl
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x160]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x160]
call fcn.10019ccf
jmp 0x1001f635
jmp 0x1001f61f
jmp 0x1001f605
jmp 0x1001f5eb
mov dword [ebp - 0x1c], 1
jmp 0x1001f6bf
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1001f8ad
mov dword [ebp - 0x6c], 0x1bbe
mov dword [ebp - 0xb8], 0x10008a70
cmp dword [ebp - 0x6c], 0x1e02
jle 0x1001f757
and dword [ebp - 0x38], 0
jmp 0x1001f6f0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x7fbf
jge 0x1001f757
and dword [ebp - 0x40], 0
jmp 0x1001f706
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x5aaa
jge 0x1001f755
and dword [ebp - 0x48], 0
jmp 0x1001f71c
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x2866
jge 0x1001f753
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1001f715
jmp 0x1001f6ff
jmp 0x1001f6e9
push 3
lea ecx, [ebp - 0x118]
call fcn.10019f2a
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], 0x1806
jge 0x1001f788
mov edx, dword [ebp - 0xb8]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1001f7a4
mov dword [ebp - 4], 1
jmp 0x1001f7b4
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.1001f150
pop ecx
pop ecx
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x94], 0x12af048
jne 0x1001f7ef
mov dword [ebp - 0x84], 1
jmp 0x1001f7f6
and dword [ebp - 0x84], 0
mov eax, 0x70669599
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x94]
imul ecx, eax
imul eax, ecx, 3
cmp eax, dword [ebp - 0x1c]
jg 0x1001f822
mov dword [ebp - 0x8c], 1
jmp 0x1001f829
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x94]
cmp dword [ebp - 0x8c], eax
jne 0x1001f847
mov dword [ebp - 0x98], 1
jmp 0x1001f84e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x94]
mov edx, dword [ebp - 0x98]
lea ecx, [ecx + edx - 0x795ed7c6]
cmp ecx, dword [ebp + eax*4 - 0x94]
jg 0x1001f87d
mov dword [ebp - 0xa0], 1
jmp 0x1001f884
and dword [ebp - 0xa0], 0
push 2
lea ecx, [ebp - 0x118]
call fcn.10019fc8
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.10019fac
jmp 0x1001f6b8
mov dword [ebp - 4], 4
cmp dword [ebp - 0xa8], 0x6a45
jge 0x1001f8cc
push dword [ebp - 0xd8]
call fcn.10051966
pop ecx
jmp 0x1001f8e8
or dword [ebp - 4], 0xffffffff
jmp 0x1001f8f2
cmp dword [ebp - 0x10c], 0
je 0x1001f90f
push 5
push dword [ebp - 0x104]
push dword [ebp - 0x108]
call dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret