Function at 0x1400cd630
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rax, qword [0x1401735d8]
xor rax, rbp
mov qword [rbp + 0x20], rax
mov eax, dword [0x1401746ec]
mov edx, dword [0x1401746f0]
lea ebx, [rax - 1]
imul ebx, eax
test bl, 1
sete byte [rbp + 0x1f]
cmp edx, 0xa
setl byte [rbp + 0x1e]
mov rsi, rcx
lea r15, [rcx + 0x74]
lea rax, [rcx + 0x71]
mov qword [rbp - 0x60], rax
lea rax, [rcx + 0x68]
mov qword [rbp - 0x58], rax
mov eax, 0x3ada373b
mov r14d, 0x7ae3107
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdd5e49a
mov ecx, 0x406dfe64
nop word cs:[rax + rax]
cmove eax, ecx
cmp dword [0x1401746f0], 0xa
cmovl eax, ecx
cmp eax, 0x59d209b
jle 0x1400cd720
cmp eax, 0x48dd7370
jg 0x1400cd780
cmp eax, 0x2e6c1e22
jle 0x1400cd823
cmp eax, 0x38070bb3
jle 0x1400cd915
cmp eax, 0x3d03838e
jle 0x1400cdaf5
cmp eax, 0x3d03838f
je 0x1400cde6c
cmp eax, 0x48251539
jne 0x1400ce16a
mov eax, 0x33abc640
jmp 0x1400cd6cd
cmp eax, 0xd64c746d
jg 0x1400cd7e0
cmp eax, 0xabda9aec
jg 0x1400cd86d
cmp eax, 0x8c3d6960
jg 0x1400cd94c
cmp eax, 0x873bb383
jg 0x1400cdb29
cmp eax, 0x82710690
je 0x1400cde76
cmp eax, 0x83268efc
jne 0x1400cd6cd
mov rax, qword [rbp - 0x30]
cmp rax, qword [rbp - 0x78]
mov eax, 0x6a702371
jmp 0x1400cdf18
cmp eax, 0x66c0198f
jg 0x1400cd8a3
cmp eax, 0x5c2c079f
jg 0x1400cd977
cmp eax, 0x5a87c9c5
jg 0x1400cdb54
cmp eax, 0x48dd7371
je 0x1400cde84
cmp eax, 0x4e741f9f
jne 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x48251539
mov ecx, 0x33abc640
jmp 0x1400cd6c0
cmp eax, 0xee32ed1c
jg 0x1400cd8dd
cmp eax, 0xdc9f5f70
jg 0x1400cd9aa
cmp eax, 0xd9ab57ca
jg 0x1400cdb80
cmp eax, 0xd64c746e
je 0x1400cd69d
cmp eax, 0xd7c8b1a0
jne 0x1400cd6cd
mov eax, 0xc637051d
mov bl, 1
jmp 0x1400cd6cd
cmp eax, 0xdd5e499
jg 0x1400cd9d5
cmp eax, 0x7ae3106
jg 0x1400cdba0
cmp eax, 0x59d209c
je 0x1400cdeaa
cmp eax, 0x5d68b14
jne 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x59d209c
mov ecx, 0x1f3ad0a4
jmp 0x1400cd6c0
cmp eax, 0xc3114203
jg 0x1400cda03
cmp eax, 0xb30c2b2c
jg 0x1400cdbcb
cmp eax, 0xabda9aed
je 0x1400cdeb4
cmp eax, 0xb02ac8fe
jne 0x1400cd6cd
mov eax, 0xf9ff1b27
jmp 0x1400cd6cd
cmp eax, 0x6fe7fe6f
jg 0x1400cda51
cmp eax, 0x6a702370
jg 0x1400cdc37
cmp eax, 0x66c01990
je 0x1400cdec1
cmp eax, 0x692725dc
jne 0x1400cd6cd
mov rax, qword [rbp]
mov eax, 0x1b8e96c
jmp 0x1400cd6cd
cmp eax, 0xff3b432a
jg 0x1400cdaae
cmp eax, 0xf5ca89fc
jg 0x1400cdc6b
cmp eax, 0xee32ed1d
je 0x1400cdecb
cmp eax, 0xf1c7d80b
jne 0x1400cd6cd
mov eax, 0xc637051d
xor ebx, ebx
jmp 0x1400cd6cd
cmp eax, 0x329ff593
jg 0x1400cdc9f
cmp eax, 0x2e6c1e23
je 0x1400cdee9
cmp eax, 0x2f6fd5f7
jne 0x1400cd6cd
cmp dword [rbp + 0x14], 0
mov eax, 0xff3b432b
mov ecx, 0xa56ef42b
cmove eax, ecx
jmp 0x1400cd6cd
cmp eax, 0x931b0791
jg 0x1400cdcd3
cmp eax, 0x8c3d6961
je 0x1400cdeff
cmp eax, 0x8e49cc3c
jne 0x1400cd6cd
mov eax, 0xf5ca89fd
jmp 0x1400cd6cd
cmp eax, 0x6194edca
jg 0x1400cdcfa
cmp eax, 0x5c2c07a0
je 0x1400cdf25
cmp eax, 0x5ddc471b
jne 0x1400cd6cd
mov rax, qword [rbp - 8]
mov rax, qword [rbp + 8]
mov eax, 0x329ff594
jmp 0x1400cd6cd
cmp eax, 0xea3d92c3
jg 0x1400cdd28
cmp eax, 0xdc9f5f71
je 0x1400cdf43
cmp eax, 0xdfa17ae9
jne 0x1400cd6cd
mov eax, 0xd3f40c06
jmp 0x1400cd6cd
cmp eax, 0x15f704e2
jg 0x1400cdd8c
cmp eax, 0xdd5e49a
je 0x1400cdf76
cmp eax, 0x11bd0061
jne 0x1400cd6cd
mov eax, 0xc637051d
mov ebx, r13d
jmp 0x1400cd6cd
cmp eax, 0xd21b0587
jg 0x1400cddb8
cmp eax, 0xc3114204
je 0x1400cdf80
cmp eax, 0xc637051d
jne 0x1400cd6cd
mov eax, ebx
and al, 1
mov byte [rbp + 0x1a], al
mov rax, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5a87c9c6
mov ecx, 0x6fe7fe70
jmp 0x1400cd6c0
cmp eax, 0x7bd2d4cc
jg 0x1400cddd8
cmp eax, 0x6fe7fe70
je 0x1400cdf98
cmp eax, 0x79302133
jne 0x1400cd6cd
mov eax, 0x10
call fcn.14015e8f0
sub rsp, rax
mov rax, rsp
mov qword [rbp], rax
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x66c01990
cmove eax, r14d
cmp dword [0x1401746f0], 0xa
cmovl eax, r14d
jmp 0x1400cd6cd
cmp eax, 0x4a79839
jg 0x1400cddff
cmp eax, 0xff3b432b
je 0x1400cdfb6
cmp eax, 0x1b8e96c
jne 0x1400cd6cd
mov rax, qword [rbp]
mov qword [rbp - 0x40], rax
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x692725dc
mov ecx, 0xdb6c40c7
jmp 0x1400cd6c0
cmp eax, 0x38070bb4
je 0x1400cdfc0
cmp eax, 0x3ada373b
jne 0x1400cd6cd
mov cl, byte [rbp + 0x1f]
cmp byte [rbp + 0x1e], 0
mov eax, 0x66c01990
mov edx, 0x79302133
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x1400cd6cd
cmp eax, 0x873bb384
je 0x1400cdfce
cmp eax, 0x8bd82588
jne 0x1400cd6cd
mov rax, qword [rbp - 0x18]
cmp byte [rax], 0
setne byte [rbp + 0x1c]
mov eax, 0xee32ed1d
jmp 0x1400cd6cd
cmp eax, 0x5a87c9c6
je 0x1400cdfdb
cmp eax, 0x5bbc816f
jne 0x1400cd6cd
cmp dword [rbp + 0x14], 0
mov eax, 0x4a7983a
mov ecx, 0x2f6fd5f7
cmovle eax, ecx
jmp 0x1400cd6cd
cmp eax, 0xd9ab57cb
je 0x1400cdfe5
cmp eax, 0xdb6c40c7
jne 0x1400cd6cd
mov eax, 0x6194edcb
jmp 0x1400cd6cd
cmp eax, 0x7ae3107
je 0x1400ce003
cmp eax, 0xa32cc43
jne 0x1400cd6cd
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov eax, 0x8c3d6961
jmp 0x1400cd6cd
cmp eax, 0xb30c2b2d
je 0x1400ce00d
cmp eax, 0xbda8207d
jne 0x1400cd6cd
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
mov rax, qword [rbp - 8]
mov qword [rbp - 0x20], rax
mov r9, qword [rbp - 0x20]
add r9, 0x20
mov rax, qword [rbp + 8]
mov r8, qword [rbp - 0x20]
mov rdi, qword [rcx]
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [rdi + 0x40]
add rsp, 0x30
mov dword [rbp + 0x14], eax
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdc9f5f71
mov ecx, 0xdfa17ae9
jmp 0x1400cd6c0
cmp eax, 0x6a702371
je 0x1400ce01f
cmp eax, 0x6fd19eaf
jne 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x82710690
mov ecx, 0x931b0792
jmp 0x1400cd6c0
cmp eax, 0xf5ca89fd
je 0x1400ce02c
cmp eax, 0xf9ff1b27
jne 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdc9f5f71
mov ecx, 0xbda8207d
jmp 0x1400cd6c0
cmp eax, 0x329ff594
je 0x1400ce04a
cmp eax, 0x33abc640
jne 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x48251539
mov ecx, 0x3d03838f
jmp 0x1400cd6c0
cmp eax, 0x931b0792
je 0x1400ce080
cmp eax, 0xa56ef42b
jne 0x1400cd6cd
mov rax, qword [rbp - 0x18]
mov byte [rax], 0
mov eax, 0x4e741f9f
jmp 0x1400cd6cd
cmp eax, 0x6194edcb
je 0x1400ce0aa
cmp eax, 0x62deded1
jne 0x1400cd6cd
mov eax, dword [rbp + 0x14]
cmp eax, 1
mov eax, 0xff3b432b
mov ecx, 0xa32cc43
cmove eax, ecx
jmp 0x1400cd6cd
cmp eax, 0xea3d92c4
je 0x1400ce0c3
cmp eax, 0xeaf6eb27
jne 0x1400cd6cd
mov eax, 0x10
call fcn.14015e8f0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
mov eax, 0x20
call fcn.14015e8f0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 8], rax
mov eax, 0x10
call fcn.14015e8f0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x10], rax
mov eax, 0x6fd19eaf
jmp 0x1400cd6cd
cmp eax, 0x15f704e3
je 0x1400ce0f3
cmp eax, 0x1f3ad0a4
jne 0x1400cd6cd
cmp byte [rbp + 0x1c], 0
mov eax, 0xabda9aed
mov ecx, 0x5c2c07a0
cmovne eax, ecx
jmp 0x1400cd6cd
cmp eax, 0xd21b0588
je 0x1400ce111
cmp eax, 0xd3f40c06
jne 0x1400cd6cd
mov eax, 0x5bbc816f
jmp 0x1400cd6cd
cmp eax, 0x7bd2d4cd
je 0x1400ce126
cmp eax, 0x7f7baa32
jne 0x1400cd6cd
mov rax, qword [rbp - 0x18]
mov byte [rax], 0
mov eax, 0xd7c8b1a0
jmp 0x1400cd6cd
cmp eax, 0x4a7983a
je 0x1400ce134
cmp eax, 0x4f3a103
jne 0x1400cd6cd
mov rax, qword [rbp - 0x68]
mov rax, qword [rax]
mov edx, dword [rbp - 0x34]
sub rsp, 0x20
mov rcx, rsi
call qword [rax + 0x18]
add rsp, 0x20
mov rcx, qword [rbp]
mov dword [rcx], eax
mov rax, qword [rbp - 0x28]
mov rax, qword [rbp - 0x28]
mov dword [rax], 0xffffffff
mov rax, qword [rbp]
mov rcx, qword [rbp - 0x28]
mov ecx, dword [rcx]
mov edx, 0xaf671489
cmp edx, 0xaf671489
je 0x1400cde65
cmp edx, 0xdd92260c
jne 0x1400cde50
jmp 0x1400ce14c
mov edx, 0xdd92260c
jmp 0x1400cde50
mov eax, 0xa32cc43
jmp 0x1400cd6cd
mov rax, qword [rbp - 0x10]
mov eax, 0x931b0792
jmp 0x1400cd6cd
mov eax, r12d
and al, 1
mov byte [rbp + 0x19], al
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdd5e49a
mov ecx, 0xd64c746e
jmp 0x1400cd6c0
mov eax, 0x5d68b14
jmp 0x1400cd6cd
mov eax, 0x48dd7371
mov r12b, 1
jmp 0x1400cd6cd
mov eax, 0x79302133
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x59d209c
mov ecx, 0x5d68b14
jmp 0x1400cd6c0
cmp byte [rbp + 0x1d], 0
mov eax, 0xabda9aed
mov ecx, 0xb30c2b2d
cmovne eax, ecx
jmp 0x1400cd6cd
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x70]
sub rcx, rax
mov qword [rbp - 0x30], rcx
cmp qword [rbp - 0x30], 0
mov eax, 0xea3d92c4
mov ecx, 0xd21b0588
cmove eax, ecx
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x692725dc
mov ecx, 0x1b8e96c
jmp 0x1400cd6c0
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
mov r8, qword [rbp - 8]
lea r9, [r8 + 0x20]
mov rax, qword [rbp + 8]
mov rdi, qword [rcx]
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [rdi + 0x40]
add rsp, 0x30
mov eax, 0xbda8207d
jmp 0x1400cd6cd
mov eax, 0xd64c746e
jmp 0x1400cd6cd
mov eax, dword [rbp + 0x14]
cmp eax, 3
mov eax, 0xff3b432b
mov ecx, 0x7f7baa32
cmove eax, ecx
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5a87c9c6
mov ecx, 0x7bd2d4cd
jmp 0x1400cd6c0
mov eax, 0xf1c7d80b
jmp 0x1400cd6cd
mov eax, 0x11bd0061
mov r13b, byte [rbp + 0x1b]
jmp 0x1400cd6cd
mov eax, 0x48dd7371
xor r12d, r12d
jmp 0x1400cd6cd
mov eax, 0x6fe7fe70
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5ddc471b
mov ecx, 0x329ff594
jmp 0x1400cd6c0
mov eax, 0xeaf6eb27
jmp 0x1400cd6cd
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x18], rax
mov eax, 0x8bd82588
jmp 0x1400cd6cd
mov eax, 0x11bd0061
xor r13d, r13d
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8e49cc3c
mov ecx, 0x873bb384
jmp 0x1400cd6c0
mov rax, qword [rbp - 8]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rax, qword [rbp + 8]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5ddc471b
mov ecx, 0xb02ac8fe
jmp 0x1400cd6c0
mov rax, qword [rbp - 0x10]
cmp qword [rax], 0
setne byte [rbp + 0x1d]
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x82710690
mov ecx, 0x2e6c1e23
jmp 0x1400cd6c0
mov rax, qword [rbp - 0x40]
mov dword [rbp - 0x34], 0xffffffff
mov qword [rbp - 0x68], rsi
mov eax, 0x4f3a103
jmp 0x1400cd6cd
mov r9, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x30]
sub rsp, 0x20
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x20
mov qword [rbp - 0x78], rax
mov eax, 0x83268efc
jmp 0x1400cd6cd
mov eax, dword [0x1401746ec]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8e49cc3c
mov ecx, 0xf5ca89fd
jmp 0x1400cd6c0
mov rax, qword [rbp - 0x18]
cmp byte [rax], 0
sete byte [rbp + 0x1b]
mov eax, 0x38070bb4
jmp 0x1400cd6cd
mov eax, 0x48dd7371
mov r12b, byte [rbp + 0x1a]
jmp 0x1400cd6cd
mov eax, dword [rbp + 0x14]
cmp eax, 3
mov eax, 0xc3114204
mov ecx, 0x62deded1
cmovl eax, ecx
jmp 0x1400cd6cd
mov dword [rbp - 0x38], ecx
mov ecx, dword [rbp - 0x38]
cmp ecx, dword [rax]
mov rax, qword [rbp - 0x40]
mov eax, 0xd9ab57cb
mov ecx, 0x15f704e3
cmove eax, ecx
jmp 0x1400cd6cd
cmp eax, 0x406dfe64
jne 0x1400cd6cd
mov bl, byte [rbp + 0x19]
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
sub rsp, 0x20
call fcn.14015e950
add rsp, 0x20
mov eax, ebx
lea rsp, [rbp + 0x28]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret