Function at 0x140010870
Capabilities:
Copy file
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x370
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x2e0]
mov r13, qword [rbp + 0x2d0]
mov r15, qword [rbp + 0x2d8]
mov qword [rbp], rax
mov rsi, r9
mov qword [rsp + 0x48], r9
mov r12d, r8d
cmp r8d, 0x40
jg 0x140010933
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov edi, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.1400d92b0
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x3cb
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp dil, bl
je 0x140010933
call fcn.14008f260
lea r14d, [r12 + 0x40]
add r14b, r13b
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor ebx, ebx
movzx edi, ax
lea rax, str.rambler
mov qword [rbp + 0x80], rbx
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x70], edi
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp + 0x88], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x98], rbx
movups xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 0x90], rax
mov eax, 0x45
lea r9, [rbp + 0xb0]
movaps xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rbp + 0x90]
sub eax, dword [rsi]
lea r8, [rsp + 0x60]
movzx edx, r14b
movaps xmmword [rbp + 0xc0], xmm1
movaps xmm1, xmmword [rbp - 0x70]
sub eax, r12d
mov rcx, r15
mov qword [rsp + 0x20], r15
movdqa xmmword [rsp + 0x60], xmm1
mov dword [rbp + 0xa0], eax
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rbp + 0xd0], xmm0
call fcn.14004ed30
mov qword [rsp + 0x50], rax
call fcn.14003bd70
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x44], eax
cmp r12d, 0x40
jne 0x140010aca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsi + 0x38]
mov dword [rsp + 0x60], 0x10
mov dword [rsp + 0x40], eax
mov rdx, rbx
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140010a14
lea eax, [rdi + 1]
mov rdi, qword [rsp + 0x50]
mov ecx, 0x180
add edi, 0x40
imul eax, r15d
sub ecx, eax
sub ecx, edx
mov dword [rsp + 0x64], ecx
imul eax, r15d, 0x41
imul ecx, dword [rbp + 0x88], 7
sub ecx, eax
movsx eax, r14b
sub ecx, eax
add edi, ecx
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov ecx, dword [rsp + 0x40]
mov esi, r15d
movsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0x60], xmm0
imul esi, dword [rsp + 0x50]
sub esi, r13d
lea r8, [rsp + 0x60]
lea rdx, str.cart
add esi, 5
movzx r9d, al
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], 0
call fcn.140030d90
imul ecx, dword [rsp + 0x40], 7
imul eax, esi
add eax, ecx
movsx rcx, r14b
sub eax, ecx
lea r8d, [r13 + 0x184]
lea rdx, [0x1400ed3f4]
lea rcx, str.c3a1
add r8d, eax
call fcn.140022100
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, r12b
lea rdx, str.cummerbund
mov esi, eax
mov rax, qword [rbp]
shl cl, 2
lea edi, [rcx + r12]
mov ecx, dword [rsp + 0x44]
mov r9d, esi
sub dil, r15b
mov r8b, 0x20
sub dil, byte [rsp + 0x50]
add dil, byte [rax + 0x18]
mov rax, qword [rsp + 0x48]
add dil, 0x40
add dil, byte [rax + 0x20]
movsx eax, r14b
add dil, byte [rbp - 0x70]
mov dword [rsp + 0x58], eax
imul eax, eax, 7
mov dword [rsp + 0x5c], eax
add dil, r13b
imul eax, r15d
sub ecx, eax
lea rax, str.ashtray
add ecx, 0x40
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0xb0]
mov byte [rsp + 0x28], dil
mov qword [rsp + 0x20], 0
call fcn.14001cbe0
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x78], r13
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov ecx, dword [r14 + 0x20]
lea rax, [0x1400ed3f4]
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
shl ecx, 6
movups xmm0, xmmword [rsp + 0x60]
lea eax, [rax + rax*4]
lea r9, str.netsuke
lea r8, str.minion
movaps xmmword [rbp + 0x10], xmm0
add eax, eax
lea rdx, [rbp + 0x10]
sub ecx, eax
lea eax, [r15 + rcx]
mov ecx, 0x40
add eax, 0xffffffd9
add eax, esi
mov dword [rsp + 0x70], eax
lea rax, str.racer
mov qword [rbp - 0x78], rax
movups xmm1, xmmword [rsp + 0x70]
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm0
call fcn.140026990
lea r8, [0x140001b00]
mov qword [rsp + 0x48], rax
lea rax, [0x1400ed3f4]
mov r9d, esi
mov qword [rbp + 0x10], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rbp + 0x20], 0
mov qword [rbp + 0x18], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x28], rax
lea rax, str.c6a3
mov qword [rbp + 0x38], rax
mov rax, qword [rsp + 0x48]
lea rdx, str.netsuke
lea rcx, str.ashtray
mov r8d, esi
mov dword [rbp - 0x48], 2
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx edi, dil
psrldq xmm6, 8
mov dword [rbp - 0x44], eax
lea rax, str.c6a3
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x38], rax
mov eax, edi
imul eax, dword [rsp + 0x40]
imul ecx, eax, 7
mov eax, dword [rsp + 0x50]
shl eax, 5
add ecx, r12d
inc eax
lea edx, [rcx + rcx*4]
mov ecx, dword [rsp + 0x44]
imul eax, r15d
sub edx, eax
mov eax, dword [r14]
add ecx, 2
shl ecx, 5
imul eax, r13d
mov r13d, dword [rbp - 0x70]
sub edx, eax
lea eax, [r13 + 0x40]
add edx, esi
add eax, edx
mov dword [rbp - 0x30], eax
mov eax, r15d
imul eax, r13d
sub ecx, eax
movq rax, xmm6
mov qword [rsp + 0x60], rax
imul eax, eax, 7
add ecx, eax
sub ecx, dword [rsp + 0x40]
add ecx, esi
mov dword [rbp - 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov qword [rbp - 0x28], rax
lea rax, str.overcharge
lea r8d, [rcx + 8]
mov edx, 0x2fd
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
psrldq xmm7, 8
imul edi, r8d
mov qword [rbp + 0x40], rax
xor ecx, ecx
imul edi, esi
lea rax, str.offence
mov dword [rbp + 0x50], ecx
mov qword [rbp + 0x68], rcx
mov ecx, dword [rsp + 0x44]
mov qword [rbp + 0x48], rax
lea rax, str.altitude
mov qword [rbp + 0x58], rax
mov eax, r9d
add ecx, 0xb
mov qword [rbp + 0x60], r15
imul eax, r12d
shl eax, 6
sub eax, edi
mov rdi, qword [rsp + 0x50]
add eax, edi
add eax, ecx
mov dword [rbp + 0x70], eax
movq rax, xmm7
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140010d70
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
mov rax, qword [rbp]
imul edx, ebx, 7
mov eax, dword [rax + 0x18]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0xf0], xmm1
imul eax, dword [r14 + 0x20]
xor r14d, r14d
movups xmm0, xmmword [rbp + 0x60]
movups xmm6, xmmword [rbp + 0x20]
lea ecx, [rax + rax*4]
mov eax, r15d
imul eax, r9d
add ecx, eax
mov eax, r8d
shl eax, 5
lea r9, [rbp + 0x40]
lea r8, [rbp + 0xb0]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x30]
sub ecx, eax
lea eax, [rdx + r13]
lea rdx, [0x1400ed3f4]
movaps xmmword [rbp + 0x60], xmm0
add ecx, 0x6f
movups xmm0, xmmword [rbp + 0x10]
add ecx, eax
lea rax, [rbp + 0xe0]
mov dword [rbp + 0x74], ecx
mov qword [rsp + 0x30], rax
lea rcx, str.c6a2
movaps xmmword [rbp + 0xb0], xmm0
movups xmm0, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x70]
movsd qword [rbp + 0x110], xmm1
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmmword [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
movaps xmmword [rbp + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x70], xmm1
call fcn.14003a070
mov edx, dword [rsp + 0x5c]
psrldq xmm6, 8
mov rsi, qword [rsp + 0x48]
mov qword [rbp - 0x70], r14
imul edx, dword [rbp + 0x88]
mov eax, esi
dec edx
imul eax, dword [rsp + 0x60]
imul edx, r15d
imul ecx, eax, 0x70
movd eax, xmm6
add ecx, eax
mov eax, dword [rsp + 0x40]
add eax, edx
lea ebx, [rax + rcx*4]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rbp + 0x130]
mov edx, 0x104
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8d, [r14 + 1]
mov edx, 0x326
mov qword [rbp - 0x60], rax
lea rax, str.vineyard
xor ecx, ecx
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], 4
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x40], rax
mov edx, 0x203
xor ecx, ecx
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9, [rbp + 0xe0]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x60]
lea edx, [rbx + 0x40]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xf0], xmm1
lea rcx, str.geranium
mov qword [rsp + 0x20], r14
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x100], xmm0
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x120], xmm0
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x110], xmm1
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rsp + 0x70], xmm1
call fcn.14001f390
lea rax, str.c6a3
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret