Function at 0x414180
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1292
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 0xffffffffffffffc3
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xd], 0
call fcn.00459470
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 0x4141e0
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 0x414220
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.0040bd10
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.0040bf60
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 [0x530c28]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4142a2
mov eax, closesocket
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x41447c
cmp dword [0x530c2c], 0x10
mov eax, 0x530c18
push ecx
cmovae eax, dword [0x530c18]
lea ecx, [ebp - 0xe]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00460300
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.00460130
push dword [ebp - 0x18]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], 3
lea ecx, [ebp - 0x38]
call fcn.0045c610
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 0x41439a
cmp dword [ebp - 0x24], 0x10
lea edx, [ebp - 0x38]
mov ecx, edi
cmovae edx, dword [ebp - 0x38]
call fcn.00414160
test al, al
jne 0x41439a
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.004b0950
mov esi, eax
jmp 0x41444f
push 0x532fa4
call fcn.004b1d82
add esp, 4
test eax, eax
jne 0x414481
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.004b0960
add esp, 8
lea ecx, [ebp - 0x54]
mov esi, eax
lea eax, [ebp - 0x38]
push eax
call fcn.00458190
mov byte [ebp - 4], 0xa
mov ecx, dword [edi]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0xb
mov eax, dword [0x533050]
cmp eax, dword [0x533054]
je 0x41442c
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 [0x533050], 0x1c
jmp 0x414436
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.00464f00
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x54]
call fcn.00402890
push 0x532fa4
call fcn.004b1d93
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.0045a080
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.004b1a2b
int3