Function at 0x6c8860
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x759e9d
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x1c]
or esi, 0xffffffff
mov dword [ebp - 0x18], eax
mov edi, 0x80000000
mov eax, dword [ebp + 0x18]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x6c], eax
xor al, al
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], edx
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4f], al
mov byte [ebp - 0x61], al
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x54], al
mov dword [ebp - 0x58], 0
cmp dword [ebp + 8], 1
mov dword [ebp - 4], 0
je 0x6c8b10
mov eax, dword [ebp + 0x10]
cmp eax, 0xc
jb 0x6c8df1
cmp dword [ebp + 8], 0
jne 0x6c8917
push dword [ebp - 0x18]
push edx
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.006c7730
add esp, 0x14
jmp 0x6c8a66
xor edi, edi
cmp dword [ebp + 8], 2
jne 0x6c8ca5
xor al, al
movlpd qword [ebp - 0x48], xmm0
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
test al, al
jne 0x6c8a5a
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], al
mov dword [ebp - 0x2c], 0
push edx
push 0xc0000000
push dword [ecx]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
push 0
call fcn.006c8680
mov eax, dword [ebp - 0x30]
cmp esi, 0xffffffff
mov edx, dword [ebp - 0x5c]
mov edi, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dl, byte [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 7
je 0x6c89ac
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0xffffffff
push dword [ebp - 0x78]
call fcn.0072b2ab
add esp, 4
mov byte [ebp - 0x4e], 1
mov byte [ebp - 0x4d], 1
jmp 0x6c8a3d
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.006ccb10
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x74]
jmp 0x6c8933
xor edi, edi
cmp byte [ebp - 0x4e], 0
je 0x6c8ca5
push 0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.006cc9f0
push 0xffffffffffffffff
push dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], 0
push 0
push 0
push 0
push 0xc0000000
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.006c6f60
mov esi, dword [ebp - 0x4c]
mov ecx, 1
mov byte [ebp - 4], 0xc
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x6c8af3
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x20]
add edx, 8
sub eax, 0
je 0x6c8acf
sub eax, 1
je 0x6c8ad8
sub eax, 1
jne 0x6c8ad8
test edx, edx
je 0x6c8ad8
mov eax, dword [ebp + 0x24]
xchg dword [edx], eax
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x4c]
push eax
call fcn.006cc900
mov eax, 2
xchg dword [esi], eax
lea ecx, [ebp - 0x4c]
jmp 0x6c8d7d
cmp eax, 1
je 0x6c8e55
cmp eax, 2
je 0x6c8e55
jmp 0x6c8e2c
mov eax, dword [ebp + 0x14]
cmp eax, 0xc0000000
jne 0x6c8b8b
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xc0000000
push dword [ecx]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push 1
call fcn.006c8680
mov eax, dword [ebp - 0x30]
cmp esi, 0xffffffff
mov dword [ebp - 0x5c], eax
mov edx, esi
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 2
je 0x6c8b7a
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.0072b2ab
add esp, 4
xor edi, edi
jmp 0x6c8ca1
cmp eax, 0x80000000
jne 0x6c8c1d
push eax
push dword [ecx]
movzx eax, byte [0x7adf18]
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.006c9a80
mov eax, dword [ebp - 0x24]
mov edx, esi
mov dword [ebp - 0x24], esi
xor ecx, ecx
mov esi, eax
mov byte [ebp - 0x4f], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x18]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 3
cmp edx, 0xffffffff
je 0x6c8c0d
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x24], 0xffffffff
je 0x6c8c0a
push dword [ebp - 0x1c]
call fcn.0072b2ab
add esp, 4
xor edi, edi
jmp 0x6c8ca1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0072b2ab
add esp, 4
xor edi, edi
jmp 0x6c8ca1
xor edi, edi
cmp eax, 0xc0000001
jne 0x6c8ca5
movzx eax, byte [0x7adf18]
push 0x80000000
push dword [ecx]
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.006c9a80
mov eax, dword [ebp - 0x24]
mov edi, esi
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [ebp - 0x24], esi
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x18]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x6c8c93
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x24], 0xffffffff
je 0x6c8c90
push dword [ebp - 0x1c]
jmp 0x6c8c94
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0072b2ab
add esp, 4
mov edi, 1
mov byte [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x6c8dc1
lea ecx, [ebp - 0x48]
call fcn.006ccb10
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x18]
or eax, ecx
je 0x6c8cc0
cmp edx, 1
jne 0x6c8cf4
test ecx, ecx
je 0x6c8ea8
cmp byte [ebp - 0x4f], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
je 0x6c8d0f
mov edi, 0x80000000
jmp 0x6c8d15
add edi, 0xc0000000
push 0xffffffffffffffff
push dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
push 0
push 0
push 0
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.006c6f60
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
nop dword [eax]
cmp eax, 1
je 0x6c8d59
test eax, eax
jne 0x6c8d65
lea ecx, [ebp - 0x48]
call fcn.006ccb10
mov eax, dword [esi]
jmp 0x6c8d50
cmp eax, 2
jne 0x6c8ed1
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x38]
push eax
call fcn.006cc900
lea ecx, [ebp - 0x38]
call fcn.006ca210
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0x13
cmp eax, 0xffffffff
je 0x6c8d98
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x58]
call fcn.0072b2ab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0072b7b0
mov esp, ebp
pop ebp
ret 0x20
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x7c]
call fcn.006c9590
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0x18c]
push eax
call fcn.00743377
push 0
push 0x12
lea ecx, [ebp - 0x1c]
call fcn.006c95d0
push eax
lea ecx, [ebp - 0xb0]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0xb0]
push eax
call fcn.00743377
push 0
push 0
call fcn.00743377
push 0
push 0
call fcn.00743377
push 0
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.006c95d0
push eax
lea ecx, [ebp - 0xdc]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0xdc]
push eax
call fcn.00743377
push 0
push 9
lea ecx, [ebp - 0x1c]
call fcn.006c95d0
push eax
lea ecx, [ebp - 0x108]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0x108]
push eax
call fcn.00743377
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x60]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
push 0
push 1
push eax
call fcn.006c8fd0
add esp, 0x10
push 0
push 0
mov dword [ebp - 4], 0xf
call fcn.00743377
push 0
push 0x13
lea ecx, [ebp - 0x7c]
call fcn.006c95d0
push eax
lea ecx, [ebp - 0x134]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0x134]
push eax
call fcn.00743377
push 0
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.006c95d0
push eax
lea ecx, [ebp - 0x160]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0x160]
push eax
call fcn.00743377
int3