Function at 0x100531010
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx]
call sym.vim.exe_skiptowhite
mov rcx, rax
mov rbx, rax
sub rbx, qword [r12]
call sym.vim.exe_skipwhite
mov r13, rax
cmp ebx, 5
je 0x100531270
mov rbx, qword [sym.vim.exe_do_profiling]
mov esi, dword [rbx]
test esi, esi
je 0x100531310
mov r13, qword [r12]
lea rdx, str.stop
mov rcx, r13
call sub.msys_2.0.dll_strcmp
test eax, eax
je 0x1005310a0
lea rdx, str.pause
mov rcx, r13
call sub.msys_2.0.dll_strcmp
test eax, eax
jne 0x100531430
cmp esi, 1
je 0x1005314a0
mov dword [rbx], 2
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
call sym.vim.exe_profile_dump
xor edx, edx
mov ecx, 0x24
xor esi, esi
mov dword [rbx], 0
mov r12d, 1
call sym.vim.exe_set_vim_var_nr
mov rdi, qword [sym.vim.exe_script_items]
mov r9d, dword [rdi]
test r9d, r9d
jg 0x100531247
nop word [rax + rax]
call sym.vim.exe_func_tbl_get
mov rsi, qword [sym.vim.exe_hash_removed]
mov rdx, qword [rax + 8]
mov r10, qword [rax + 0x28]
mov r11d, edx
test edx, edx
jle 0x100531129
nop dword [rax + rax]
mov rdx, qword [r10 + 8]
cmp rdx, rsi
je 0x100531260
test rdx, rdx
je 0x100531260
mov ecx, dword [rdx - 0xbc]
sub r11d, 1
test ecx, ecx
jne 0x100531330
add r10, 0x10
test r11d, r11d
jne 0x1005310f8
mov rcx, qword [0x100724950]
test rcx, rcx
je 0x10053108f
call sym.vim.exe_vim_free
mov qword [0x100724950], 0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov qword [rbx + 0x1ec], 0
lea rcx, [rbx + 0x250]
mov qword [rbx + 0x1f8], 0
mov qword [rbx + 0x200], 0
mov qword [rbx + 0x208], 0
mov qword [rbx + 0x210], 0
mov qword [rbx + 0x218], 0
mov qword [rbx + 0x220], 0
mov qword [rbx + 0x228], 0
mov qword [rbx + 0x230], 0
mov qword [rbx + 0x238], 0
mov qword [rbx + 0x240], 0
mov qword [rbx + 0x248], 0
call sym.vim.exe_ga_clear
mov eax, 0xffffffff
mov qword [rbx + 0x268], 0
mov qword [rbx + 0x270], 0
mov qword [rbx + 0x278], 0
mov qword [rbx + 0x280], 0
mov qword [rbx + 0x288], 0
mov qword [rbx + 0x290], 0
mov qword [rbx + 0x298], rax
add r12d, 1
add rsi, 8
cmp r12d, dword [rdi]
jg 0x1005310d8
mov rax, qword [rdi + 0x10]
mov rbx, qword [rax + rsi]
mov r8d, dword [rbx + 0x1ec]
test r8d, r8d
je 0x100531236
jmp 0x100531158
add r10, 0x10
jmp 0x1005310f8
mov rcx, qword [r12]
mov r8d, 5
lea rdx, [0x1006cfa17]
call sub.msys_2.0.dll_strncmp
test eax, eax
jne 0x100531041
cmp byte [r13], 0
je 0x100531041
mov rcx, qword [0x100724950]
test rcx, rcx
je 0x1005312b5
call sym.vim.exe_vim_free
mov qword [0x100724950], 0
mov rcx, r13
mov edx, 1
call sym.vim.exe_expand_env_save_opt
mov edx, 1
mov ecx, 0x24
mov qword [0x100724968], 0
mov qword [0x100724950], rax
mov rax, qword [sym.vim.exe_do_profiling]
mov qword [0x100724960], 0
mov dword [rax], 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp sym.vim.exe_set_vim_var_nr
mov rcx, qword [sym.vim.exe_e_first_use_profile_start_fname]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp sym.vim.exe_emsg
mov dword [rdx - 0xc0], 0
mov eax, dword [rdx - 0xe0]
mov dword [rdx - 0xbc], 0
mov dword [rdx - 0xb8], 0
mov qword [rdx - 0xa8], 0
mov qword [rdx - 0xb0], 0
mov qword [rdx - 0x98], 0
mov qword [rdx - 0xa0], 0
mov qword [rdx - 0x88], 0
mov qword [rdx - 0x90], 0
test eax, eax
jle 0x1005313e9
mov rbx, qword [rdx - 0x80]
mov r9, qword [rdx - 0x78]
xor eax, eax
xor ecx, ecx
mov r8, qword [rdx - 0x70]
nop word [rax + rax]
mov dword [rbx + rcx*4], 0
add rcx, 1
mov qword [r9 + rax + 8], 0
mov qword [r9 + rax], 0
mov qword [r8 + rax + 8], 0
mov qword [r8 + rax], 0
add rax, 0x10
cmp dword [rdx - 0xe0], ecx
jg 0x1005313b0
mov qword [rdx - 0x60], 0
mov qword [rdx - 0x68], 0
mov qword [rdx - 0x50], 0
mov qword [rdx - 0x58], 0
mov qword [rdx - 0x40], 0
mov qword [rdx - 0x48], 0
mov dword [rdx - 0x38], 0xffffffff
mov dword [rdx - 0x34], 0
jmp 0x100531120
lea rdx, str.continue
mov rcx, r13
call sub.msys_2.0.dll_strcmp
test eax, eax
jne 0x100531460
cmp esi, 2
je 0x1005314b3
mov dword [rbx], 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
lea rdx, str.dump
mov rcx, r13
call sub.msys_2.0.dll_strcmp
test eax, eax
jne 0x100531488
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp sym.vim.exe_profile_dump
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp sym.vim.exe_ex_breakadd
xor edx, edx
lea rcx, [0x100724940]
call fcn.100672e40
jmp 0x100531089
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.100672e40
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, qword [0x100724948]
sub rdx, qword [0x100724940]
mov qword [0x100724948], rax
mov qword [0x100724940], rdx
test rax, rax
jns 0x100531502
add rax, 0xf4240
sub rdx, 1
mov qword [0x100724948], rax
mov qword [0x100724940], rdx
add rax, qword [0x100724968]
add rdx, qword [0x100724960]
mov qword [0x100724968], rax
mov qword [0x100724960], rdx
cmp rax, 0xf423f
jle 0x100531448
sub rax, 0xf4240
add rdx, 1
mov qword [0x100724968], rax
mov qword [0x100724960], rdx
jmp 0x100531448