Function at 0x1400568a0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp], rax
call fcn.14002c7a0
movabs rax, 0xad77fbce3a73aafc
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rax
movabs rsi, 0xcc1b97ab5900c3b1
mov rax, qword [rsp + 0x40]
movabs rdi, 0xdc7c6bce8f33f6a6
mov qword [rbp - 0x70], rax
movabs rax, 0xdc7c6bbdfa5c93c8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x28], rax
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x70], xmm0
call fcn.14001a140
mov rbx, qword [0x1400a1e68]
call fcn.14002c600
movss dword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x68]
movss xmm0, dword [rbx + 0x3820]
lea rcx, [rbp - 0x60]
addss xmm0, xmm0
movabs rax, 0xcc1bf3ca366cade4
addss xmm0, dword [rbx + 0x3c10]
movss dword [rsp + 0x6c], xmm0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x60], xmm0
call fcn.140047f00
test al, al
je 0x1400569d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov qword [rsp + 0x130], r12
call fcn.140024220
mov ecx, 2
call fcn.14001d840
call fcn.140024220
call fcn.14002c8d0
movss xmm1, dword [0x140069184]
xorps xmm0, xmm0
call fcn.14002c550
call fcn.14002c7a0
movabs rax, 0xcc1bf0c23f6eacf2
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 8], rax
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.14001a140
xor edi, edi
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rdi
lea r8, [0x1400a1e90]
mov dword [rsp + 0x28], edi
lea rcx, str.cfgname
mov r9d, 0x9b
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.14004d050
mov rbx, qword [0x1400a1e68]
call fcn.14002c600
cmp byte [0x14006866b], dil
mov eax, dword [0x140068668]
mov esi, dword [0x140073088]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rbx + 0x3820]
addss xmm0, xmm0
addss xmm0, dword [rbx + 0x3c10]
mov dword [rsp + 0x50], eax
movss dword [rsp + 0x7c], xmm0
movsd xmm0, qword [str._UCS]
movsd qword [rsp + 0x48], xmm0
je 0x140056c54
mov r8d, edi
cmp esi, 2
jl 0x140056c07
movdqa xmm2, xmmword [0x140069250]
mov r8d, 8
movdqa xmm3, xmmword [0x140069280]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140069430]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400692b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str._UCS]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400692f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.33333333333333334444444444444444]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x48], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400692b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x4c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400692f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.33333333333333334444444444444444]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x140056c20
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.140047f00
mov r12d, 4
test al, al
je 0x140057404
lea r8, [0x1400685d4]
lea rdx, [0x1400a1e90]
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140057404
mov qword [rsp + 0x138], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x140], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730cd]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730cf]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d0]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword gs:[0x58]
mov r15, qword [rbp - 0x40]
mov r14, qword [rax]
mov eax, dword [r12 + r14]
cmp dword [0x1400a28c0], eax
jle 0x140056d58
lea rcx, [0x1400a28c0]
call fcn.14005c4c0
cmp dword [0x1400a28c0], 0xffffffff
jne 0x140056d58
lea rcx, [0x1400a28c0]
mov dword [0x1400a28a8], 1
mov dword [0x1400a28ac], 2
mov dword [0x1400a28b0], 3
call fcn.14005c454
mov edx, 4
lea rcx, [0x1400a28a8]
mov r9, r15
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730dc]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d6]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d7]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730c8]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [r12 + r14]
cmp dword [0x1400a28c0], eax
mov r15, qword [rbp - 0x40]
mov r14, qword [rsp + 0x138]
jle 0x140056e2d
lea rcx, [0x1400a28c0]
call fcn.14005c4c0
cmp dword [0x1400a28c0], 0xffffffff
jne 0x140056e2d
lea rcx, [0x1400a28c0]
mov dword [0x1400a28a8], 1
mov dword [0x1400a28ac], 2
mov dword [0x1400a28b0], 3
call fcn.14005c454
mov edx, 4
lea rcx, [0x1400a28ac]
mov r9, r15
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d8]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d9]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d4]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730b8]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730bc]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730c0]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730d5]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730e0]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 6]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 5]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0xd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0x12]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400a1e79]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x14007310c]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073110]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0xf]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 4
mov r9, rbx
lea rcx, [rax + 0x70]
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 4
mov r9, rbx
lea rcx, [rax + 0x78]
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov r9, rbx
lea rcx, [rax + 0x74]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0xb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0xa]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rbp - 0x40]
call fcn.140006ff0
mov edx, 1
mov r9, rbx
mov r8d, edx
lea rcx, [rax + 0xc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f1]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f2]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f6]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x14007311a]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x14007311b]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073118]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f5]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073100]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073104]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f9]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730fc]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
mov edx, 1
mov r8d, edx
lea rcx, [0x1400730fb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730fd]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f7]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f8]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073108]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073115]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x14007311c]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073120]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073124]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073128]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x14007312c]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x1400730f0]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073130]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x40]
lea rcx, [0x140073135]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r15, qword [rsp + 0x140]
mov rbx, qword [0x1400a1e68]
call fcn.14002c600
cmp byte [0x14006861b], dil
mov eax, dword [0x140068618]
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rbx + 0x3820]
addss xmm0, xmm0
addss xmm0, dword [rbx + 0x3c10]
mov dword [rsp + 0x60], eax
movss dword [rbp - 0x7c], xmm0
movsd xmm0, qword [0x140068610]
movsd qword [rsp + 0x58], xmm0
je 0x1400575a0
cmp esi, 2
jl 0x140057565
movdqa xmm2, xmmword [0x140069250]
mov edi, 8
movdqa xmm3, xmmword [0x140069280]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140069430]
movdqa xmm0, xmm2
mov eax, dword [str.33333333333333334444444444444444]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400692b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400692f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140068610]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x58], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400692b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400692f0]
movd xmm1, dword [rsp + 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x5c], xmm2
movsxd rax, edi
lea r8, [rsp + 0x58]
add r8, rax
mov eax, 0x92492493
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, dil
inc edi
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp edi, 0xc
jl 0x140057570
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140047f00
test al, al
je 0x140057ee6
lea r8, [0x1400685d8]
lea rdx, [0x1400a1e90]
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140057ee6
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730cd]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730cf]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d0]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword gs:[0x58]
mov rsi, qword [rbp - 0x38]
mov rdi, qword [rax]
mov eax, dword [r12 + rdi]
cmp dword [0x1400a28c0], eax
jle 0x1400576a5
lea rcx, [0x1400a28c0]
call fcn.14005c4c0
cmp dword [0x1400a28c0], 0xffffffff
jne 0x1400576a5
lea rcx, [0x1400a28c0]
mov dword [0x1400a28a8], 1
mov dword [0x1400a28ac], 2
mov dword [0x1400a28b0], 3
call fcn.14005c454
mov edx, 4
mov qword [rsp + 0x20], rsi
mov r8d, edx
lea rcx, [0x1400a28a8]
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730dc]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d6]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d7]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730c8]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov eax, dword [r12 + rdi]
cmp dword [0x1400a28c0], eax
mov rsi, qword [rbp - 0x38]
jle 0x140057797
lea rcx, [0x1400a28c0]
call fcn.14005c4c0
cmp dword [0x1400a28c0], 0xffffffff
jne 0x140057797
lea rcx, [0x1400a28c0]
mov dword [0x1400a28a8], 1
mov dword [0x1400a28ac], 2
mov dword [0x1400a28b0], 3
call fcn.14005c454
mov edx, 4
mov qword [rsp + 0x20], rsi
mov r8d, edx
lea rcx, [0x1400a28ac]
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d8]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d9]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d4]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730b8]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730bc]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730c0]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730d5]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730e0]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
lea rcx, [rax + 2]
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 6]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 5]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0xd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0x12]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400a1e79]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x14007310c]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073110]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0xf]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 4
mov qword [rsp + 0x20], rbx
mov r8d, edx
lea rcx, [rax + 0x70]
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 4
mov qword [rsp + 0x20], rbx
mov r8d, edx
lea rcx, [rax + 0x78]
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 4
mov qword [rsp + 0x20], rbx
mov r8d, edx
lea rcx, [rax + 0x74]
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0xb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0xa]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rbx, qword [rbp - 0x38]
call fcn.140006ff0
mov edx, 1
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rcx, [rax + 0xc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f1]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f2]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov edx, 1
lea rcx, [0x1400730f6]
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x14007311a]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x14007311b]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073118]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f5]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073100]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073104]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f9]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730fc]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730fb]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730fd]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f7]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f8]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073108]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073115]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x14007311c]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073120]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073124]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073128]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x14007312c]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x1400730f0]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073130]
mov edx, 4
mov qword [rsp + 0x20], rax
mov r8d, edx
lea r9d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rax, qword [rbp - 0x38]
lea rcx, [0x140073135]
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.140024220
mov ecx, 2
call fcn.14001d840
call fcn.140024220
call fcn.14002c8d0
mov r12, qword [rsp + 0x130]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14005c070
mov rbx, qword [rsp + 0x148]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
add rcx, 8
jmp 0x1400568a0