Function at 0x14004fd40
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
mov eax, 0x24e0
call fcn.140054680
sub rsp, rax
mov qword [rsp + 0x24c8], 0xfffffffffffffffe
mov rax, qword [0x140079ca0]
xor rax, rsp
mov qword [rsp + 0x24d8], rax
call fcn.140005fb0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x140
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 0x43e4
mov qword [rsp + 0x2280], rax
mov rax, qword [rsp + 0x20]
add rax, 0x15b48
mov qword [rsp + 0x2050], rax
mov rcx, qword [rsp + 0x24f8]
call fcn.140006290
mov dword [rsp + 0x205c], eax
lea rcx, [rsp + 0x40]
call fcn.140045240
nop
lea rcx, [rsp + 0x2270]
call fcn.140003710
nop
mov dword [rsp + 0x2278], 0
jmp 0x14004fe06
mov eax, dword [rsp + 0x2278]
add eax, 1
mov dword [rsp + 0x2278], eax
mov rax, qword [rsp + 0x24f0]
mov eax, dword [rax + 0x7b8]
cmp dword [rsp + 0x2278], eax
jge 0x140050439
mov dword [rsp + 0x2058], 0
mov r9, qword [rsp + 0x2050]
add r9, 4
mov r8d, dword [rsp + 0x2278]
add r8d, 1
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x40]
call fcn.1400467a0
cmp eax, 1
je 0x14004fe8a
mov dword [rsp + 0x24a8], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24a8]
jmp 0x140050463
mov rbx, qword [rsp + 0x24f0]
add rbx, 0x194
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov r8, rbx
mov rdx, rax
mov rcx, qword [rsp + 0x24f0]
call fcn.14004f400
mov dword [rsp + 0x24a0], eax
cmp dword [rsp + 0x24a0], 0
jne 0x14004fecf
jmp 0x14004fdf5
mov rax, qword [rsp + 0x24f0]
cmp dword [rax + 0x194], 0
je 0x14004ff20
mov rcx, qword [rsp + 0x2280]
mov rax, qword [rsp + 0x24f0]
mov eax, dword [rax + 0x194]
cmp dword [rcx + 0x104], eax
je 0x14004ff20
mov rcx, qword [rsp + 0x2280]
mov rax, qword [rsp + 0x24f0]
mov eax, dword [rax + 0x194]
cmp dword [rcx + 0x108], eax
jne 0x140050434
lea rdx, [0x140064eb0]
lea rcx, [rsp + 0x2290]
call fcn.140004cf0
mov rcx, qword [rsp + 0x24f0]
add rcx, 0x7c0
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2290]
call fcn.140004cf0
lea rdx, [0x140064eb4]
lea rcx, [rsp + 0x2290]
call fcn.140004d20
lea rdx, [0x140064eb8]
lea rcx, [rsp + 0x2060]
call fcn.140004cf0
mov rdx, qword [rsp + 0x28]
add rdx, 0x3a78
lea rcx, [rsp + 0x2060]
call fcn.140004cf0
mov rax, qword [rsp + 0x24f0]
mov eax, dword [rax + 0x7b4]
mov dword [rsp + 0x24d0], eax
cmp dword [rsp + 0x24d0], 1
je 0x1400500cb
cmp dword [rsp + 0x24d0], 2
je 0x14004fff5
cmp dword [rsp + 0x24d0], 3
je 0x14005015c
cmp dword [rsp + 0x24d0], 4
je 0x1400501ed
cmp dword [rsp + 0x24d0], 9
je 0x14005027b
jmp 0x1400502b5
mov rax, qword [rsp + 0x2280]
cmp dword [rax + 0x104], 0
jle 0x14005001d
mov rax, qword [rsp + 0x2280]
mov eax, dword [rax + 0x104]
mov dword [rsp + 0x24a4], eax
jmp 0x140050032
mov rax, qword [rsp + 0x2280]
mov eax, dword [rax + 0x108]
mov dword [rsp + 0x24a4], eax
mov r9, qword [rsp + 0x2050]
add r9, 4
mov r8d, dword [rsp + 0x24a4]
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x40]
call fcn.1400466c0
cmp eax, 1
je 0x14005008c
mov dword [rsp + 0x24ac], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24ac]
jmp 0x140050463
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2060]
call fcn.140004d20
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2290]
call fcn.140004d20
jmp 0x1400502c0
mov r8, qword [rsp + 0x2050]
add r8, 4
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x40]
call fcn.140046630
cmp eax, 1
je 0x14005011d
mov dword [rsp + 0x24b0], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24b0]
jmp 0x140050463
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2060]
call fcn.140004d20
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2290]
call fcn.140004d20
jmp 0x1400502c0
mov r8, qword [rsp + 0x2050]
add r8, 4
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x40]
call fcn.1400465a0
cmp eax, 1
je 0x1400501ae
mov dword [rsp + 0x24b4], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24b4]
jmp 0x140050463
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2060]
call fcn.140004d20
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2290]
call fcn.140004d20
jmp 0x1400502c0
mov r8, qword [rsp + 0x2050]
add r8, 4
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x40]
call fcn.140046510
cmp eax, 1
je 0x14005023f
mov dword [rsp + 0x24b8], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24b8]
jmp 0x140050463
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2060]
call fcn.140004d20
lea rcx, [rsp + 0x2270]
call fcn.140003700
mov rdx, rax
lea rcx, [rsp + 0x2290]
call fcn.140004d20
jmp 0x1400502c0
mov rdx, qword [rsp + 0x24f0]
add rdx, 0x198
lea rcx, [rsp + 0x2060]
call fcn.140004d20
mov rdx, qword [rsp + 0x24f0]
add rdx, 0x198
lea rcx, [rsp + 0x2290]
call fcn.140004d20
jmp 0x1400502c0
mov dword [rsp + 0x2058], 1
cmp dword [rsp + 0x2058], 0
je 0x1400502cf
jmp 0x14004fdf5
mov r9d, 1
lea r8, [rsp + 0x2290]
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x24f0]
call fcn.14004dec0
test eax, eax
je 0x140050304
mov rax, qword [rsp + 0x2500]
mov dword [rax], 1
xor r8d, r8d
lea rdx, [rsp + 0x2290]
lea rcx, [rsp + 0x2060]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400503b5
mov rax, qword [rsp + 0x24f0]
cmp dword [rax + 0x7b4], 4
jne 0x140050343
mov dword [rsp + 0x24d4], 1
jmp 0x14005034e
mov dword [rsp + 0x24d4], 0
mov r9d, dword [rsp + 0x24d4]
lea r8, [rsp + 0x2290]
lea rdx, [rsp + 0x2060]
mov rcx, qword [rsp + 0x24f0]
call fcn.14004cf00
cmp eax, 1
je 0x1400503a7
mov dword [rsp + 0x24bc], 9
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24bc]
jmp 0x140050463
mov rax, qword [rsp + 0x2500]
mov dword [rax], 1
mov r9d, 1
lea r8, [rsp + 0x2290]
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x24f0]
call fcn.14004dec0
test eax, eax
je 0x1400503ea
mov rax, qword [rsp + 0x2500]
mov dword [rax], 1
mov eax, dword [rsp + 0x205c]
add eax, 0x64
mov dword [rsp + 0x205c], eax
mov rcx, qword [rsp + 0x24f0]
call fcn.14004cdd0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [rsp + 0x205c]
mov rcx, qword [rsp + 0x24f8]
call fcn.1400062c0
mov rcx, qword [rsp + 0x24f0]
call fcn.14004cdd0
jmp 0x14004fdf5
mov dword [rsp + 0x24c0], 0
lea rcx, [rsp + 0x2270]
call fcn.140003760
nop
lea rcx, [rsp + 0x40]
call fcn.140045220
mov eax, dword [rsp + 0x24c0]
mov rcx, qword [rsp + 0x24d8]
xor rcx, rsp
call fcn.14002f9d0
add rsp, 0x24e0
pop rbx
ret