Function at 0x440a64
Capabilities:
Copy file

Disassembly:
mov eax, 0x4ce852
call fcn.004c7e20
sub esp, 0x34
or dword [ebp - 0x34], 0xffffffff
push ebx
push esi
push edi
xor eax, eax
inc eax
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
xor edi, edi
push edx
push eax
mov word [ebp - 0x40], 0xf
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [ecx + 0xc]
cmp eax, edi
jl 0x440c5d
mov eax, dword [0x4f0980]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, 0x104
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00403042
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
or eax, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040306e
lea eax, [ebp - 0x18]
push eax
push 4
pop eax
lea edx, [ebp - 0x10]
call fcn.0044927b
call fcn.0040a767
mov eax, dword [eax]
push str..skn
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff4
pop ecx
inc bl
cmp eax, dword [0x4f0984]
pop ecx
je 0x440b1e
push eax
call fcn.004013aa
test bl, bl
je 0x440c45
push 0x5c
lea esi, [ebp - 0x10]
call fcn.00403023
mov esi, dword [ebp - 0x10]
mov ecx, eax
cmp ecx, edi
jle 0x440c48
mov eax, dword [esi - 8]
sub eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push ecx
lea edx, [ebp - 0x10]
call fcn.0044927b
push 0x4f2c7c
lea edi, [ebp - 0x14]
call fcn.00402f03
push str.Skin_
mov eax, edi
push eax
call fcn.00402fdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.004030d0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ebx, dword [ebp - 0x14]
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [ebp - 0x20], eax
jne 0x440bb4
mov eax, ebx
call fcn.004b2844
test eax, eax
jne 0x440ba6
call fcn.0049149c
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x440c0d
mov ecx, dword [ebp + 8]
push edi
call fcn.0044300a
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x440bce
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x440bdf
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x440bf3
push eax
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x440c8e
push eax
call fcn.004013aa
jmp 0x440c8e
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x440c1e
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x440c2f
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x440c48
push eax
call fcn.004013aa
jmp 0x440c48
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x440c5d
push eax
call fcn.004013aa
mov edi, dword [ebp + 8]
add edi, 0x2930
mov ecx, edi
call fcn.004629d3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00465872
push 1
mov eax, edi
call fcn.00462fb8
push eax
call fcn.00463201
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14