Function at 0x450490
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c8a4
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov dword [esp + 0x284], 0
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov byte [esp + 0x284], 1
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov byte [esp + 0x284], 2
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov byte [esp + 0x284], 3
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x1c]
push str._s:.xml
push ecx
mov byte [esp + 0x290], 4
call fcn.00402e80
mov esi, dword [esp + 0x24]
push esi
lea edx, [esp + 0x64]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
push eax
call fcn.00401140
add esp, 0x1c
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x450638
add ebx, 0xfffffff0
mov byte [esp + 0x284], 3
lea ecx, [ebx + 0xc]
or edx, eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4505bb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x284], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4505e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x284], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45060b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x284], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450774
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x450774
xor ecx, ecx
cmp dword [esp + 0x290], ecx
sete cl
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x54]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450650
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x24]
call fcn.004028b0
mov esi, dword [esp + 0x1c]
push esi
push str.Find_Profile_:__s
call fcn.00403170
mov eax, dword [ebp]
push esi
push eax
lea ecx, [esp + 0x24]
push str._s:_s
push ecx
call fcn.00402e80
mov edx, dword [esp + 0x2a4]
push esi
push edx
lea eax, [esp + 0x40]
push 0x487a44
push eax
call fcn.00402e80
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
add esp, 0x28
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x450648
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add ebx, 0xfffffff0
mov byte [esp + 0x284], 3
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450700
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x284], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x284], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45074c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x284], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x284], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45079e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00475d76
add esp, 0x274
ret 8