Function at 0x471af0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rcx, [0x013fac40]
mov edx, 0x3f8
call fcn.004650a0
mov edx, 0xc161726
lea rcx, [0x013e5620]
mov r12, rax
lea rax, [0x013fac00]
mov qword [r12], rax
call fcn.00464e30
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [0x013fabf8]
mov r8d, 0x1000
mov edx, 8
mov rcx, rax
call qword [0x013fabf0]
lea rcx, [0x013e55e0]
mov edx, 0x2cc670c2
mov dword [rsp + 0x48], 0
lea rbp, [rax + 0x15]
mov rbx, rax
lea rax, [rax + 0x2a]
mov qword [0x013fabe8], rbx
mov qword [rsp + 0x30], rax
mov qword [0x013fabe0], rax
call fcn.00464e30
lea rcx, [0x013e424b]
test rax, rax
je 0x471ba6
cmp qword [rax], 0
lea rdx, [rax + 0x10]
cmovne rcx, rdx
mov rdx, rbx
call fcn.0046d4d0
lea r14, [rsp + 0x70]
mov edx, 0x3e638166
lea rcx, [0x013e55a0]
mov esi, eax
call fcn.00464e30
movsxd rdx, esi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r15, rax
call fcn.00467c50
test r15, r15
mov r13, qword [rsp + 0x70]
je 0x473130
test r13, r13
mov rsi, qword [r15]
je 0x472b80
add rsi, qword [r13]
mov eax, 7
cmp rsi, 7
cmovl rsi, rax
lea rcx, [rsi + 0x11]
call fcn.004704f0
lea rdx, [r15 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rsi
mov qword [rax], 0
mov rax, qword [r15]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r15]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [r13]
lea rdx, [r13 + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
add qword [rdi], rax
mov rsi, qword [fcn.00474b60]
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rcx, [0x013e5560]
mov edx, 0x1ca4b382
call fcn.00464e30
lea rcx, [0x013e424b]
test rax, rax
je 0x471cca
cmp qword [rax], 0
lea rdx, [rax + 0x10]
cmovne rcx, rdx
mov rdx, rbp
call fcn.0046d4d0
mov edx, 0x194695a6
lea rcx, [0x013e5520]
mov edi, eax
call fcn.00464e30
movsxd rdx, edi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r15, rax
call fcn.00467c50
test r15, r15
mov rbp, qword [rsp + 0x70]
je 0x473170
test rbp, rbp
mov r13, qword [r15]
je 0x473300
add r13, qword [rbp]
mov eax, 7
cmp r13, 7
cmovl r13, rax
lea rcx, [r13 + 0x11]
call fcn.004704f0
lea rdx, [r15 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], r13
mov qword [rax], 0
mov rax, qword [r15]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r15]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [rbp]
lea rdx, [rbp + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp]
add qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rcx, [0x013e54e0]
mov edx, 0x701d9442
call fcn.00464e30
lea rcx, [0x013e424b]
test rax, rax
je 0x471de2
cmp qword [rax], 0
lea rdx, [rax + 0x10]
cmovne rcx, rdx
mov rdx, qword [rsp + 0x30]
call fcn.0046d4d0
mov edx, 0x409063e6
lea rcx, [0x013e54a0]
mov edi, eax
call fcn.00464e30
movsxd rdx, edi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r13, rax
call fcn.00467c50
test r13, r13
mov r15, qword [rsp + 0x70]
je 0x473270
test r15, r15
mov rbp, qword [r13]
je 0x4732b0
add rbp, qword [r15]
mov eax, 7
cmp rbp, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r13]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [r15]
lea rdx, [r15 + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
add qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov edx, 0x94d4302
lea rcx, [0x013e5470]
call fcn.00464e30
lea rdx, [rbx + 0x93]
lea rcx, [0x013e424b]
test rax, rax
je 0x471f03
cmp qword [rax], 0
lea r8, [rax + 0x10]
cmovne rcx, r8
call fcn.0046d4d0
mov edx, 0x26a07c26
lea rcx, [0x013e5440]
mov edi, eax
call fcn.00464e30
movsxd rdx, edi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r13, rax
call fcn.00467c50
test r13, r13
mov r15, qword [rsp + 0x70]
je 0x473230
test r15, r15
mov rbp, qword [r13]
je 0x4733f0
add rbp, qword [r15]
mov eax, 7
cmp rbp, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r13]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [r15]
lea rdx, [r15 + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
add qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rax, [rbx + 0x126]
mov edx, 0x74a36fc2
lea rcx, [0x013e5400]
mov qword [rsp + 0x30], rax
call fcn.00464e30
lea rdx, [rbx + 0x111]
lea rcx, [0x013e424b]
test rax, rax
je 0x47202b
cmp qword [rax], 0
lea r8, [rax + 0x10]
cmovne rcx, r8
call fcn.0046d4d0
mov edx, 0x5f48ee66
lea rcx, [0x013e53c0]
mov edi, eax
call fcn.00464e30
movsxd rdx, edi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r13, rax
call fcn.00467c50
test r13, r13
mov r15, qword [rsp + 0x70]
je 0x4731f0
test r15, r15
mov rbp, qword [r13]
je 0x4733a0
add rbp, qword [r15]
mov eax, 7
cmp rbp, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r13]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [r15]
lea rdx, [r15 + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
add qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rcx, [0x013e5380]
mov edx, 0x65cf4a82
call fcn.00464e30
lea rcx, [0x013e424b]
test rax, rax
je 0x472140
cmp qword [rax], 0
lea rdx, [rax + 0x10]
cmovne rcx, rdx
lea rdx, [rbx + 0x126]
call fcn.0046d4d0
mov edx, 0x47524aa6
lea rcx, [0x013e5340]
mov edi, eax
call fcn.00464e30
movsxd rdx, edi
mov rcx, r14
mov qword [rsp + 0x70], 0
mov r13, rax
call fcn.00467c50
test r13, r13
mov r15, qword [rsp + 0x70]
je 0x4731b0
test r15, r15
mov rbp, qword [r13]
je 0x473350
add rbp, qword [r15]
mov eax, 7
cmp rbp, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [r13]
mov qword [rdi], rcx
add rcx, 0x10
mov rax, qword [r15]
lea rdx, [r15 + 0x10]
add rcx, rdi
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
add qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
xor edi, edi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea r9, [rsp + 0x48]
mov edx, 0x15
mov rcx, rbx
mov r8d, 0x20
call qword [0x013fabd8]
mov edx, 0x6c8b8342
lea rcx, [0x013e5140]
call fcn.00464e30
mov edx, 0x219fa0e6
lea rcx, [0x013e5040]
call fcn.00464e30
mov r8d, 0x3c8
xor edx, edx
lea rcx, [r12 + 0x30]
call sub.msvcrt.dll_memset
mov edx, 0x544a4a02
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], 0
lea rcx, [0x013e4fe0]
mov qword [r12 + 0x20], 0
mov qword [r12 + 0x28], 0
call fcn.00464e30
mov edx, 0x32f28126
lea rcx, [0x013e4f80]
call fcn.00464e30
mov edx, 0x23ff9fa6
lea rcx, [0x013e4ee0]
call fcn.00464e30
mov edx, 0x51685242
lea rcx, [0x013e4dc0]
call fcn.00464e30
mov edx, 0x69397de6
lea rcx, [0x013e4d40]
call fcn.00464e30
mov edx, 0xb813102
lea rcx, [0x013e4b60]
call fcn.00464e30
mov edx, 0x1e602626
lea rcx, [0x013e4960]
call fcn.00464e30
mov edx, 0x775c0dc2
lea rcx, [0x013e48c0]
call fcn.00464e30
mov rbp, qword [0x013e9490]
test rbp, rbp
je 0x47233e
mov rdi, qword [rbp]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x50], 0
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x50]
mov r9, rax
mov dword [rsp + 0x4c], 4
lea r13, [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
call qword [0x013fabe0]
test eax, eax
js 0x473586
lea rcx, [0x013e4860]
mov edx, 0x57b65d82
call fcn.00464e30
mov ecx, 1
lea r15, [0x013e4580]
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov edx, 0x64f8d02
lea rcx, [0x013e4820]
call fcn.00464e30
mov rbx, qword [rsp + 0x50]
mov ecx, 0x21
mov r14, rax
mov qword [rsp + 0x70], rax
mov rdx, rbx
shr rdx, 0x3f
mov qword [rsp + 0x38], rdx
call fcn.004704f0
movdqa xmm0, xmmword [0x013e5860]
mov r8, rax
mov rdx, qword [rsp + 0x38]
movups xmmword [rax], xmm0
mov rax, rbx
and eax, 0xf
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x1f], al
mov rax, rbx
shr rax, 4
test rax, rax
jne 0x472bc3
test dl, dl
je 0x472bc3
mov word [r8 + 0x1d], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x1c], al
jne 0x472bf9
test dl, dl
je 0x472bf9
mov word [r8 + 0x1a], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x19], al
jne 0x472c2f
test dl, dl
je 0x472c2f
mov word [r8 + 0x17], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x16], al
jne 0x472c65
test dl, dl
je 0x472c65
mov word [r8 + 0x14], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x13], al
jne 0x472c9b
test dl, dl
je 0x472c9b
mov word [r8 + 0x11], 0x4646
movabs rbx, 0xffffffffffffff
and ebx, 0xf
movzx eax, byte [r15 + rbx + 0x10]
mov byte [r8 + 0x10], al
lea rcx, [0x013e47f0]
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x38], r8
call fcn.00464c10
mov ecx, 1
mov rbx, rax
mov qword [rsp + 0x80], rax
call rsi
mov rdx, r14
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, rax
mov rdx, r8
call fcn.00470b90
mov ecx, 1
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov edx, 1
mov r8d, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
test rdi, rdi
mov rdx, qword [rsp + 0x50]
jle 0x472790
lea rax, [r13 + 0x10]
cmp rdx, rax
lea rax, [rdx + 0x10]
setae cl
cmp r13, rax
setae al
or cl, al
je 0x473440
lea rax, [rdi - 1]
cmp rax, 0xe
jbe 0x473440
mov rcx, rdi
xor eax, eax
and rcx, 0xfffffffffffffff0
nop dword [rax + rax]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rax + 0x10]
movups xmmword [rdx + rax], xmm1
add rax, 0x10
cmp rcx, rax
jne 0x472630
mov rax, rdi
and rax, 0xfffffffffffffff0
cmp rax, rdi
je 0x472790
movzx ecx, byte [rbp + rax + 0x10]
mov byte [rdx + rax], cl
lea rcx, [rax + 1]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 1]
mov byte [rdx + rax + 1], cl
lea rcx, [rax + 2]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 2]
mov byte [rdx + rax + 2], cl
lea rcx, [rax + 3]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 3]
mov byte [rdx + rax + 3], cl
lea rcx, [rax + 4]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 4]
mov byte [rdx + rax + 4], cl
lea rcx, [rax + 5]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 5]
mov byte [rdx + rax + 5], cl
lea rcx, [rax + 6]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 6]
mov byte [rdx + rax + 6], cl
lea rcx, [rax + 7]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 7]
mov byte [rdx + rax + 7], cl
lea rcx, [rax + 8]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 8]
mov byte [rdx + rax + 8], cl
lea rcx, [rax + 9]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 9]
mov byte [rdx + rax + 9], cl
lea rcx, [rax + 0xa]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 0xa]
mov byte [rdx + rax + 0xa], cl
lea rcx, [rax + 0xb]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 0xb]
mov byte [rdx + rax + 0xb], cl
lea rcx, [rax + 0xc]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 0xc]
mov byte [rdx + rax + 0xc], cl
lea rcx, [rax + 0xd]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 0xd]
mov byte [rdx + rax + 0xd], cl
lea rcx, [rax + 0xe]
cmp rdi, rcx
jle 0x472790
movzx ecx, byte [r13 + rax + 0xe]
mov byte [rdx + rax + 0xe], cl
nop
nop word cs:[rax + rax]
lea rcx, [0x013e47c0]
mov edx, 0x713afa26
call fcn.00464e30
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov edx, 1
mov r8d, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rax, qword [0x013e9418]
mov edx, 0x10
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x472805
lea rdx, [rcx + 0xf]
neg rcx
and rdx, rcx
mov rbx, rdi
imul rbx, qword [rax]
mov rax, rbx
jo 0x473581
xor ebx, ebx
add rdx, rax
seto bl
test rbx, rbx
jne 0x473581
lea rcx, [0x013e9400]
call fcn.004650a0
movq xmm0, rdi
test rdi, rdi
punpcklqdq xmm0, xmm0
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
jle 0x4729f0
lea rdx, [rax + 0x20]
cmp r13, rdx
lea rdx, [r13 + 0x10]
setae r8b
cmp rcx, rdx
setae dl
or r8b, dl
je 0x472de0
lea rdx, [rdi - 1]
cmp rdx, 0xe
jbe 0x472de0
mov rdx, rdi
and rdx, 0xfffffffffffffff0
lea r8, [rdx + 0x10]
mov edx, 0x10
nop word [rax + rax]
movdqu xmm2, xmmword [rax + rdx]
movups xmmword [rbp + rdx], xmm2
add rdx, 0x10
cmp r8, rdx
jne 0x472890
mov rdx, rdi
and rdx, 0xfffffffffffffff0
cmp rdx, rdi
je 0x4729f0
movzx eax, byte [rax + rdx + 0x10]
mov byte [rbp + rdx + 0x10], al
lea rax, [rdx + 1]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 1]
mov byte [r13 + rdx + 1], al
lea rax, [rdx + 2]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 2]
mov byte [r13 + rdx + 2], al
lea rax, [rdx + 3]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 3]
mov byte [r13 + rdx + 3], al
lea rax, [rdx + 4]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 4]
mov byte [r13 + rdx + 4], al
lea rax, [rdx + 5]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 5]
mov byte [r13 + rdx + 5], al
lea rax, [rdx + 6]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 6]
mov byte [r13 + rdx + 6], al
lea rax, [rdx + 7]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 7]
mov byte [r13 + rdx + 7], al
lea rax, [rdx + 8]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 8]
mov byte [r13 + rdx + 8], al
lea rax, [rdx + 9]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 9]
mov byte [r13 + rdx + 9], al
lea rax, [rdx + 0xa]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 0xa]
mov byte [r13 + rdx + 0xa], al
lea rax, [rdx + 0xb]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 0xb]
mov byte [r13 + rdx + 0xb], al
lea rax, [rdx + 0xc]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 0xc]
mov byte [r13 + rdx + 0xc], al
lea rax, [rdx + 0xd]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 0xd]
mov byte [r13 + rdx + 0xd], al
lea rax, [rdx + 0xe]
cmp rdi, rax
jle 0x4729f0
movzx eax, byte [rcx + rdx + 0xe]
mov byte [r13 + rdx + 0xe], al
nop word cs:[rax + rax]
lea rcx, [0x013e4780]
mov edx, 0x65d7c9c2
call fcn.00464e30
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rax, qword [rsp + 0x50]
mov rcx, r12
mov qword [0x013e9488], rax
mov qword [0x013e9480], rax
call fcn.0046b160
mov rax, qword [rsp + 0x50]
mov r9d, 0x20
mov rcx, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
call qword [0x013fabe8]
mov edx, 0x78e6e8c2
lea rcx, [0x013e4700]
movsxd rbp, eax
call fcn.00464e30
mov ecx, 0x19
mov r13d, ebp
mov rbx, rbp
mov rdi, rax
shr r13d, 0x1f
call fcn.004704f0
movdqa xmm0, xmmword [0x013e5870]
mov r12, rax
movups xmmword [rax], xmm0
mov eax, ebp
and eax, 0xf
movzx eax, byte [r15 + rax + 0x10]
mov byte [r12 + 0x17], al
mov rax, rbp
shr rax, 4
test rax, rax
jne 0x472df7
test r13b, r13b
je 0x472df7
mov word [r12 + 0x15], 0x4646
movabs rax, 0xffffffffffffff
mov rdx, rax
shr rax, 4
and edx, 0xf
test rax, rax
movzx edx, byte [r15 + rdx + 0x10]
mov byte [r12 + 0x14], dl
jne 0x472e30
test r13b, r13b
je 0x472e30
mov word [r12 + 0x12], 0x4646
movabs rax, 0xffffffffffffff
mov rdx, rax
shr rax, 4
and edx, 0xf
test rax, rax
movzx edx, byte [r15 + rdx + 0x10]
mov byte [r12 + 0x11], dl
jne 0x472e69
test r13b, r13b
je 0x472e69
mov byte [r12 + 0x10], 0x46
jmp 0x472e90
cmp rsi, 7
mov eax, 7
cmovl rsi, rax
lea rcx, [rsi + 0x11]
call fcn.004704f0
lea rdx, [r15 + 0x10]
mov qword [rax + 8], rsi
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r15]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
mov qword [rdi], rax
jmp 0x471c58
and eax, 0xf
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x1e], al
mov rax, rbx
shr rax, 8
test rax, rax
jne 0x472cd0
test dl, dl
je 0x472cd0
mov word [r8 + 0x1c], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x1b], al
jne 0x472d03
test dl, dl
je 0x472d03
mov word [r8 + 0x19], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x18], al
jne 0x472d39
test dl, dl
je 0x472d39
mov word [r8 + 0x16], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x15], al
jne 0x472d6f
test dl, dl
je 0x472d6f
mov word [r8 + 0x13], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x12], al
jne 0x472da5
test dl, dl
je 0x472da5
mov word [r8 + 0x10], 0x4646
jmp 0x472554
and eax, 0xf
shr rbx, 0xc
movzx eax, byte [r15 + rax + 0x10]
test rbx, rbx
mov byte [r8 + 0x1d], al
jne 0x47246f
test dl, dl
je 0x47246f
mov word [r8 + 0x1b], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x1a], al
jne 0x4724a5
test dl, dl
je 0x4724a5
mov word [r8 + 0x18], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x17], al
jne 0x4724db
test dl, dl
je 0x4724db
mov word [r8 + 0x15], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x14], al
jne 0x472511
test dl, dl
je 0x472511
mov word [r8 + 0x12], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
shr rbx, 4
and eax, 0xf
test rbx, rbx
movzx eax, byte [r15 + rax + 0x10]
mov byte [r8 + 0x11], al
jne 0x472547
test dl, dl
je 0x472547
mov byte [r8 + 0x10], 0x46
jmp 0x472554
movzx edx, byte [rax + rbx + 0x10]
mov byte [rbp + rbx + 0x10], dl
add rbx, 1
cmp rdi, rbx
jne 0x472de0
jmp 0x4729f0
and eax, 0xf
movzx eax, byte [r15 + rax + 0x10]
mov byte [r12 + 0x16], al
mov rax, rbp
shr rax, 8
test rax, rax
jne 0x472f17
test r13b, r13b
je 0x472f17
mov word [r12 + 0x14], 0x4646
movabs rax, 0xffffffffffffff
mov rdx, rax
shr rax, 4
and edx, 0xf
test rax, rax
movzx edx, byte [r15 + rdx + 0x10]
mov byte [r12 + 0x13], dl
jne 0x472f50
test r13b, r13b
je 0x472f50
mov word [r12 + 0x11], 0x4646
movabs rax, 0xffffffffffffff
mov rdx, rax
shr rax, 4
and edx, 0xf
test rax, rax
movzx edx, byte [r15 + rdx + 0x10]
mov byte [r12 + 0x10], dl
jne 0x472f7f
test r13b, r13b
je 0x472f7f
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov rdx, r12
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rcx, [0x013e4620]
mov edx, 0x3f25eb82
mov qword [rsp + 0x68], 0
call fcn.00464e30
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
call fcn.00470c90
mov ecx, 1
call sub.msvcrt.dll_exit
and eax, 0xf
movzx eax, byte [r15 + rax + 0x10]
mov byte [r12 + 0x15], al
mov rax, rbp
shr rax, 0xc
test rax, rax
jne 0x472b06
test r13b, r13b
je 0x472b06
mov word [r12 + 0x13], 0x4646
movabs rax, 0xffffffffffffff
mov rdx, rax
shr rax, 4
and edx, 0xf
test rax, rax
movzx edx, byte [r15 + rdx + 0x10]
mov byte [r12 + 0x12], dl
jne 0x472b3f
test r13b, r13b
je 0x472b3f
mov word [r12 + 0x10], 0x4646
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov rdx, r12
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
test ebx, ebx
jne 0x472ee4
lea rcx, [0x013e46c0]
mov edx, 0x15806966
call fcn.00464e30
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
lea rcx, [0x013e4680]
call fcn.00464c10
mov rcx, qword [rsp + 0x50]
lea rdx, [0x013e9440]
mov rdi, rax
call fcn.0046a060
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
call qword [rsp + 0x50]
lea rcx, [0x013e45c0]
mov edx, 0x27e9a866
call fcn.00464e30
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e424f]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov edx, 0xffffffff
mov rcx, 0xffffffffffffffff
call qword [0x013fabd0]
xor eax, eax
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r13, r13
je 0x4734a0
cmp qword [r13], 7
mov esi, 7
cmovge rsi, qword [r13]
lea rcx, [rsi + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], rsi
mov qword [rax], 0
jmp 0x471c3d
test rbp, rbp
je 0x473470
cmp qword [rbp], 7
mov r13d, 7
cmovge r13, qword [rbp]
lea rcx, [r13 + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], r13
mov qword [rax], 0
jmp 0x471d5c
test r15, r15
je 0x473560
cmp qword [r15], 7
mov ebp, 7
cmovge rbp, qword [r15]
lea rcx, [rbp + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
jmp 0x4721d8
test r15, r15
je 0x473530
cmp qword [r15], 7
mov ebp, 7
cmovge rbp, qword [r15]
lea rcx, [rbp + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
jmp 0x4720bc
test r15, r15
je 0x473500
cmp qword [r15], 7
mov ebp, 7
cmovge rbp, qword [r15]
lea rcx, [rbp + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
jmp 0x471f94
test r15, r15
je 0x4734d0
cmp qword [r15], 7
mov ebp, 7
cmovge rbp, qword [r15]
lea rcx, [rbp + 0x11]
call fcn.004704f0
mov ecx, 0x10
mov rdi, rax
mov qword [rax + 8], rbp
mov qword [rax], 0
jmp 0x471e78
cmp rbp, 7
mov eax, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
mov qword [rax + 8], rbp
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov qword [rdi], rax
jmp 0x471e91
cmp r13, 7
mov eax, 7
cmovl r13, rax
lea rcx, [r13 + 0x11]
call fcn.004704f0
lea rdx, [r15 + 0x10]
mov qword [rax + 8], r13
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r15]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
mov qword [rdi], rax
jmp 0x471d77
cmp rbp, 7
mov eax, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
mov qword [rax + 8], rbp
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov qword [rdi], rax
jmp 0x4721f1
cmp rbp, 7
mov eax, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
mov qword [rax + 8], rbp
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov qword [rdi], rax
jmp 0x4720d5
cmp rbp, 7
mov eax, 7
cmovl rbp, rax
lea rcx, [rbp + 0x11]
call fcn.004704f0
lea rdx, [r13 + 0x10]
mov qword [rax + 8], rbp
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax], 0
mov rax, qword [r13]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov qword [rdi], rax
jmp 0x471fad
xor eax, eax
nop dword [rax]
nop word cs:[rax + rax]
movzx ecx, byte [rbp + rax + 0x10]
mov byte [rdx + rax], cl
add rax, 1
cmp rax, rdi
jne 0x473450
jmp 0x472790
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x471d77
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x471c58
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x471e91
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x471fad
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x4720d5
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov qword [rax], 0
jmp 0x4721f1
call fcn.0046b060
lea rcx, [0x013e4740]
mov edx, 0x4b3d6f66
mov qword [rsp + 0x70], 0
call fcn.00464e30
mov rcx, r14
mov qword [rsp + 0x70], rax
call fcn.00470c90
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
mov rax, qword [0x00477060]
mov rax, qword [rax]
test rax, rax
je 0x4735f0
call rax
mov rax, qword [0x00477060]
lea rdx, [rax + 8]
mov rax, qword [rax + 8]
mov qword [0x00477060], rdx
test rax, rax
jne 0x4735d3
add rsp, 0x28
ret