Function at 0x1400969d0
Capabilities:
Check if file exists
Check mutex on windows
Create directory
Create process on windows
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
movaps xmmword [rsp + 0x270], xmm7
movaps xmmword [rsp + 0x260], xmm6
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov rax, qword [0x1402ecb00]
mov dword [rax + 0x78], 0
cmp byte [0x1402ec94f], 0
js 0x140096a25
lea r8, [0x1402ec938]
jmp 0x140096a2c
mov r8, qword [0x1402ec938]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x140096a97
mov rsi, rax
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140096c0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1401ac870
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x260]
movaps xmm7, xmmword [rsp + 0x270]
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140096ab1
call fcn.1401ac870
int3
movaps xmm6, xmmword [rsp + 0x260]
movaps xmm7, xmmword [rsp + 0x270]
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
lea r14, [rsp + 0x90]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, r14
mov r8, rbx
mov r9, r15
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0xa7], 0
jns 0x140096b25
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
cmp byte [rsp + 0x107], 0
jns 0x140096b3c
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
xor eax, eax
lea r9, [rsp + 0x240]
mov qword [r9 + 0x10], rax
xorps xmm0, xmm0
movaps xmmword [r9], xmm0
lea rcx, [rsp + 0xf0]
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm0
lea rbx, [rsp + 0x90]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, Ordinal_133
mov r8, rbx
call fcn.140098460
cmp byte [rbx + 0x17], 0
jns 0x140096b96
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
cmp byte [rsp + 0x107], 0
jns 0x140096bad
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
cmp byte [rsp + 0x87], 0
jns 0x140096bc1
mov rcx, qword [rsp + 0x70]
call fcn.1401a9dc4
test r13, r13
je 0x140096a51
cmp byte [r13 + 0x4f], 0
jns 0x140096bde
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1401a9dc4
cmp byte [r13 + 0x2f], 0
jns 0x140096bf2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1401a9dc4
cmp byte [r13 + 0x17], 0
jns 0x140096c02
mov rcx, qword [r13]
call fcn.1401a9dc4
mov rcx, r13
call fcn.1401a9dc4
jmp 0x140096a51
mov ecx, 0x50
call fcn.1401a9d88
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov rbx, qword [0x1402ecb00]
movsx rax, byte [rbx + 0x77]
test rax, rax
jns 0x140096c47
mov rax, qword [rbx + 0x68]
lea rcx, [r13 + 0x18]
mov qword [rsp + 0x40], rcx
lea rcx, [r13 + 0x38]
mov qword [rsp + 0x38], rcx
test rax, rax
je 0x140096bc1
movabs rbp, 0x7ffffffffffffff7
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], r15
movaps xmm6, xmmword [0x140299a90]
movaps xmmword [rsp + 0x70], xmm6
movsx rdi, byte [0x1402ec16f]
mov r14, rdi
test rdi, rdi
jns 0x140096ca1
mov r14, qword [0x1402ec160]
lea r12, [r14 + 1]
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], r15
cmp r12, rbp
ja 0x140098403
cmp r12, 0x16
ja 0x140097e53
lea rax, [rsp + 0xd0]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov byte [rax + 0x17], r12b
lea rcx, [rax + 1]
lea rdx, [0x14029ecf4]
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe dl
or dl, r8b
je 0x140098401
mov byte [rax], 0x3f
test dil, dil
js 0x140096d11
lea rdx, [0x1402ec158]
jmp 0x140096d18
mov rdx, qword [0x1402ec158]
test r14, r14
js 0x140098401
lea rdi, [rcx + r14]
cmp rdx, rcx
setb al
cmp rdx, rdi
setae r8b
or r8b, al
je 0x140098401
test r14, r14
je 0x140096d48
mov r8, r14
call fcn.1401e56b0
mov byte [rdi], 0
lea r14, [0x14029eb17]
lea rcx, [rsp + 0xd0]
mov r8d, 1
mov rdx, r14
call fcn.140174f40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xb0], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xc0], rcx
xor edi, edi
mov qword [rax + 0x10], rdi
xorps xmm7, xmm7
movups xmmword [rax], xmm7
movsx r8, byte [rbx + 0x2f]
test r8, r8
js 0x140096d9b
lea rdx, [rbx + 0x18]
jmp 0x140096da3
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0xb0]
call fcn.140174f40
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm7
lea rdx, [0x14029ecff]
mov r8d, 1
call fcn.140174f40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x240], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x250], rcx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm7
movsx r8, byte [0x1402ec1b7]
test r8, r8
js 0x140096e10
lea rdx, [0x1402ec1a0]
jmp 0x140096e1e
mov r8, qword [0x1402ec1a8]
mov rdx, qword [0x1402ec1a0]
lea rcx, [rsp + 0x240]
call fcn.140174f40
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x90]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm7
mov r8d, 1
mov rdx, r14
call fcn.140174f40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x100], rcx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm7
movsx r8, byte [rbx + 0x77]
test r8, r8
js 0x140096e84
add rbx, 0x60
jmp 0x140096e8c
mov r8, qword [rbx + 0x68]
mov rbx, qword [rbx + 0x60]
lea r14, [rsp + 0xf0]
mov rcx, r14
mov rdx, rbx
call fcn.140174f40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x80], rcx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm7
cmp byte [r14 + 0x17], 0
jns 0x140096ece
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
cmp byte [rsp + 0xa7], 0
jns 0x140096ee5
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
cmp byte [rsp + 0x257], 0
jns 0x140096efc
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
cmp byte [rsp + 0x67], 0
jns 0x140096f0d
mov rcx, qword [rsp + 0x50]
call fcn.1401a9dc4
cmp byte [rsp + 0xc7], 0
jns 0x140096f24
mov rcx, qword [rsp + 0xb0]
call fcn.1401a9dc4
cmp byte [rsp + 0xe7], 0
jns 0x140096f3b
mov rcx, qword [rsp + 0xd0]
call fcn.1401a9dc4
mov qword [rsp + 0x60], r15
movaps xmmword [rsp + 0x50], xmm6
cmp byte [0x1402ebe27], 0
js 0x140097cf8
mov rax, qword [0x1402ebe20]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [0x1402ebe10]
movaps xmmword [rsp + 0xf0], xmm0
movsx r8, byte [0x1402ebee7]
test r8, r8
js 0x140096f86
lea rdx, [0x1402ebed0]
jmp 0x140096f94
mov r8, qword [0x1402ebed8]
mov rdx, qword [0x1402ebed0]
lea rbx, [rsp + 0xf0]
mov rcx, rbx
call fcn.140174f40
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xa0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x90], xmm0
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
cmp byte [rbx + 0x17], 0
jns 0x140096fdc
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
lea r12, [rsp + 0x70]
movsx r8, byte [r12 + 0x17]
test r8, r8
cmovs r8, qword [r12 + 8]
mov rdx, qword [r12]
cmovns rdx, r12
lea rcx, [rsp + 0x90]
call fcn.140174f40
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
mov rbx, qword [rax + 8]
mov ecx, dword [rax + 0x13]
mov dword [rsp + 0xb3], ecx
mov ecx, dword [rax + 0x10]
mov dword [rsp + 0xb0], ecx
mov dil, byte [rax + 0x17]
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
cmp byte [0x1402ebe3f], 0
js 0x140097d18
mov rax, qword [0x1402ebe38]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [0x1402ebe28]
movaps xmmword [rsp + 0xf0], xmm0
movsx r8, byte [0x1402ebee7]
test r8, r8
js 0x140097075
lea rdx, [0x1402ebed0]
jmp 0x140097083
mov r8, qword [0x1402ebed8]
mov rdx, qword [0x1402ebed0]
lea r14, [rsp + 0xf0]
mov rcx, r14
call fcn.140174f40
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x250], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x240], xmm0
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
cmp byte [r14 + 0x17], 0
jns 0x1400970cc
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
mov qword [rsp + 0x30], r13
movsx r8, byte [rsp + 0x87]
test r8, r8
cmovs r8, qword [rsp + 0x78]
cmovs r12, qword [rsp + 0x70]
lea rcx, [rsp + 0x240]
mov rdx, r12
call fcn.140174f40
mov r12, qword [rax]
mov r15, qword [rax + 8]
mov ecx, dword [rax + 0x13]
mov dword [rsp + 0xf3], ecx
mov ecx, dword [rax + 0x10]
mov dword [rsp + 0xf0], ecx
mov r14b, byte [rax + 0x17]
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
mov ecx, 0x30
call fcn.1401a9d88
test rax, rax
je 0x140098401
mov rbp, rax
mov r13, rax
test dil, dil
js 0x140097d38
mov rax, qword [rsp + 0x48]
mov qword [r13], rax
mov qword [r13 + 8], rbx
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xb3]
mov dword [r13 + 0x10], eax
mov dword [r13 + 0x13], ecx
mov byte [r13 + 0x17], dil
add rbp, 0x18
test r14b, r14b
js 0x140097d4d
mov qword [r13 + 0x18], r12
mov qword [r13 + 0x20], r15
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf3]
mov dword [r13 + 0x28], eax
mov dword [r13 + 0x2b], ecx
mov byte [r13 + 0x2f], r14b
lea rbx, [rsp + 0x50]
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
mov rcx, rbx
mov rdx, r13
call fcn.1400a4290
movsx rax, byte [rbx + 0x17]
mov rcx, rax
test rax, rax
jns 0x1400971ce
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140097d60
cmp byte [r13 + 0x2f], 0
js 0x140097dd3
cmp byte [r13 + 0x17], 0
js 0x140097de1
mov rcx, r13
call fcn.1401a9dc4
test r14b, r14b
jns 0x140097202
mov rcx, r12
call fcn.1401a9dc4
test dil, dil
mov r13, qword [rsp + 0x30]
jns 0x140097216
mov rcx, qword [rsp + 0x48]
call fcn.1401a9dc4
cmp byte [rsp + 0x257], 0
lea r12, [rsp + 0xf0]
jns 0x140097235
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
cmp byte [rsp + 0xa7], 0
jns 0x14009724c
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
movsx rax, byte [rsp + 0x67]
test rax, rax
jns 0x14009725c
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140097ea2
xorps xmm0, xmm0
lea r9, [rsp + 0x90]
movaps xmmword [r9], xmm0
xor eax, eax
mov qword [r9 + 0x10], rax
lea rdi, [rsp + 0xf0]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm0
mov qword [rsp + 0x20], rdi
lea r8, [0x1402ec428]
xor ecx, ecx
mov edx, Ordinal_145
call fcn.140098460
cmp byte [rdi + 0x17], 0
jns 0x1400972b4
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
xor edi, edi
cmp byte [rsp + 0x67], 0
jns 0x1400972c7
mov rcx, qword [rsp + 0x50]
call fcn.1401a9dc4
cmp byte [rsp + 0x87], 0
jns 0x1400972db
mov rcx, qword [rsp + 0x70]
call fcn.1401a9dc4
test dil, dil
je 0x140096bc1
lea rbx, [rsp + 0x70]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
xor eax, eax
mov qword [rsp + 0x100], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
lea r14, [rsp + 0x90]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x240]
mov rcx, r15
call fcn.1400a41a0
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, r15
mov r8, r13
mov r9, r14
call fcn.140099f10
cmp byte [r15 + 0x17], 0
js 0x140097e26
cmp byte [rsp + 0x107], 0
movabs rdi, 0xaaaaaaaaaaaaaaaa
jns 0x140097367
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
mov rcx, r12
call fcn.1400a41a0
cmp byte [rsp + 0x107], 0
jns 0x140097381
mov r12, qword [rsp + 0xf0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
setne al
and ebp, 0x10
shr ebp, 4
and bpl, al
cmp byte [rsp + 0x107], 0
jns 0x1400973b2
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
test bpl, bpl
movabs rbp, 0x7ffffffffffffff7
jne 0x14009740f
lea r15, [rsp + 0xf0]
mov rcx, r15
call fcn.1400a41a0
cmp byte [r15 + 0x17], 0
jns 0x1400973e0
mov r15, qword [rsp + 0xf0]
xor ecx, ecx
mov rdx, r15
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp byte [rsp + 0x107], 0
jns 0x140097405
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rdi
movaps xmmword [rsp + 0x90], xmm6
cmp byte [r13 + 0x2f], 0
js 0x140097def
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x240], xmm0
mov ecx, Ordinal_26
call fcn.1401a9d88
test rax, rax
je 0x140098401
mov r15, rax
cmp byte [rsp + 0x257], 0
js 0x140097e09
mov rax, qword [rsp + 0x250]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], 0
mov eax, dword [0x14032e548]
lea ecx, [rax + 1]
mov dword [0x14032e548], ecx
test eax, eax
jne 0x140097541
lea rax, [fcn.1400ab570]
mov qword [fcn.1400ab570], rax
lea rax, [fcn.140058110]
mov qword [fcn.140058110], rax
lea rax, [fcn.1400ab5c0]
mov qword [fcn.1400ab5c0], rax
lea rax, [fcn.1401c5220]
mov qword [fcn.1401c5220], rax
lea rax, [fcn.1400ab640]
mov qword [fcn.1400ab640], rax
lea rax, [fcn.1401aab80]
mov qword [fcn.1401aab80], rax
cmp byte [0x140331410], 0
jne 0x140097529
mov byte [0x140331410], 1
mov rax, qword [0x1402e9840]
mov rax, qword [rax + 0x20]
call qword [0x1402cbd20]
test eax, eax
je 0x14009753b
mov ecx, 3
call fcn.1400c4da0
test eax, eax
je 0x140097dc4
dec dword [0x14032e548]
call fcn.1400aef40
mov qword [rsp + 0xf0], rax
test rax, rax
je 0x14009765b
mov r12, rax
cmp byte [r15 + 0x17], 0
mov r8, r15
jns 0x140097567
mov r8, qword [r15]
mov rcx, r12
mov edx, 0x2712
call fcn.1400aeee0
xor edi, edi
mov rcx, r12
mov edx, 0x40
xor r8d, r8d
call fcn.1400aeee0
mov rcx, r12
mov edx, 0x51
xor r8d, r8d
call fcn.1400aeee0
lea r8, [0x14009f270]
mov rcx, r12
mov edx, 0x4e2b
call fcn.1400aeee0
lea rbp, [rsp + 0xf0]
mov rcx, r12
mov edx, 0x2711
mov r8, rbp
call fcn.1400aeee0
mov rcx, qword [rbp]
mov edx, Ordinal_14
mov r8d, 0x708
call fcn.1400aeee0
mov rcx, qword [rbp]
call fcn.1400af050
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
mov r13, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
mov r12d, 0
sub rbp, r13
je 0x140097644
js 0x140098415
mov rcx, rbp
call fcn.1401a9d88
mov r12, rax
mov qword [rsp + 0x90], rax
lea rdi, [rax + rbp]
mov qword [rsp + 0xa0], rdi
mov rcx, rax
mov rdx, r13
mov r8, rbp
call fcn.1401e56b0
mov qword [rsp + 0x98], rdi
cmp qword [rsp + 0xf0], 0
movabs rbp, 0x7ffffffffffffff7
jne 0x140097686
jmp 0x14009767a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
xor edi, edi
xor r12d, r12d
xor r13d, r13d
mov qword [rsp + 0xf0], 0
mov eax, dword [0x14032e548]
test eax, eax
je 0x140097735
dec eax
mov dword [0x14032e548], eax
jne 0x140097735
cmp byte [0x140331410], 1
jne 0x1400976c3
mov rax, qword [0x1402e9840]
mov rax, qword [rax + 0x28]
call qword [0x1402cbd20]
mov byte [0x140331410], 0
mov ebp, dword [0x14032e54c]
mov rcx, qword [0x1403314f8]
test rcx, rcx
je 0x1400976eb
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov qword [0x1403314f8], rax
mov qword [0x1403314f0], rax
mov rcx, qword [0x140334ed0]
test rcx, rcx
je 0x14009770d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov qword [0x140334ed0], rax
mov qword [0x140334ed8], rax
test bpl, 2
je 0x140097719
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [0x14032e54c], 0
mov r13, qword [rsp + 0xf8]
movabs rbp, 0x7ffffffffffffff7
test r13, r13
je 0x140097774
mov rax, qword [rsp + 0x100]
mov rcx, rax
sub rcx, r13
dec rax
cmp rcx, rax
ja 0x140098401
mov qword [rsp + 0x100], r13
mov rcx, r13
call fcn.1401a9dc4
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
cmp r12, rdi
je 0x140097921
mov r13, qword [rsp + 0x30]
cmp byte [r15 + 0x17], 0
js 0x140097a8d
mov rcx, r15
call fcn.1401a9dc4
cmp byte [rsp + 0x257], 0
jns 0x1400977ac
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
cmp r12, rdi
movabs r15, 0xaaaaaaaaaaaaaaaa
jne 0x140097a9a
xorps xmm0, xmm0
lea r9, [rsp + 0x240]
movaps xmmword [r9], xmm0
xor eax, eax
mov qword [r9 + 0x10], rax
lea rdi, [rsp + 0xf0]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm0
mov qword [rsp + 0x20], rdi
lea r8, [0x1402ec428]
xor ecx, ecx
mov edx, Ordinal_145
call fcn.140098460
cmp byte [rdi + 0x17], 0
jns 0x14009780e
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
xor edi, edi
test r12, r12
je 0x14009783f
mov rax, qword [rsp + 0x98]
mov rcx, rax
sub rcx, r12
dec rax
cmp rcx, rax
ja 0x140098401
mov qword [rsp + 0x98], r12
mov rcx, r12
call fcn.1401a9dc4
test dil, dil
je 0x140096bad
movsx rax, byte [0x1402ec3af]
mov rdi, rax
test rax, rax
jns 0x14009785f
mov rdi, qword [0x1402ec3a0]
test rdi, rdi
je 0x14009795c
mov qword [rsp + 0x100], r15
movaps xmmword [rsp + 0xf0], xmm6
test al, al
js 0x140097885
lea r15, [0x1402ec398]
jmp 0x14009788c
mov r15, qword [0x1402ec398]
cmp rdi, rbp
ja 0x140098422
cmp rdi, 0xa
jbe 0x140097a7c
mov rax, rdi
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r12d, Ordinal_14
cmovne r12, rcx
test r12, r12
js 0x140098410
lea rcx, [r12 + r12]
call fcn.1401a9d88
mov qword [rsp + 0xf0], rax
lea rcx, [r12 + rbp]
add rcx, 9
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0xf8], rdi
xor ecx, ecx
movsx edx, byte [r15 + rcx]
mov word [rax + rcx*2], dx
inc rcx
cmp rdi, rcx
jne 0x1400978ec
mov word [rax + rcx*2], 0
cmp byte [rsp + 0x107], 0
js 0x140097917
lea r15, [rsp + 0xf0]
jmp 0x140097973
mov r15, qword [rsp + 0xf0]
jmp 0x140097973
test rdi, rdi
mov r13, qword [rsp + 0x30]
je 0x14009793b
mov qword [rsp + 0x98], r12
mov rcx, r12
call fcn.1401a9dc4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
xor edi, edi
xor r12d, r12d
jmp 0x140097782
xorps xmm0, xmm0
lea r15, [rsp + 0xf0]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
cmp byte [rsp + 0x87], 0
jns 0x140097982
mov rbx, qword [rsp + 0x70]
movsx rax, byte [0x1402ec397]
mov rdi, rax
test rax, rax
jns 0x140097999
mov rdi, qword [0x1402ec388]
test rdi, rdi
je 0x140096ad5
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rcx
movaps xmmword [rsp + 0x90], xmm6
test al, al
js 0x1400979c9
lea r12, [0x1402ec380]
jmp 0x1400979d0
mov r12, qword [0x1402ec380]
cmp rdi, rbp
ja 0x14009842f
cmp rdi, 0xa
jbe 0x140097a6e
mov rax, rdi
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r13d, Ordinal_14
cmovne r13, rcx
test r13, r13
js 0x140098410
lea rcx, [r13*2]
call fcn.1401a9d88
mov qword [rsp + 0x90], rax
lea rcx, [r13 + 9]
add rcx, rbp
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x98], rdi
mov r13, qword [rsp + 0x30]
xor ecx, ecx
movsx edx, byte [r12 + rcx]
mov word [rax + rcx*2], dx
inc rcx
cmp rdi, rcx
jne 0x140097a3c
mov word [rax + rcx*2], 0
cmp byte [rsp + 0xa7], 0
jns 0x140096aec
mov r14, qword [rsp + 0x90]
jmp 0x140096aec
lea rax, [rsp + 0x90]
mov byte [rax + 0x17], dil
jmp 0x140097a3a
lea rax, [rsp + 0xf0]
mov byte [rax + 0x17], dil
jmp 0x1400978ea
mov rcx, qword [r15]
call fcn.1401a9dc4
jmp 0x14009778d
lea r15, [rsp + 0xf8]
mov r8d, 0x140
mov rcx, r15
mov dl, 0xaa
call fcn.1401e5d50
mov bpl, byte [rsp + 0x87]
mov r12, qword [rsp + 0x70]
lea rax, [0x1402a0c68]
mov qword [r15 - 8], rax
lea r13, [rsp + 0x1a0]
xor edi, edi
mov qword [r13 + 0x30], rdi
lea rax, [0x14029ba78]
mov qword [r13], rax
mov rcx, r13
mov rdx, r15
call fcn.14018ce30
mov qword [r13 + 0x88], rdi
mov byte [r13 + 0x94], 0
mov rax, qword [r15 - 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x140299b60]
mov qword [rsp + rax + 0xf0], rcx
mov rcx, r15
call fcn.1401ea020
cmp qword [r13 - 0x30], rdi
jne 0x140097b71
test bpl, bpl
cmovns r12, rbx
lea rdx, [0x1402a0c58]
mov rcx, r12
call fcn.1401c87b8
mov qword [rsp + 0x170], rax
test rax, rax
je 0x140097b71
mov dword [rsp + 0x190], Ordinal_26
cmp dword [rsp + 0x194], 0x22
jne 0x140097bc1
mov rcx, rax
xor edx, edx
call fcn.1401cd5e0
mov dword [rsp + 0x194], 0
jmp 0x140097bc1
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 4]
mov r8d, dword [rsp + rax + 0x110]
mov ecx, r8d
or ecx, 4
mov rdx, qword [rsp + rax + 0x118]
mov r9d, ecx
test rdx, rdx
je 0x140098448
xor r8d, r8d
test rdx, rdx
sete r8b
mov dword [rsp + rax + 0x110], r9d
or ecx, r8d
test dword [rsp + rax + 0x114], ecx
jne 0x14009843c
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 4]
test byte [rsp + rax + 0x110], 5
jne 0x140097c5c
mov r12, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
sub r8, r12
lea rbp, [rsp + 0xf0]
mov rcx, rbp
mov rdx, r12
call fcn.1401e8f60
mov rax, qword [rbp]
movsxd rax, dword [rax + 4]
mov edi, dword [rsp + rax + 0x110]
lea rcx, [0x140299b60]
mov qword [rsp + rax + 0xf0], rcx
mov rcx, r15
call fcn.1401eacf0
mov rcx, r15
call fcn.140113bd0
mov rcx, r13
call fcn.1401141d0
test edi, edi
movabs rbp, 0x7ffffffffffffff7
jne 0x140097c8d
mov dil, 1
mov r13, qword [rsp + 0x30]
movabs r15, 0xaaaaaaaaaaaaaaaa
jmp 0x140097810
lea rcx, [0x140299b60]
mov qword [rsp + rax + 0xf0], rcx
mov rcx, r15
call fcn.1401eacf0
mov rcx, r15
call fcn.140113bd0
mov rcx, r13
call fcn.1401141d0
movabs rbp, 0x7ffffffffffffff7
xorps xmm0, xmm0
lea r9, [rsp + 0x240]
movaps xmmword [r9], xmm0
xor eax, eax
mov qword [r9 + 0x10], rax
lea rdi, [rsp + 0xf0]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm0
mov qword [rsp + 0x20], rdi
lea r8, [0x1402ec488]
xor ecx, ecx
mov edx, Ordinal_145
call fcn.140098460
cmp byte [rdi + 0x17], 0
mov r13, qword [rsp + 0x30]
movabs r15, 0xaaaaaaaaaaaaaaaa
jns 0x140097ceb
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9dc4
mov r12, qword [rsp + 0x90]
jmp 0x14009780e
mov r8, qword [0x1402ebe18]
mov rdx, qword [0x1402ebe10]
lea rcx, [rsp + 0xf0]
call fcn.140118510
jmp 0x140096f70
mov r8, qword [0x1402ebe30]
mov rdx, qword [0x1402ebe28]
lea rcx, [rsp + 0xf0]
call fcn.140118510
jmp 0x14009705f
mov rcx, r13
mov rdx, qword [rsp + 0x48]
mov r8, rbx
call fcn.140118510
jmp 0x14009716c
mov rcx, rbp
mov rdx, r12
mov r8, r15
call fcn.140118510
jmp 0x14009719b
test al, al
jns 0x140097d6e
mov rcx, qword [rsp + 0x50]
call fcn.1401a9dc4
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
mov rcx, rbx
mov rdx, rbp
call fcn.1400a4290
movsx rax, byte [rbx + 0x17]
mov rcx, rax
test rax, rax
jns 0x140097d97
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400971d7
test al, al
jns 0x140097dae
mov rcx, qword [rsp + 0x50]
call fcn.1401a9dc4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
jmp 0x1400971d7
mov dword [0x14032e54c], 3
jmp 0x140097541
mov rcx, qword [rbp]
call fcn.1401a9dc4
jmp 0x1400971e2
mov rcx, qword [r13]
call fcn.1401a9dc4
jmp 0x1400971ed
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
lea rcx, [rsp + 0x240]
call fcn.140118510
jmp 0x140097446
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
mov rcx, r15
call fcn.140118510
jmp 0x140097482
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
cmp byte [rsp + 0xa7], 0
jns 0x140097346
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
jmp 0x140097346
mov rax, r12
or rax, 7
lea rcx, [rax + 1]
cmp rax, 0x17
mov r15d, Ordinal_26
cmovne r15, rcx
mov rcx, r15
call fcn.1401a9d88
lea rcx, [rbp + 9]
or rcx, r15
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], r12
jmp 0x140096cdf
lea rbx, [rsp + 0x100]
movaps xmmword [rbx], xmm6
movaps xmmword [rbx - 0x10], xmm6
mov qword [rbx + 0x10], r15
mov qword [rbx], 0
mov dword [rbx - 8], 0xaaaaaa00
mov rcx, rbx
xor edx, edx
call fcn.1401f1ee0
xorps xmm7, xmm7
movups xmmword [rbx + 8], xmm7
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xf0]
call fcn.1401fb7b0
test al, al
je 0x140098247
movsx r8, byte [0x1402ec307]
test r8, r8
js 0x140097f04
lea rdx, [0x1402ec2f0]
jmp 0x140097f12
mov rdx, qword [0x1402ec2f0]
mov r8, qword [0x1402ec2f8]
add r8, rdx
lea rcx, [rsp + 0xf0]
call fcn.1401f1840
test rax, rax
je 0x140097f67
lea rdx, [0x1402ec2f0]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
cmp byte [rax + 8], 4
jne 0x140097f67
lea rdx, [0x1402ec2f0]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.1401f0520
jmp 0x140097f7e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp byte [r13 + 0x17], 0
jns 0x140097f8e
mov rcx, qword [r13]
call fcn.1401a9dc4
mov rax, qword [rsp + 0xa0]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [r13], xmm0
movsx r8, byte [0x1402ec31f]
test r8, r8
js 0x140097fbd
lea rdx, [0x1402ec308]
jmp 0x140097fcb
mov rdx, qword [0x1402ec308]
mov r8, qword [0x1402ec310]
add r8, rdx
lea rcx, [rsp + 0xf0]
call fcn.1401f1840
test rax, rax
je 0x140098020
lea rdx, [0x1402ec308]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
cmp byte [rax + 8], 4
jne 0x140098020
lea rdx, [0x1402ec308]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.1401f0520
jmp 0x140098037
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp byte [r13 + 0x2f], 0
jns 0x14009804b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1401a9dc4
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rcx], xmm0
movsx r8, byte [0x1402ec337]
test r8, r8
js 0x14009807d
lea rdx, [0x1402ec320]
jmp 0x14009808b
mov rdx, qword [0x1402ec320]
mov r8, qword [0x1402ec328]
add r8, rdx
lea rcx, [rsp + 0xf0]
call fcn.1401f1840
xor ebx, ebx
test rax, rax
je 0x1400980e0
lea rdx, [0x1402ec320]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
mov rcx, rax
call fcn.1401f07c0
test al, al
je 0x1400980e0
lea rdx, [0x1402ec320]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
mov rcx, rax
call fcn.1401f0650
mov ebx, eax
mov dword [r13 + 0x30], ebx
movsx r8, byte [0x1402ec34f]
test r8, r8
js 0x1400980fa
lea rdx, [0x1402ec338]
jmp 0x140098108
mov rdx, qword [0x1402ec338]
mov r8, qword [0x1402ec340]
add r8, rdx
lea rcx, [rsp + 0xf0]
call fcn.1401f1840
test rax, rax
je 0x14009815d
lea rdx, [0x1402ec338]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
cmp byte [rax + 8], 4
jne 0x14009815d
lea rdx, [0x1402ec338]
lea rcx, [rsp + 0xf0]
call fcn.1401f1960
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.1401f0520
jmp 0x140098174
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp byte [r13 + 0x4f], 0
jns 0x140098188
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1401a9dc4
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rcx], xmm0
movsx rax, byte [r13 + 0x17]
test rax, rax
jns 0x1400981b2
mov rax, qword [r13 + 8]
test rax, rax
je 0x1400981e2
movsx rax, byte [r13 + 0x2f]
test rax, rax
jns 0x1400981c5
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1400981e2
cmp byte [r13 + 0x4f], 0
jns 0x1400982b4
mov r8, qword [r13 + 0x40]
test r8, r8
jne 0x1400982d8
xorps xmm0, xmm0
lea r9, [rsp + 0xb0]
movaps xmmword [r9], xmm0
xor eax, eax
mov qword [r9 + 0x10], rax
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x90], xmm0
lea rbx, [rsp + 0x240]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, Ordinal_133
mov r8, rbx
call fcn.140098460
cmp byte [rbx + 0x17], 0
jns 0x140098289
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
jmp 0x140098289
lea r9, [rsp + 0x240]
movaps xmmword [r9], xmm7
xor eax, eax
mov qword [r9 + 0x10], rax
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x90], xmm7
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r8, [0x1402ec470]
xor ecx, ecx
mov edx, Ordinal_145
call fcn.140098460
cmp byte [rsp + 0xa7], 0
jns 0x1400982a0
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
xor edi, edi
lea rcx, [rsp + 0xf0]
call fcn.1401efc20
jmp 0x1400972b6
je 0x1400981e2
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x1400982ed
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
lea rcx, [rsp + 0xd0]
call fcn.140118510
mov ecx, Ordinal_26
call fcn.1401a9d88
mov qword [rsp + 0xb0], rax
lea rdi, [rax + 0x18]
mov qword [rsp + 0xc0], rdi
test rax, rax
je 0x140098401
mov rbx, rax
cmp byte [rsp + 0xe7], 0
js 0x14009833a
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rbx], xmm0
jmp 0x140098352
mov rdx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov rcx, rbx
call fcn.140118510
lea rcx, [rsp + 0x90]
lea r9, [rsp + 0xb0]
mov qword [r9 + 8], rdi
xor eax, eax
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
lea r14, [rsp + 0x240]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, Ordinal_133
mov r8, r14
call fcn.140098460
cmp byte [r14 + 0x17], 0
jns 0x1400983b3
mov rcx, qword [rsp + 0x240]
call fcn.1401a9dc4
cmp byte [rsp + 0xa7], 0
jns 0x1400983ca
mov rcx, qword [rsp + 0x90]
call fcn.1401a9dc4
cmp byte [rbx + 0x17], 0
js 0x1400983f7
mov rcx, rbx
call fcn.1401a9dc4
cmp byte [rsp + 0xe7], 0
jns 0x1400983ef
mov rcx, qword [rsp + 0xd0]
call fcn.1401a9dc4
mov dil, 1
jmp 0x1400982a2
mov rcx, qword [rbx]
call fcn.1401a9dc4
jmp 0x1400983d0
ud2
lea rcx, [rsp + 0xd0]
call fcn.1401e97e0
call fcn.1401e9820
lea rcx, [rsp + 0x90]
call fcn.1401e9f80
lea rcx, [rsp + 0xf0]
call fcn.1401e97e0
lea rcx, [rsp + 0x90]
call fcn.1401e97e0
lea rcx, str.ios_base::clear
call fcn.14020e540
or r8d, 5
mov r9d, r8d
jmp 0x140097b9f