Function at 0x100114ef
Capabilities:
Check if file exists
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10041a07
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x10058684]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x10058684]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push dword [edi]
mov dword [esp + 0x54], ecx
push str.CSearchFileCmd::Execute___entered__param___s.
call fcn.10003e3a
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
jne 0x1001155f
push str.CSearchFileCmd::Execute___invalid_parameter.
call fcn.10003e3a
pop ecx
jmp 0x10011bdd
mov ebx, 0x100581b4
push ebx
lea ecx, [esp + 0x2c]
call fcn.100023ad
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2ac], esi
call fcn.100023ad
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x2ac], 1
call fcn.100023ad
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x2b8], 2
call fcn.100112c4
mov edi, dword [esp + 0x30]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push str.CSearchFileCmd::Execute___path_s_file_s_prefx_s
call fcn.10003e3a
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp dword [eax - 0xc], esi
je 0x10011bb2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011bb2
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10011bb2
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], esi
je 0x10011bb2
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str..tmp
call fcn.100021a3
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x48]
call fcn.10001b47
pop ecx
pop ecx
mov byte [esp + 0x2a8], 3
mov eax, dword [esp + 0x40]
cmp dword [eax - 0xc], esi
jne 0x10011649
lea ecx, [eax - 0x10]
call fcn.10002c37
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
jmp 0x10011bc0
lea esi, [esp + 0x2c]
call fcn.10001e59
mov byte [esp + 0x2a8], 4
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
jne 0x10011675
lea ecx, [eax - 0x10]
call fcn.10002c37
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
jmp 0x10011638
lea esi, [esp + 0x34]
call fcn.10001eca
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x2ac], 5
call fcn.10011c46
mov byte [esp + 0x2ac], 6
mov dword [esp], str..txt
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1000436d
add esp, 0xc
mov byte [esp + 0x2a8], 7
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [esp + 0x30]
push eax
call fcn.1000fa64
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.10002c37
mov byte [esp + 0x2a8], 4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.10004e4d
mov esi, dword [esp + 0x1c]
push eax
call fcn.10006d04
test al, al
je 0x10011b72
push 0x1004a750
push dword [esp + 0x30]
call fcn.1001dbb3
pop ecx
pop ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x10011b68
push ebx
lea ecx, [esp + 0x28]
call fcn.100023ad
push ecx
mov byte [esp + 0x2ac], 8
mov ecx, esp
mov dword [esp + 0x4c], esp
push str..tmp
call fcn.100021a3
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x24]
call fcn.10001b47
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 9
call fcn.100023d5
mov byte [esp + 0x2a8], 8
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1001f90e
pop ecx
push dword [esp + 0x30]
call fcn.100201ca
pop ecx
test eax, eax
jne 0x10011ae8
mov esi, 0x1004dfe4
push dword [esp + 0x30]
call fcn.100201f2
pop ecx
test eax, eax
jne 0x10011ae8
push 0x208
push eax
lea eax, [esp + 0x94]
push eax
call fcn.10024270
add esp, 0xc
push dword [esp + 0x30]
lea eax, [esp + 0x90]
push 0x104
push eax
call fcn.10020e1a
add esp, 0xc
cmp word [esp + 0x8c], 0
je 0x10011ae8
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011804
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x8a]
cmp word [eax], 0xa
jne 0x10011825
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x8c]
push str.:WINDOWS
push eax
call fcn.1001e6eb
pop ecx
pop ecx
test eax, eax
jne 0x10011ad6
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
call fcn.100021a3
push 0x1004aa2c
lea ecx, [esp + 0x50]
mov byte [esp + 0x2ac], 0xa
call fcn.100021a3
mov byte [esp + 0x2a8], 0xb
push 0x2e
push dword [esp + 0x1c]
call fcn.1001ef2c
pop ecx
pop ecx
test eax, eax
je 0x100118c9
mov ecx, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
mov edx, eax
cmp edx, 0xffffffff
je 0x100118c9
mov eax, dword [ecx - 0xc]
lea ecx, [esp + 0x58]
push ecx
sub eax, edx
lea ecx, [esp + 0x1c]
call fcn.1000223a
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2ac], 0xc
call fcn.100023d5
mov byte [esp + 0x2a8], 0xb
mov ecx, dword [esp + 0x58]
add ecx, 0xfffffff0
call fcn.10002c37
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x38]
call fcn.10001c9b
push 0x1004dfdc
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x2b0], 0xd
call fcn.100021ee
test eax, eax
jne 0x10011962
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x38]
call fcn.100021a3
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x2b0], 0xe
call fcn.10011448
pop ecx
pop ecx
mov byte [esp + 0x2a8], 0x10
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.10002c37
push esi
call fcn.10002867
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.1000fa64
mov eax, dword [esp + 0x3c]
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.1000fa64
mov byte [esp + 0x2a8], 0xd
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, dword [esp + 0x4c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
push eax
call fcn.10002687
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x5c]
call fcn.10001b47
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 0x11
call fcn.100023d5
mov byte [esp + 0x2a8], 0xd
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.10002c37
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.10038530
add esp, 0xc
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
call fcn.1001dd11
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x78]
pop ecx
pop ecx
cmp eax, 0xa00000
jbe 0x10011aaa
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
call fcn.100021a3
mov eax, dword [esp + 0x50]
mov byte [esp + 0x2a8], 0x12
mov edi, dword [eax + 8]
movzx eax, word [0x1005bb58]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push ecx
call fcn.10011c06
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0x2a8], 0xd
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str..tmp
call fcn.100021a3
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x50]
call fcn.10001b47
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 0x13
call fcn.100023d5
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.10002c37
mov byte [esp + 0x2a8], 8
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [esp + 0x30]
call fcn.100201ca
pop ecx
test eax, eax
je 0x100117aa
push dword [esp + 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011b52
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
call fcn.100021a3
mov eax, dword [esp + 0x50]
mov byte [esp + 0x2a8], 0x14
mov edi, dword [eax + 8]
movzx eax, word [0x1005bb58]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push ecx
call fcn.10011c06
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [esp + 0x30]
call fcn.1001e614
pop ecx
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.10002c37
xor eax, eax
jmp 0x10011be0
push str.CSearchFileCmd::Execute___invalid_parameters.
call fcn.10003e3a
pop ecx
lea ecx, [edi - 0x10]
call fcn.10002c37
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.10002c37
or eax, 0xffffffff
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.1001d73b
mov esp, ebp
pop ebp
ret 4