Function at 0x1400b74c0
Capabilities:
Copy file
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x208
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx eax, byte [rsp + 0x270]
mov rbx, rcx
movzx ecx, byte [rsp + 0x278]
movsxd r13, r8d
or rsi, 0xffffffffffffffff
mov r15, r9
mov byte [rsp + 0x61], cl
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x64], r13d
mov byte [rsp + 0x60], al
mov r12d, eax
mov rdi, rsi
nop
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400b7520
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1400b7530
imul edi, eax
mov eax, r12d
imul eax, dword [rsp + 0x280]
sub edi, eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx eax, ax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, rsi
mov dword [rsp + 0x6c], eax
inc rbp
cmp byte [rbx + rbp], 0
jne 0x1400b7564
imul ebp, r14d
mov r14, rsi
imul ebp, r13d
sub ebp, 2
nop dword [rax + rax]
inc r14
cmp byte [rbx + r14], 0
jne 0x1400b7580
movzx eax, r12b
lea rdx, str.mother
lea rcx, str.mother
sub al, byte [rsp + 0x78]
mov r8d, r12d
add r14b, al
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx ecx, byte [rsp + 0x61]
xor edx, edx
mov rax, r13
lea r8, str.mother
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], r12d
lea rdx, [0x1400ed4d4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov ecx, r12d
mov r9d, eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x98], rax
cmp ebp, 8
jb 0x1400b782e
xor r8d, r8d
mov edx, 0x1c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x3a3
lea r8d, [rcx + 0x16]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xb0]
lea rcx, [0x1400ed3f4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov edx, 0x265
lea r8d, [rcx + 6]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov edx, 0x16b
lea r8d, [rcx + 0xc]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x88], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rsi
mov r8, rax
mov qword [rsp + 0x90], rax
nop dword [rax]
inc r12
cmp byte [rbx + r12], 0
jne 0x1400b76e0
movzx edx, byte [rsp + 0x60]
movzx ecx, dil
sub r8b, 2
add cl, cl
movzx eax, dl
imul byte [rsp + 0x78]
sub cl, al
sub cl, byte [rsp + 0x70]
sub cl, byte [rsp + 0x6c]
add cl, byte [rsp + 0x280]
add cl, byte [rsp + 0x68]
add cl, byte [rsp + 0x61]
add cl, r8b
add cl, r14b
add r12b, cl
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov edx, 0x274
lea r8d, [rcx + 0xa]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx eax, byte [rsp + 0x6c]
mov r9d, dword [rsp + 0x64]
xor edx, edx
movzx ecx, r12b
lea r8, str.clove
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rdx
movzx edx, byte [rsp + 0x60]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov r12d, edx
mov dword [rsp + 0x28], eax
mov rdx, r15
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x1400b77a0
movzx eax, byte [rsp + 0x68]
movzx ecx, r13b
add cl, cl
add r13b, cl
shl r13b, 2
add r13b, 2
imul bpl
add r13b, byte [rsp + 0x70]
movzx ecx, al
movzx eax, byte [rsp + 0x61]
add r13b, r13b
imul cl
add r13b, al
movzx eax, byte [rsp + 0x90]
imul byte [rsp + 0x80]
sub r13b, al
mov rax, rsi
sub r13b, byte [rsp + 0x88]
sub r13b, byte [rsp + 0x64]
sub r13b, byte [rsp + 0x60]
sub r13b, dl
inc rax
cmp byte [rbx + rax], 0
jne 0x1400b7802
add r13b, al
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
movzx r9d, r13b
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
movzx r9d, byte [rsp + 0x60]
lea rdx, str.mother
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 7]
mov edx, 0x182
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [rsp + 0x64]
mov edx, dword [rsp + 0x280]
cmp eax, edx
je 0x1400b788d
lea rcx, [rsp + 0xb0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov eax, dword [rsp + 0x64]
mov edx, dword [rsp + 0x280]
mov rcx, rsi
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400b7890
movzx r8d, byte [rsp + 0x61]
imul edi, edx
imul ecx, r8d
imul ecx, r12d
imul ecx, eax
lea eax, [r13*2]
add eax, r13d
add edi, eax
movzx eax, byte [rsp + 0x6c]
add edi, edi
imul eax, ebp
sub edi, eax
movsx rax, r14b
add ecx, edi
sub ecx, eax
sub ecx, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x98]
nop word [rax + rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1400b78e0
mov eax, dword [rsp + 0x68]
add eax, 0xb3
add eax, ecx
add eax, esi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret