Function at 0x1000aea0
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126a62
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, edx
xor edx, edx
push 0x40e
mov dword [ebp - 0x878], eax
push edx
lea eax, [ebp - 0x822]
push eax
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x87c], ecx
mov dword [ebp - 0x85c], 1
mov dword [ebp - 0x864], edi
mov word [ebp - 0x824], dx
call fcn.10105240
mov ecx, dword [ebp - 0x878]
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x848]
push edx
push eax
push esi
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x874], eax
mov dword [ecx], eax
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1000afc6
mov eax, dword [ebp - 0x834]
mov ecx, dword [ebp - 0x830]
mov edx, dword [ebp - 0x828]
mov dword [ebp - 0x88c], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x888], ecx
mov dword [ebp - 0x884], edx
mov dword [ebp - 0x880], eax
mov ecx, edi
call fcn.10002c10
cmp dword [0x1017be54], 0
mov dword [ebp - 0x870], eax
je 0x1000afff
push edi
push esi
push eax
push str._SimulateCM__SimulateCM_1__08x__lpszSrcPath_:__s___lpszDstPath:_s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
mov eax, dword [ebp - 0x870]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000b035
cmp dword [0x1017be54], 0
je 0x1000b026
push str._SimulateCM__SimulateCM_11
push str.ifocms
or ecx, eax
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 8
mov dword [ebp - 0x860], 1
jmp 0x1000b1b4
lea ecx, [ebp - 0x824]
push ecx
mov ecx, edi
call fcn.1000a6f0
add esp, 4
lea edx, [ebp - 0x824]
push edx
push edi
push esi
mov esi, ebx
call fcn.10007280
mov eax, dword [ebp - 0x884]
xor esi, esi
push eax
lea ecx, [ebp - 0x88c]
mov edx, ebx
mov dword [ebp - 0x894], esi
mov dword [ebp - 0x890], esi
call fcn.10007450
xor eax, eax
lea ecx, [ebp - 0x848]
push ecx
push eax
push edi
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1000b0e1
mov edx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x830]
mov esi, dword [ebp - 0x828]
mov dword [ebp - 0x894], edx
mov dword [ebp - 0x890], eax
push esi
lea ecx, [ebp - 0x894]
mov edx, ebx
call fcn.10007660
cmp dword [ebx + 0x1c], 0
jne 0x1000b106
mov eax, ebx
call fcn.100089f0
test eax, eax
jne 0x1000b140
mov dword [ebp - 0x85c], eax
mov edx, dword [ebp - 0x878]
cmp dword [edx], 0
je 0x1000b11e
mov eax, dword [ebx + 0x160]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp - 0x85c], 0
je 0x1000b1b4
mov eax, dword [ebx + 0x20]
cmp eax, 0x65
jne 0x1000b14e
mov edi, 1
mov dword [ebp - 0x874], edi
jmp 0x1000b1ba
mov ecx, dword [ebp - 0x878]
mov dword [ecx], 1
jmp 0x1000b111
cmp eax, 0x66
jne 0x1000b157
xor edi, edi
jmp 0x1000b1ba
cmp eax, 0x67
jne 0x1000b19b
lea edi, [eax - 0x66]
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
jmp 0x1000b170
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000b170
sub eax, edx
sar eax, 1
je 0x1000b18f
lea eax, [ebp - 0x824]
mov dword [ebp - 0x864], eax
jmp 0x1000b1ba
mov dword [ebp - 0x85c], 0
jmp 0x1000b1ba
cmp eax, 2
jne 0x1000b1b4
mov dword [ebx + 0x70dc], 1
mov dword [ebp - 0x85c], 0
mov edi, dword [ebp - 0x860]
mov ecx, dword [ebp - 0x880]
mov edx, dword [ebp - 0x884]
mov eax, dword [ebp - 0x864]
push ecx
push edx
push eax
mov esi, ebx
call fcn.10009520
mov dword [ebp - 0x888], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x890], eax
je 0x1000b202
xor esi, esi
mov dword [ebx + 0x70dc], 1
mov dword [ebp - 0x85c], esi
jmp 0x1000b208
mov esi, dword [ebp - 0x85c]
cmp dword [0x1017be54], 0
je 0x1000b22d
push edi
push esi
push str._SimulateCM__2___d__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
test esi, esi
je 0x1000baa9
test edi, edi
je 0x1000baa9
mov edi, dword [ebp - 0x864]
mov ecx, edi
call fcn.1000a4e0
test eax, eax
jne 0x1000b285
cmp dword [0x1017be54], eax
je 0x1000b2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x868]
push eax
push edi
push ecx
push str.SimulateCM_3___s____s____d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x14
jmp 0x1000b2fb
cmp dword [0x101749f8], 0
je 0x1000b2fb
lea ecx, [ebp - 0x860]
call fcn.10001690
mov dword [ebp - 4], 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x86c], esp
push edi
lea esi, [ebp - 0x860]
call fcn.10001e40
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.10003610
add esp, 8
test eax, eax
jne 0x1000b2d3
push edi
mov ecx, esi
call fcn.10001df0
mov edx, dword [ebp - 0x860]
push 0
push edx
push 5
push 0x800
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.10001700
mov ecx, dword [ebp - 0x870]
mov dword [ebp - 0x86c], 0
cmp ecx, 0xffffffff
je 0x1000b357
cmp ecx, 0x10
je 0x1000b357
mov esi, ecx
test cl, 1
je 0x1000b337
and esi, 0xfffffffe
push esi
push edi
mov dword [ebp - 0x86c], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x870]
test cl, 2
je 0x1000b357
and esi, 0xfffffffd
push esi
push edi
mov dword [ebp - 0x86c], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x870]
mov dword [ebp - 0x860], 0
cmp ecx, 0x10
je 0x1000b3ad
mov eax, dword [ebp - 0x868]
mov edi, dword [ebp - 0x864]
push eax
call fcn.1000ad40
add esp, 4
test eax, eax
jne 0x1000b3a7
xor esi, esi
mov dword [ebp - 0x85c], esi
mov dword [ebp - 0x860], 0x70
cmp dword [0x1017be54], esi
je 0x1000b866
push str._SimulateCM___22
jmp 0x1000b851
mov ecx, dword [ebp - 0x870]
movzx eax, word [ebx + 0x360c]
cmp eax, 1
jne 0x1000b3c0
or dword [ebp - 0x874], 2
cmp eax, 2
je 0x1000b3ce
cmp eax, 1
jne 0x1000b65a
xor eax, eax
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
xor esi, esi
lea edi, [ebp - 0x858]
mov eax, ebx
mov dword [ebp - 0x858], esi
call fcn.10007060
mov eax, dword [ebx + 0x160]
mov ecx, edi
mov dword [ebp - 0x8a0], ecx
mov dword [ebp - 0x89c], eax
mov dword [ebp - 0x878], esi
cmp dword [0x101749fc], esi
jbe 0x1000b629
cmp word [ebx + 0x360c], 2
jne 0x1000b4c0
mov eax, dword [0x1017bdb4]
test eax, eax
je 0x1000b464
mov ecx, dword [ebp - 0x864]
push 2
lea edx, [ebp - 0x8a0]
push edx
mov edx, dword [ebp - 0x868]
push 0
push 0
push ebx
push 0x1000ab00
push ecx
push edx
call eax
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b559
mov eax, dword [0x1017bdac]
mov edx, dword [ebp - 0x864]
test eax, eax
je 0x1000b49b
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x868]
push 0
push 0
push ebx
push 0x1000ab00
push edx
push ecx
call eax
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b559
mov eax, dword [ebp - 0x868]
push 0
push 0
push ebx
push 0x1000ab00
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b559
mov eax, dword [0x1017bdb8]
test eax, eax
je 0x1000b4f9
mov edx, dword [ebp - 0x874]
push 2
lea ecx, [ebp - 0x8a0]
push ecx
mov ecx, dword [ebp - 0x864]
push edx
mov edx, dword [ebp - 0x868]
push ebx
push 0x1000ab00
push ecx
push edx
call eax
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b559
mov eax, dword [0x1017bdb0]
test eax, eax
je 0x1000b530
mov edx, dword [ebp - 0x874]
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x864]
push edx
mov edx, dword [ebp - 0x868]
push ebx
push 0x1000ab00
push ecx
push edx
call eax
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b559
mov eax, dword [ebp - 0x874]
mov ecx, dword [ebp - 0x864]
mov edx, dword [ebp - 0x868]
push eax
push ebx
push 0x1000ab00
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
mov esi, eax
mov dword [ebp - 0x85c], eax
test esi, esi
jne 0x1000b584
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call fcn.1000ef40
mov ecx, dword [ebp - 0x87c]
mov dword [ecx], eax
test eax, eax
jne 0x1000b584
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x860], eax
jmp 0x1000b597
mov eax, dword [ebp - 0x868]
mov esi, ebx
call fcn.1000ab70
mov esi, dword [ebp - 0x85c]
cmp dword [0x1017be54], 0
je 0x1000b5f5
cmp word [ebx + 0x360c], 2
mov eax, str.CopyFIle
je 0x1000b5b4
mov eax, str.MoveFile
mov edx, dword [ebp - 0x87c]
mov ecx, dword [edx]
mov edx, dword [0x101749fc]
push ecx
mov ecx, dword [ebp - 0x864]
push edx
mov edx, dword [ebp - 0x868]
push ecx
mov ecx, dword [ebp - 0x878]
push edx
push esi
push ecx
push eax
push str._SimulateCM____s__k_:__d__bRet_:__d__src:__s___desk_:__s___g_dwCopyNumber_:__d___AgentFilter:_d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x24
test esi, esi
jne 0x1000b62f
mov edx, dword [ebp - 0x87c]
cmp dword [edx], esi
jne 0x1000b62f
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x878]
inc eax
mov dword [ebp - 0x878], eax
cmp eax, dword [0x101749fc]
jb 0x1000b41d
jmp 0x1000b62f
mov esi, dword [ebp - 0x85c]
cmp dword [0x1017be54], 0
je 0x1000b652
push str._SimulateCM___33
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 8
mov ecx, dword [ebp - 0x870]
jmp 0x1000b660
mov esi, dword [ebp - 0x85c]
test esi, esi
jne 0x1000b866
mov eax, dword [ebp - 0x87c]
cmp dword [eax], esi
jne 0x1000b866
cmp dword [ebx + 0x24], esi
jne 0x1000b866
cmp ecx, 0xffffffff
je 0x1000b866
cmp ecx, 0x10
je 0x1000b866
cmp dword [0x1017be54], esi
je 0x1000b6b4
push ecx
push str._SimulateCM___55__dwFileAttr_:__08x_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.10105240
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x864]
push eax
push edi
push str._s.ifocmsdll_08x
lea edx, [ebp - 0x414]
call fcn.10001170
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1000b866
cmp word [ebx + 0x360c], 2
jne 0x1000b735
mov ecx, dword [ebp - 0x868]
push 0
push 0
push ebx
push 0x1000ab00
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov esi, eax
mov dword [ebp - 0x85c], esi
jmp 0x1000b758
mov edx, dword [ebp - 0x874]
mov eax, dword [ebp - 0x868]
push edx
push ebx
push 0x1000ab00
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
mov esi, eax
mov dword [ebp - 0x85c], eax
test esi, esi
jne 0x1000b76a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x860], eax
jmp 0x1000b783
mov eax, dword [ebp - 0x868]
mov esi, ebx
call fcn.1000ab70
mov edi, dword [ebp - 0x864]
mov esi, dword [ebp - 0x85c]
cmp dword [0x1017be54], 0
je 0x1000b7ae
mov ecx, dword [ebp - 0x860]
push ecx
push esi
push str._SimulateCM___66__bRet_:__d___dwError_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
test esi, esi
je 0x1000b81e
lea ecx, [ebp - 0x414]
call fcn.10002c10
mov dword [ebp - 0x86c], eax
test al, 1
je 0x1000b7de
and eax, 0xfffffffe
push eax
lea edx, [ebp - 0x414]
push edx
mov dword [ebp - 0x86c], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x1017be54], 0
je 0x1000b866
mov ecx, dword [ebp - 0x860]
mov edx, dword [ebp - 0x86c]
push ecx
push edx
push str._SimulateCM___88__dwNewFileAttr_:__08x___dwError_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
jmp 0x1000b866
push edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [ebp - 0x86c], 0
je 0x1000b843
mov ecx, dword [ebp - 0x870]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x1017be54], 0
je 0x1000b866
push str.s_SimulateCM___99
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x890]
mov edi, eax
sub eax, ecx
xor edx, edx
cmp edi, ecx
jbe 0x1000b8f0
mov ecx, dword [ebp - 0x880]
cmp ecx, edx
ja 0x1000b892
cmp dword [ebp - 0x884], 0xa00000
jbe 0x1000b8f0
cmp eax, 0xbb8
jbe 0x1000b8f0
push edx
mov edx, dword [ebp - 0x884]
push eax
push ecx
push edx
call fcn.10111ae0
mov ecx, dword [ebp - 0x888]
cmp ecx, 7
jae 0x1000b8c8
lea edx, [eax - 0x191]
cmp edx, 0x30bae
ja 0x1000b8c8
mov dword [ecx*4 + 0x10174a04], eax
cmp dword [0x1017be54], 0
je 0x1000b8ee
push edi
push eax
push ecx
push str._IFOCMS1_____type___d___dwSpeed__d___tick_:_d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x14
xor edx, edx
mov edi, dword [ebp - 0x860]
mov dword [ebx + 0x7074], edx
mov dword [ebx + 0x7068], edx
mov dword [ebx + 0x706c], edx
mov dword [ebx + 0x7060], edx
mov dword [ebx + 0x7064], edx
mov dword [ebx + 0x7080], edx
mov dword [ebx + 0x7084], edx
cmp dword [0x1017be54], edx
je 0x1000b966
mov ecx, dword [0x10174a00]
mov edx, dword [ebp - 0x898]
mov eax, dword [ebx + 0x24]
push ecx
mov ecx, dword [ebp - 0x868]
push edx
mov edx, dword [0x101749f8]
push ecx
push edx
push edi
push eax
push esi
push str._IFOCMS1_44_SimulateCM___d__d__dwError_:__d___g_bRefresh_:__d____s____s___g_bShowFail:_d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x24
xor edx, edx
cmp esi, edx
jne 0x1000b997
mov eax, dword [ebp - 0x87c]
cmp dword [eax], edx
je 0x1000b97c
cmp dword [0x10174a00], edx
je 0x1000b997
cmp dword [ebx + 0x24], edx
jne 0x1000b997
cmp edi, edx
je 0x1000b98b
mov dword [ebx + 0x7034], edi
mov eax, ebx
call fcn.10008df0
jmp 0x1000baa9
mov ecx, dword [ebp - 0x87c]
mov dword [ebx + 0x7040], edx
mov dword [ebx + 0x7044], edx
cmp dword [ecx], edx
jne 0x1000baa9
cmp dword [0x101749f8], 0
je 0x1000baa9
call fcn.1001064f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1000b9d8
push 0x80004005
call fcn.10001cb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x86c], eax
mov ebx, 3
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x864]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x898], esp
push edi
lea esi, [ebp - 0x86c]
call fcn.10001e40
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
call fcn.10003610
add esp, 8
test eax, eax
jne 0x1000ba4c
test edi, edi
je 0x1000ba3f
mov eax, edi
lea edx, [eax + 2]
jmp 0x1000ba30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000ba30
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x86c]
call fcn.10001d00
cmp dword [0x1017be54], 0
je 0x1000ba70
push edi
push str._IFOCMS1_55_SimulateCM___s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
mov esi, dword [ebp - 0x86c]
push 0
push esi
push 5
push 0x800
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000baa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x85c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret