Function at 0x12e662d0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x13060776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x13199068]
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
je 0x12e6632e
mov eax, dword [esp + 0x24c]
push ebp
mov ecx, dword [eax + 0x18]
and ecx, 2
push ecx
push str.CQQSnapEncodeCom::FilterCloseHandle__________d____08x_
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp dword [0x131b7fc4], ebx
je 0x12e664bd
mov eax, dword [esp + 0x24c]
cmp eax, ebx
je 0x12e664c7
test byte [eax + 0x18], 2
je 0x12e664d1
mov esi, dword [eax + 0x28]
cmp esi, ebx
je 0x12e664e7
mov ecx, 0x85
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
push 1
push 0x131b7f70
lea ecx, [esp + 0x20]
call fcn.12f56170
mov dword [esp + 0x244], ebx
mov ebx, ebp
shr ebx, 4
mov eax, ebx
xor edx, edx
div dword [0x131b7f44]
mov eax, dword [0x131b7f40]
test eax, eax
je 0x12e663b8
mov eax, dword [eax + edx*4]
test eax, eax
je 0x12e663b8
cmp dword [eax + 8], ebp
je 0x12e663b4
mov eax, dword [eax]
test eax, eax
jne 0x12e663a5
xor esi, esi
jmp 0x12e663cf
test eax, eax
jne 0x12e663bc
xor esi, esi
jmp 0x12e663cf
lea esi, [eax + 0xc]
mov ecx, 0x86
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov esi, 1
or edi, 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x244], edi
call fcn.12f561d0
test esi, esi
je 0x12e664f1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x28], eax
jne 0x12e664fb
call fcn.12e67b40
lea edx, [esp + 0x24]
push edx
call fcn.12e66ba0
add esp, 4
lea ecx, [esp + 0x18]
mov esi, eax
push 1
push 0x131b7f70
call fcn.12f56170
mov ecx, dword [0x131b7f40]
mov dword [esp + 0x244], 1
test ecx, ecx
je 0x12e6647e
mov eax, ebx
xor edx, edx
div dword [0x131b7f44]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x12e6647e
cmp dword [eax + 8], ebp
je 0x12e66456
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x12e66447
jmp 0x12e6647e
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x131b7f4c]
mov dword [eax], ecx
mov dword [0x131b7f4c], eax
mov eax, dword [0x131b7f48]
dec eax
mov dword [0x131b7f48], eax
jne 0x12e6647e
mov ecx, 0x131b7f40
call fcn.12e68160
lea ecx, [esp + 0x18]
mov dword [esp + 0x244], edi
call fcn.12f561d0
mov eax, dword [0x13199068]
test eax, eax
je 0x12e66549
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push eax
push ebp
push esi
push str.CQQSnapEncodeCom::FilterCloseHandle______d____08x____08x____s_
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
jmp 0x12e66503
mov dword [esp + 0x10], 1
jmp 0x12e66503
mov dword [esp + 0x10], 2
jmp 0x12e66503
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 3
jmp 0x12e66503
mov dword [esp + 0x10], 4
jmp 0x12e66503
mov dword [esp + 0x10], 5
jmp 0x12e66503
mov dword [esp + 0x10], 6
mov eax, dword [0x13199068]
test eax, eax
je 0x12e66549
test esi, esi
mov eax, 0x130e2604
jne 0x12e6651a
mov eax, 0x130e25f8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push ebp
push edx
push esi
push eax
mov eax, dword [esp + 0x260]
mov ecx, dword [eax + 0x18]
and ecx, 2
push ecx
push str.CQQSnapEncodeCom::FilterCloseHandle______d____s____d__d____08x____d_
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x24
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret