Function at 0x12e662c0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x130606a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x13198f68]
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 0x12e6631e
mov eax, dword [esp + 0x24c]
push ebp
mov ecx, dword [eax + 0x18]
and ecx, 2
push ecx
push 0x1311a880
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp dword [0x131b7ec4], ebx
je 0x12e664ad
mov eax, dword [esp + 0x24c]
cmp eax, ebx
je 0x12e664b7
test byte [eax + 0x18], 2
je 0x12e664c1
mov esi, dword [eax + 0x28]
cmp esi, ebx
je 0x12e664d7
mov ecx, 0x85
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
push 1
push 0x131b7e70
lea ecx, [esp + 0x20]
call fcn.12f560a0
mov dword [esp + 0x244], ebx
mov ebx, ebp
shr ebx, 4
mov eax, ebx
xor edx, edx
div dword [0x131b7e44]
mov eax, dword [0x131b7e40]
test eax, eax
je 0x12e663a8
mov eax, dword [eax + edx*4]
test eax, eax
je 0x12e663a8
cmp dword [eax + 8], ebp
je 0x12e663a4
mov eax, dword [eax]
test eax, eax
jne 0x12e66395
xor esi, esi
jmp 0x12e663bf
test eax, eax
jne 0x12e663ac
xor esi, esi
jmp 0x12e663bf
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.12f56100
test esi, esi
je 0x12e664e1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x28], eax
jne 0x12e664eb
call fcn.12e67b30
lea edx, [esp + 0x24]
push edx
call fcn.12e66b90
add esp, 4
lea ecx, [esp + 0x18]
mov esi, eax
push 1
push 0x131b7e70
call fcn.12f560a0
mov ecx, dword [0x131b7e40]
mov dword [esp + 0x244], 1
test ecx, ecx
je 0x12e6646e
mov eax, ebx
xor edx, edx
div dword [0x131b7e44]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x12e6646e
cmp dword [eax + 8], ebp
je 0x12e66446
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x12e66437
jmp 0x12e6646e
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x131b7e4c]
mov dword [eax], ecx
mov dword [0x131b7e4c], eax
mov eax, dword [0x131b7e48]
dec eax
mov dword [0x131b7e48], eax
jne 0x12e6646e
mov ecx, 0x131b7e40
call fcn.12e68150
lea ecx, [esp + 0x18]
mov dword [esp + 0x244], edi
call fcn.12f56100
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e66539
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push eax
push ebp
push esi
push 0x1311a7f8
push str.QQSnapEncode
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
jmp 0x12e664f3
mov dword [esp + 0x10], 1
jmp 0x12e664f3
mov dword [esp + 0x10], 2
jmp 0x12e664f3
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 3
jmp 0x12e664f3
mov dword [esp + 0x10], 4
jmp 0x12e664f3
mov dword [esp + 0x10], 5
jmp 0x12e664f3
mov dword [esp + 0x10], 6
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e66539
test esi, esi
mov eax, 0x130e2604
jne 0x12e6650a
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 0x1311a764
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