Function at 0x416110
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590ba6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5fcff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x38], edi
mov eax, ecx
mov dword [ebp - 0x48], eax
push 0
push edi
mov esi, 1
push eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41634d
mov byte [ebp - 0x29], 2
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov eax, 7
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], eax
mov word [ebp - 0x28], cx
or esi, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x30], esi
test edi, edi
je 0x41623c
cmp byte [edi], cl
je 0x41623c
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4161b0
push 0
push 0
sub ecx, edx
push ecx
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
xor ecx, ecx
mov edx, 2
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042651d
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x34], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4161f4
sub edx, dword [ebp - 0x34]
push edi
push esi
push edx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
xor eax, eax
mov word [esi + edi*2], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416217
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004062c0
push esi
call fcn.00426526
mov eax, dword [ebp - 0x14]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp eax, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.00415f80
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
cmp esi, eax
je 0x416291
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x416289
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, dword [ebp - 0x34]
jne 0x416267
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4162ef
mov eax, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x4162d0
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416368
push edx
push ecx
call fcn.00561389
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41632c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416368
push ecx
push edx
call fcn.00561389
add esp, 8
mov edi, dword [ebp - 0x38]
push 0
push edi
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41634d
add byte [ebp - 0x29], 0xff
je 0x41634d
mov esi, dword [ebp - 0x30]
jmp 0x416170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
int3