Function at 0x1400324d0
Capabilities:
Create process on windows
Encode data using base64
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, 0x688
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5f0], xmm6
mov qword [rbp + 0x5e8], 0xfffffffffffffffe
mov byte [rbp + 0x470], r9b
mov qword [rbp + 0x430], r8
mov rbx, rdx
mov qword [rbp + 0x4f0], rcx
mov r15, qword [rdx + 0x60]
movzx eax, byte [rdx + 0x68]
test al, al
mov qword [rbp + 0x5b8], rdx
jne 0x140032541
test r15, r15
jne 0x140032541
mov qword [rbp + 0x410], 0
xor r12d, r12d
jmp 0x140033274
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x540], 0
test al, al
jne 0x140032781
mov qword [rbp + 0x5d0], r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140035d35
lea r14, [rbp - 0x18]
lea rsi, [rbp + 0x500]
lea rdi, [rbp + 0x490]
mov qword [rbp + 0x5d8], rax
mov rbx, rax
nop word cs:[rax + rax]
cmp word [rbx], 0
je 0x140032766
mov r12, rbx
mov rcx, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
mov r15, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [r12 + r15*2], 0
jne 0x1400325c0
lea rbx, [r12 + rdx*2]
cmp r15, 1
je 0x1400325a0
test r15, r15
je 0x140035c7a
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x140032610
inc r13
add rax, 0xfffffffffffffffe
jne 0x1400325f0
jmp 0x1400325a0
lea r8, [r13 + 1]
cmp r13, r15
jae 0x140035c92
mov rcx, rsi
mov rdx, r12
call fcn.140027270
add r13, 2
mov r8, r15
sub r8, r13
jb 0x140035cac
lea rdx, [r12 + r13*2]
mov rcx, rdi
call fcn.140027270
movups xmm0, xmmword [rbp + 0x500]
movups xmm1, xmmword [rbp + 0x510]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp + 0x490]
movups xmm1, xmmword [rbp + 0x4a0]
movups xmmword [r14 + 0x18], xmm1
movups xmmword [r14 + 8], xmm0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movdqa xmmword [rbp + 0x550], xmm0
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x570], xmm2
movaps xmmword [rbp + 0x580], xmm3
cmp byte [rbp + 0x568], 2
je 0x140032766
mov rax, qword [rbp + 0x550]
mov rcx, qword [rbp + 0x560]
add rcx, rax
mov qword [rbp + 0x490], rax
mov qword [rbp + 0x498], rcx
mov word [rbp + 0x4a0], 0
mov rcx, rsi
mov rdx, rdi
call fcn.140036e90
movaps xmm0, xmmword [rbp + 0x550]
movaps xmm1, xmmword [rbp + 0x560]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movdqu xmm0, xmmword [rbp + 0x500]
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x510]
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5b7], 0
mov rcx, rdi
lea rdx, [rbp + 0x530]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x570]
call fcn.140037790
cmp byte [rbp + 0x4a8], 2
je 0x1400325a0
cmp qword [rbp + 0x498], 0
je 0x1400325a0
mov r8, qword [rbp + 0x490]
mov rcx, qword [0x1413b4bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400325a0
mov rcx, qword [rbp + 0x5d8]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x5b8]
mov r15, qword [rbp + 0x5d0]
mov rax, qword [rbx + 0x50]
mov rdi, qword [rbx + 0x58]
xor r8d, r8d
test rax, rax
setne r8b
cmove r15, rax
xor esi, esi
jmp 0x1400327a9
xor eax, eax
mov r8, qword [rbp + 0x5d8]
test r15, r15
je 0x14003304f
test r8, r8
je 0x140032800
test rsi, rsi
jne 0x140032800
mov r8d, 1
test rdi, rdi
je 0x14003280a
mov rdx, rdi
and rdx, 7
je 0x14003280f
mov rcx, rdi
and rcx, 0xfffffffffffffff8
mov rsi, rax
nop word [rax + rax]
mov rsi, qword [rsi + 0x3d8]
dec rdx
jne 0x1400327e0
cmp rdi, 8
jae 0x140032820
jmp 0x14003285e
test r8, r8
jne 0x140032862
jmp 0x140035bfb
mov rsi, rax
jmp 0x14003285e
mov rsi, rax
mov rcx, rdi
cmp rdi, 8
jb 0x14003285e
nop dword [rax + rax]
mov rax, qword [rsi + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140032820
xor edi, edi
xor eax, eax
movzx ecx, word [rsi + 0x3d2]
mov r12, rsi
mov r13, rdi
cmp rdi, rcx
jb 0x1400328aa
nop word cs:[rax + rax]
mov rcx, qword [r12 + 0x160]
test rcx, rcx
je 0x140035ad1
movzx r13d, word [r12 + 0x3d0]
inc rax
mov r12, rcx
cmp r13w, word [rcx + 0x3d2]
jae 0x140032880
test rax, rax
je 0x140032940
mov rsi, qword [r12 + r13*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x14003292e
mov rdx, rcx
and rdx, 7
je 0x1400328e5
mov rcx, rdx
nop
mov rsi, qword [rsi + 0x3d8]
dec rcx
jne 0x1400328d0
not rdx
add rdx, rax
mov rcx, rdx
add rax, 0xfffffffffffffffe
cmp rax, 7
jb 0x14003292e
nop
mov rax, qword [rsi + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x1400328f0
xor edi, edi
jmp 0x140032947
lea rdi, [r13 + 1]
mov rsi, r12
dec r15
imul rax, r13, 0x38
lea r14, [r12 + rax]
add r14, 0x168
shl r13, 5
cmp byte [r12 + r13 + 0x18], 2
jne 0x1400329c0
mov rbx, qword [rbp + 0x530]
mov eax, 0
test rbx, rbx
je 0x1400327a9
mov r12, rdi
mov r13, r8
mov r9, qword [r14]
mov rax, qword [r14 + 0x10]
mov rdi, qword [rbp + 0x538]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x500]
mov rdx, rbx
mov r8, rdi
call fcn.1400370d0
cmp qword [rbp + 0x500], 0
je 0x140032c00
xor eax, eax
mov r8, r13
mov rdi, r12
jmp 0x1400327a9
mov qword [rbp + 0x520], rdi
mov rbx, qword [r14 + 0x18]
mov rdi, qword [r14 + 0x28]
test rdi, rdi
mov qword [rbp + 0x5d0], r15
mov qword [rbp + 0x5d8], r8
je 0x140032a2c
js 0x140035c5e
movzx eax, byte [0x1413b4ad0]
mov rax, qword [0x1413b4bb8]
test rax, rax
jne 0x140032a11
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035c18
mov qword [0x1413b4bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x140032a32
jmp 0x140035c18
mov r15d, 1
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.140043860
movzx eax, byte [r14 + 0x30]
mov qword [rbp + 0x550], r15
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rdi
mov byte [rbp + 0x568], al
mov rdi, qword [r14]
mov r14, qword [r14 + 0x10]
mov r15d, 2
test r14, r14
je 0x140032ad0
mov rax, r14
shr rax, 0x3e
jne 0x140035c43
mov rbx, r14
add rbx, r14
je 0x140032ad0
movzx eax, byte [0x1413b4ad0]
mov rax, qword [0x1413b4bb8]
test rax, rax
jne 0x140032ab0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035c68
mov qword [0x1413b4bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140035c68
mov r15, rax
jmp 0x140032ad2
xor ebx, ebx
add r12, r13
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.140043860
movdqu xmm0, xmmword [rbp + 0x550]
movups xmm1, xmmword [rbp + 0x560]
lea rax, [rbp - 0x18]
movdqu xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov rbx, qword [r12]
mov rdi, qword [r12 + 0x10]
test rdi, rdi
je 0x140032b62
js 0x140035c4d
movzx eax, byte [0x1413b4ad0]
mov rax, qword [0x1413b4bb8]
test rax, rax
jne 0x140032b47
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035c2a
mov qword [0x1413b4bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x140032b68
jmp 0x140035c2a
mov r15d, 1
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.140043860
movzx eax, byte [r12 + 0x18]
mov qword [rbp + 0x550], r15
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rdi
mov byte [rbp + 0x568], al
mov byte [rbp + 0x5cf], 0
lea rcx, [rbp + 0x490]
lea rdx, [rbp + 0x530]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x550]
call fcn.140037790
cmp byte [rbp + 0x4a8], 2
mov r15, qword [rbp + 0x5d0]
mov rdi, qword [rbp + 0x520]
je 0x1400327a0
cmp qword [rbp + 0x498], 0
je 0x1400327a0
mov r8, qword [rbp + 0x490]
mov rcx, qword [0x1413b4bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400327a0
mov rax, qword [rbp + 0x508]
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x518]
mov byte [rbp + 0x3d8], 0
test rdx, rdx
je 0x140032d95
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x140032cfe
mov r8, rcx
and r8, 7
je 0x140032c6e
mov rcx, r8
nop word cs:[rax + rax]
movzx r9d, word [rax + 0x3d2]
mov rax, qword [rax + r9*8 + 0x3d8]
dec rcx
jne 0x140032c50
not r8
add r8, rdx
mov rcx, r8
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140032cfe
nop dword [rax]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140032c80
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rbp + 0x478], rax
mov qword [rbp + 0x480], 0
mov qword [rbp + 0x488], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x478]
lea r8, [rbp + 0x3d8]
call fcn.140037270
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4e0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4d0], xmm0
movdqu xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x4c0], xmm3
movaps xmmword [rbp + 0x4b0], xmm2
movaps xmmword [rbp + 0x4a0], xmm1
movdqa xmmword [rbp + 0x490], xmm0
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x140032dca
mov rcx, rdx
jmp 0x140032df9
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 + 0x3d8]
call fcn.140037270
jmp 0x140032eeb
mov r8, qword [rbp + 0x30]
nop
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140032df4
movzx eax, word [rdx + 0x3d0]
inc r8
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140032dd0
jmp 0x140032df9
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x580], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x570], xmm2
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
mov r8, qword [rbp + 0x4c0]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x490]
movaps xmm1, xmmword [rbp + 0x4a0]
movaps xmm2, xmmword [rbp + 0x4b0]
movups xmmword [rcx + rdx + 0x188], xmm2
movups xmmword [rcx + rdx + 0x178], xmm1
movups xmmword [rcx + rdx + 0x168], xmm0
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
lea rdx, [rbp + 0x588]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x4c8]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x20], rax
movaps xmm0, xmmword [rbp + 0x590]
movaps xmmword [rbp + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x550]
movaps xmm1, xmmword [rbp + 0x560]
movaps xmm2, xmmword [rbp + 0x570]
movaps xmm3, xmmword [rbp + 0x580]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x5a0], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x590], xmm0
movdqa 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 + 0x540]
movaps xmmword [rbp + 0x560], xmm1
movdqa xmmword [rbp + 0x550], xmm0
cmp byte [rbp + 0x3d8], 0
je 0x140032f7d
test rdi, rdi
je 0x140035cc3
mov rax, qword [rbx + 0x3d8]
mov qword [rbp + 0x530], rax
dec rdi
mov qword [rbp + 0x538], rdi
mov qword [rax + 0x160], 0
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [rbp + 0x580], 2
mov eax, 0
mov r8, r13
mov rdi, r12
je 0x1400327a9
mov rdi, r15
mov rbx, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
mov rax, qword [rbp + 0x588]
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x520], rax
movzx r15d, byte [rbp + 0x5a0]
cmp qword [rbp + 0x570], 0
je 0x140032fed
mov r8, qword [rbp + 0x568]
mov rcx, qword [0x1413b4bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r13
test r14, r14
je 0x140033007
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r13
mov eax, 0
cmp r15b, 2
mov r15, rdi
mov rdi, r12
je 0x1400327a9
mov eax, 0
cmp qword [rbp + 0x520], 0
je 0x1400327a9
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r13
xor eax, eax
jmp 0x1400327a9
mov rax, qword [rbp + 0x540]
mov qword [rbp + 0x428], rax
movdqu xmm0, xmmword [rbp + 0x530]
movdqu xmmword [rbp + 0x418], xmm0
mov qword [rbp + 0x410], 1
movzx eax, byte [0x1413b4ad0]
mov rcx, qword [0x1413b4bb8]
test rcx, rcx
je 0x140033094
mov rbx, qword [rbp + 0x5b8]
jmp 0x1400330b4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rbx, qword [rbp + 0x5b8]
je 0x140035ce0
mov rcx, rax
mov qword [0x1413b4bb8], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140035ce0
mov dword [rax], 0x48544150
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 4
mov qword [rbp + 0x560], 4
mov byte [rbp + 0x568], 0
mov rcx, rax
add rcx, 4
mov qword [rbp + 0x490], rax
mov qword [rbp + 0x498], rcx
mov word [rbp + 0x4a0], 0
lea rcx, [rbp + 0x500]
lea rdx, [rbp + 0x490]
call fcn.140036e90
movups xmm0, xmmword [rbp + 0x550]
movups xmm1, xmmword [rbp + 0x560]
movups xmmword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
movdqu xmm0, xmmword [rbp + 0x500]
movdqa xmmword [rbp - 0x30], xmm0
mov r14, qword [rbp + 0x510]
mov qword [rbp - 0x20], r14
mov rsi, qword [rbp - 0x30]
mov r15, qword [rbp + 0x418]
test r15, r15
je 0x14003323e
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x5d0], rax
mov r12, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [r15 + 0x168]
movzx eax, word [r15 + 0x3d2]
mov qword [rbp + 0x5d8], rax
imul rbx, rax, 0x38
mov rdi, 0xffffffffffffffff
nop
test rbx, rbx
je 0x1400331e0
lea r13, [rcx + 0x38]
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x10]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, r14d
call r12
add rbx, 0xffffffffffffffc8
inc rdi
mov rcx, r13
cmp eax, 3
je 0x1400331a0
cmp eax, 1
jne 0x140033213
jmp 0x1400331e7
mov rdi, qword [rbp + 0x5d8]
mov rbx, qword [rbp + 0x5b8]
mov rax, qword [rbp + 0x5d0]
sub rax, 1
jb 0x1400336f4
mov qword [rbp + 0x5d0], rax
mov r15, qword [r15 + rdi*8 + 0x3d8]
jmp 0x14003317d
cmp eax, 2
mov rbx, qword [rbp + 0x5b8]
jne 0x140035b75
test r15, r15
je 0x14003323e
shl rdi, 5
mov r12, qword [r15 + rdi]
mov rdi, qword [r15 + rdi + 0x10]
cmp qword [rbp - 0x10], 0
jne 0x140033248
jmp 0x14003325b
xor r12d, r12d
cmp qword [rbp - 0x10], 0
je 0x14003325b
mov r8, qword [rbp - 0x18]
mov rcx, qword [0x1413b4bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp - 0x28], 0
je 0x140033274
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, qword [rbx + 0x40]
lea r14, [0x1413a24b0]
test rdx, rdx
je 0x1400332dc
mov r15, qword [rbx + 0x30]
cmp rdx, 4
jae 0x140033297
lea rax, [0x140038fa0]
jmp 0x1400332c0
mov eax, dword [r15]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140038f90]
lea rax, [0x140038fa0]
cmove rax, rcx
mov qword [rbp + 0x5d0], rdx
movzx esi, byte [rdx + r15 - 1]
mov byte [rbp + 0x5e7], 1
mov ecx, esi
call rax
test al, al
je 0x140033344
mov rbx, r12
mov r12, qword [rbp + 0x5d0]
cmp r12, 3
jbe 0x1400333b4
movzx eax, byte [r12 + r15 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x1400333b4
movzx eax, byte [r15 + r12 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x1400333b4
movzx eax, byte [r15 + r12 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x1400333b4
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x1400333b6
xor eax, eax
lea rsi, [r15 + r12]
xor ecx, ecx
nop dword [rax]
cmp r12, rcx
je 0x140033471
movzx edx, byte [r15 + rcx]
cmp edx, 0x2f
je 0x1400333db
inc rcx
cmp edx, 0x5c
jne 0x1400333c0
test al, al
mov qword [rbp + 0x520], rsi
je 0x140033543
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, r12
call fcn.1400260d0
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
test rcx, rcx
je 0x140033661
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140039190
jmp 0x140033673
xor r8d, r8d
lea r14, [0x1413a2448]
mov rax, r15
jmp 0x14003348c
xor r8d, r8d
test cx, cx
je 0x1400332dc
mov cx, 1
test r8w, r8w
jne 0x140033480
cmp rax, rsi
je 0x1400336c7
movzx r9d, byte [rax]
movzx edx, r9b
test dl, dl
js 0x1400334b0
inc rax
jmp 0x140033512
mov r8d, edx
and r8d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp dl, 0xdf
jbe 0x140033504
movzx edx, byte [rax + 2]
shl r10d, 6
and edx, 0x3f
or edx, r10d
cmp r9b, 0xf0
jb 0x14003351c
movzx r9d, byte [rax + 3]
add rax, 4
and r8d, 7
shl r8d, 0x12
shl edx, 6
and r9d, 0x3f
or r9d, edx
or r9d, r8d
mov edx, r9d
cmp edx, 0xffff
jbe 0x140033512
jmp 0x14003352f
add rax, 2
shl r8d, 6
or r8d, r10d
mov edx, r8d
xor r8d, r8d
mov ecx, edx
jmp 0x140033483
add rax, 3
shl r8d, 0xc
or edx, r8d
cmp edx, 0xffff
jbe 0x140033512
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140033483
test r12, r12
js 0x140035dc2
movzx eax, byte [0x1413b4ad0]
mov rcx, qword [0x1413b4bb8]
test rcx, rcx
mov rbx, qword [rbp + 0x5b8]
jne 0x14003357f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035da9
mov rcx, rax
mov qword [0x1413b4bb8], rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140035da9
mov rdi, rax
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.140043860
mov qword [rbp + 0x5d8], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov byte [rbp - 0x18], 0
mov eax, dword [rbp + 0x490]
mov ecx, dword [rbp + 0x493]
mov dword [rbp - 0x17], eax
mov dword [rbp - 0x14], ecx
lea rdx, [0x1413a2460]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.14002bdd0
lea rax, [rbp - 0x17]
mov rdi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rbp + 0x490], ecx
mov dword [rbp + 0x493], eax
mov qword [rbp + 0x3f8], r14
mov qword [rbp + 0x3f0], rdi
mov byte [rbp + 0x5b5], 1
lea rcx, [rbp + 0x550]
mov rdx, rdi
mov r8, rsi
call fcn.140038fb0
cmp qword [rbp + 0x550], 0
je 0x14003367f
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x540], rax
movdqu xmm0, xmmword [rbp + 0x550]
movdqa xmmword [rbp + 0x530], xmm0
test r14, r14
jne 0x1400340d3
jmp 0x1400340e5
mov qword [rbp + 0x538], rax
mov qword [rbp + 0x530], 0
mov rbx, qword [rbp + 0x5b8]
jmp 0x1400340e5
mov qword [rbp + 0x5d8], r14
mov qword [rbp + 0x5d0], rdi
mov rcx, rdi
mov rdx, rsi
call fcn.140031510
test rax, rax
je 0x140033754
cmp rdx, 2
mov r11, qword [rbp + 0x5d0]
jne 0x140033707
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x140033707
mov r8d, 2
mov r9, rax
jmp 0x14003404e
cmp r12, 0xf
ja 0x140033745
xor eax, eax
mov qword [rbp + 0x528], rax
xor eax, eax
nop dword [rax + rax]
cmp byte [r15 + rax], 0x2e
je 0x140033765
inc rax
cmp r12, rax
jne 0x1400336e0
jmp 0x140033771
xor r12d, r12d
cmp qword [rbp - 0x10], 0
jne 0x140033248
jmp 0x14003325b
xor r9d, r9d
mov r8, rdx
nop dword [rax]
test r8, r8
je 0x140033760
mov rcx, r8
dec r8
cmp byte [rax + rcx - 1], 0x2e
jne 0x140033710
mov r10, rdx
sub r10, rcx
jb 0x140035e04
test r8, r8
je 0x140034048
mov r9, rax
add rax, rcx
mov rdx, r10
jmp 0x140034050
mov cl, 0x2e
mov rdx, r15
mov r8, r12
call fcn.14001a990
jmp 0x14003376a
mov r11, qword [rbp + 0x5d0]
jmp 0x140034070
jmp 0x140034050
mov eax, 1
mov qword [rbp + 0x528], rax
mov qword [rbp + 0x520], rsi
test rbx, rbx
je 0x1400337c1
add rdi, rbx
mov qword [rbp + 0x490], rbx
mov qword [rbp + 0x498], rdi
mov word [rbp + 0x4a0], 0
mov byte [rbp + 0x4a8], 1
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x490]
call fcn.14002b060
movzx eax, byte [rbp - 0x18]
cmp al, 2
jne 0x140033ab0
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x550]
call fcn.14002ba20
cmp byte [rbp + 0x568], 2
jne 0x1400337f5
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x550]
call fcn.140027170
jmp 0x1400338d0
mov rcx, qword [rbp + 0x550]
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x5c0], rax
mov rsi, qword [rbp + 0x560]
mov byte [rbp + 0x5b6], 1
mov qword [rbp + 0x5d8], rcx
mov rdx, rsi
call fcn.14002f140
cmp rsi, rdx
cmovb rdx, rsi
test rax, rax
cmove rdx, rsi
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x5c0]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov rax, qword [rbp + 0x568]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, qword [rbp + 0x5d0]
call fcn.14002daa0
cmp qword [rbp + 0x528], 1
je 0x140033880
lea rcx, [rbp - 0x30]
call case.0x14002cd4f.317
mov rsi, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x490]
mov rdx, rsi
call fcn.140038fb0
cmp qword [rbp - 0x28], 0
mov rbx, qword [rbp + 0x5b8]
je 0x1400338b7
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x490]
test r8, r8
je 0x1400338d0
movdqu xmm6, xmmword [rbp + 0x498]
jmp 0x140033e64
mov qword [rbp + 0x5c0], r15
mov qword [rbp + 0x478], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x480], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r15d, r15d
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jb 0x14003392f
jmp 0x140033940
jae 0x1400339fe
cmp r8, 0x201
jae 0x140033940
mov r12d, 0x200
lea r13, [rbp - 0x30]
mov rbx, r8
jmp 0x140033998
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x14003396f
lea rcx, [rbp + 0x478]
mov rdx, r14
call fcn.1400521e0
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x5d8], rax
mov r15, qword [rbp + 0x480]
mov eax, 0xffffffff
cmp r15, rax
mov r14d, 0xffffffff
cmovb r14, r15
mov qword [rbp + 0x488], r14
mov rsi, r15
mov r12, r14
mov r13, qword [rbp + 0x5d8]
mov rbx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test eax, eax
jne 0x1400339bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140033bbe
mov r8d, edi
cmp rbx, r8
jne 0x140033920
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140035cfb
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x140033940
jmp 0x14003392f
cmp r12, r8
jb 0x140035ded
lea rcx, [rbp + 0x550]
mov rdx, r13
call fcn.140027270
lea rcx, [rbp + 0x550]
mov rdx, qword [rbp + 0x5c0]
add eax, 0x8b4c0000
test eax, edx
add eax, 0x70e80000
movabs al, byte [0x528bd8348ffff]
add byte [rcx], al
je 0x140033a46
lea rcx, [rbp + 0x550]
call case.0x14002cd4f.317
mov rdi, qword [rbp + 0x550]
mov r8, qword [rbp + 0x560]
lea rcx, [rbp + 0x500]
mov rdx, rdi
call fcn.140038fb0
cmp qword [rbp + 0x558], 0
je 0x140033a7f
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x500]
movdqu xmmword [rbp + 0x498], xmm0
mov rax, qword [rbp + 0x510]
mov qword [rbp + 0x4a8], rax
mov qword [rbp + 0x490], 0
mov sil, 1
jmp 0x140033be0
lea r12, [rbp - 0x17]
lea r13, [rbp + 0x569]
lea rsi, [rbp - 0x30]
lea rdi, [rbp + 0x490]
mov rbx, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033aee
mov byte [rbp + 0x5e7], 1
mov rcx, rsi
mov rdx, rdi
call fcn.14002b060
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x1400337c1
mov r8, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140033b11
test rcx, rcx
je 0x140033ad0
mov rcx, qword [0x1413b4bb8]
xor edx, edx
call rbx
jmp 0x140033ad0
mov r9d, dword [r12]
mov r10d, dword [r12 + 3]
mov dword [r13 + 3], r10d
mov dword [r13], r9d
mov qword [rbp + 0x550], r8
mov qword [rbp + 0x558], rcx
mov qword [rbp + 0x560], rdx
mov byte [rbp + 0x568], al
lea rcx, [rbp + 0x550]
mov rdx, r15
mov r8, qword [rbp + 0x5d0]
call fcn.14002daa0
cmp qword [rbp + 0x528], 1
je 0x140033b69
lea rcx, [rbp + 0x550]
call case.0x14002cd4f.317
mov r14, qword [rbp + 0x550]
mov r8, qword [rbp + 0x560]
mov rcx, rsi
mov rdx, r14
call fcn.140038fb0
cmp qword [rbp + 0x558], 0
invalid
je 0x140033b9a
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, r14
call rbx
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x140035125
mov byte [rbp + 0x5e7], 1
mov rcx, rsi
mov rdx, rdi
call fcn.14002b060
jmp 0x140033ae2
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x498], rax
mov qword [rbp + 0x490], 1
test dword [rax + 0x1000004], edx
add byte [rax], al
add byte [rcx], dh
invalid
test r15, r15
je case.0x14002b31e.542
mov rcx, qword [0x1413b4bb8]
xor edx, edx
mov r8, qword [rbp + 0x5d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test sil, sil
mov r15, qword [rbp + 0x5c0]
je 0x140033c17
mov r8, qword [rbp + 0x498]
test r8, r8
jne 0x140033e55
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x490]
call fcn.140039090
mov qword [rbp + 0x478], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x480], xmm0
add byte [rax + rax], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor esi, esi
xor r15d, r15d
xor ebx, ebx
cmp r8, 0x201
jb 0x140033c7f
jmp 0x140033c90
mov r9, rax
mov r8, rdx
xor eax, eax
test r9, r9
cmovne rax, r9
test rax, rax
invalid
je 0x140034070
test r9, r9
movups xmm6, xmmword [rbp - 0x28]
jmp 0x140033e5d
lea rcx, [0x14139f880]
lea r8, [0x1413a04b8]
mov edx, 0x2b
call fcn.140051330
jmp 0x140035e62
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x500], rax
lea rax, [rbp + 0x500]
mov qword [rbp + 0x490], rax
lea rax, [0x140029d60]
mov qword [rbp + 0x498], rax
lea rax, [0x1413a23d8]
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
mov qword [rbp + 0x570], 0
lea rax, [rbp + 0x490]
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x568], 1
lea rdx, [0x1413a2410]
lea rcx, [rbp + 0x550]
call fcn.1400511a0
jmp 0x140035e62
lea rcx, [0x14139f880]
lea r8, [0x14139f910]
mov edx, 0x2b
call fcn.140051330
jmp 0x140035e62
mov ecx, 1
mov rdx, rdi
call fcn.1400510d0
jmp 0x140035e62
mov byte [rbp + 0x5cf], 1
mov ecx, 1
mov rdx, rdi
call fcn.1400510d0
jmp 0x140035e62
call fcn.1400135f0
jmp 0x140035e62
mov byte [rbp + 0x5cf], 1
call fcn.1400135f0
jmp 0x140035e62
call fcn.1400135f0
jmp 0x140035e62
mov ecx, 2
mov rdx, rbx
call fcn.1400510d0
jmp 0x140035e62
lea r8, [0x1413a21c8]
mov ecx, 1
xor edx, edx
call fcn.1400511e0
jmp 0x140035e62
lea rax, [0x1413a2198]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1400512c0
jmp 0x140035e62
lea r8, [0x1413a21b0]
mov rcx, r13
mov rdx, r15
call fcn.1400511e0
jmp 0x140035e62
lea rcx, [0x1413a0130]
lea r8, [0x1413a0158]
mov edx, 0x21
call fcn.140051330
jmp 0x140035e62
mov byte [rbp + 0x5e7], 1
mov ecx, 1
mov edx, 4
call fcn.1400510d0
jmp 0x140035e62
lea rcx, [0x1413a0230]
lea r8, [0x1413a2908]
mov edx, 0x28
call fcn.140051330
jmp 0x140035e62
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x490], rax
lea rax, [rbp + 0x490]
mov qword [rbp + 0x550], rax
lea rax, [0x140029d60]
mov qword [rbp + 0x558], rax
lea rax, [0x1413a2208]
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, [0x1413a2218]
lea rcx, [rbp - 0x30]
call fcn.1400511a0
jmp 0x140035e62
mov byte [rbp + 0x5e7], 1
mov ecx, 1
mov rdx, r12
call fcn.1400510d0
jmp 0x140035e62
mov byte [rbp + 0x5e7], 1
call fcn.1400135f0
jmp 0x140035e62
lea rax, [0x1413a28f0]
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.1400512c0
jmp 0x140035e62
lea r8, [0x14139fa10]
call fcn.1400511e0
jmp 0x140035e62