Function at 0x140011334
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4110]
mov eax, 0x4210
call fcn.140001a50
sub rsp, rax
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rsp + 0x4260], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4100], rax
mov qword [rbp - 0x58], r9
mov rbx, r8
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x48], rdx
mov rax, rcx
mov qword [rbp - 0x40], rcx
lea r15, vtable.micro::files::QFile.0
mov qword [rbp + 8], r15
xor edi, edi
mov qword [rbp + 0x10], rdi
lea rcx, [0x140010e00]
mov qword [rbp - 8], rcx
lea rcx, [0x140010e28]
mov qword [rbp], rcx
lea rdx, [0x14012da68]
cmp qword [rax + 0x10], rdi
cmovne rdx, qword [rax + 0x10]
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.1400e82c4
test al, al
je 0x140011856
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
lea rcx, [0x140014c58]
mov qword [rbp - 0x68], rcx
lea rax, [0x140014c68]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, [0x140014b58]
mov qword [rbp + 0xc0], rax
lea rax, [0x140014bd4]
mov qword [rbp + 0xc8], rax
lea rax, [0x140014bdc]
mov qword [rbp + 0xd0], rax
lea rax, [0x140014c40]
mov qword [rbp + 0xd8], rax
lea rax, [rbp - 8]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xe8], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
mov dword [rbp + 0x60], edi
mov qword [rbp + 0x78], rdi
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x90], xmm1
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x30]
call fcn.140014568
mov esi, eax
test eax, eax
je 0x1400114b1
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.140012b54
test esi, esi
jne 0x140011856
or dword [rbp - 0x70], 0xffffffff
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x20], rdi
mov r15d, edi
lea r14d, [rsi + 1]
mov r12d, dword [rbp + 0x60]
test r12d, r12d
je 0x140011835
movsxd r13, dword [rbx + 0x10]
mov qword [rbp - 0x50], r13
lea rdx, vtable.micro::utils::QString.0
mov ebx, r15d
mov eax, r15d
shl rax, 5
add rax, qword [rbp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x98]
mov rcx, qword [rax + rbx*8 + 8]
sub rcx, qword [rax + rbx*8]
sub rcx, r14
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rdi
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.1400e7164
mov r8, rax
mov edx, r15d
lea rcx, [rbp + 0x30]
call fcn.140013dcc
mov r11b, dil
mov r9, rdi
test r13, r13
jle 0x1400117a1
mov r13, qword [rsp + 0x58]
mov r10, qword [rbp - 0x50]
test r11b, r11b
jne 0x1400115a6
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + r9*8]
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x140011592
mov rax, qword [rax + 8]
test rax, rax
je 0x140011595
test r13, r13
je 0x140011595
mov r8, r13
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14001158e
add rax, 2
test edx, edx
jne 0x14001157a
test ecx, ecx
jne 0x140011595
mov r11b, r14b
add r9, r14
cmp r9, r10
jl 0x14001154b
test r11b, r11b
je 0x1400117a1
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x19], dil
setne bl
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 8]
test rax, rax
je 0x140011605
cmp dword [rax - 8], edi
je 0x140011605
or r8d, 0xffffffff
lea rdx, [0x14012da68]
lea rcx, [rbp - 0x38]
call fcn.1400e6fc8
nop
lea r8, [rbp - 0x38]
mov rdx, qword [rbp - 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400e7664
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.1400e712c
mov r13, qword [rsp + 0x58]
mov r9b, bl
lea r8, [rsp + 0x50]
mov rdx, qword [rbp - 0x58]
call fcn.140010e98
test bl, bl
jne 0x1400117a1
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
mov r8d, r15d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x30]
call fcn.14001488c
mov esi, eax
test eax, eax
jne 0x14001181f
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x50]
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x20]
call fcn.140011d2c
lea rdx, [0x14012da68]
cmp qword [rax + 8], rdi
cmovne rdx, qword [rax + 8]
mov r8d, 0x1000
lea rcx, [rsp + 0x70]
call fcn.1400e82c4
test al, al
sete bl
lea r12, vtable.micro::utils::QString.0
mov qword [rbp + 0x20], r12
lea rcx, [rbp + 0x20]
call fcn.1400e712c
test bl, bl
jne 0x1400117fc
mov rdx, qword [rsp + 0x60]
add rdx, qword [rbp - 0x78]
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov r8d, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x60]
cmp rax, rbx
jne 0x1400117fc
lea rcx, [rsp + 0x70]
call fcn.1400e8500
mov r12, qword [rbp - 0x40]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x14001176e
lea rdx, [0x14012da68]
test r13, r13
cmovne rdx, r13
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [r12 + 0xa0]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x40]
mov rcx, qword [r12 + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test al, al
jne 0x1400117c8
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400e8500
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400e712c
mov r12d, dword [rbp + 0x60]
jmp 0x1400117b7
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400e712c
add r15d, r14d
cmp r15d, r12d
jae 0x140011835
mov r13, qword [rbp - 0x50]
jmp 0x1400114e1
mov esi, reloc.WS2_32.dll_inet_addr
lea r15, vtable.micro::files::QFile.0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.1400e8500
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400e712c
jmp 0x14001183c
mov esi, reloc.WS2_32.dll_inet_addr
lea r15, vtable.micro::files::QFile.0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.1400e8500
nop
mov qword [rsp + 0x50], r12
jmp 0x1400117f0
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400e712c
lea r15, vtable.micro::files::QFile.0
mov rcx, qword [rbp - 0x78]
call qword [rbp - 0x60]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.140012b54
test esi, esi
je 0x140011859
jmp 0x14001185c
mov r14b, dil
mov dil, r14b
mov qword [rbp + 8], r15
lea rcx, [rbp + 8]
call fcn.1400e8500
mov al, dil
mov rcx, qword [rbp + 0x4100]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x4260]
add rsp, 0x4210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret