Function at 0x6e0ba0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72298d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x104
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [ebx + 0xc]
mov dword [ebp - 0x30], 0
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne byte [ebp - 0x49]
xor esi, esi
mov dword [ebp - 0x50], esi
test eax, eax
jne 0x6e117b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x8c], 0
push 1
xor eax, eax
mov dword [ebp - 0x50], esi
push 0x735700
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.006973a0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.006a7dc0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0x33
xor eax, eax
mov dword [ebp - 0x1c], 0
push str._AacMbHal__UsbHidControl::DoRead__GetLastError___
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.006973a0
push esi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.006a9ba0
add esp, 4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.006a9ba0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x6e0cc6
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x6e0d17
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0d0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11a6
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x6e0d78
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0d6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11ab
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 8
jb 0x6e0dd3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0dc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11b0
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x6e0e2a
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0e20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11b5
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
cmp edx, 8
jb 0x6e0e8e
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0e84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11ba
push edx
push ecx
call fcn.006e45a1
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.006df630
mov dword [ebp - 4], 5
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
add esi, edx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
mov dword [ebp - 0x18], 7
cmovae edx, dword [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x54], edx
push eax
call fcn.006a14f0
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
push esi
push dword [ebp - 0x54]
call fcn.006ba1c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
push 1
xor eax, eax
mov dword [ebp - 0xa4], 0
push 0x735700
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.006973a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
push 0x34
xor eax, eax
mov dword [ebp - 0x74], 0
push str._AacMbHal__UsbHidControl::DoRead__FormatMessage___
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.006973a0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x84]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0069bcd0
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x114]
call fcn.006a9ba0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 8
jb 0x6e0fc5
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov edx, dword [ebp - 0x100]
cmp edx, 8
jb 0x6e1012
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e1008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11bf
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
cmp edx, 8
jb 0x6e1069
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e105f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11c4
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x6e10ba
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e10b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11c9
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x6e1111
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e1107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11ce
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x6e114b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e1141
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11d3
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x6e117b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6e1171
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e11d8
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp byte [ebp - 0x49], 1
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
int3