Function at 0x1801884c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x18030e600]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [0x180314ab0]
test rcx, rcx
mov ecx, 0xd7199343
mov r14d, 0xd3561edc
cmove r14d, ecx
mov dword [rax + 0x2f28], 0
mov eax, 0xa05b5951
lea rdi, [rsp + 0x48]
lea rbx, [0x1803069a2]
mov r15d, 0xd212f249
mov r12d, 0xd85f5889
mov r13d, 0x14a8f5f
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2ce66f44
mov ecx, 0xa240893f
nop word cs:[rax + rax]
nop dword [rax]
cmove eax, ecx
cmp dword [0x1803152f4], 0xa
cmovl eax, ecx
cmp eax, 0xea14fd29
jg 0x1801885c0
cmp eax, 0xb19406b3
jle 0x180188630
cmp eax, 0xd212f248
jle 0x1801886d5
cmp eax, 0xd85f5888
jg 0x1801887bf
cmp eax, 0xd212f249
je 0x180188977
cmp eax, 0xd3561edc
je 0x180188995
cmp eax, 0xd7199343
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8774e8fa
mov ecx, 0xdf3ef15c
jmp 0x180188550
cmp eax, 0x3106541c
jle 0x180188680
cmp eax, 0x55dcf168
jle 0x18018870b
cmp eax, 0x68bb152d
jg 0x1801887fe
cmp eax, 0x55dcf169
je 0x1801889b3
cmp eax, 0x615b9a75
je 0x1801889db
cmp eax, 0x66a3ca45
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x17628231
cmove eax, r13d
cmp dword [0x1803152f4], 0xa
cmovl eax, r13d
jmp 0x18018855d
cmp eax, 0xa240893e
jle 0x180188755
cmp eax, 0xaa2fa9aa
jg 0x18018884e
cmp eax, 0xa240893f
je 0x180188a03
cmp eax, 0xa7927e1c
je 0x180188a0d
cmp eax, 0xa7b20697
jne 0x18018855d
mov eax, 0x3d278e17
jmp 0x18018855d
cmp eax, 0x17628230
jg 0x180188789
cmp eax, 0xf314ee41
jle 0x180188882
cmp eax, 0xf314ee42
je 0x180188a3d
cmp eax, 0xf3315b40
je 0x180188a7e
cmp eax, 0x14a8f5f
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x19e33429
mov ecx, 0xac448e0a
jmp 0x180188550
cmp eax, 0xc1097431
jle 0x1801888b6
cmp eax, 0xc1097432
je 0x180188a88
cmp eax, 0xc8f77dff
je 0x180188a92
cmp eax, 0xcb1a55a5
jne 0x18018855d
mov eax, 0x45cd87a1
jmp 0x18018855d
cmp eax, 0x45cd87a0
jle 0x1801888ea
cmp eax, 0x45cd87a1
je 0x180188ab0
cmp eax, 0x4724ca0c
je 0x180188ace
cmp eax, 0x48af000f
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xcb1a55a5
mov ecx, 0x45cd87a1
jmp 0x180188550
cmp eax, 0x87ec6e41
jle 0x180188923
cmp eax, 0x87ec6e42
je 0x180188af4
cmp eax, 0x96062a0c
je 0x180188b12
cmp eax, 0xa05b5951
jne 0x18018855d
mov eax, r14d
jmp 0x18018855d
cmp eax, 0x19e33428
jle 0x180188943
cmp eax, 0x19e33429
je 0x180188b29
cmp eax, 0x1bc57cad
je 0x180188b33
cmp eax, 0x2ce66f44
jne 0x18018855d
mov eax, 0xd85f5889
jmp 0x18018855d
cmp eax, 0xd85f5889
je 0x18018852a
cmp eax, 0xdb870c61
je 0x180188b51
cmp eax, 0xdf3ef15c
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x68bb152e
mov ecx, 0xaa2fa9ab
jmp 0x180188550
cmp eax, 0x68bb152e
je 0x180188baa
cmp eax, 0x6abec432
je 0x180188bb4
cmp eax, 0x7b49a9f0
jne 0x18018855d
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x30]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 0x3d278e17
jmp 0x18018855d
cmp eax, 0xaa2fa9ab
je 0x180188bbe
cmp eax, 0xac448e0a
jne 0x180188c38
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x19e33429
mov ecx, 0x1bc57cad
jmp 0x180188550
cmp eax, 0xea14fd2a
je 0x180188bdc
cmp eax, 0xeff0cbb4
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x3106541d
mov ecx, 0xea14fd2a
jmp 0x180188550
cmp eax, 0xb19406b4
je 0x180188c10
cmp eax, 0xbec304ee
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x615b9a75
mov ecx, 0x6abec432
jmp 0x180188550
cmp eax, 0x3106541d
je 0x180188c1a
cmp eax, 0x3d278e17
jne 0x18018855d
mov rax, qword [rsp + 0x38]
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc1097432
mov ecx, 0x183f5413
jmp 0x180188550
cmp eax, 0x8774e8fa
je 0x180188c24
cmp eax, 0x87df4e42
jne 0x18018855d
mov eax, 0xa7927e1c
jmp 0x18018855d
cmp eax, 0x17628231
je 0x180188c2e
cmp eax, 0x183f5413
jne 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc1097432
mov ecx, 0x55dcf169
jmp 0x180188550
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x87df4e42
mov ecx, 0xa7927e1c
jmp 0x180188550
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4724ca0c
mov ecx, 0xdb870c61
jmp 0x180188550
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x615b9a75
cmove eax, r15d
cmp dword [0x1803152f4], 0xa
cmovl eax, r15d
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2ce66f44
cmove eax, r12d
cmp dword [0x1803152f4], 0xa
cmovl eax, r12d
jmp 0x18018855d
mov eax, 0xd212f249
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbec304ee
mov ecx, 0x87df4e42
cmovne eax, ecx
cmp dword [0x1803152f4], 9
mov ecx, 0xbec304ee
cmovle eax, ecx
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp dword [0x1803152f4], 9
setg dl
xor al, dl
mov rbp, rbx
mov ebx, eax
xor bl, 1
and cl, dl
or cl, bl
mov rbx, rbp
xor cl, al
mov eax, 0x8774e8fa
mov ecx, 0xf3315b40
cmovne eax, ecx
jmp 0x18018855d
mov eax, 0x66a3ca45
jmp 0x18018855d
mov eax, 0x183f5413
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb19406b4
mov ecx, 0x48af000f
jmp 0x180188550
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xcb1a55a5
mov ecx, 0xa7b20697
jmp 0x180188550
mov qword [rsp + 0x48], 0
mov rcx, rdi
call fcn.1802076a0
mov rcx, rsi
mov rdx, rbx
call fcn.18014fc70
mov eax, 0xdb870c61
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb19406b4
mov ecx, 0xc8f77dff
jmp 0x180188550
cmp byte [rsp + 0x2f], 0
mov eax, 0x87ec6e42
mov ecx, 0x7b49a9f0
cmovne eax, ecx
jmp 0x18018855d
mov eax, 0xac448e0a
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x17628231
mov ecx, 0xeff0cbb4
jmp 0x180188550
mov qword [rsp + 0x38], rdi
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], 0
mov rcx, rdi
call fcn.1802076a0
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov rdx, rbx
call fcn.18014fc70
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
setne byte [rsp + 0x2f]
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4724ca0c
mov ecx, 0x96062a0c
jmp 0x180188550
mov eax, 0xaa2fa9ab
jmp 0x18018855d
mov eax, 0x66a3ca45
jmp 0x18018855d
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x68bb152e
mov ecx, 0xf314ee42
jmp 0x180188550
mov eax, dword [0x1803152f0]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp dword [0x1803152f4], 0xa
setl dl
xor cl, dl
and al, dl
xor al, cl
mov eax, 0xae3033ae
mov ecx, 0x3106541d
cmovne eax, ecx
jmp 0x18018855d
mov eax, 0xc8f77dff
jmp 0x18018855d
mov eax, 0xea14fd2a
jmp 0x18018855d
mov eax, 0xdf3ef15c
jmp 0x18018855d
mov eax, 0x14a8f5f
jmp 0x18018855d
cmp eax, 0xae3033ae
jne 0x18018855d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1802fdc10
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret