Function at 0x10108730
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101af8a6
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x480]
push eax
call fcn.100e1260
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x10108790
push 0
lea ecx, [ebp - 0x480]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x47c]
call fcn.100ac330
mov byte [ebp - 4], 2
push 0x101d9050
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x498]
push edx
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4ac]
call fcn.10004390
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac660
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.10005e00
cmp dword [ebp - 0x484], 0
je 0x10108acc
lea ecx, [ebp - 0x47c]
call fcn.100ac5a0
test eax, eax
jne 0x10108ab6
lea ecx, [ebp - 0x47c]
call fcn.100ac610
test eax, eax
je 0x101088f3
lea ecx, [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.100ac390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x490]
call fcn.100043a0
mov esi, eax
lea ecx, [ebp - 0x490]
call fcn.10005e60
lea edx, [esi + eax*2 - 2]
mov dword [ebp - 0x488], edx
cmp dword [ebp - 0x488], 0
je 0x1010888c
mov eax, dword [ebp - 0x488]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x1010888c
mov edx, dword [ebp - 0x488]
sub edx, 2
mov dword [ebp - 0x488], edx
jmp 0x10108864
mov eax, dword [ebp - 0x488]
add eax, 2
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
push ecx
lea edx, [ebp - 0x480]
push edx
lea eax, [ebp - 0x48c]
push eax
call fcn.10090bb0
add esp, 0xc
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x48c]
call fcn.100043a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x490]
call fcn.10005e00
jmp 0x10108ab6
lea ecx, [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.100ac4c0
mov byte [ebp - 4], 6
push 0
push str..dll
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..exp
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..pdb
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push 0x101d907c
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..trg
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..lib
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..ilk
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
push str..tlb
lea ecx, [ebp - 0x494]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10108aa7
push 0
lea edx, [ebp - 0x494]
push edx
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x49c]
push ecx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x4b0], eax
mov edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4b4]
call fcn.10004390
push eax
lea eax, [ebp - 0x494]
push eax
push 1
lea ecx, [ebp - 0x4a0]
push ecx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x4b8], eax
mov edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4c0]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x4a4]
call fcn.10005e00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a0]
call fcn.10005e00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x49c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x494]
call fcn.10005e00
lea ecx, [ebp - 0x47c]
call fcn.100ac820
mov dword [ebp - 0x484], eax
jmp 0x101087f9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.100ac370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret