Function at 0x140004e80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14005f3e0]
xor rax, rsp
mov qword [rbp], rax
mov r12d, edx
mov r14, rcx
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x40], ebx
cmp edx, 0xffffffff
jne 0x140004ed1
xor eax, eax
jmp 0x140005374
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004f0d
mov r8, qword [rcx + 0x58]
movsxd r9, dword [r8]
lea rcx, [rdx + r9]
cmp rdx, rcx
jae 0x140004f0d
lea ecx, [r9 - 1]
mov dword [r8], ecx
mov rdx, qword [r14 + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], r12b
mov eax, r12d
jmp 0x140005374
cmp qword [r14 + 0x90], rbx
jne 0x140004f1e
or eax, 0xffffffff
jmp 0x140005374
mov r8, qword [r14 + 0x18]
lea rax, [r14 + 0x80]
cmp qword [r8], rax
jne 0x140004f48
mov rdx, qword [r14 + 0x70]
mov rcx, qword [r14 + 0x68]
mov qword [r8], rcx
mov rax, qword [r14 + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [r14 + 0x50]
mov dword [rax], edx
cmp qword [r14 + 0x78], rbx
jne 0x140004f6c
movsx ecx, r12b
mov rdx, qword [r14 + 0x90]
call fcn.140009320
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, r12d
jmp 0x140005372
mov byte [rbp - 0x40], r12b
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov ecx, 0x10
call fcn.1400106e0
test rax, rax
jne 0x140004f91
call fcn.140042d70
int3
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
mov qword [rax], rcx
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x38]
call fcn.140006f80
nop
nop word [rax + rax]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x38]
call fcn.140006630
mov rbx, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140006630
mov rdi, rax
mov rcx, rbx
call fcn.140007160
mov rsi, rax
mov rbx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140007160
mov rcx, qword [r14 + 0x78]
mov r10, qword [rcx]
lea rdx, [rbx + rsi]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3f]
lea r8, [rbp - 0x40]
lea rdx, [r14 + 0x84]
call qword [r10 + 0x38]
mov edi, eax
mov edx, 3
lea rcx, [rbp - 0x10]
call fcn.140041620
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400050b7
add rbx, 8
cmp qword [rbx], 0
je 0x14000508d
nop word [rax + rax]
mov rax, qword [rbx]
lea rcx, [rsp + 0x60]
cmp rax, rcx
je 0x140005087
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140005070
cmp qword [rbx], 0
jne 0x1400050a6
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rsp + 0x68]
mov qword [rbx], rax
xor esi, esi
mov qword [rsp + 0x60], rsi
jmp 0x1400050b9
xor esi, esi
lea rcx, [rbp - 0x10]
call fcn.140041700
nop
mov edx, 3
lea rcx, [rbp - 0xc]
call fcn.140041620
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140005124
add rbx, 8
cmp qword [rbx], 0
je 0x140005100
mov rax, qword [rbx]
lea rcx, [rbp - 0x70]
cmp rax, rcx
je 0x1400050fa
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x1400050e4
cmp qword [rbx], 0
jne 0x140005119
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x68]
mov qword [rbx], rax
mov qword [rbp - 0x70], rsi
lea rcx, [rbp - 0xc]
call fcn.140041700
test edi, edi
js 0x1400052f0
cmp edi, 1
jg 0x1400052d0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x38]
call fcn.140006630
nop
mov rcx, rax
call fcn.140007160
mov rdi, qword [rbp - 0x50]
sub rdi, rax
mov edx, 3
lea rcx, [rbp - 8]
call fcn.140041620
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400051c2
add rbx, 8
cmp qword [rbx], 0
je 0x14000519d
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x140005197
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140005180
cmp qword [rbx], 0
jne 0x1400051b6
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x80]
mov qword [rbx], rax
mov qword [rsp + 0x78], rsi
lea rcx, [rbp - 8]
call fcn.140041700
test rdi, rdi
je 0x140005211
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.140006630
nop
or r15d, 1
mov dword [rsp + 0x40], r15d
mov rcx, rax
call fcn.140007160
mov r9, qword [r14 + 0x90]
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14000bd80
cmp rdi, rax
je 0x140005211
mov sil, 1
jmp 0x140005214
xor sil, sil
test r15b, 1
je 0x140005290
and r15d, 0xfffffffe
mov edx, 3
lea rcx, [rbp - 0x3c]
call fcn.140041620
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140005287
add rbx, 8
cmp qword [rbx], 0
je 0x14000525d
mov rax, qword [rbx]
lea rcx, [rsp + 0x48]
cmp rax, rcx
je 0x140005257
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140005240
cmp qword [rbx], 0
jne 0x140005276
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x48], 0
lea rcx, [rbp - 0x3c]
call fcn.140041700
test sil, sil
jne 0x1400052f0
mov byte [r14 + 0x81], 1
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x48], rax
jne 0x1400052cb
test rdi, rdi
jne 0x140004fd0
cmp qword [rbp - 0x20], 0x20
jae 0x1400052f0
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp - 0x38]
call fcn.1400062e0
jmp 0x140004fd0
mov ebx, r12d
jmp 0x1400052f3
cmp edi, 3
jne 0x1400052f0
movsx ecx, byte [rbp - 0x40]
mov rdx, qword [r14 + 0x90]
call fcn.140009320
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, r12d
jmp 0x1400052f3
or ebx, 0xffffffff
cmp qword [rbp - 0x18], 0x10
jb 0x140005303
mov rcx, qword [rbp - 0x30]
call fcn.1400086a0
mov qword [rbp - 0x18], 0xf
xor edi, edi
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x30], dil
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000536d
lea edx, [rdi + 3]
lea rcx, [rbp - 0x3c]
call fcn.140041620
mov rdx, qword [rbp - 0x38]
cmp qword [rdx + 8], rdi
je 0x14000535c
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140005340
mov rdx, qword [rbp - 0x38]
mov qword [rdx + 8], rdi
lea rcx, [rbp - 0x3c]
call fcn.140041700
mov rcx, qword [rbp - 0x38]
call fcn.1400086a0
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140007ac0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret