Function at 0x450ab0
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46e648
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 1
call fcn.00456efa
mov byte [esp + 0x5c], 2
call fcn.004194d8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x450b07
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 3
call fcn.004194d8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x450b36
push 0x80004005
call fcn.00401f50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x64]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
mov byte [esp + 0x68], 4
call fcn.00403750
lea ecx, [esp + 0x28]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00450500
add esp, 0xc
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 5
call fcn.004037c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450baa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00403750
lea ecx, [esp + 0x28]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00450500
add esp, 0xc
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 6
call fcn.004037c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450c09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47502c
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040c5e0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 7
call fcn.004037c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push 0
push ebx
lea ecx, [esp + 0x44]
call fcn.00456f92
test eax, eax
jne 0x450d27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
add esi, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450c95
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x5c], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450cb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 1
call fcn.00456f23
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x5c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ce9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450d11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x3c]
call fcn.00456d7d
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], eax
call fcn.00456ebb
test eax, eax
jne 0x450f28
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x40]
call eax
test eax, eax
je 0x450e5a
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.004570c6
push eax
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x68], 8
call fcn.0040c520
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 9
call fcn.004037c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450db6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ddb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ecx
lea edi, [esi - 0x10]
mov dword [esp + 0x38], esp
mov ebp, esp
push edi
call fcn.00403750
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00450740
add esp, 4
cmp eax, 2
je 0x450e16
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x450c6c
push ecx
mov dword [esp + 0x38], esp
mov ebp, esp
push edi
call fcn.00403750
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0xa
call fcn.00457191
mov byte [esp + 0x64], 4
call fcn.00450ab0
mov edi, eax
add esp, 8
test edi, edi
jne 0x450c74
jmp 0x450f28
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x40]
call fcn.00457222
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], 0xb
call fcn.0040c520
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xc
call fcn.004037c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450eb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ed9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00457191
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x450fe6
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x30], 0
jne 0x450d27
add esi, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450f54
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450f75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 1
call fcn.00456f23
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0xfffffff0
mov edi, eax
mov byte [esp + 0x5c], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45100f
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
jmp 0x450c98