Function at 0x4141f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8512
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push edi
mov dword [ebp - 0x14], 0
mov edi, ecx
push 0x16
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xd], 0
call fcn.004606a0
sub esp, 0x18
mov byte [ebp - 0xf], al
mov edx, esp
mov byte [ebp - 0xe], al
xorps xmm0, xmm0
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0xe]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414250
sub ecx, esi
lea eax, [ebp - 0xe]
push ecx
push eax
mov ecx, edx
call fcn.00402aa0
mov dword [ebp - 4], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x20], esp
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414290
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00402aa0
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040bd80
add esp, 0x30
mov dword [ebp - 4], 2
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x50]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0xc
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
mov dword [ebp - 0x18], eax
call fcn.0040bfd0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov al, byte [ebp - 0xf]
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe]
mov edx, dword [0x538c2c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414312
mov eax, closesocket
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x4144ec
cmp dword [0x538c30], 0x10
mov eax, 0x538c1c
push ecx
cmovae eax, dword [0x538c1c]
lea ecx, [ebp - 0xe]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00467530
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 5
lea eax, [ebp - 0x90]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x18]
call fcn.00467360
push dword [ebp - 0x18]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], 3
lea ecx, [ebp - 0x38]
call fcn.00463840
add esp, 4
mov byte [ebp - 4], 6
mov esi, 3
mov dword [ebp - 0x14], esi
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.00402890
and esi, 0xfffffffe
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x90]
call fcn.00402890
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.00402890
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41440a
cmp dword [ebp - 0x24], 0x10
lea edx, [ebp - 0x38]
mov ecx, edi
cmovae edx, dword [ebp - 0x38]
call fcn.004141d0
test al, al
jne 0x41440a
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.004b7b80
mov esi, eax
jmp 0x4144bf
push 0x53afa8
call fcn.004b8fb2
add esp, 4
test eax, eax
jne 0x4144f1
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
mov edx, edi
cmovae ecx, dword [ebp - 0x38]
sub esp, 8
call fcn.004b7b90
add esp, 8
lea ecx, [ebp - 0x54]
mov esi, eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045f3c0
mov byte [ebp - 4], 0xa
mov ecx, dword [edi]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0xb
mov eax, dword [0x53b094]
cmp eax, dword [0x53b098]
je 0x41449c
movups xmm0, xmmword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x54], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 4], 0xc
mov dword [eax + 0x18], ecx
mov byte [ebp - 4], 0xb
add dword [0x53b094], 0x1c
jmp 0x4144a6
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.0046c130
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x54]
call fcn.00402890
push 0x53afa8
call fcn.004b8fc3
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004612b0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00402210
push eax
call fcn.004b8c5b
int3