Function at 0x14005ae40
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movups xmm1, xmmword [r8 + 0x10]
mov ecx, dword [r8 + 0x20]
movups xmm0, xmmword [r8]
movzx eax, dl
mov qword [rbp - 0x78], r9
mov r13, rdx
add al, al
xor r8d, r8d
lea edi, [rax + rdx]
movzx eax, dl
movaps xmmword [rbp + 0xa0], xmm1
movaps xmmword [rbp + 0x90], xmm0
psrldq xmm1, 8
add dil, dil
movq r12, xmm1
sub dil, r9b
shr r12, 0x20
imul cl
sub r12d, r9d
lea r15d, [rax + 6]
lea rax, str.mayor
add r15b, r9b
mov qword [rsp + 0x28], rax
add r12d, 6
lea rcx, [0x1400ed4d4]
movzx edx, dil
mov r9d, r12d
mov byte [rsp + 0x62], dil
mov byte [rsp + 0x61], r15b
mov byte [rsp + 0x20], r15b
call fcn.1400cd810
mov r14, rax
call fcn.1400605e0
or rsi, 0xffffffffffffffff
mov byte [rsp + 0x60], al
lea rbx, str.c0a5
cmp al, dil
je 0x14005b1a6
lea rcx, str.terrapin
call fcn.1400bcd70
lea rcx, [rbp + 0xd0]
mov edx, 0x104
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rsi
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14005af40
movzx r8d, byte [rsp + 0x60]
xor r9d, r9d
movzx ecx, r12b
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r9
shl cl, 2
movsx edx, r15b
lea eax, [rcx + r12]
mov r9d, edx
sub bl, al
movzx eax, byte [rsp + 0x62]
mov ecx, eax
mov dword [rsp + 0x68], eax
movsxd rax, r12d
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], ecx
lea rdx, str.gender
mov r8, r14
mov ecx, r12d
sub bl, r13b
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rsp + 0x70]
lea r9, str.c0a0
mov qword [rsp + 0x28], rax
mov r8, rdi
movzx edx, bl
mov qword [rsp + 0x20], rdi
mov qword [rbp - 0x70], rax
call fcn.14006c1d0
mov qword [rbp - 0x80], rax
call fcn.1400623a0
mov qword [rbp - 0x58], rdi
mov dword [rsp + 0x64], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, qword [rbp - 0x80]
mov r10d, dword [rsp + 0x68]
mov edx, dword [rbp + 0x98]
mov r11, qword [rbp - 0x70]
imul edx, r13d
mov qword [rbp - 0x50], rax
mov eax, dword [rsp + 0x64]
lea ecx, [r10 + r10*4]
sub edx, ecx
lea ecx, [rdi + rdi*8]
add eax, 6
sub edx, ecx
movzx ecx, byte [rsp + 0x60]
mov qword [rbp - 0x40], rdi
sub edx, ecx
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x38], r11
add edx, ecx
movsx r9, r15b
add edx, r8d
mov r8, rsi
add edx, dword [rsp + 0x70]
add eax, edx
mov dword [rbp - 0x48], eax
mov rax, qword [rbp + 0x90]
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005b050
imul ecx, r12d
mov eax, r9d
imul eax, edi
lea eax, [rax + rax*4]
lea edx, [rcx + rax*4]
mov rax, qword [rsp + 0x70]
movsx ecx, bl
sub edx, dword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
imul ecx, edi
sub edx, dword [rsp + 0x64]
lea eax, [rax + rax*4]
sub ecx, eax
add edx, r11d
lea eax, [rbx + 6]
sub ecx, r11d
sub edx, r8d
add ecx, dword [rbp + 0x98]
add edx, 6
add ecx, r13d
mov dword [rbp - 0x30], edx
add eax, ecx
mov rcx, rsi
mov dword [rbp], eax
lea rax, str.c3a3
mov qword [rbp + 8], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14005b0b3
mov r8, qword [rbp - 0x80]
movups xmm0, xmmword [rbp]
mov eax, dword [rbp + 0xac]
lea eax, [rax + rax*2]
movsx edx, r15b
mov qword [rbp + 0x20], 0
imul r10d, ebx
movaps xmmword [rbp + 0x40], xmm0
shl eax, 2
imul edx, r12d
sub eax, edx
mov edx, dword [rsp + 0x64]
add eax, r8d
movzx r8d, byte [rsp + 0x60]
add ecx, eax
lea eax, [rdx + 4]
add eax, ecx
lea ecx, [r13*2 - 4]
imul r9d, r8d
imul r9d, edi
mov dword [rbp + 0x10], eax
add ecx, r13d
lea rax, str.c0a5
mov qword [rbp + 0x18], rax
mov eax, edi
movups xmm1, xmmword [rbp + 0x10]
imul eax, edi
imul eax, edx
mov rdx, r13
movaps xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [rbp - 0x48]
sub eax, r10d
add eax, r8d
lea r8, [rbp]
lea ecx, [rax + rcx*2]
lea rax, str.c2a0
movaps xmmword [rbp + 0x10], xmm1
mov dword [rbp + 0x28], ecx
lea ecx, [r12 + r9*4]
mov qword [rsp + 0x30], rax
add r9d, 6
lea rax, str.gown
mov qword [rsp + 0x28], r11
add ecx, r9d
lea r9, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x2c], ecx
mov rcx, rdi
movups xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp + 0x20], xmm0
call fcn.140093120
movzx edi, byte [rsp + 0x62]
lea rbx, str.c0a5
xor ecx, ecx
mov edx, 0x10c
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov cl, 0x10
mov rdx, rax
mov qword [rbp - 0x70], rax
call fcn.1400d0eb0
mov r15, rax
movzx eax, byte [rsp + 0x60]
cmp al, byte [rsp + 0x61]
jbe 0x14005b673
lea rdx, [0x1400ed4d4]
lea rcx, str.mayor
mov r8d, 0x10
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx ebx, byte [rsp + 0x60]
movsx r9d, byte [rsp + 0x61]
mov dword [rsp + 0x78], eax
xor eax, eax
lea r8, str.mayor
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x10
mov dword [rsp + 0x30], r12d
lea rdx, str.gender
mov ecx, r12d
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0x16]
mov edx, 0xdd
mov dword [rbp - 0x58], 4
mov qword [rbp + 0x30], rax
mov qword [rbp - 0x50], 0
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x5e
xor ecx, ecx
mov qword [rbp - 0x48], rax
lea r8d, [rdx - 0x42]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
movzx ecx, dil
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], ecx
mov qword [rbp - 0x40], rax
movzx eax, byte [rsp + 0x60]
lea r9d, [rdx + 0x10]
mov dword [rsp + 0x28], ecx
lea rdx, str.gender
mov r8, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, qword [rbp - 0x60]
movups xmm0, xmmword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x48]
mov edx, dword [rsp + 0x78]
mov qword [rbp - 0x38], rax
lea rax, [rbp]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x38]
movups xmmword [rbp + 0x10], xmm1
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x30]
lea r9, str.c0ret
movsd qword [rbp + 0x20], xmm0
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x78]
lea rcx, str.c0a0
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14009bfd0
mov dword [rsp + 0x64], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, [0x1400ed4d4]
lea rdx, str.angle
lea rcx, [0x1400ed4d4]
mov r8d, 0x40
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rax
call fcn.1400c9e70
mov r8, rax
mov qword [rbp - 0x18], rax
movzx eax, byte [rbp - 0x70]
movups xmm0, xmmword [rbp - 0x48]
mov ecx, 2
imul bl
sub cl, byte [rsp + 0x70]
movsxd rbx, dword [rsp + 0x64]
add cl, cl
psrldq xmm0, 8
lea r9d, [rcx + rax]
movzx ecx, r12b
movd eax, xmm0
shl cl, 2
lea edx, [rcx + r12]
add r9b, dl
sub r9b, bl
sub r9b, byte [rbp + 0xac]
sub r9b, dil
add r9b, r8b
add r9b, al
mov byte [rsp + 0x63], r9b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
lea r8d, [rcx + 0x1b]
mov edx, 0x36a
mov edi, eax
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx edx, byte [rsp + 0x63]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x28], rax
mov rax, qword [rsp + 0x70]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.1400b6580
mov qword [rbp - 0x20], rax
call fcn.1400b5830
mov rcx, qword [rbp - 0x20]
movsx rdi, byte [rsp + 0x61]
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.c0a0
mov rcx, rax
mov r9, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0xbb
lea r8d, [rcx + 0x18]
mov ebx, eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1c5
lea r8d, [rcx + 0x14]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.c9a0
mov ecx, ebx
mov r9, rax
mov qword [rbp + 0x80], rax
call fcn.1400d4340
mov rcx, rsi
mov qword [rbp - 0x10], rax
nop word [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14005b470
imul ecx, dword [rbp - 0x60]
mov eax, dword [rbp - 0x18]
mov edx, edi
imul eax, dword [rsp + 0x70]
imul edx, dword [rbp - 0x68]
imul edx, ebx
neg edx
shl edx, 4
sub edx, eax
movzx eax, byte [rsp + 0x62]
add ecx, edx
mov ebx, eax
imul eax, dword [rbp + 0xa0]
imul eax, dword [rbp - 0x78]
add ecx, eax
mov rax, rsi
sub ecx, dword [rbp - 0x48]
sub ecx, dword [rbp - 0x80]
add ecx, 0xffffffe8
add ecx, r13d
add ecx, dword [rbp - 0x28]
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x14005b4c0
add ecx, dword [rsp + 0x64]
add eax, ecx
mov ecx, 0xffff
mov dword [rbp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rcx, qword [rbp - 0x20]
mov dword [rbp + 0x44], eax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14005b4f0
imul eax, dword [rbp - 0x68]
mov ecx, dword [rsp + 0x78]
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x64]
mov rdx, qword [rbp + 0x30]
mov r10, qword [rbp - 0x60]
sub ecx, eax
mov eax, dword [rbp - 0x10]
shl ecx, 2
imul eax, dword [rbp + 0x80]
lea eax, [rax + rax*2]
sub ecx, eax
movzx eax, byte [rsp + 0x60]
sub ecx, r9d
sub ecx, r11d
add ecx, eax
mov rax, rsi
add ecx, edx
add ecx, r10d
add ecx, dword [rsp + 0x68]
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x14005b540
sub ecx, eax
lea eax, [r13*2]
mov qword [rbp + 0x50], rdx
add ecx, 0x7d
add eax, r13d
mov dword [rbp + 0x48], ecx
lea r8d, [rax + rax]
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14005b570
movzx eax, byte [rsp + 0x60]
imul ebx, dword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
mov edx, 1
imul ecx, eax
movzx eax, byte [rsp + 0x63]
imul eax, r9d
sub edx, eax
lea eax, [r8 + rcx]
lea ecx, [r10 + r10]
sub ecx, r11d
imul edx, r14d
add ecx, 0xffffffdd
add edx, eax
lea eax, [rdx + rcx*2]
mov rcx, qword [rbp - 0x10]
add ebx, eax
mov rax, rsi
add ebx, ecx
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x14005b5c0
sub ebx, eax
mov dword [rbp + 0x5c], 1
mov dword [rbp + 0x58], ebx
inc rsi
cmp byte [r15 + rsi], 0
jne 0x14005b5d6
imul edi, dword [rbp - 0x68]
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
imul edi, dword [rbp - 0x28]
imul esi, dword [rsp + 0x78]
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0xa0], xmm1
lea eax, [rsi + rsi*4]
shl eax, 4
imul edi, dword [rsp + 0x68]
sub edi, eax
mov rax, qword [rbp - 0x70]
imul eax, r12d
lea eax, [rax + rdi*4]
add eax, 0xfffffff4
sub eax, r14d
add eax, r8d
add eax, ecx
add eax, r9d
mov dword [rbp + 0x60], eax
lea rax, str.pollution
mov qword [rbp + 0x68], rax
lea rax, str.c0ret
mov qword [rbp + 0x70], rax
movups xmm0, xmmword [rbp + 0x60]
movsd xmm1, qword [rbp + 0x70]
movsd qword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xb0], xmm0
call fcn.140082c90
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.140087c50
lea rax, str.c0a5
jmp 0x14005b676
mov rax, rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret