Function at 0x6b3920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x86c044]
mov dword [esp + 0x3c], eax
xor eax, eax
mov eax, edx
mov dword [esp + 0x28], 0
lea edi, [esp + 0x10]
sar eax, 9
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], 0x50
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x24], eax
mov eax, esi
and esi, 0x1f
sar eax, 5
and eax, 0xf
mov dword [esp], eax
call fcn.00402690
mov edx, ebx
mov dword [esp], edi
mov dword [esp + 0x20], eax
lea eax, [ebx + ebx]
sar edx, 5
sar ebx, 0xb
and eax, 0x3e
and edx, 0x3f
vmovd xmm2, ebx
vmovd xmm3, eax
vpinsrd xmm1, xmm2, esi, 1
vpinsrd xmm0, xmm3, edx, 1
vpunpcklqdq xmm0, xmm0, xmm1
vmovdqu xmmword [esp + 0x10], xmm0
call fcn.006b1db0
mov edx, dword [esp + 0x3c]
sub edx, dword [0x86c044]
jne 0x6b36ca
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
sub esp, 0x1c
mov eax, dword [0x86c044]
mov dword [esp + 0xc], eax
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6b36f6
mov eax, dword [edx + 0x14]
cmp eax, 1
je 0x6b3730
sub eax, 2
cmp eax, 1
jbe 0x6b3710
mov eax, dword [esp + 0xc]
sub eax, dword [0x86c044]
jne 0x6b3748
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [esp + 0xc]
sub eax, dword [0x86c044]
jne 0x6b3748
mov dword [esp + 0x20], edx
add esp, 0x1c
jmp fcn.006bd9e0
mov eax, dword [esp + 0xc]
sub eax, dword [0x86c044]
jne 0x6b3748
mov dword [esp + 0x20], edx
add esp, 0x1c
jmp fcn.006b4700
call fcn.00401690
nop
nop
nop
sub esp, 0x3c
mov eax, dword [0x86c044]
mov dword [esp + 0x2c], eax
xor eax, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call 0x6b37b0
mov edx, dword [esp + 0x2c]
sub edx, dword [0x86c044]
jne 0x6b37a2
add esp, 0x3c
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
mov ebx, dword [0x86c044]
mov dword [esp + 0x8c], ebx
xor ebx, ebx
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x24], ecx
test edi, edi
je 0x6b3805
mov dword [edi], 0
test eax, eax
je 0x6b3908
test ebp, ebp
je 0x6b3908
lea ebx, [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp], ebx
call fcn.006bef20
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
or dh, 8
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.006b6d50
test eax, eax
je 0x6b38c0
lea eax, [esp + 0x34]
mov dword [esp + 4], ebp
xor ebp, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.006b7500
mov edx, eax
test eax, eax
jne 0x6b38d0
mov eax, ebx
call fcn.006b4740
test esi, esi
je 0x6b38a1
mov eax, dword [esp + 0x54]
mov dword [esi], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [0x86c044]
jne 0x6b3916
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x6b38ca
mov eax, dword [esp + 0x54]
mov dword [esi], eax
xor ebp, ebp
jmp 0x6b38a1
mov eax, dword [esp + 0x24]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.006b60f0
xor edx, edx
test eax, eax
mov ebp, eax
mov eax, ebx
setne dl
call fcn.006b4740
test esi, esi
jne 0x6b389b
jmp 0x6b38a1
test esi, esi
je 0x6b38ca
mov dword [esi], 0x18
xor ebp, ebp
jmp 0x6b38a1
call fcn.00401690
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [0x86c044]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x3c]
mov dword [esp], eax
call dword [0x7d7da4]
mov ecx, dword [ebx + 0x48]
add esi, dword [ecx + 0x40]
adc edi, dword [ecx + 0x44]
test edi, edi
js 0x6b39d0
xor edx, edi
xor eax, esi
mov ebp, dword [ecx + 0x3c]
or eax, edx
je 0x6b3993
mov dword [esp + 0xc], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], ebp
call dword [0x7d7da8]
test eax, eax
jne 0x6b39d0
mov ecx, dword [ebx + 0x48]
mov eax, dword [esp + 0x2c]
sub eax, dword [0x86c044]
jne 0x6b39e6
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x54], 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040f8b8
mov eax, dword [esp + 0x2c]
sub eax, dword [0x86c044]
jne 0x6b39e6
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop
nop
nop
nop