Function at 0x40aac0
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x49a8a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, 0x4a689c
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0xa
lea eax, [esp + 0x28]
mov dword [esp + 0x68], ebx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebp
call fcn.0048c178
mov ecx, ebp
call fcn.0040ae00
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x40ac47
mov ecx, dword [esp + 0x18]
add ecx, 8
push ecx
lea ecx, [esp + 0x18]
call fcn.0048c178
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp]
mov byte [esp + 0x68], 1
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.0048a360
push eax
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x74], 2
call fcn.0048c632
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 4
call fcn.0048c403
push 3
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0048c90b
mov esi, eax
cmp esi, 0xffffffff
je 0x40ac01
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0048a3dc
mov eax, dword [eax]
push ebx
push eax
call fcn.00476665
add esp, 8
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0048c403
cmp edi, ebx
je 0x40abe8
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.0048a3dc
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x24]
call fcn.0048c403
inc esi
lea ecx, [esp + 0x10]
push esi
push 0x5c
call fcn.0048c90b
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ab9c
mov edi, 0x4a689c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x10]
je 0x40ad2a
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], bl
call fcn.0048c403
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40ab32
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xa
lea ecx, [esp + 0x44]
lea edx, [ebp + 4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x74], 6
call fcn.0048c178
mov ecx, ebp
call fcn.0040ae00
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov dword [esp + 0x44], edi
je 0x40ad63
mov esi, dword [esp + 0x48]
mov byte [esp + 0x68], 7
cmp esi, ebx
je 0x40acba
lea ecx, [esi + 8]
push 1
push ecx
call fcn.0048a8db
mov esi, dword [esi]
cmp esi, ebx
jne 0x40aca9
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
call fcn.0048b83c
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x68], 8
cmp esi, ebx
je 0x40acfc
lea edx, [esi + 8]
push 1
push edx
call fcn.0048a8db
mov esi, dword [esi]
cmp esi, ebx
jne 0x40aceb
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.0048b83c
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], bl
call fcn.0048c403
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x68], 5
cmp esi, ebx
je 0x40acfc
lea eax, [esi + 8]
push 1
push eax
call fcn.0048a8db
mov esi, dword [esi]
cmp esi, ebx
jne 0x40ad50
jmp 0x40acfc
mov esi, dword [esp + 0x48]
mov byte [esp + 0x68], 9
cmp esi, ebx
je 0x40ad81
lea eax, [esi + 8]
push 1
push eax
call fcn.0048a8db
mov esi, dword [esi]
cmp esi, ebx
jne 0x40ad70
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
call fcn.0048b83c
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x68], 0xa
cmp esi, ebx
je 0x40adc3
lea ecx, [esi + 8]
push 1
push ecx
call fcn.0048a8db
mov esi, dword [esi]
cmp esi, ebx
jne 0x40adb2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.0048b83c
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret