Function at 0x18005f620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
lea eax, [rdx + 9]
mov r13d, edx
mov dword [rbp - 0x61], eax
mov r14, rcx
cmp edx, eax
jae 0x180060279
movzx ebx, byte [rbp + 0x6f]
mov r15, qword [rbp + 0x77]
mov r12, qword [rbp + 0x77]
mov rsi, qword [rbp - 0x79]
xor edi, edi
lea eax, [r13 - 0x21]
lea r11, str.pTitleHeader
lea r10, str.J_Stereo
lea r9, str.Stereo
lea r8, str.Auto
lea rdx, [0x180000000]
cmp eax, 0xf
ja case.0x18005f69d.35
mov ecx, dword [rdx + rax*4 + 0x603d0]
add rcx, rdx
jmp rcx
cmp dword [0x1800b6138], 3
jne case.0x18005f69d.35
xor r8d, r8d
lea rdx, [0x1800b6140]
lea ecx, [r8 + 0x1b]
call fcn.18001bf10
jmp case.0x18005f69d.35
mov eax, dword [0x1800b6138]
add eax, 0xfffffffe
cmp eax, 1
ja 0x18005f6f1
lea rdx, [rbp - 0x19]
lea rcx, [0x1800b6140]
call fcn.180070bc8
mov eax, 0x4000
test word [rbp - 0x13], ax
jne 0x180060291
cmp dword [0x1800b6138], 3
jne 0x18005f71e
cmp byte [0x1800b6120], 0
jne 0x18005f71e
lea r8, [0x1800b6140]
mov edx, 0x100
xor ecx, ecx
call fcn.18000a770
test al, al
jne 0x1800602d5
cmp byte [rbp + 0x6f], 0
je 0x18005f762
cmp byte [0x1800b6123], 0
je 0x18005f762
mov ecx, 2
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea rdi, [0x1800b6550]
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, [0x1800b6140]
lea rdx, str.uchar3___OVERLOADABLE___convert_uchar_rtn_int3__
call fcn.180069b10
jmp 0x18005f769
lea rdi, [0x1800b6550]
cmp dword [0x1800b6138], 3
jne case.0x18005f69d.35
mov rdx, rdi
mov ecx, 0x117
call fcn.18002cc60
test al, al
je 0x18005f79c
cmp byte [0x1800b6120], 0
je 0x1800602f1
mov rcx, rdi
call fcn.180071d20
cmp dword [0x1800b6138], 3
jne case.0x18005f69d.35
cmp byte [0x1800b6120], 0
jne case.0x18005f69d.35
xor r8d, r8d
lea rdx, [0x1800b6140]
mov ecx, 0xd0
call fcn.18000c6d0
mov edi, eax
test eax, eax
jle case.0x18005f69d.35
lea rax, [0x180099cc4]
cmp edi, 1
lea rbx, [0x180097450]
mov ecx, 2
cmovg rbx, rax
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6140]
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rdx, str.Failure_to_resume_replay_with_code_0x_x
mov dword [rsp + 0x20], edi
call fcn.180069b10
jmp 0x1800602b8
lea rax, str.Mono
mov qword [rbp - 0x49], r8
mov qword [rbp - 0x29], rax
lea rax, str.DebugDpcTime
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x41], r9
movups xmm0, xmmword [rbp - 0x49]
mov qword [rbp - 0x39], r10
mov qword [rbp - 0x31], r11
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [0x180741e00], xmm0
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [0x180741e10], xmm1
movups xmmword [0x180741e20], xmm0
mov eax, dword [r14 + 0x18]
mov dword [rbp - 0x5d], eax
jmp case.0x18005f69d.35
mov ecx, dword [0x1800b6138]
sub ecx, 1
je 0x18005fa43
sub ecx, 1
je 0x18005f9d4
cmp ecx, 1
jne 0x18005f9ba
mov edi, 0xf4
nop word [rax + rax]
cmp edi, 0xf4
je 0x18005f971
cmp edi, 0x4870
je 0x18005f929
cmp edi, 0x8fec
je 0x18005f8cd
cmp edi, 0xd768
je 0x18005f9cb
jmp 0x18005f9a8
test rsi, rsi
jne 0x18005f9a8
call fcn.18006f084
mov ecx, dword [rax]
call fcn.18006f2e8
lea ecx, [rsi + 2]
mov rbx, rax
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6140]
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea rdx, str.Failed_to_create_unique_logfile__s
call fcn.180069b10
mov rax, qword [rbp - 0x71]
test rax, rax
je 0x1800602b8
mov rcx, rax
call fcn.180070ca4
jmp 0x1800602b8
cmp qword [rbp - 0x71], 0
jne 0x18005f9a8
call fcn.18006f084
mov ecx, dword [rax]
call fcn.18006f2e8
mov ecx, 2
mov rbx, rax
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6550]
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea rdx, str.err_template_spec_redecl_global_scope
call fcn.180069b10
mov rax, qword [rbp - 0x79]
jmp 0x18005f913
lea rdx, [0x180099664]
lea rcx, [0x1800b6140]
call fcn.180071154
lea r8, [0x1800b6550]
mov qword [rbp - 0x79], rax
lea rdx, [0x18009980c]
mov ecx, 0x66
call fcn.180031ed0
mov rsi, qword [rbp - 0x79]
mov qword [rbp - 0x71], rax
add edi, 0x477c
cmp edi, 0x11df0
jbe 0x18005f8a0
xor edx, edx
lea r8, str.CJK_743_IDEOGRAPH_F946
lea ecx, [rdx + 0x32]
call fcn.180041ba0
mov rdi, qword [rbp - 0x71]
jmp 0x18005fa81
lea rdx, [0x180099664]
lea rcx, [0x1800b6140]
call fcn.180071154
mov ecx, 1
mov qword [rbp - 0x79], rax
call fcn.180070398
cmp qword [rbp - 0x79], 0
mov rdi, rax
mov qword [rbp - 0x71], rax
jne 0x18005fa7d
call fcn.18006f084
mov ecx, dword [rax]
call fcn.18006f2e8
mov ecx, 2
mov rbx, rax
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6140]
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea rdx, str.on_mdr_reserve_failed_id__d__:__s
call fcn.180069b10
jmp 0x1800602b8
xor ecx, ecx
call fcn.180070398
mov ecx, 1
mov qword [rbp - 0x79], rax
call fcn.180070398
xor ecx, ecx
mov qword [rbp - 0x71], rax
mov rdi, rax
call fcn.180070398
mov rcx, rax
call fcn.180079a4c
mov ecx, eax
call fcn.180079a74
test eax, eax
jne 0x180060307
mov rsi, qword [rbp - 0x79]
cmp dword [0x1800b60ec], 1
mov r13d, 0x2e
jl 0x18005fad0
lea ecx, [r13 - 0x2c]
call fcn.180070398
mov rcx, rax
lea r8, [0x1800b6140]
lea rdx, str.___s:
call fcn.180069b10
lea edx, [r13 + 0x42]
lea rcx, [0x1800b6140]
call fcn.18003a740
lea ecx, [r13 - 0x2c]
call fcn.180070398
mov rcx, rax
call fcn.180070ef0
mov qword [0x1800b6d78], rdi
jmp case.0x18005f69d.35
test bl, bl
je 0x18005fb0b
cmp dword [0x1800b60ec], 1
jl case.0x18005f69d.35
mov ecx, 2
call fcn.180070398
mov rcx, rax
lea rdx, str.done_n
call fcn.180069b10
jmp case.0x18005f69d.35
xor r9d, r9d
mov dword [rbp + 0x77], 2
xor edx, edx
lea rcx, [rbp + 0x77]
mov r8d, 0xd0
call fcn.180044270
cmp dword [0x1800b60ec], 1
mov ecx, 2
jl 0x18005fb4d
call fcn.180070398
mov rcx, rax
lea rdx, str.OnUILanguageRemove
call fcn.180069b10
jmp case.0x18005f69d.35
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6140]
mov rcx, rax
lea rdx, str.set_SavedRegistersByteOffset
call fcn.180069b10
jmp case.0x18005f69d.35
mov rdx, qword [rbp - 0x71]
mov r8d, 0xa8
mov rcx, qword [rbp - 0x79]
mov byte [0x1800b60eb], 1
call fcn.18004e5d0
mov qword [0x1800b6d78], rdi
mov rbx, rax
test al, al
je 0x18005fe4d
cmp dword [0x1800b6138], 3
jne 0x1800600d9
mov edx, 0xb5
lea rcx, [0x1800b6550]
call fcn.180063800
cmp byte [0x1800b60e9], 0
mov byte [0x1800b60eb], 0
jne 0x1800600d9
lea rcx, [0x1800b6140]
call fcn.180071d20
test eax, eax
je 0x1800600d9
mov edi, 0xab
nop dword [rax + rax]
cmp edi, 0xb5
ja 0x18005fcad
je 0x18005fcf1
mov eax, edi
sub eax, 0x43
je 0x18005fca8
sub eax, 0x5d
je 0x18005fc79
cmp eax, 0xb
jne 0x18005fcd2
lea ecx, [rax - 9]
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea rdx, str.EwJJTDAeFw0wNDAzMjQxMTMyMThaFw0yOTAzMTkxNTAyMThaMDQxEzARBgNVBAMT
mov rcx, rax
call fcn.180069b10
mov rcx, qword [0x1800b6d70]
call fcn.18006fb90
xor r9d, r9d
mov dword [rsp + 0x20], 0x69
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18003b330
xor r9d, r9d
mov dword [rbp + 0x77], 1
xor edx, edx
lea rcx, [rbp + 0x77]
mov r8d, 0x10a
call fcn.1800692d0
jmp 0x18005fcd2
xor esi, esi
mov dword [rbp + 0x77], 0x10
mov qword [rsp + 0x28], rsi
lea r8, [rbp + 0x77]
mov r9d, 0xf2
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call fcn.180039840
mov qword [rbp - 0x59], rax
mov qword [rax], rsi
jmp 0x18005fcd2
xor r15d, r15d
jmp 0x18005fcd2
mov eax, edi
sub eax, 0x112
je 0x18005fcc6
sub eax, 0x15
je 0x18005fd15
cmp eax, 0x5d
je 0x1800600d9
jmp 0x18005fcd2
mov rax, qword [rbp - 0x59]
mov qword [rax + 8], 0
add edi, 0x72
cmp edi, 0x3c9
jb 0x18005fbf0
mov rsi, qword [rbp - 0x79]
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
test r15, r15
je 0x1800600d9
mov rsi, qword [rbp - 0x79]
mov dword [r15 + 0x13e8], 0xfffffffe
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov eax, dword [pe_dos_header]
xor edi, edi
mov qword [r15 + 0x1398], rdi
mov dword [r15 + 0x13a0], eax
nop dword [rax]
mov esi, 0x2b
cmp esi, 0x2b
je 0x18005fde6
cmp esi, 0x12d0
je 0x18005fd7b
cmp esi, 0x2575
jne 0x18005fdfc
cmp dword [r15 + 0x13a0], 0
jne 0x18005fdfc
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x79]
mov dword [r15 + 0x13e8], edi
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov dword [rsp + 0x28], 1
lea r9, [r15 + 0x1398]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x7f]
mov dword [rbp + 0x7f], edi
xor ecx, ecx
call fcn.18005ddc0
cmp eax, 1
jne 0x18005fe32
mov eax, dword [r15 + 0x13b8]
cmp eax, 0x1388
jae 0x18005fdfc
mov r9, qword [r15]
lea rcx, [r15 + 8]
mov edi, 0x1388
mov edx, 1
sub edi, eax
movsxd r8, edi
call fcn.180071964
cmp edi, eax
jne 0x18005fe13
mov rcx, qword [r15]
call fcn.180070d10
test eax, eax
jne 0x18005fe13
xor edi, edi
jmp 0x18005fdfc
lea rax, [r15 + 8]
mov dword [r15 + 0x13b8], 0x1388
mov qword [r15 + 0x13b0], rax
add esi, 0x12a5
cmp esi, 0x37ef
jbe 0x18005fd35
jmp 0x18005fd30
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x79]
mov dword [r15 + 0x13e8], 0xfffffffa
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x79]
mov dword [r15 + 0x13e8], eax
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
cmp dword [0x1800b6138], 3
mov byte [0x1800b6122], 1
mov byte [0x1800b60eb], 0
jne 0x1800600d9
lea rcx, [0x1800b6550]
call fcn.180071d20
test eax, eax
je 0x1800600d9
mov edi, 0xab
cmp edi, 0xb5
ja 0x18005ff3e
je 0x18005ff82
mov eax, edi
sub eax, 0x43
je 0x18005ff39
sub eax, 0x5d
je 0x18005ff0a
cmp eax, 0xb
jne 0x18005ff63
lea ecx, [rax - 9]
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea rdx, str.EwJJTDAeFw0wNDAzMjQxMTMyMThaFw0yOTAzMTkxNTAyMThaMDQxEzARBgNVBAMT
mov rcx, rax
call fcn.180069b10
mov rcx, qword [0x1800b6d70]
call fcn.18006fb90
xor r9d, r9d
mov dword [rsp + 0x20], 0x69
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18003b330
xor r9d, r9d
mov dword [rbp + 0x77], 1
xor edx, edx
lea rcx, [rbp + 0x77]
mov r8d, 0x10a
call fcn.1800692d0
jmp 0x18005ff63
xor esi, esi
mov dword [rbp + 0x77], 0x10
mov qword [rsp + 0x28], rsi
lea r8, [rbp + 0x77]
mov r9d, 0xf2
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call fcn.180039840
mov qword [rbp - 0x51], rax
mov qword [rax], rsi
jmp 0x18005ff63
xor r12d, r12d
jmp 0x18005ff63
mov eax, edi
sub eax, 0x112
je 0x18005ff57
sub eax, 0x15
je 0x18005ffa7
cmp eax, 0x5d
je 0x1800600d9
jmp 0x18005ff63
mov rax, qword [rbp - 0x51]
mov qword [rax + 8], 0
add edi, 0x72
cmp edi, 0x3c9
jb 0x18005fe81
mov rsi, qword [rbp - 0x79]
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
test r12, r12
je 0x1800600d9
mov rsi, qword [rbp - 0x79]
mov dword [r12 + 0x13e8], 0xfffffffe
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov eax, dword [pe_dos_header]
xor edi, edi
mov qword [r12 + 0x1398], rdi
mov dword [r12 + 0x13a0], eax
mov esi, 0x2b
cmp esi, 0x2b
je 0x18006007d
cmp esi, 0x12d0
je 0x18006000d
cmp esi, 0x2575
jne 0x180060096
cmp dword [r12 + 0x13a0], 0
jne 0x180060096
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x79]
mov dword [r12 + 0x13e8], edi
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov dword [rsp + 0x28], 1
lea r9, [r12 + 0x1398]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x69]
mov dword [rbp - 0x69], edi
xor ecx, ecx
call fcn.18005ddc0
cmp eax, 1
jne 0x1800600cd
mov eax, dword [r12 + 0x13b8]
cmp eax, 0x1388
jae 0x180060096
mov r9, qword [r12]
lea rcx, [r12 + 8]
mov edi, 0x1388
mov edx, 1
sub edi, eax
movsxd r8, edi
call fcn.180071964
cmp edi, eax
jne 0x1800600ad
mov rcx, qword [r12]
call fcn.180070d10
test eax, eax
jne 0x1800600ad
xor edi, edi
jmp 0x180060096
lea rax, [r12 + 8]
mov dword [r12 + 0x13b8], 0x1388
mov qword [r12 + 0x13b0], rax
add esi, 0x12a5
cmp esi, 0x37ef
jbe 0x18005ffc5
jmp 0x18005ffc0
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x79]
mov dword [r12 + 0x13e8], 0xfffffffa
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov r14, qword [rbp + 0x67]
mov dword [r12 + 0x13e8], eax
mov rsi, qword [rbp - 0x79]
mov byte [0x1800b60eb], 0
jmp case.0x18005f69d.35
mov byte [0x1800b60eb], 0
test r14, r14
jne 0x18006010f
cmp dword [0x1800b6138], 1
je 0x18006010f
xor edx, edx
lea r8, str.7AT6QYL2RAuKHGiphtJggQ
lea ecx, [rdx + 0x32]
call fcn.180041ba0
mov ecx, dword [0x1800b6138]
mov byte [rbp + 0x6f], 0
sub ecx, 1
je 0x1800601e7
sub ecx, 1
je 0x18006015a
cmp ecx, 1
jne 0x180060217
mov edi, 0xe
mov eax, edi
sub eax, 0xd
je 0x180060162
cmp eax, 1
jne 0x180060153
mov r8, r14
lea rdx, [0x1800b6140]
lea ecx, [rax + 0x2f]
call fcn.18002a320
dec edi
cmp edi, 0xc
ja 0x180060135
mov r8, r14
jmp 0x1800601ee
lea r13, [0x1800b6550]
mov r8, r14
mov rdx, r13
mov ecx, 0x30
call fcn.18002a320
xor edi, edi
nop dword [rax + rax]
lea rax, [0x180000000]
mov r8, r13
mov r9, qword [rdi + rax + 0xb4c38]
mov edx, 0x38
mov rcx, qword [rdi + rax + 0xb4c58]
call fcn.180038f50
test al, al
jne case.0x18005f69d.43
add rdi, 8
cmp rdi, 0x20
jl 0x180060180
mov byte [rbp + 0x6f], 1
lea rcx, [r13 - 1]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800601c0
mov eax, dword [str..out]
mov r13d, 0x2a
mov dword [rcx], eax
movzx eax, byte [0x180099ef0]
mov byte [rcx + 4], al
jmp case.0x18005f69d.35
lea r8, str._stdin_
lea rdx, [0x1800b6140]
mov ecx, 0x30
call fcn.18002a320
lea r8, str._stdout_
mov ecx, 0x30
lea rdx, [0x1800b6550]
call fcn.18002a320
mov r13d, 0x2a
jmp case.0x18005f69d.35
cmp dword [0x1800b6138], 1
mov r13d, 0x2b
je case.0x18005f69d.35
xor edx, edx
lea rcx, [0x1800b6140]
mov r8d, 0xc4
call fcn.18004e5d0
test al, al
jne 0x180060387
cmp dword [0x1800b6138], 1
je case.0x18005f69d.35
lea rdx, [0x1800b6140]
mov ecx, 0x117
call fcn.18002cc60
test al, al
je 0x180060347
inc r13d
cmp r13d, dword [rbp - 0x61]
jb 0x18005f661
mov rax, qword [rbp + 0x77]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 2
call fcn.180070398
lea rdx, str._Check_failed:_scroll_layer_impl.
lea r9, [0x1800b6140]
mov r8, qword [0x1800b6d70]
mov rcx, rax
call fcn.180069b10
xor r9d, r9d
mov dword [rbp + 0x6f], 1
xor edx, edx
lea rcx, [rbp + 0x6f]
mov r8d, 0xd0
call fcn.180044270
jmp 0x180060279
cmp byte [0x1800b6123], 0
je 0x1800602b8
mov ecx, 2
call fcn.180070398
lea rdx, str._9a9b9c9d9e9f9g9h9i9p9q9r9s9t9u9v9w9x9y9
jmp 0x1800602a2
mov ecx, 2
call fcn.180070398
mov r9, rdi
lea rdx, str.CCrashHandler::MINIDUMPWRITEDUMP_OK
jmp 0x1800602a9
mov ecx, 2
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea rdx, str.No_known_SASL_authentication_mechanisms_supported_
mov rcx, rax
call fcn.180069b10
mov ecx, 2
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea rdx, str._s:_Malformed_multi_read_message.
mov r9, r8
jmp 0x1800602b0
call fcn.18006f084
mov ecx, dword [rax]
call fcn.18006f2e8
mov ecx, 2
mov rbx, rax
call fcn.180070398
mov r8, qword [0x1800b6d70]
lea r9, [0x1800b6140]
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea rdx, str.Save_attachment_to_download_folder
call fcn.180069b10
jmp 0x1800602b8
cmp byte [0x1800b6123], 0
je 0x1800602b8
mov ecx, 2
call fcn.180070398
lea rdx, str.ServiceProcessControl::Launcher::DoRun
jmp 0x1800602a2
movsxd rcx, dword [rbp - 0x5d]
lea eax, [rcx + 1]
cmp eax, 4
ja 0x1800603c3
mov rax, qword [rdx + rcx*8 + 0x741e08]
jmp 0x18006027d
mov rax, qword [0x180741e28]
jmp 0x18006027d