Function at 0x6e0560
Capabilities:
Write 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_WriteFile]
test eax, eax
setne byte [ebp - 0x49]
xor esi, esi
mov dword [ebp - 0x50], esi
test eax, eax
jne 0x6e0b3b
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 0x34
xor eax, eax
mov dword [ebp - 0x1c], 0
push str._AacMbHal__UsbHidControl::DoWrite__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 0x6e0686
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 0x6e06d7
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e06cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b66
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 0x6e0738
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e072e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b6b
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 0x6e0793
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0789
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b70
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 0x6e07ea
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e07e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b75
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 0x6e084e
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0844
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b7a
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 0x35
xor eax, eax
mov dword [ebp - 0x74], 0
push str._AacMbHal__UsbHidControl::DoWrite__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 0x6e0985
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov edx, dword [ebp - 0x100]
cmp edx, 8
jb 0x6e09d2
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e09c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b7f
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 0x6e0a29
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b84
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 0x6e0a7a
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0a70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b89
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 0x6e0ad1
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0ac7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b8e
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x6e0b0b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b93
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x6e0b3b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6e0b31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6e0b98
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