Function at 0x140059b50
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x678
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x5e0], xmm6
mov byte [rbp + 0x4c0], r9b
mov qword [rbp + 0x438], r8
mov r12, rdx
mov qword [rbp + 0x530], rcx
movzx eax, byte [rdx + 0xa0]
mov r8, qword [rdx + 0x98]
test r8, r8
setne cl
or cl, al
mov qword [rbp + 0x5c0], rdx
je 0x140059d04
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x408], 0
test al, al
jne 0x140059d4d
mov qword [rbp + 0x5d8], r8
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14005db03
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x448], rax
lea r12, [rbp + 0x570]
lea rbx, [rbp + 0x4d8]
lea r14, [rbp + 0x460]
nop word cs:[rax + rax]
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x448]
call fcn.140057970
mov r15, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x140059d33
mov rdi, qword [rbp - 0x28]
movups xmm6, xmmword [rbp - 0x20]
mov r13, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rax, qword [rbp - 0x20]
add rax, rdi
mov qword [rbp + 0x460], rdi
mov qword [rbp + 0x468], rax
mov word [rbp + 0x470], 0
mov rcx, rbx
mov rdx, r14
call fcn.14002f370
mov qword [rbp + 0x550], r15
mov qword [rbp + 0x558], rdi
movups xmmword [rbp + 0x560], xmm6
mov rax, qword [rbp + 0x4e8]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rbp + 0x4d8]
movups xmmword [r12], xmm0
mov qword [rbp + 0x460], r13
mov qword [rbp + 0x468], rsi
lea rax, [rbp]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x470]
movups xmmword [rax], xmm0
mov rcx, rbx
lea rdx, [rbp + 0x3f8]
lea r8, [rbp + 0x550]
mov r9, r14
call fcn.14001f870
mov rdx, qword [rbp + 0x4d8]
lea rax, [rdx*2]
test rax, rax
je 0x140059c10
mov rcx, qword [rbp + 0x4e0]
mov r8d, 1
call fcn.140004d20
jmp 0x140059c10
mov qword [rbp + 0x3d8], 0
lea rax, [rbp + 0x3e0]
xor r15d, r15d
mov r14, qword [r12 + 0x10]
lea rdi, [0x140a9a868]
test r14, r14
jne 0x14005a5b5
jmp 0x14005aaba
mov rcx, qword [rbp + 0x440]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov r12, qword [rbp + 0x5c0]
mov r8, qword [rbp + 0x5d8]
mov rax, qword [r12 + 0x88]
mov rcx, qword [r12 + 0x90]
xor edx, edx
test rax, rax
setne dl
cmove r8, rax
mov qword [rbp + 0x4d8], rdx
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4e8], rax
mov qword [rbp + 0x4f0], rcx
mov qword [rbp + 0x4f8], rdx
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], rax
mov qword [rbp + 0x510], rcx
mov qword [rbp + 0x518], r8
lea r15, [rbp + 0x4d8]
nop word [rax + rax]
mov rcx, r15
call fcn.140013610
mov rdi, rax
test rax, rax
je 0x14005a3cc
mov rsi, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x14005a0c0
mov rsi, qword [rbp + 0x3f8]
test rsi, rsi
je 0x140059dc0
mov r9, qword [rdi + 0x28]
mov rax, qword [rdi + 0x30]
mov r14, qword [rbp + 0x400]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x440]
mov rdx, rsi
mov r8, r14
call fcn.140025160
cmp dword [rbp + 0x440], 1
je 0x140059dc0
mov rax, qword [rbp + 0x448]
mov rdx, qword [rbp + 0x450]
mov rcx, qword [rbp + 0x458]
mov byte [rbp + 0x428], 0
test rdx, rdx
je 0x14005a288
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x140059f1e
mov r8, rax
and r8, 7
je 0x140059e8b
xor r9d, r9d
nop word [rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140059e70
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140059f1e
nop dword [rax]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
add rax, 0xfffffffffffffff8
jne 0x140059ea0
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rbp + 0x410], rcx
mov qword [rbp + 0x418], 0
mov qword [rbp + 0x420], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x410]
lea r8, [rbp + 0x428]
call fcn.1400247a0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4b0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4a0], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x490], xmm3
movaps xmmword [rbp + 0x480], xmm2
movaps xmmword [rbp + 0x470], xmm1
movaps xmmword [rbp + 0x460], xmm0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
movzx edx, word [rax + 0x3d2]
cmp rcx, rdx
jb 0x140059fc7
nop
movzx ecx, word [rax + 0x3d0]
mov rax, qword [rax + 0x160]
cmp cx, word [rax + 0x3d2]
jae 0x140059fb0
imul rdx, rcx, 0x38
shl rcx, 5
mov r8, qword [rax + rdx + 0x198]
mov qword [rbp + 0x580], r8
movups xmm0, xmmword [rax + rdx + 0x168]
movups xmm1, xmmword [rax + rdx + 0x178]
movups xmm2, xmmword [rax + rdx + 0x188]
movaps xmmword [rbp + 0x570], xmm2
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
mov r8, qword [rbp + 0x490]
mov qword [rax + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x460]
movaps xmm1, xmmword [rbp + 0x470]
movaps xmm2, xmmword [rbp + 0x480]
movups xmmword [rax + rdx + 0x188], xmm2
movups xmmword [rax + rdx + 0x178], xmm1
movups xmmword [rax + rdx + 0x168], xmm0
movups xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
lea rdx, [rbp + 0x588]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x498]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + rcx], xmm0
movups xmmword [rax + rcx + 0x10], xmm1
movaps xmm0, xmmword [rbp + 0x550]
movaps xmm1, xmmword [rbp + 0x560]
movaps xmm2, xmmword [rbp + 0x570]
movaps xmm3, xmmword [rbp + 0x580]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm3
movaps xmm0, xmmword [rbp + 0x590]
movaps xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x20], rax
jmp 0x14005a2b8
mov r14, qword [rdi + 0x10]
test r14, r14
js 0x14005da39
mov r12, qword [rdi + 8]
je 0x14005a0fa
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, r14
call fcn.140004d10
test rax, rax
jne 0x14005a0ff
jmp 0x14005da3c
mov eax, 1
mov qword [rbp + 0x5d8], rax
mov rcx, rax
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
mov rbx, qword [rdi + 0x30]
lea r13, [rbx + rbx]
test rbx, rbx
js 0x14005da5f
movabs rax, 0x8000000000000000
add rax, 0xfffffffffffffffe
mov r15d, 0
cmp r13, rax
ja 0x14005da62
movzx eax, byte [rdi + 0x18]
mov byte [rbp + 0x5d0], al
mov rdx, qword [rdi + 0x28]
test r13, r13
je 0x14005a188
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov r15d, 2
mov rdi, rdx
mov edx, 2
mov rcx, r13
call fcn.140004d10
mov rdx, rdi
mov r12, rax
mov rdi, rbx
test rax, rax
jne 0x14005a190
jmp 0x14005da62
mov r12d, 2
xor edi, edi
mov rcx, r12
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rbp - 0x30], r14
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r14
movzx eax, byte [rbp + 0x5d0]
mov byte [rbp - 0x18], al
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r12
mov qword [rbp], rbx
mov rdi, qword [rsi + 0x10]
test rdi, rdi
js 0x14005da4c
mov rbx, qword [rsi + 8]
je 0x14005a201
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rdi
call fcn.140004d10
mov r14, rax
test rax, rax
jne 0x14005a207
jmp 0x14005da4f
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x550], rdi
mov qword [rbp + 0x558], r14
mov qword [rbp + 0x560], rdi
mov byte [rbp + 0x568], al
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x3f8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x550]
call fcn.14001f870
mov rdx, qword [rbp + 0x460]
lea rax, [rdx*2]
test rax, rax
lea r15, [rbp + 0x4d8]
je 0x140059dc0
mov rcx, qword [rbp + 0x468]
mov r8d, 1
call fcn.140004d20
jmp 0x140059dc0
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 0
mov qword [rbp + 0x560], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x550]
lea r8, [rbp + 0x428]
call fcn.1400247a0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x5a0], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x590], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x580], xmm3
movaps xmmword [rbp + 0x570], xmm2
dec qword [rbp + 0x408]
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
cmp byte [rbp + 0x428], 0
je 0x14005a349
test r14, r14
je 0x14005da8f
mov rax, qword [rsi + 0x3d8]
mov qword [rbp + 0x3f8], rax
dec r14
mov qword [rbp + 0x400], r14
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rsi
call fcn.140004d20
mov rdx, qword [rbp + 0x550]
mov rcx, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x570]
mov r14, qword [rbp + 0x578]
mov rsi, qword [rbp + 0x588]
mov rdi, qword [rbp + 0x590]
mov rax, rdx
neg rax
jo 0x140059dc0
jae 0x14005a38c
mov r8d, 1
call fcn.140004d20
test rbx, rbx
je 0x14005a3a5
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call fcn.140004d20
lea rax, [rsi*2]
test rax, rax
je 0x140059dc0
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140004d20
jmp 0x140059dc0
movups xmm0, xmmword [rbp + 0x3f8]
movups xmmword [rbp + 0x3e0], xmm0
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x3f0], rax
mov qword [rbp + 0x3d8], 1
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov r14d, 4
mov edi, 1
mov ecx, 4
mov edx, 1
call fcn.140004d10
test rax, rax
je 0x14005db75
mov rsi, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rbp + 0x550], rsi
mov qword [rbp + 0x558], rax
mov word [rbp + 0x560], 0
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x550]
call fcn.14002f370
mov qword [rbp - 0x30], 4
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 0
movups xmm0, xmmword [rbp + 0x460]
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x470]
mov qword [rbp], rax
mov r12, qword [rbp + 0x3e0]
mov rdi, qword [rbp - 8]
test r12, r12
mov qword [rbp + 0x5c8], rsi
je 0x14005a55e
mov r14d, dword [rbp]
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x5d8], rax
lea rcx, [r12 + 0x168]
movzx eax, word [r12 + 0x3d2]
mov qword [rbp + 0x5d0], rax
imul rsi, rax, 0x38
lea rbx, [r12 - 0x10]
mov r15, 0xffffffffffffffff
nop
test rsi, rsi
je 0x14005a520
lea r13, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, r14d
call sub.KERNEL32.dll_CompareStringOrdinal
add rsi, 0xffffffffffffffc8
add rbx, 0x20
inc r15
mov rcx, r13
cmp eax, 3
je 0x14005a4e0
cmp eax, 1
jne 0x14005a54c
jmp 0x14005a527
mov r15, qword [rbp + 0x5d0]
mov rax, qword [rbp + 0x5d8]
sub rax, 1
jb 0x14005a9a5
mov qword [rbp + 0x5d8], rax
mov r12, qword [r12 + r15*8 + 0x3d8]
jmp 0x14005a4b6
cmp eax, 2
jne 0x14005d9b4
mov r15, qword [rbx - 8]
mov rbx, qword [rbx]
jmp 0x14005a561
xor r15d, r15d
mov r12, qword [rbp + 0x5c0]
mov edx, 4
mov r8d, 1
mov rcx, qword [rbp + 0x5c8]
call fcn.140004d20
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14005a599
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140004d20
lea rax, [rbp + 0x3e0]
mov r14, qword [r12 + 0x10]
lea rdi, [0x140a9a868]
test r14, r14
je 0x14005aaba
mov r13, qword [r12 + 8]
cmp r14, 4
mov qword [rbp + 0x520], rax
jae 0x14005a5d0
lea rax, [0x140062500]
jmp 0x14005a5fa
mov eax, dword [r13]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140062520]
lea rax, [0x140062500]
cmove rax, rcx
movzx esi, byte [r14 + r13 - 1]
mov ecx, esi
call rax
test al, al
jne 0x14005aaba
lea r11, [r14 + r13]
cmp r14, 3
mov qword [rbp + 0x540], r11
jbe 0x14005a67a
movzx eax, byte [r11 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x14005a6b2
movzx eax, byte [r11 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x14005a6b2
movzx eax, byte [r11 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x14005a6b2
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x14005a6b4
xor eax, eax
movabs rsi, 0x8000000000000000
nop word cs:[rax + rax]
cmp r14, rax
je 0x14005a7fe
movzx ecx, byte [r13 + rax]
cmp ecx, 0x2f
je 0x14005a72a
inc rax
cmp ecx, 0x5c
jne 0x14005a690
jmp 0x14005a72a
xor eax, eax
xor ecx, ecx
movabs rsi, 0x8000000000000000
cmp r14, rcx
je 0x14005a7fe
movzx edx, byte [r13 + rcx]
cmp edx, 0x2f
je 0x14005a6dc
inc rcx
cmp edx, 0x5c
jne 0x14005a6c0
test al, al
je 0x14005a72a
lea rcx, [rbp - 0x30]
mov rdx, r13
mov r8, r14
call fcn.1400603d0
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
cmp rcx, rsi
jne 0x14005a969
mov qword [rbp + 0x448], rax
mov qword [rbp + 0x440], rsi
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
jne 0x14005ab60
jmp 0x14005aaba
test r14, r14
js 0x14005db73
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov edi, 1
mov edx, 1
mov rcx, r14
call fcn.140004d10
test rax, rax
je 0x14005db75
mov rsi, rax
mov rcx, rax
mov rdx, r13
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0
lea rdx, [0x140a9a880]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.1400619c0
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x20]
lea rcx, [rbp + 0x550]
mov rdx, rdi
mov r8, rbx
call fcn.14005e2e0
movabs rax, 0x8000000000000000
cmp qword [rbp + 0x550], rax
jne 0x14005a8cc
mov rcx, rdi
mov rdx, rbx
call fcn.140048db0
test rax, rax
je 0x14005aa2d
cmp rdx, 2
jne 0x14005a8ed
cmp word [rax], 0x2e2e
jne 0x14005a8ed
mov r8d, 2
xor ecx, ecx
jmp 0x14005a9e0
xor r8d, r8d
lea rdi, [0x140a9a830]
mov rax, r13
jmp 0x14005a81c
xor r8d, r8d
test cx, cx
je 0x14005aaba
mov cx, 1
test r8w, r8w
jne 0x14005a810
cmp rax, r11
je 0x14005a934
movzx r8d, byte [rax]
test r8b, r8b
js 0x14005a840
inc rax
mov edx, r8d
jmp 0x14005a89c
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14005a892
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14005a8a6
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x14005a89c
jmp 0x14005a8b8
add rax, 2
shl edx, 6
or edx, r10d
xor r8d, r8d
mov ecx, edx
jmp 0x14005a813
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x14005a89c
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x14005a813
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x450], rax
movups xmm0, xmmword [rbp + 0x550]
movaps xmmword [rbp + 0x440], xmm0
jmp 0x14005aa83
xor r10d, r10d
mov r8, rax
nop word cs:[rax + rax]
cmp rdx, r10
je 0x14005a9b4
mov r9, r10
lea rcx, [r8 - 1]
inc r10
cmp byte [r8 + rdx - 1], 0x2e
mov r8, rcx
jne 0x14005a900
mov r8, rdx
sub r8, r10
jne 0x14005a9d7
xor ecx, ecx
mov r8, rdx
jmp 0x14005a9e0
cmp r14, 0xf
ja 0x14005a9be
mov qword [rbp + 0x538], 0
xor eax, eax
nop dword [rax + rax]
cmp byte [r13 + rax], 0x2e
je 0x14005af4b
inc rax
cmp r14, rax
jne 0x14005a950
jmp 0x14005af57
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x440]
lea rdx, [rbp - 0x30]
call fcn.140051e20
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
je 0x14005aaba
jmp 0x14005ab60
mov r12, qword [rbp + 0x5c0]
xor r15d, r15d
jmp 0x14005a568
mov rcx, rax
mov r8, rdx
xor eax, eax
jmp 0x14005a9e0
mov cl, 0x2e
mov rdx, r13
mov r8, r14
call fcn.14009ac90
mov qword [rbp + 0x538], rax
jmp 0x14005af57
add rcx, rdx
inc rcx
mov rdx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x14005aa2d
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rdi
je 0x14005aa2a
cmp rbx, rcx
jbe 0x14005aa23
cmp byte [rdi + rcx], 0xbf
jg 0x14005aa25
lea rcx, [0x140a9934a]
lea r8, [0x140a99388]
mov edx, 0x37
call fcn.140094b20
jmp 0x14005dbe8
jne 0x14005aa06
cmp rbx, rcx
jb 0x14005aa2d
mov rbx, rcx
lea rcx, [rbp - 0x30]
mov rdx, rdi
mov r8, rbx
call fcn.1400603d0
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
movabs rdx, 0x8000000000000000
cmp rcx, rdx
jne 0x14005aa63
mov qword [rbp + 0x448], rax
mov qword [rbp + 0x440], rdx
jmp 0x14005aa83
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x440]
lea rdx, [rbp - 0x30]
call fcn.140051e20
test rsi, rsi
je 0x14005aa99
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140004d20
movabs rsi, 0x8000000000000000
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
jne 0x14005ab60
mov rax, qword [rbp + 0x530]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x3d8], 0
je 0x14005ab30
mov rcx, qword [rbp + 0x3e0]
test rcx, rcx
je 0x14005ab17
mov rdx, qword [rbp + 0x3e8]
mov rax, qword [rbp + 0x3f0]
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 8], 0
mov qword [rbp], rcx
mov qword [rbp + 8], rdx
mov ecx, 1
jmp 0x14005ab1b
xor ecx, ecx
xor eax, eax
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.1400155e0
mov rax, qword [rbp + 0x438]
cmp dword [rax], 4
jb 0x14005ab45
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x5e0]
add rsp, 0x678
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x5c8], r13
mov qword [rbp + 0x538], rax
mov rbx, qword [rbp + 0x450]
mov rsi, rdi
cmp rbx, 4
mov qword [rbp + 0x5d8], rsi
mov qword [rbp + 0x528], rbx
jb 0x14005bc05
movabs rax, 0x5c003f003f005c
lea rcx, [rax + 0x1d0000]
cmp rcx, qword [rsi]
je 0x14005abaf
cmp rax, qword [rsi]
jne 0x14005bc05
cmp rbx, 4
mov r14, qword [rbp + 0x5c8]
je case.0x14005abf5.68
mov rax, qword [rbp + 0x5d8]
cmp word [rax + rbx*2 - 0xa], 0x2e
jne case.0x14005abf5.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x14005abf5.68
lea rdx, [0x140a957e8]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rcx, qword [rbp + 0x5d8]
movzx ecx, word [rcx + rbx*2 - 6]
or ecx, 0x20
cmp ecx, 0x61
jne 0x14005ac23
mov rcx, qword [rbp + 0x5d8]
movzx ecx, word [rcx + rbx*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x14005be46
cmp ax, 0x43
jne case.0x14005abf5.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x14005abf5.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
je 0x14005be46
mov rsi, qword [r12 + 0x28]
mov rdi, qword [r12 + 0x30]
movzx ebx, byte [r12 + 0xc9]
mov qword [rbp + 0x550], 0
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rax, qword [rbp + 0x558]
mov word [rax], 0x22
mov qword [rbp + 0x560], 1
mov qword [rbp - 0x30], r14
mov rax, qword [rbp + 0x540]
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.14002f1e0
mov r14, qword [rbp + 0x560]
cmp r14, qword [rbp + 0x550]
jne 0x14005acef
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rax, qword [rbp + 0x558]
mov word [rax + r14*2], 0x22
inc r14
mov qword [rbp + 0x560], r14
shl rdi, 3
lea r15, [rdi + rdi*4]
lea rdi, [rbp + 0x550]
nop word cs:[rax + rax]
test r15, r15
je 0x14005ad96
mov r14, qword [rbp + 0x560]
cmp r14, qword [rbp + 0x550]
jne 0x14005ad3d
mov rcx, rdi
call fcn.140026040
mov rax, qword [rbp + 0x558]
mov word [rax + r14*2], 0x20
inc r14
mov qword [rbp + 0x560], r14
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
call fcn.140051950
mov r14, rax
add rsi, 0x28
add r15, 0xffffffffffffffd8
test rax, rax
je 0x14005ad20
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005adb3
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
jmp 0x14005adb3
mov rax, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x14005adc2
mov rax, qword [rbp + 0x530]
mov qword [rax], r14
jmp 0x14005c23c
mov rsi, qword [rbp + 0x560]
mov dword [rbp + 0x540], 0
mov rcx, qword [rbp + 0x538]
mov qword [rbp + 0x5c8], rcx
mov rcx, qword [rbp + 0x5d8]
mov qword [rbp + 0x5d0], rcx
mov qword [rbp + 0x410], rax
mov qword [rbp + 0x418], r14
mov qword [rbp + 0x420], rsi
cmp rsi, rax
jne 0x14005ae1c
lea rcx, [rbp + 0x410]
call fcn.140026040
mov r14, qword [rbp + 0x418]
mov word [r14 + rsi*2], 0
inc rsi
mov qword [rbp + 0x420], rsi
cmp byte [r12 + 0xc8], 0
mov eax, 0x608
mov rcx, r12
mov r12d, 0x400
cmovne r12d, eax
or r12d, dword [rcx + 0xc4]
test byte [rbp + 0x3d8], 1
je 0x14005aeb6
mov rax, qword [rbp + 0x520]
mov rdi, qword [rax + 0x10]
mov qword [rbp + 0x450], rdi
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x440], xmm0
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
test rdi, rdi
movabs rsi, 0x8000000000000000
je 0x14005c514
mov r15d, 2
xor r13d, r13d
jmp 0x14005c54b
mov eax, 2
mov qword [rbp + 0x520], rax
xor r15d, r15d
xor r14d, r14d
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0x5c0]
cmp qword [rcx + 0x38], rax
jne 0x14005d2e8
mov eax, 2
mov qword [rbp + 0x528], rax
xor esi, esi
xor r13d, r13d
xorps xmm0, xmm0
movaps xmmword [rbp + 0x440], xmm0
mov qword [rbp + 0x450], 0
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x140acc158], cl
jne 0x14005d464
mov rax, qword [0x140acc130]
movabs rcx, 0x8000000000000000
dec rcx
mov qword [rbp + 0x548], rcx
test rax, rcx
je 0x14005c976
call fcn.1400500a0
xor al, 1
jmp 0x14005c978
mov eax, 1
mov qword [rbp + 0x538], rax
test r15, r15
mov qword [rbp + 0x5d0], r14
mov qword [rbp + 0x5c8], r13
je 0x14005b342
add rbx, r15
mov qword [rbp + 0x460], r15
mov qword [rbp + 0x468], rbx
mov word [rbp + 0x470], 0
mov byte [rbp + 0x478], 1
lea rcx, [rbp + 0x550]
lea rdx, [rbp + 0x460]
call fcn.140057b10
mov rdx, qword [rbp + 0x550]
cmp rdx, rsi
je 0x14005b342
movzx eax, byte [rbp + 0x478]
movzx edi, word [rbp + 0x470]
mov r15, qword [rbp + 0x460]
mov rbx, qword [rbp + 0x468]
jmp 0x14005b025
movabs rax, 0x8000000000000000
mov qword [rbp + 0x550], rax
mov r12, qword [rbp + 0x5c0]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005b009
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rdx, qword [rbp + 0x550]
mov eax, esi
movabs rsi, 0x8000000000000000
cmp rdx, rsi
je 0x14005b342
mov byte [rbp + 0x5d8], al
mov rcx, qword [rbp + 0x558]
mov rax, qword [rbp + 0x560]
test rax, rax
jne 0x14005b282
test rdx, rdx
je 0x14005b052
mov r8d, 1
call fcn.140004d20
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov eax, 2
xor r12d, r12d
mov esi, edi
xor r13d, r13d
jmp 0x14005b08f
mov rax, qword [rbp + 0x4e0]
mov word [rax + r12*2], r14w
inc r12
mov qword [rbp + 0x4e8], r12
mov r14d, esi
test si, si
je 0x14005b0c0
nop
xor edi, edi
xor esi, esi
cmp r14w, 0x22
je 0x14005b1b0
jmp 0x14005b1d0
cmp r15, rbx
je 0x14005b210
movzx ecx, byte [r15]
test cl, cl
js 0x14005b0f0
inc r15
mov r14d, ecx
xor esi, esi
cmp r14w, 0x22
je 0x14005b1b0
jmp 0x14005b1d0
mov r14d, ecx
and r14d, 0x1f
movzx r8d, byte [r15 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x14005b14c
movzx edx, byte [r15 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x14005b162
movzx ecx, byte [r15 + 3]
add r15, 4
and r14d, 7
shl r14d, 0x12
shl edx, 6
and ecx, 0x3f
or ecx, edx
or r14d, ecx
cmp r14d, 0xffff
ja 0x14005b176
xor esi, esi
cmp r14w, 0x22
je 0x14005b1b0
jmp 0x14005b1d0
add r15, 2
shl r14d, 6
or r14d, r8d
xor esi, esi
cmp r14w, 0x22
je 0x14005b1b0
jmp 0x14005b1d0
add r15, 3
shl r14d, 0xc
or r14d, edx
cmp r14d, 0xffff
jbe 0x14005b13e
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov edi, r14d
mov esi, r14d
mov r14d, ecx
cmp r14w, 0x22
jne 0x14005b1d0
nop word cs:[rax + rax]
xor r13b, 1
mov r14d, esi
test si, si
jne 0x14005b0a0
jmp 0x14005b0c0
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x14005b1e3
test r13b, 1
je 0x14005b27d
cmp r12, qword [rbp + 0x4d8]
jne 0x14005b087
lea rcx, [rbp + 0x4d8]
call fcn.140026040
jmp 0x14005b080
xor esi, esi
mov r14, qword [rbp + 0x5d0]
test r12, r12
setne al
movzx ecx, byte [rbp + 0x5d8]
or cl, al
test cl, 1
mov r13, qword [rbp + 0x5c8]
je 0x14005afd0
mov rdx, qword [rbp + 0x4e0]
lea rcx, [rbp - 0x30]
mov r8, r12
call fcn.140045910
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
mov r12, qword [rbp + 0x5c0]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
jne 0x14005aff4
jmp 0x14005b009
mov sil, 1
jmp 0x14005b212
movzx r8d, byte [rbp + 0x5d8]
mov byte [rbp + 0x478], r8b
mov word [rbp + 0x470], di
mov qword [rbp + 0x460], r15
mov r8, qword [rbp + 0x568]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r8
lea rcx, [rbp - 0x30]
mov rdx, r13
mov r8, r14
call fcn.140047980
cmp qword [rbp + 0x538], 1
je 0x14005b2e5
mov r8d, 3
lea rcx, [rbp - 0x30]
lea rdx, [0x140a9a8b0]
call fcn.140048690
mov r12, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x550]
mov rdx, r12
call fcn.14005e2e0
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14005b313
mov r8d, 1
mov rcx, r12
call fcn.140004d20
mov rax, qword [rbp + 0x550]
cmp rax, rsi
jne 0x14005d44a
lea rcx, [rbp + 0x550]
lea rdx, [rbp + 0x460]
call fcn.140057b10
mov r12, qword [rbp + 0x5c0]
jmp 0x14005afa2
lea rcx, [rbp + 0x550]
call fcn.140057d60
mov rax, rsi
mov rsi, qword [rbp + 0x550]
cmp rsi, rax
jne 0x14005b3b8
mov rax, qword [rbp + 0x558]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14005b49f
lea rsi, [rax - 1]
mov rdi, qword [rax - 1]
mov rbx, qword [rax + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14005b38b
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14005b3a0
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140004d20
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140004d20
jmp 0x14005b49f
mov rdi, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x560]
mov r14, qword [rbp + 0x568]
mov rcx, rdi
mov rdx, rbx
call case.0x140048009.21
test rax, rax
je 0x14005b414
test rdx, rdx
je 0x14005b411
cmp rbx, rdx
jbe 0x14005b40a
cmp byte [rdi + rdx], 0xbf
jg 0x14005b40c
lea rcx, [0x140a9934a]
lea r8, [0x140a99388]
mov edx, 0x37
call fcn.140094b20
jmp 0x14005dbe8
jne 0x14005b3ed
cmp rbx, rdx
jb 0x14005b414
mov rbx, rdx
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x30]
mov rdx, r13
mov r8, qword [rbp + 0x5d0]
call fcn.140047980
cmp qword [rbp + 0x538], 1
je 0x14005b457
lea rdx, [0x140a9a8b0]
lea rcx, [rbp - 0x30]
mov r8d, 3
call fcn.140048690
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14005e2e0
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14005b485
mov r8d, 1
mov rcx, rsi
call fcn.140004d20
mov rcx, qword [rbp + 0x460]
movabs rax, 0x8000000000000000
cmp rcx, rax
jne 0x14005b98f
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r14d, r14d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jb 0x14005b506
jmp 0x14005b520
mov r12, qword [rbp + 0x5c0]
jae 0x14005b5e9
cmp r8, 0x201
jae 0x14005b520
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x14005b586
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x14005b55e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.140026350
mov r14, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5d8], rax
mov eax, 0xffffffff
cmp r14, rax
mov edi, 0xffffffff
cmovb rdi, r14
mov qword [rbp + 0x4e8], rdi
mov r13, r14
mov rbx, rdi
mov r15, qword [rbp + 0x5d8]
mov r12, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov edx, r12d
call sub.KERNEL32.dll_GetSystemDirectoryW
mov esi, eax
test eax, eax
jne 0x14005b5ab
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14005b6d6
mov r8d, esi
cmp r12, r8
jne 0x14005b4f0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005dac9
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x14005b520
jmp 0x14005b506
cmp rbx, r8
jb 0x14005dbbc
lea rcx, [rbp + 0x550]
mov rdx, r15
call fcn.140045910
mov r13, qword [rbp + 0x5c8]
mov r8, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x550]
mov rdx, r13
call fcn.140047980
cmp qword [rbp + 0x538], 1
je 0x14005b641
lea rdx, [0x140a9a8b0]
lea rcx, [rbp + 0x550]
mov r8d, 3
call fcn.140048690
mov rsi, qword [rbp + 0x558]
mov r8, qword [rbp + 0x560]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14005e2e0
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005b678
mov r8d, 1
mov rcx, rsi
call fcn.140004d20
mov rdi, qword [rbp + 0x460]
mov rsi, qword [rbp + 0x468]
mov rbx, qword [rbp + 0x470]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005b6ae
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
movabs rcx, 0x8000000000000000
lea rax, [rcx + 2]
cmp rdi, rax
mov rax, rdi
jge 0x14005bbe6
mov rdx, rax
lea rax, [rcx + 1]
cmp rdx, rax
je 0x14005b706
jmp 0x14005b753
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005b702
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
or rsi, 2
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x14005b753
mov rax, rsi
dec rsi
mov rdi, qword [rax - 1]
mov rbx, qword [rax + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14005b72b
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14005b740
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140004d20
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140004d20
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r14d, r14d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jb 0x14005b7b6
jmp 0x14005b7d0
mov r12, qword [rbp + 0x5c0]
jae 0x14005b899
cmp r8, 0x201
jae 0x14005b7d0
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x14005b836
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x14005b80e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.140026350
mov r14, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5d8], rax
mov eax, 0xffffffff
cmp r14, rax
mov edi, 0xffffffff
cmovb rdi, r14
mov qword [rbp + 0x4e8], rdi
mov r13, r14
mov rbx, rdi
mov r15, qword [rbp + 0x5d8]
mov r12, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov edx, r12d
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov esi, eax
test eax, eax
jne 0x14005b85b
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14005b9a5
mov r8d, esi
cmp r12, r8
jne 0x14005b7a0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005dae6
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x14005b7d0
jmp 0x14005b7b6
cmp rbx, r8
jb 0x14005dbd3
lea rcx, [rbp + 0x550]
mov rdx, r15
call fcn.140045910
mov r13, qword [rbp + 0x5c8]
mov r14, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, r14
call fcn.140047980
cmp qword [rbp + 0x538], 1
je 0x14005b8f4
lea rdx, [0x140a9a8b0]
lea rcx, [rbp + 0x550]
mov r8d, 3
call fcn.140048690
mov rsi, qword [rbp + 0x558]
mov r8, qword [rbp + 0x560]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14005e2e0
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005b92b
mov r8d, 1
mov rcx, rsi
call fcn.140004d20
mov rbx, qword [rbp + 0x460]
mov rdi, qword [rbp + 0x468]
mov r15, qword [rbp + 0x470]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005b961
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
movabs rsi, 0x8000000000000000
lea rax, [rsi + 2]
cmp rbx, rax
mov rax, rbx
jge 0x14005bbe0
mov rcx, rax
lea rax, [rsi + 1]
cmp rcx, rax
mov rcx, rdi
je 0x14005b9f0
jmp 0x14005ba45
mov rax, rcx
mov rsi, qword [rbp + 0x468]
mov rbx, qword [rbp + 0x470]
jmp 0x14005bbe6
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005b9d1
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
or rsi, 2
mov rcx, rsi
movabs rsi, 0x8000000000000000
mov r13, qword [rbp + 0x5c8]
mov r14, qword [rbp + 0x5d0]
mov eax, ecx
and eax, 3
cmp eax, 1
jne 0x14005ba45
lea rsi, [rcx - 1]
mov rdi, qword [rcx - 1]
mov rbx, qword [rcx + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14005ba13
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14005ba28
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140004d20
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140004d20
movabs rsi, 0x8000000000000000
lea rdx, [0x140a992c4]
lea rcx, [rbp + 0x460]
mov r8d, 4
call fcn.1400385c0
mov rax, rsi
mov rsi, qword [rbp + 0x460]
cmp rsi, rax
je 0x14005bbd4
mov rdi, qword [rbp + 0x468]
mov rax, qword [rbp + 0x470]
add rax, rdi
mov qword [rbp + 0x550], rdi
mov qword [rbp + 0x558], rax
mov word [rbp + 0x560], 0
mov byte [rbp + 0x568], 1
lea rbx, [rbp - 0x30]
lea r15, [rbp + 0x550]
mov rcx, rbx
mov rdx, r15
call fcn.140057b10
jmp 0x14005bac3
mov rcx, rbx
mov rdx, r15
call fcn.140057b10
mov rdx, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14005bbbe
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x14005baf9
test rdx, rdx
je 0x14005bab8
mov r8d, 1
call fcn.140004d20
jmp 0x14005bab8
mov r8, qword [rbp - 0x18]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r8
mov rcx, rbx
mov rdx, r13
mov r8, r14
call fcn.140047980
cmp qword [rbp + 0x538], 1
je 0x14005bb3a
mov r8d, 3
mov rcx, rbx
lea rdx, [0x140a9a8b0]
call fcn.140048690
mov r12, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4d8]
mov rdx, r12
call fcn.14005e2e0
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14005bb68
mov r8d, 1
mov rcx, r12
call fcn.140004d20
mov rcx, qword [rbp + 0x4d8]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x14005baab
mov rax, rcx
mov rbx, qword [rbp + 0x4e0]
mov r14, qword [rbp + 0x4e8]
test rsi, rsi
mov r12, qword [rbp + 0x5c0]
je 0x14005bbb6
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
mov rsi, rax
call fcn.140004d20
mov rax, rsi
mov rsi, rbx
mov rbx, r14
jmp 0x14005bbe6
test rsi, rsi
je 0x14005bbd4
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140004d20
lea rdi, [0x140a9a898]
jmp 0x14005aaba
mov rsi, rdi
mov rbx, r15
mov qword [rbp + 0x538], rax
cmp rbx, 4
mov qword [rbp + 0x5d8], rsi
mov qword [rbp + 0x528], rbx
jae 0x14005ab90
mov qword [rbp + 0x550], 0
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d0], rax
xor r13d, r13d
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jb 0x14005bc5f
jmp 0x14005bc70
jae 0x14005bd40
cmp r8, 0x201
jae 0x14005bc70
mov r12d, 0x200
lea rbx, [rbp - 0x30]
mov rdi, r8
jmp 0x14005bcd7
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x14005bcae
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r14
call fcn.140026350
mov r13, qword [rbp + 0x550]
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x5d0], rax
mov eax, 0xffffffff
cmp r13, rax
mov r14d, 0xffffffff
cmovb r14, r13
mov qword [rbp + 0x560], r14
mov rsi, r13
mov r12, r14
mov rbx, qword [rbp + 0x5d0]
mov rdi, r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rbp + 0x5d8]
mov edx, edi
mov r8, rbx
xor r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov r15d, eax
test eax, eax
jne 0x14005bd02
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14005bd64
mov r8d, r15d
cmp rdi, r8
jne 0x14005bc50
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005da72
add rdi, rdi
mov eax, 0xffffffff
cmp rdi, rax
cmovae rdi, rax
mov r8, rdi
cmp r8, 0x201
jae 0x14005bc70
jmp 0x14005bc5f
cmp r12, r8
jb 0x14005db82
cmp r15d, 4
mov r14, qword [rbp + 0x5c8]
jae 0x14005bda3
xor esi, esi
mov r12, qword [rbp + 0x5c0]
jmp case.0x14005bdd1.68
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005bd94
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rax, qword [rbp + 0x530]
mov qword [rax], rsi
jmp 0x14005c23c
cmp word [rbx + r8*2 - 8], 0x2e
mov r12, qword [rbp + 0x5c0]
jne 0x14005be1a
movzx eax, word [rbx + r8*2 - 6]
xor esi, esi
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x14005bdd1.68
lea rdx, [0x140a95760]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, word [rbx + r8*2 - 4]
or ecx, 0x20
cmp ecx, 0x61
jne 0x14005bdf2
movzx ecx, word [rbx + r8*2 - 2]
mov sil, 1
or ecx, 0x20
cmp ecx, 0x74
je case.0x14005bdd1.68
cmp ax, 0x43
jne 0x14005be1a
movzx eax, word [rbx + r8*2 - 4]
or eax, 0x20
cmp eax, 0x6d
jne 0x14005be1a
movzx eax, word [rbx + r8*2 - 2]
add eax, 0xffffffbc
test eax, 0xffdf
sete sil
jmp case.0x14005bdd1.68
xor esi, esi
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005be3d
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
test sil, sil
je case.0x14005abf5.68
mov qword [rbp + 0x550], 0
lea rax, [rbp + 0x558]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
mov esi, 0x200
mov eax, 2
mov qword [rbp + 0x5d0], rax
mov qword [rbp + 0x5c8], 0
xor r15d, r15d
xor ebx, ebx
cmp rsi, 0x201
jb 0x14005bebf
jmp 0x14005bed0
jae 0x14005bfa2
cmp rsi, 0x201
jae 0x14005bed0
mov r13d, 0x200
lea r14, [rbp - 0x30]
mov r12, rsi
jmp 0x14005bf44
sub rsi, rbx
sub r15, rbx
cmp r15, rsi
jae 0x14005bf18
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, rbx
mov r8, rsi
call fcn.140026350
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x5d0], rax
mov eax, 0xffffffff
mov r15, qword [rbp + 0x5c8]
cmp r15, rax
mov ebx, 0xffffffff
cmovb rbx, r15
mov qword [rbp + 0x560], rbx
mov r13, rbx
mov r14, qword [rbp + 0x5d0]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r14
mov edx, r12d
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x14005bf65
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14005bfe4
mov esi, edi
cmp r12, rsi
jne 0x14005beb0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005daac
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov rsi, r12
cmp rsi, 0x201
jae 0x14005bed0
jmp 0x14005bebf
cmp r13, rsi
jb 0x14005db99
lea r12, [rsi + rsi]
test edi, edi
je 0x14005c020
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r12
call fcn.140004d10
mov rbx, rax
test rax, rax
jne 0x14005c025
mov ecx, 2
mov rdx, r12
call fcn.140087e60
jmp 0x14005dbe8
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005c014
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
mov rsi, rax
call fcn.140004d20
mov rax, rsi
or rax, 2
mov rcx, rax
jmp 0x14005c232
mov ebx, 2
mov rcx, rbx
mov rdx, r14
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005c054
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov qword [rbp + 0x460], rsi
lea rax, [rbp + 0x468]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x468], rbx
mov qword [rbp + 0x470], rsi
lea r12, [0x140a9a8d8]
xor r13d, r13d
lea rdi, [rbp + 0x460]
xor r15d, r15d
jmp 0x14005c09f
mov r15d, ecx
mov word [rbx + rsi*2], r14w
inc rsi
mov qword [rbp + 0x470], rsi
test r12, r12
je 0x14005c110
test r15w, r15w
je 0x14005c0ef
xor ecx, ecx
mov r14d, r15d
cmp rsi, qword [rbp + 0x460]
jne 0x14005c08d
lea rax, [0x140a9a8d8]
sub rax, r12
add rax, 0xa
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov r8, rdx
shr r8, 1
cmp cx, 1
mov rax, r13
adc rax, 0xffffffffffffffff
sub r8, rax
inc r8
mov r15d, ecx
jmp 0x14005c13c
lea rax, [0x140a9a8e0]
cmp r12, rax
je 0x14005c110
movzx ecx, byte [r12]
test cl, cl
js 0x14005c165
inc r12
mov r14d, ecx
xor ecx, ecx
jmp 0x14005c0af
cmp r13, 1
je 0x14005c207
mov r13d, 1
xor r14d, r14d
mov r12d, 0
mov r8d, 0
cmp rsi, qword [rbp + 0x460]
jne 0x14005c090
inc r8
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140026350
mov rbx, qword [rbp + 0x468]
jmp 0x14005c090
mov r14d, ecx
and r14d, 0x1f
movzx edx, byte [r12 + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x14005c1af
movzx eax, byte [r12 + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x14005c1c1
movzx ecx, byte [r12 + 3]
add r12, 4
and r14d, 7
shl r14d, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, r14d
mov r14d, ecx
jmp 0x14005c1cf
add r12, 2
shl r14d, 6
or r14d, edx
xor ecx, ecx
jmp 0x14005c0af
add r12, 3
shl r14d, 0xc
or eax, r14d
mov r14d, eax
cmp r14d, 0xffff
jbe 0x14005c200
lea eax, [r14 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov ecx, r14d
mov r14d, eax
jmp 0x14005c0af
xor ecx, ecx
jmp 0x14005c0af
mov rcx, qword [rbp + 0x460]
mov rax, qword [rbp + 0x468]
mov qword [rbp + 0x5d0], rax
movabs rax, 0x8000000000000000
cmp rcx, rax
jne 0x14005c276
mov rcx, qword [rbp + 0x5d0]
mov rax, qword [rbp + 0x530]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov sil, 1
mov rdx, qword [rbp + 0x538]
test rdx, rdx
je 0x14005c268
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d8]
call fcn.140004d20
test sil, sil
jne 0x14005aacc
jmp 0x14005ab30
mov qword [rbp + 0x5c8], rcx
xor esi, esi
test sil, sil
jne 0x14005dbad
mov rax, qword [rbp + 0x5c0]
mov rcx, qword [rax + 0x28]
mov qword [rbp + 0x548], rcx
mov rcx, qword [rax + 0x30]
mov qword [rbp + 0x540], rcx
movzx eax, byte [rax + 0xc9]
mov byte [rbp + 0x4c8], al
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov esi, 2
mov ecx, 0x14
mov edx, 2
call fcn.140004d10
test rax, rax
je 0x14005dbad
mov ecx, 0xa
mov word [rax], 0x63
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x28]
mov qword [rbp + 0x4d0], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea r12, [0x140a9a0f5]
mov esi, 1
xor ebx, ebx
lea r13, [0x140a9a110]
lea r15, [0x140a9a0f4]
lea rdi, [rbp - 0x30]
jmp 0x14005c373
mov rax, r15
sub rax, r12
add rax, 0x1e
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
cmp r14w, 1
sbb rdx, 0
lea r8, [rdx + 2]
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140026350
mov rax, qword [rbp - 0x28]
mov word [rax + rsi*2], bx
inc rsi
mov qword [rbp - 0x20], rsi
mov ebx, r14d
test bx, bx
je 0x14005c390
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14005c365
jmp 0x14005c320
cmp r12, r13
je 0x14005c466
movzx ecx, byte [r12]
test cl, cl
js 0x14005c3b5
inc r12
mov ebx, ecx
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14005c365
jmp 0x14005c320
mov ebx, ecx
and ebx, 0x1f
movzx r8d, byte [r12 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x14005c406
movzx edx, byte [r12 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x14005c422
movzx ecx, byte [r12 + 3]
add r12, 4
and ebx, 7
shl ebx, 0x12
shl edx, 6
and ecx, 0x3f
or ecx, edx
or ebx, ecx
cmp ebx, 0xffff
jbe 0x14005c378
jmp 0x14005c437
add r12, 2
shl ebx, 6
or ebx, r8d
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14005c365
jmp 0x14005c320
add r12, 3
shl ebx, 0xc
or ebx, edx
cmp ebx, 0xffff
jbe 0x14005c378
lea ecx, [rbx + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and ebx, 0x3ff
or ebx, 0xdc00
mov r14d, ebx
mov ebx, ecx
cmp rsi, qword [rbp - 0x30]
jne 0x14005c365
jmp 0x14005c320
mov rsi, qword [rbp - 0x20]
mov qword [rbp + 0x560], rsi
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x550], xmm0
cmp rsi, qword [rbp + 0x550]
mov r12, qword [rbp + 0x5c0]
mov rbx, qword [rbp + 0x528]
jne 0x14005c49f
lea rcx, [rbp + 0x550]
call fcn.140026040
mov r15, qword [rbp + 0x558]
mov word [r15 + rsi*2], 0x22
inc rsi
mov qword [rbp + 0x560], rsi
lea rax, [rbx + rbx]
xor ecx, ecx
lea r14, [0x140a9a188]
mov rdx, qword [rbp + 0x5d8]
cmp rax, rcx
je 0x14005c4e0
cmp word [rdx + rcx], 0x22
lea rcx, [rcx + 2]
jne 0x14005c4cb
jmp 0x14005d1eb
test rbx, rbx
je 0x14005caeb
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 2]
cmp ax, 0x5c
je 0x14005d1eb
xor edi, edi
test ax, ax
mov rax, qword [rbp + 0x5d8]
cmove rdi, rax
jmp 0x14005caf4
mov sil, 1
lea rcx, [rbp + 0x4d8]
call fcn.140026040
mov r15, qword [rbp + 0x4e0]
mov word [r15], 0
mov qword [rbp + 0x4e8], 1
mov r13d, 1
movabs rsi, 0x8000000000000000
mov rax, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
xor edx, edx
test rax, rax
setne dl
cmove rdi, rax
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], 0
mov qword [rbp], rax
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rdi
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.140022370
mov rax, qword [rbp + 0x550]
test rax, rax
je 0x14005d27f
mov r9, qword [rbp + 0x560]
imul r8, r9, 0x38
mov rdx, qword [rax + r8 + 0x168]
cmp rdx, rsi
je 0x14005d27f
mov qword [rbp + 0x4c8], r15
mov rcx, qword [rax + r8 + 0x170]
mov rdi, qword [rax + r8 + 0x188]
mov r10, qword [rax + r8 + 0x190]
mov qword [rbp + 0x528], r10
mov rbx, qword [rax + r8 + 0x198]
shl r9, 5
mov r10, qword [rax + r9]
mov qword [rbp + 0x520], r10
mov r10, qword [rax + r9 + 8]
mov qword [rbp + 0x548], r10
mov rsi, qword [rax + r9 + 0x10]
mov rax, qword [rax + r8 + 0x178]
add rax, rcx
xor r11d, r11d
mov r8, rcx
jmp 0x14005c63b
xor r11d, r11d
test r9w, r9w
je 0x14005c920
mov r9w, 1
test r11w, r11w
jne 0x14005c62e
cmp r8, rax
je 0x14005c6f2
movzx r11d, byte [r8]
test r11b, r11b
js 0x14005c663
inc r8
mov r10d, r11d
jmp 0x14005c6e7
mov r10d, r11d
and r10d, 0x1f
movzx r14d, byte [r8 + 1]
and r14d, 0x3f
cmp r11b, 0xdf
jbe 0x14005c6b0
movzx r15d, byte [r8 + 2]
shl r14d, 6
and r15d, 0x3f
or r15d, r14d
cmp r11b, 0xf0
jb 0x14005c6bd
movzx r11d, byte [r8 + 3]
add r8, 4
and r10d, 7
shl r10d, 0x12
shl r15d, 6
and r11d, 0x3f
or r11d, r15d
or r10d, r11d
jmp 0x14005c6c8
add r8, 2
shl r10d, 6
or r10d, r14d
jmp 0x14005c6e7
add r8, 3
shl r10d, 0xc
or r10d, r15d
cmp r10d, 0xffff
jbe 0x14005c6e7
and r10d, 0x3ff
or r10d, 0xdc00
mov r11d, r10d
jmp 0x14005c631
xor r11d, r11d
mov r9d, r10d
jmp 0x14005c631
test rdx, rdx
je 0x14005c702
mov r8d, 1
call fcn.140004d20
mov rax, qword [rbp + 0x4d8]
sub rax, r13
cmp rax, rbx
jae 0x14005c742
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, r13
mov r8, rbx
call fcn.140026350
mov rax, qword [rbp + 0x4e0]
mov r13, qword [rbp + 0x4e8]
jmp 0x14005c749
mov rax, qword [rbp + 0x4c8]
lea r8, [rbx + rbx]
mov r14, rax
lea rcx, [rax + r13*2]
mov r15, qword [rbp + 0x528]
mov rdx, r15
call sub.msvcrt.dll_memcpy
add r13, rbx
mov qword [rbp + 0x4e8], r13
test rdi, rdi
je 0x14005c786
add rdi, rdi
mov r8d, 2
mov rcx, r15
mov rdx, rdi
call fcn.140004d20
cmp r13, qword [rbp + 0x4d8]
jne 0x14005c7a2
lea rcx, [rbp + 0x4d8]
call fcn.140026040
mov r14, qword [rbp + 0x4e0]
mov word [r14 + r13*2], 0x3d
inc r13
mov qword [rbp + 0x4e8], r13
mov rax, qword [rbp + 0x548]
add rsi, rax
xor r8d, r8d
mov rdi, qword [rbp + 0x520]
jmp 0x14005c7d5
xor r8d, r8d
test cx, cx
je 0x14005ca87
mov cx, 1
test r8w, r8w
jne 0x14005c7c9
cmp rax, rsi
je 0x14005c87f
movzx r8d, byte [rax]
test r8b, r8b
js 0x14005c7f9
inc rax
mov edx, r8d
jmp 0x14005c875
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14005c843
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14005c84f
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
jmp 0x14005c859
add rax, 2
shl edx, 6
or edx, r10d
jmp 0x14005c875
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x14005c875
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x14005c7cc
xor r8d, r8d
mov ecx, edx
jmp 0x14005c7cc
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14005d9a8
mov rax, qword [rbp + 0x548]
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rsi
mov word [rbp + 0x470], 0
lea rcx, [rbp + 0x4d8]
lea rdx, [rbp + 0x460]
call fcn.14002f1e0
test rdi, rdi
movabs rsi, 0x8000000000000000
je 0x14005c8e7
mov r8d, 1
mov rcx, qword [rbp + 0x548]
mov rdx, rdi
call fcn.140004d20
mov r13, qword [rbp + 0x4e8]
cmp r13, qword [rbp + 0x4d8]
jne 0x14005c903
lea rcx, [rbp + 0x4d8]
call fcn.140026040
mov r15, qword [rbp + 0x4e0]
mov word [r15 + r13*2], 0
inc r13
mov qword [rbp + 0x4e8], r13
jmp 0x14005c591
test rdx, rdx
je 0x14005c930
mov r8d, 1
call fcn.140004d20
mov rdx, qword [rbp + 0x520]
test rdx, rdx
mov rsi, qword [rbp + 0x528]
je 0x14005c955
mov r8d, 1
mov rcx, qword [rbp + 0x548]
call fcn.140004d20
lea r15, [0x140a9a830]
test rdi, rdi
je 0x14005caa8
add rdi, rdi
mov r8d, 2
mov rcx, rsi
jmp 0x14005caa0
xor eax, eax
lea rcx, [0x140acc158]
movzx edx, byte [0x140acc159]
xor r8d, r8d
test dl, dl
setne r8b
mov qword [rbp + 0x4e0], rcx
mov byte [rbp + 0x4e8], al
mov qword [rbp + 0x4d8], r8
mov qword [rbp + 0x460], 0
mov qword [rbp + 0x470], 0
mov qword [rbp + 0x480], 0
cmp byte [rbp + 0x4c0], 0
lea rax, [rbp + 0x428]
mov rdx, qword [rbp + 0x438]
cmovne rax, rdx
mov dword [rbp + 0x428], 2
mov r8, qword [rbp + 0x5c0]
lea rcx, [r8 + 0x58]
cmp dword [r8 + 0x58], 6
cmove rcx, rax
cmp dword [r8 + 0x68], 6
lea rdi, [r8 + 0x68]
cmove rdi, rdx
lea rbx, [r8 + 0x78]
cmp dword [r8 + 0x78], 6
cmove rbx, rdx
lea r8, [rbp + 0x460]
mov edx, 0xfffffff6
call fcn.14005e420
mov qword [rbp + 0x4c0], rdx
test rax, rax
je 0x14005ca50
mov rax, qword [rbp + 0x530]
mov rcx, qword [rbp + 0x4c0]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
jmp 0x14005d873
lea r8, [rbp + 0x470]
mov rcx, rdi
mov edx, 0xfffffff5
call fcn.14005e420
mov rdi, rdx
test rax, rax
je 0x14005d24b
mov rax, qword [rbp + 0x530]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
jmp 0x14005d852
lea r15, [0x140a9a830]
test rdi, rdi
je 0x14005caa8
mov r8d, 1
mov rcx, qword [rbp + 0x548]
mov rdx, rdi
call fcn.140004d20
xor esi, esi
lea rcx, [rbp - 0x30]
call fcn.1400155e0
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005cad4
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rax, qword [rbp + 0x530]
mov qword [rax], r15
mov qword [rax + 0x10], 2
jmp 0x14005d952
xor edi, edi
mov rax, qword [rbp + 0x5d8]
mov rcx, rbx
dec rbx
test rdi, rdi
cmove rbx, rcx
cmove rdi, rax
mov r14, qword [rbp + 0x550]
mov rax, r14
sub rax, rsi
cmp rax, rbx
jae 0x14005cb4d
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x550]
mov r9d, 2
mov rdx, rsi
mov r8, rbx
call fcn.140026350
mov rsi, qword [rbp + 0x560]
mov r14, qword [rbp + 0x550]
mov r15, qword [rbp + 0x558]
lea r8, [rbx + rbx]
lea rcx, [r15 + rsi*2]
mov rdx, rdi
call sub.msvcrt.dll_memcpy
add rsi, rbx
mov qword [rbp + 0x560], rsi
cmp rsi, r14
jne 0x14005cb7f
lea rcx, [rbp + 0x550]
call fcn.140026040
mov r15, qword [rbp + 0x558]
mov word [r15 + rsi*2], 0x22
inc rsi
mov qword [rbp + 0x560], rsi
mov rax, qword [rbp + 0x540]
test rax, rax
je 0x14005d7c4
lea rax, [rax + rax*4]
mov r15, qword [rbp + 0x548]
lea rax, [r15 + rax*8]
mov qword [rbp + 0x528], rax
movaps xmm6, xmmword [0x140a95750]
lea r14, [0x140a9a138]
mov rsi, qword [rbp + 0x560]
cmp rsi, qword [rbp + 0x550]
jne 0x14005cbe0
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rdi, qword [rbp + 0x558]
mov word [rdi + rsi*2], 0x20
lea r13, [rsi + 1]
mov qword [rbp + 0x560], r13
cmp dword [r15], 1
jne 0x14005cc30
lea rcx, [rbp + 0x550]
mov rdx, r15
movzx r8d, byte [rbp + 0x4c8]
call fcn.140051950
test rax, rax
jne 0x14005d814
add r15, 0x28
cmp r15, qword [rbp + 0x528]
jne 0x14005cbc4
jmp 0x14005d7bd
mov rbx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x18]
lea rcx, [rbx + rax]
mov qword [rbp + 0x540], rcx
xor ecx, ecx
cmp rax, rcx
je 0x14005cc6a
movzx edx, byte [rbx + rcx]
cmp dl, 0xd
sete r8b
cmp dl, 0xa
sete dl
or dl, r8b
inc rcx
test dl, dl
je 0x14005cc45
jmp 0x14005d1eb
xor r9d, r9d
mov rcx, rbx
jmp 0x14005cc7e
xor r9d, r9d
test dx, dx
je 0x14005d1e4
mov dx, 1
test r9w, r9w
jne 0x14005cc72
cmp rcx, qword [rbp + 0x540]
je 0x14005cd38
movzx r9d, byte [rcx]
test r9b, r9b
js 0x14005cca9
inc rcx
mov r8d, r9d
jmp 0x14005cd2d
mov r8d, r9d
and r8d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r9b, 0xdf
jbe 0x14005ccf6
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r9b, 0xf0
jb 0x14005cd03
movzx r9d, byte [rcx + 3]
add rcx, 4
and r8d, 7
shl r8d, 0x12
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
or r8d, r9d
jmp 0x14005cd0e
add rcx, 2
shl r8d, 6
or r8d, r11d
jmp 0x14005cd2d
add rcx, 3
shl r8d, 0xc
or r8d, r10d
cmp r8d, 0xffff
jbe 0x14005cd2d
and r8d, 0x3ff
or r8d, 0xdc00
mov r9d, r8d
jmp 0x14005cc75
xor r9d, r9d
mov edx, r8d
jmp 0x14005cc75
mov qword [rbp + 0x548], r15
test rax, rax
je 0x14005ce5a
cmp byte [rax + rbx - 1], 0x5c
sete r15b
or r15b, byte [rbp + 0x4c8]
mov r12, rbx
jmp 0x14005cd6a
cmp r12, qword [rbp + 0x540]
je 0x14005ce54
movzx edx, byte [r12]
test dl, dl
js 0x14005cd7a
inc r12
mov ecx, edx
jmp 0x14005cdd6
mov ecx, edx
and ecx, 0x1f
movzx r8d, byte [r12 + 1]
and r8d, 0x3f
cmp dl, 0xdf
jbe 0x14005cdbf
movzx eax, byte [r12 + 2]
shl r8d, 6
and eax, 0x3f
or eax, r8d
cmp dl, 0xf0
jb 0x14005cdcb
movzx edx, byte [r12 + 3]
add r12, 4
and ecx, 7
shl ecx, 0x12
shl eax, 6
and edx, 0x3f
or edx, eax
or edx, ecx
jmp 0x14005cd76
add r12, 2
shl ecx, 6
or ecx, r8d
jmp 0x14005cdd6
add r12, 3
shl ecx, 0xc
or eax, ecx
mov ecx, eax
mov eax, ecx
and eax, 0x1ff800
cmp eax, 0xd800
sete al
cmp ecx, 0x110000
sete dl
or dl, al
jne 0x14005cd5d
cmp ecx, 0x80
jae 0x14005ce35
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x14005ce35
mov eax, ecx
and eax, 0x5f
add eax, 0xffffffbf
cmp eax, 0x19
jbe 0x14005ce35
xor eax, eax
lea rdx, [0x140a9a0e8]
movzx edx, byte [rax + rdx]
cmp dl, cl
je 0x14005ce31
lea r8, [rax + 1]
cmp rax, 0xb
mov rax, r8
jne 0x14005ce15
cmp dl, cl
jne 0x14005ce42
call fcn.1400aa7b0
test al, al
je 0x14005cd5d
mov r15b, 1
cmp r12, qword [rbp + 0x540]
jne 0x14005cd6a
jmp 0x14005ce5a
test r15b, 1
je 0x14005ce95
cmp r13, qword [rbp + 0x550]
jne 0x14005ce76
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rdi, qword [rbp + 0x558]
mov word [rdi + rsi*2 + 2], 0x22
add rsi, 2
mov qword [rbp + 0x560], rsi
mov al, 1
mov dword [rbp + 0x4d0], eax
mov r13, rsi
jmp 0x14005ce9f
mov dword [rbp + 0x4d0], 0
xor r12d, r12d
xor esi, esi
jmp 0x14005cebf
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], r12w
inc r13
mov qword [rbp + 0x560], r13
mov r12d, r15d
test r12w, r12w
jne 0x14005cf6e
cmp rbx, qword [rbp + 0x540]
je 0x14005d0f0
movzx eax, byte [rbx]
test al, al
js 0x14005cee8
inc rbx
mov r12d, eax
jmp 0x14005cf6e
mov r12d, eax
and r12d, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14005cf27
movzx ecx, byte [rbx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14005cf34
movzx eax, byte [rbx + 3]
add rbx, 4
and r12d, 7
shl r12d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r12d, eax
jmp 0x14005cf3f
add rbx, 2
shl r12d, 6
or r12d, edx
jmp 0x14005cf6e
add rbx, 3
shl r12d, 0xc
or r12d, ecx
cmp r12d, 0xffff
jbe 0x14005cf6e
lea eax, [r12 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov r15d, r12d
mov r12d, eax
jmp 0x14005cf71
xor r15d, r15d
movzx eax, r12w
cmp eax, 0x24
jg 0x14005cfd2
cmp eax, 0xd
je 0x14005cfe8
cmp eax, 0x22
jne 0x14005d0d0
mov rax, qword [rbp + 0x550]
mov rcx, rax
sub rcx, r13
cmp rcx, rsi
jae 0x14005d04d
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, rsi
call fcn.140026350
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
jmp 0x14005d052
cmp eax, 0x25
je 0x14005cfe8
cmp eax, 0x5c
jne 0x14005d0d0
inc rsi
jmp 0x14005d0d2
mov rax, qword [rbp + 0x550]
sub rax, r13
cmp rax, 6
ja 0x14005d02a
mov qword [rsp + 0x20], 2
mov r8d, 7
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
call fcn.140026350
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
movabs rax, 0x2c007e003a0064
mov qword [rdi + r13*2 + 6], rax
movabs rax, 0x64006300250025
mov qword [rdi + r13*2], rax
add r13, 7
jmp 0x14005d0c9
test rsi, rsi
je 0x14005d0a0
cmp rsi, 0x10
jae 0x14005d05c
xor eax, eax
jmp 0x14005d087
mov rax, rsi
and rax, 0xfffffffffffffff0
lea rcx, [rdi + r13*2]
add rcx, 0x10
add r13, rax
xor edx, edx
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x14005d070
cmp rsi, rax
je 0x14005d099
sub rsi, rax
mov word [rdi + r13*2], 0x5c
inc r13
dec rsi
jne 0x14005d08a
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x560], r13
cmp r13, rax
jne 0x14005d0bf
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], 0x22
inc r13
mov qword [rbp + 0x560], r13
xor esi, esi
cmp r13, qword [rbp + 0x550]
jne 0x14005cead
lea rcx, [rbp + 0x550]
call fcn.140026040
jmp 0x14005cea6
cmp byte [rbp + 0x4d0], 0
mov r12, qword [rbp + 0x5c0]
mov r15, qword [rbp + 0x548]
je 0x14005cc1e
mov rax, qword [rbp + 0x550]
mov rcx, rax
sub rcx, r13
cmp rcx, rsi
jae 0x14005d14e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, rsi
call fcn.140026350
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
jmp 0x14005d153
test rsi, rsi
je 0x14005d1af
cmp rsi, 0x10
jae 0x14005d15d
xor eax, eax
jmp 0x14005d188
mov rax, rsi
and rax, 0xfffffffffffffff0
lea rcx, [rdi + r13*2]
add rcx, 0x10
add r13, rax
xor edx, edx
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x14005d171
cmp rsi, rax
je 0x14005d19a
sub rsi, rax
mov word [rdi + r13*2], 0x5c
inc r13
dec rsi
jne 0x14005d18b
mov rax, qword [rbp + 0x550]
mov r12, qword [rbp + 0x5c0]
mov r15, qword [rbp + 0x548]
mov qword [rbp + 0x560], r13
cmp r13, rax
jne 0x14005d1ce
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], 0x22
inc r13
mov qword [rbp + 0x560], r13
jmp 0x14005cc1e
lea r14, [0x140a9a830]
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14005d20c
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rax, qword [rbp + 0x530]
mov qword [rax], r14
mov qword [rax + 0x10], 2
mov sil, 1
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14005c247
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140004d20
jmp 0x14005c247
lea r8, [rbp + 0x480]
mov rcx, rbx
mov edx, 0xfffffff4
call fcn.14005e420
test rax, rax
je 0x14005d475
mov rax, qword [rbp + 0x530]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
jmp 0x14005d84a
xor esi, esi
lea rcx, [rbp - 0x30]
call fcn.1400155e0
cmp r13, qword [rbp + 0x4d8]
jne 0x14005d2a8
xor esi, esi
lea rcx, [rbp + 0x4d8]
call fcn.140026040
mov r15, qword [rbp + 0x4e0]
mov word [r15 + r13*2], 0
mov r14, qword [rbp + 0x4d8]
movabs rax, 0x8000000000000000
cmp r14, rax
je 0x14005cad4
mov rcx, qword [rbp + 0x4e0]
mov qword [rbp + 0x520], rcx
mov rcx, qword [rbp + 0x5c0]
cmp qword [rcx + 0x38], rax
je 0x14005aee3
mov rax, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
add rcx, rax
xor r10d, r10d
mov rdx, rax
jmp 0x14005d308
xor r10d, r10d
test r8w, r8w
je 0x14005d3bc
mov r8w, 1
test r10w, r10w
jne 0x14005d2fb
cmp rdx, rcx
je 0x14005d3da
movzx r10d, byte [rdx]
test r10b, r10b
js 0x14005d330
inc rdx
mov r9d, r10d
jmp 0x14005d3b1
mov r9d, r10d
and r9d, 0x1f
movzx esi, byte [rdx + 1]
and esi, 0x3f
cmp r10b, 0xdf
jbe 0x14005d37a
movzx r11d, byte [rdx + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x14005d387
movzx r10d, byte [rdx + 3]
add rdx, 4
and r9d, 7
shl r9d, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or r9d, r10d
jmp 0x14005d392
add rdx, 2
shl r9d, 6
or r9d, esi
jmp 0x14005d3b1
add rdx, 3
shl r9d, 0xc
or r9d, r11d
cmp r9d, 0xffff
jbe 0x14005d3b1
and r9d, 0x3ff
or r9d, 0xdc00
mov r10d, r9d
jmp 0x14005d2fe
xor r10d, r10d
mov r8d, r9d
jmp 0x14005d2fe
lea rsi, [0x140a9a830]
mov rax, qword [rbp + 0x530]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
jmp 0x14005d935
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.14002f370
mov r13, qword [rbp + 0x550]
mov rdi, qword [rbp + 0x560]
cmp rdi, r13
jne 0x14005d41e
lea rcx, [rbp + 0x550]
call fcn.140026040
mov r13, qword [rbp + 0x550]
mov rsi, qword [rbp + 0x558]
mov word [rsi + rdi*2], 0
mov qword [rbp + 0x528], rsi
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x14005aef4
jmp 0x14005d3c3
mov rsi, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x560]
mov r12, qword [rbp + 0x5c0]
jmp 0x14005bbe6
lea rcx, [0x140acc158]
call fcn.1400635e0
jmp 0x14005af1b
xorps xmm0, xmm0
movups xmmword [rbp + 0x584], xmm0
movups xmmword [rbp + 0x578], xmm0
movups xmmword [rbp + 0x568], xmm0
movups xmmword [rbp + 0x558], xmm0
movups xmmword [rbp + 0x598], xmm0
movups xmmword [rbp + 0x5a8], xmm0
test rdx, rdx
jne 0x14005d50a
test rdi, rdi
jne 0x14005d50a
mov eax, 1
cmp qword [rbp + 0x4c0], 0
jne 0x14005d50a
mov r8, qword [rbp + 0x5c0]
cmp byte [r8 + 0xc0], 1
jne 0x14005d546
movzx ecx, word [r8 + 0xc2]
mov dword [rbp + 0x58c], eax
mov word [rbp + 0x590], cx
mov qword [rbp + 0x4c8], rdx
mov rbx, qword [r8 + 0xb8]
test rbx, rbx
jne 0x14005d559
mov dword [rbp + 0x550], 0x68
lea rax, [rbp + 0x550]
jmp 0x14005d5fa
mov dword [rbp + 0x58c], 0x100
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x5a0], rax
mov qword [rbp + 0x5a8], rdi
mov qword [rbp + 0x5b0], rdx
mov eax, 0x101
mov r8, qword [rbp + 0x5c0]
cmp byte [r8 + 0xc0], 1
je 0x14005d4cc
mov qword [rbp + 0x4c8], rdx
mov rbx, qword [r8 + 0xb8]
test rbx, rbx
je 0x14005d4f4
add r8, 0xa8
mov dword [rbp + 0x550], 0x70
lea rcx, [rbp + 0x3f8]
mov rdx, r8
call fcn.14005ed00
mov rdx, qword [rbp + 0x3f8]
mov rcx, qword [rbp + 0x400]
test rdx, rdx
je 0x14005d82c
mov qword [rbp + 0x5c0], rcx
or r12d, 0x80000
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rbp + 0x5a0]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x590]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbp + 0x550]
movups xmm1, xmmword [rbp + 0x560]
movups xmm2, xmmword [rbp + 0x570]
movups xmm3, xmmword [rbp + 0x580]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp + 0x4d0], rdx
mov qword [rbp + 0x38], rdx
lea rax, [rbp - 0x30]
mov rdx, qword [rbp + 0x418]
lea rcx, [rbp + 0x440]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp + 0x5d0]
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x14005d77d
movups xmm0, xmmword [rbp + 0x460]
movups xmm1, xmmword [rbp + 0x470]
movups xmm2, xmmword [rbp + 0x480]
mov rax, qword [rbp + 0x530]
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [rbp + 0x440]
movups xmmword [rax], xmm0
test rbx, rbx
je 0x14005d68d
mov rcx, qword [rbp + 0x4d0]
mov rdx, qword [rbp + 0x5c0]
call fcn.1400173e0
mov rcx, qword [rbp + 0x4c8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rbp + 0x4c0]
call sub.KERNEL32.dll_CloseHandle
cmp dword [rbp + 0x428], 4
jb 0x14005d6c2
mov rcx, qword [rbp + 0x430]
call sub.KERNEL32.dll_CloseHandle
lea rcx, [rbp + 0x4d8]
call fcn.140015d20
test r13, r13
je 0x14005d6eb
add r13, r13
mov r8d, 2
mov rcx, qword [rbp + 0x528]
mov rdx, r13
call fcn.140004d20
test r14, r14
je 0x14005d708
add r14, r14
mov r8d, 2
mov rcx, qword [rbp + 0x520]
mov rdx, r14
call fcn.140004d20
mov rdx, qword [rbp + 0x410]
test rdx, rdx
je 0x14005d729
mov rcx, qword [rbp + 0x418]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14005d74a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140004d20
mov rdx, qword [rbp + 0x538]
test rdx, rdx
setne al
test byte [rbp + 0x540], al
je 0x14005ab30
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d8]
call fcn.140004d20
jmp 0x14005ab30
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x530]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
test rbx, rbx
je 0x14005d83e
mov rcx, qword [rbp + 0x4d0]
mov rdx, qword [rbp + 0x5c0]
call fcn.1400173e0
jmp 0x14005d83e
mov rsi, qword [rbp + 0x560]
mov rax, qword [rbp + 0x550]
cmp rsi, rax
jne 0x14005d7e3
lea rcx, [rbp + 0x550]
call fcn.140026040
mov rax, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
mov word [r14 + rsi*2], 0x22
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14005d20c
inc rsi
mov cl, 1
mov dword [rbp + 0x540], ecx
jmp 0x14005adef
mov r14, rax
mov rdx, qword [rbp + 0x550]
test rdx, rdx
jne 0x14005d1f7
jmp 0x14005d20c
mov rax, qword [rbp + 0x530]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov rcx, qword [rbp + 0x4c8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rbp + 0x4c0]
call sub.KERNEL32.dll_CloseHandle
cmp dword [rbp + 0x428], 4
jb 0x14005d873
mov rcx, qword [rbp + 0x430]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x460], 0
je 0x14005d889
mov rcx, qword [rbp + 0x468]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x470], 0
je 0x14005d89f
mov rcx, qword [rbp + 0x478]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x480], 0
je 0x14005d8b5
mov rcx, qword [rbp + 0x488]
call sub.KERNEL32.dll_CloseHandle
mov rsi, qword [rbp + 0x4e0]
movzx eax, byte [rbp + 0x4e8]
test byte [rbp + 0x4d8], 1
je 0x14005d8e7
test al, al
jne 0x14005d908
mov rax, qword [0x140acc130]
test qword [rbp + 0x548], rax
je 0x14005d908
call fcn.1400500a0
jmp 0x14005d900
test al, al
jne 0x14005d908
mov rax, qword [0x140acc130]
test qword [rbp + 0x548], rax
je 0x14005d908
call fcn.1400500a0
test al, al
jne 0x14005d908
mov byte [rsi + 1], 1
xor eax, eax
xchg byte [rsi], al
cmp al, 2
jne 0x14005d918
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
test r13, r13
je 0x14005d935
add r13, r13
mov r8d, 2
mov rcx, qword [rbp + 0x528]
mov rdx, r13
call fcn.140004d20
test r14, r14
je 0x14005d952
add r14, r14
mov r8d, 2
mov rcx, qword [rbp + 0x520]
mov rdx, r14
call fcn.140004d20
mov rdx, qword [rbp + 0x410]
test rdx, rdx
je 0x14005d973
mov rcx, qword [rbp + 0x418]
add rdx, rdx
mov r8d, 2
call fcn.140004d20
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14005d994
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140004d20
cmp byte [rbp + 0x540], 0
je 0x14005ab30
xor esi, esi
jmp 0x14005c247
mov r15, qword [rbp + 0x548]
jmp 0x14005caa8
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x4d8]
mov qword [rbp + 0x460], rax
lea rax, [0x14003d100]
mov qword [rbp + 0x468], rax
lea rax, [0x140a9a7c0]
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
mov qword [rbp + 0x570], 0
lea rax, [rbp + 0x460]
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x568], 1
lea rdx, [0x140a9a7f8]
lea rcx, [rbp + 0x550]
call fcn.140094aa0
jmp 0x14005dbe8
xor r15d, r15d
mov rcx, r15
mov rdx, r14
call fcn.140087e60
jmp 0x14005dbe8
xor r15d, r15d
mov rcx, r15
mov rdx, rdi
call fcn.140087e60
jmp 0x14005dbe8
xor r15d, r15d
mov rcx, r15
mov rdx, r13
call fcn.140087e60
jmp 0x14005dbe8
lea rcx, [0x140a96a10]
lea r8, [0x140a9af80]
mov edx, 0x28
call fcn.140094b20
jmp 0x14005dbe8
lea rcx, [0x140a96880]
lea r8, [0x140a968a8]
mov edx, 0x21
call fcn.140094b20
jmp 0x14005dbe8
lea rcx, [0x140a96a10]
lea r8, [0x140a9af80]
mov edx, 0x28
call fcn.140094b20
jmp 0x14005dbe8
lea rcx, [0x140a96a10]
lea r8, [0x140a9af80]
mov edx, 0x28
call fcn.140094b20
jmp 0x14005dbe8
lea rcx, [0x140a96a10]
lea r8, [0x140a9af80]
mov edx, 0x28
call fcn.140094b20
jmp 0x14005dbe8
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x460], rax
lea rax, [rbp + 0x460]
mov qword [rbp + 0x550], rax
lea rax, [0x14003d100]
mov qword [rbp + 0x558], rax
lea rax, [0x140a9a658]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x550]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, [0x140a9a668]
lea rcx, [rbp - 0x30]
call fcn.140094aa0
jmp 0x14005dbe8
xor edi, edi
mov rcx, rdi
mov rdx, r14
call fcn.140087e60
jmp 0x14005dbe8
lea rax, [0x140a9af68]
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.14009b440
jmp 0x14005dbe8
lea r8, [0x140a9af68]
mov rcx, rsi
mov rdx, r13
call fcn.14009b440
jmp 0x14005dbe8
mov edx, 0x14
mov rcx, rsi
call fcn.140087e60
jmp 0x14005dbe8
lea rax, [0x140a9af68]
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14009b440
jmp 0x14005dbe8
lea rax, [0x140a9af68]
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14009b440
ud2