Function at 0x10015df0
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x834
push esi
push edi
push 0x7ff
lea eax, [ebp - 0x83f]
push 0
push eax
mov dword [ebp - 0x28], edx
mov esi, ecx
mov byte [ebp - 0x840], 0
call fcn.10088b00
mov eax, dword [0x100ddc0c]
mov edi, dword [0x100dd390]
add esp, 0xc
test al, 1
jne 0x10015e55
or eax, 1
mov dword [0x100ddc0c], eax
call fcn.1003e8b0
mov dword [0x100ddb80], eax
jmp 0x10015e5a
mov eax, dword [0x100ddb80]
push 0x800
lea ecx, [ebp - 0x840]
push ecx
push edi
call eax
mov eax, dword [0x100ddd1c]
test al, 1
jne 0x10015e86
or eax, 1
mov dword [0x100ddd1c], eax
call fcn.10044ca0
mov dword [0x100ddd20], eax
jmp 0x10015e8b
mov eax, dword [0x100ddd20]
lea ecx, [ebp - 0x840]
push ecx
call eax
cmp byte [ebp - 0x840], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x10015eb3
xor ecx, ecx
jmp 0x10015ec9
lea ecx, [ebp - 0x840]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015ec0
sub ecx, edx
push ecx
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004460
push 1
push 0x100bdbac
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10008ba0
mov edx, dword [0x100dd770]
cmp byte [edx], 0
jne 0x10015efe
xor ecx, ecx
jmp 0x10015f0c
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015f03
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10008ba0
lea ecx, [ebp - 0x24]
call fcn.10036fe0
push 0xffffffffffffffff
push 0
push 0x100db210
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.10008aa0
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x10], 0x10
lea edx, [ebp - 0x24]
cmovae edx, dword [ebp - 0x24]
cmp byte [edx], 0
jne 0x10015f5b
xor ecx, ecx
jmp 0x10015f69
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015f60
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10004460
push 1
push 0x100bdbb0
mov ecx, esi
call fcn.10008ba0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x28]
mov ecx, esi
call fcn.10008aa0
cmp dword [esi + 0x14], 0x10
jb 0x10015f98
mov eax, dword [esi]
jmp 0x10015f9a
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0x100bdbb4
mov ecx, esi
call fcn.10008ba0
mov eax, dword [0x100dd994]
xor ecx, ecx
cmp eax, 4
cmovg eax, ecx
mov ecx, eax
inc eax
mov dword [0x100dd994], eax
cmp ecx, 4
ja case.default.0x10015fcb
jmp dword [ecx*4 + 0x10016064]
push dword [0x100dd788]
jmp 0x10015ff8
push dword [0x100dd6b0]
jmp 0x10015ff8
push dword [0x100dd3e4]
jmp 0x10015ff8
push dword [0x100dd5c4]
jmp 0x10015ff8
push dword [0x100dd658]
mov ecx, esi
call fcn.10008a60
cmp dword [esi + 0x14], 0x10
jb 0x10016007
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 0x10
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x10], 0x10
jb 0x1001602d
push dword [ebp - 0x24]
call fcn.100852d7
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
jb 0x10016050
push dword [ebp - 0x40]
call fcn.100852d7
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret