Function at 0x567c30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x13c], esp
mov dword [esi + 0x148], 0xffffffff
lea eax, [esi + 0x140]
mov dword [esi + 0x144], 0x569820
mov ecx, dword fs:[0]
mov dword [esi + 0x140], ecx
mov dword fs:[0], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
pxor xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
lea eax, [esi + 4]
push eax
call dword [0x8340e0]
mov eax, 0x2ac18000
mov ebx, dword [esi + 4]
add ebx, eax
mov eax, 0xfe624e21
mov edi, dword [esi + 8]
adc edi, eax
shrd ebx, edi, 1
shr edi, 1
mov ecx, ebx
add ecx, edi
adc ecx, 0
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
sub ebx, ecx
sbb edi, 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x40]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x8340d0]
test eax, eax
je 0x567dad
imul eax, ebx, 0xcccccccc
mov ecx, dword [esi + 0x18]
add ecx, eax
imul eax, edi, 0xcccccccd
add eax, ecx
mov dword [esi + 0x18], eax
nop
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov edx, eax
or edx, ecx
jne 0x567dcc
lea eax, [esi + 4]
push eax
call dword [0x8340e0]
mov ebx, dword [esi + 4]
mov eax, 0x2ac18000
add ebx, eax
mov edi, dword [esi + 8]
mov eax, 0xfe624e21
adc edi, eax
shrd ebx, edi, 1
shr edi, 1
mov ecx, ebx
add ecx, edi
adc ecx, 0
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
sub ebx, ecx
sbb edi, 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
imul ecx, ebx, 0xcccccccc
add ecx, edx
imul edx, edi, 0xcccccccd
add edx, ecx
sub eax, dword [esi + 0x1c]
sbb edx, dword [esi + 0x18]
cmp eax, 0x11e1a301
sbb edx, 0
jae 0x568090
lea ecx, [esi + 0x20]
call fcn.00561dd0
lea eax, [esi + 0x40]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x8340d0]
test eax, eax
jne 0x567d10
call fcn.005611c0
mov dword [esi + 4], eax
push eax
call fcn.00566c60
add esp, 4
mov dword [esi + 8], eax
lea edi, [esi + 0x10c]
jmp 0x5680ba
xor eax, 1
or eax, ecx
je 0x5680a6
movzx eax, byte [ebp + 0x20]
or eax, 0xc0000000
cmp byte [ebp + 0x1c], 0
mov edi, 0x80000000
cmove edi, eax
lea ecx, [esi + 0x20]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push 0
push 0
push 0
push edi
push dword [ebp + 8]
call fcn.00560670
mov eax, dword [esi + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [eax]
cmp eax, 2
je 0x568008
mov dword [esi + 0x54], edi
mov dword [esi + 0x148], 3
lea eax, [esi + 4]
push eax
call dword [0x8340e0]
mov eax, 0x2ac18000
mov ecx, dword [esi + 4]
add ecx, eax
mov eax, 0xfe624e21
mov ebx, dword [esi + 8]
adc ebx, eax
shrd ecx, ebx, 1
shr ebx, 1
mov edi, ecx
add edi, ebx
adc edi, 0
mov eax, edi
mov edx, 0xcccccccd
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub edi, eax
sub ecx, edi
sbb ebx, 0
mov eax, ecx
mov edx, 0xcccccccd
mul edx
mov dword [esi + 0x18], eax
imul eax, ecx, 0xcccccccc
add eax, edx
imul ecx, ebx, 0xcccccccd
add ecx, eax
mov dword [esi + 0x58], ecx
pxor xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
cmp eax, 2
je 0x567f22
cmp eax, 3
je 0x568101
lea eax, [esi + 4]
push eax
call dword [0x8340e0]
mov ecx, dword [esi + 4]
mov eax, 0x2ac18000
add ecx, eax
mov ebx, dword [esi + 8]
mov eax, 0xfe624e21
adc ebx, eax
shrd ecx, ebx, 1
shr ebx, 1
mov edi, ecx
add edi, ebx
adc edi, 0
mov eax, edi
mov edx, 0xcccccccd
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub edi, eax
sub ecx, edi
sbb ebx, 0
mov eax, ecx
mov edx, 0xcccccccd
mul edx
imul ecx, ecx, 0xcccccccc
add ecx, edx
imul edx, ebx, 0xcccccccd
add edx, ecx
sub eax, dword [esi + 0x18]
sbb edx, dword [esi + 0x58]
cmp eax, 0x11e1a301
sbb edx, 0
jae 0x5680d2
lea ecx, [esi + 0x40]
call fcn.00561dd0
jmp 0x567e90
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
movdqa xmm0, xmmword [0x7d5c10]
movdqu xmmword [esi + 0x20], xmm0
mov edx, dword [esi + 0x30]
mov dword [esi + 0x30], 0xffffffff
test eax, eax
je 0x567f5c
sub eax, ecx
mov dword [esi + 0x148], 0
push eax
mov dword [esi + 0x1c], edx
call dword [0x834074]
mov edx, dword [esi + 0x1c]
cmp edx, 0xffffffff
je 0x567f72
mov dword [esi + 0x148], 0
push edx
call dword [0x834070]
mov dword [esi + 0x148], 3
lea ecx, [esi + 4]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push 0
push 0
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
call fcn.00560670
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esi + 4], eax
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x10]
movq xmm0, qword [esi + 0x28]
movsd xmm1, qword [esi + 8]
mov dword [esi + 8], edx
movsd qword [esi + 0x24], xmm1
movq qword [esi + 0xc], xmm0
mov dword [esi + 0x2c], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x30], edx
test eax, eax
je 0x567ff2
movd ecx, xmm0
sub eax, ecx
mov dword [esi + 0x148], 1
push eax
call dword [0x834074]
mov dword [esi + 4], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0xffffffff
je 0x568008
mov dword [esi + 0x148], 1
push ecx
call dword [0x834070]
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 4]
movsd xmm1, qword [esi + 0x24]
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x2c]
movq xmm0, qword [edi + 8]
movsd qword [edi + 4], xmm1
mov dword [edi + 0xc], ecx
movq qword [esi + 0x28], xmm0
mov ecx, dword [edi + 0x10]
mov edx, dword [esi + 0x30]
mov dword [edi + 0x10], edx
mov dword [esi + 0x30], ecx
test eax, eax
je 0x568066
movd ecx, xmm0
sub eax, ecx
mov dword [esi + 0x148], 2
push eax
call dword [0x834074]
mov dword [esi + 0x20], 0
mov ecx, dword [esi + 0x30]
cmp ecx, 0xffffffff
je 0x56807c
mov dword [esi + 0x148], 2
push ecx
call dword [0x834070]
mov eax, dword [esi + 0x140]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 4], 0
mov dword [esi + 8], 0x13
lea edi, [esi + 0xe0]
jmp 0x5680ba
mov dword [esi + 4], 0
mov dword [esi + 8], 0x13
lea edi, [esi + 0xb4]
mov ecx, edi
push 0
lea eax, [esi + 4]
push eax
call fcn.00560de0
push 0x827178
push edi
call fcn.0073147b
mov dword [esi + 4], 0
mov dword [esi + 8], 0x13
lea ecx, [esi + 0x5c]
push 0
lea eax, [esi + 4]
push eax
call fcn.00560de0
push 0x827178
lea eax, [esi + 0x5c]
push eax
call fcn.0073147b
add esp, 8
jmp 0x568134
mov dword [esi + 4], 0
mov dword [esi + 8], 0x13
lea ecx, [esi + 0x88]
push 0
lea eax, [esi + 4]
push eax
call fcn.00560de0
push 0x827178
lea eax, [esi + 0x88]
push eax
call fcn.0073147b
add esp, 8
nop word cs:[eax + eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x14c]
mov ebp, dword [esi + 0x138]
lea ecx, [esi + 0x20]
call fcn.00560a20
add esp, 0x1c
pop ebp
ret