Function at 0x1000e050
Capabilities:
Delete directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10126c97
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x7ddc
call fcn.10106f40
mov eax, dword [0x10173500]
xor eax, esp
mov dword [esp + 0x7dd8], eax
push ebx
push esi
push edi
mov eax, dword [0x10173500]
xor eax, esp
push eax
lea eax, [esp + 0x7df0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov edi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ebx
test esi, esi
je 0x1000ed0e
test edi, edi
je 0x1000ed0e
cmp dword [0x1017be54], 0
je 0x1000e0e9
mov eax, 0x1015370c
test ebx, ebx
je 0x1000e0cc
mov eax, ebx
push eax
push edi
push esi
push str.IFOSimulateItemsW__________lpFrom__s___lpTo__s__pszNewName_:__s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x14
mov eax, dword [ebp + 8]
cmp ax, 1
je 0x1000e0fc
cmp ax, 2
jne 0x1000ed0e
push ebx
mov ecx, esi
call fcn.1000c2d0
add esp, 4
test eax, eax
je 0x1000ed0e
push 0x40e
xor esi, esi
lea ecx, [esp + 0x75ca]
xor eax, eax
push esi
push ecx
mov word [esp + 0x75d0], ax
call fcn.10105240
add esp, 0xc
push 0x207
lea edx, [esp + 0x75c8]
push edi
push edx
call fcn.10102ddd
lea eax, [esp + 0x75d0]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1000e151
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x75c2], 0x5c
lea eax, [esp + eax*2 + 0x75c4]
jne 0x1000e178
xor ecx, ecx
mov word [eax - 2], cx
xor eax, eax
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
call fcn.10002cb0
add esp, 4
lea eax, [esp + 0xbc]
push eax
call fcn.10006940
mov dword [esp + 0x7df8], esi
lea edx, [esp + 0x9c]
lea edi, [esp + 0xbc]
call fcn.10007010
cmp ebx, esi
je 0x1000e1e0
mov dword [esp + 0x719c], 1
cmp dword [0x1017bda0], esi
jne 0x1000e1f9
mov esi, 1
lea edi, [esp + 0xbc]
call fcn.10009df0
mov ecx, dword [ebp + 8]
push ecx
lea ebx, [esp + 0xc0]
call fcn.100070b0
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x79de]
push eax
mov word [esp + 0x79e0], dx
call fcn.10105240
mov esi, dword [esp + 0x24]
add esp, 0xc
lea edi, [esp + 0x79d4]
call fcn.1000a480
mov ecx, dword [esp + 0x20]
push ecx
mov ebx, edi
lea eax, [esp + 0xc0]
call fcn.100071c0
lea edi, [esp + 0xbc]
call fcn.10007870
mov eax, dword [esp + 0x21c]
xor ebx, ebx
cmp eax, ebx
je 0x1000e290
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
push 1
push 0x46b
push eax
call esi
mov eax, dword [esp + 0x21c]
cmp eax, ebx
je 0x1000e290
push 0xffff0000
push ebx
push 0x469
push eax
call esi
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
lea edx, [esp + 0x8c]
lea eax, [esp + 0xbc]
mov esi, vtable.CArray_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____.0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x7df8], 1
lea ecx, [esp + 0x28]
call fcn.10006160
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x7df8], 2
lea ecx, [esp + 0x40]
call fcn.10006160
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x7df8], 3
lea ecx, [esp + 0x54]
call fcn.10006160
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x7df8], 4
lea ecx, [esp + 0x68]
call fcn.10006160
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x75e0]
push edx
lea edx, [esp + 0x5c]
call fcn.1000d660
add esp, 0x20
cmp dword [esp + 0x7198], ebx
jne 0x1000ec9f
cmp dword [esp + 0xe0], ebx
jne 0x1000ecb4
xor esi, esi
lea edi, [esp + 0xbc]
call fcn.10009df0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov esi, edi
mov dword [esp + 0x6fd0], eax
mov dword [esp + 0x6fd4], ebx
mov dword [esp + 0x710c], ecx
mov dword [esp + 0x7110], edx
call fcn.10007d30
mov eax, edi
call fcn.10008ae0
xor edi, edi
mov eax, esi
call fcn.10008b00
cmp dword [0x1017be54], ebx
je 0x1000e44e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
push str.IFOSimulateItemsW_FilesAttru_Count__d_Sizes__I64u___size_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
push 0x40e
lea edx, [esp + 0x71ba]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x71c0], cx
call fcn.10105240
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
cmp dword [0x1017bda0], ebx
jne 0x1000e551
mov esi, dword [ebp + 8]
cmp si, 2
je 0x1000e4a1
cmp si, 1
jne 0x1000e551
cmp dword [0x1017be54], ebx
je 0x1000e4e0
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x71bc]
push edx
push ebx
lea eax, [esp + 0x75d4]
push eax
push str.IFOSimulateItemsW_FilesAttru___lpTo_:__s__lpszTemp__s___szDstPath__s__LastError___d___size_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x1c
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x71b4], ebx
call fcn.1000c7d0
add esp, 4
test eax, eax
je 0x1000e520
push edi
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x75d0]
lea edx, [esp + 0x34]
call fcn.1000cd70
add esp, 0xc
cmp si, 1
jne 0x1000ec47
cmp dword [esp + 0x7198], ebx
jne 0x1000ec47
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.1000cb00
add esp, 8
jmp 0x1000ec47
cmp word [edi], bx
je 0x1000ec47
mov ecx, dword [esp + 0x14]
call fcn.10002c10
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x1000eb97
mov esi, dword [esp + 0x18]
call fcn.1000c3c0
push 0x410
mov edi, eax
lea eax, [esp + 0x4734]
push ebx
push eax
call fcn.10105240
add esp, 0xc
cmp edi, ebx
je 0x1000e5ab
push 0x207
lea ecx, [esp + 0x4734]
push edi
push ecx
call fcn.10102ddd
add esp, 0xc
cmp dword [0x1017be54], ebx
je 0x1000e5d2
mov edx, dword [esp + 0x18]
push edx
push str.IFOSimulateItemsW____s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
test byte [esp + 0x10], 0x10
je 0x1000e931
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x75c4]
push eax
lea eax, [esp + 0xc0]
call fcn.10007220
push 0x410
lea ecx, [esp + 0x71b8]
push 0
push ecx
call fcn.10105240
lea eax, [esp + 0x473c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e616
sub eax, edx
sar eax, 1
je 0x1000e634
lea ebx, [esp + 0x4730]
mov dword [esp + 0x10], ebx
jmp 0x1000e656
push 0x5c
push ebx
call fcn.10102ec2
add esp, 8
test eax, eax
je 0x1000ec3d
add eax, 2
mov dword [esp + 0x10], eax
je 0x1000ec3d
mov ebx, eax
xor eax, eax
jmp 0x1000e660
movzx ecx, word [esp + eax + 0x75c4]
mov word [esp + eax + 0x71b4], cx
add eax, 2
test cx, cx
jne 0x1000e660
lea eax, [esp + 0x71b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e682
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x71b2], 0x5c
je 0x1000e6ba
lea edi, [esp + 0x71b4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000e6a6
mov edx, dword [0x101529a4]
mov dword [edi], edx
cmp dword [0x1017be54], 0
je 0x1000e6e2
mov eax, dword [esp + 0x18]
push eax
push str.IFOSimulateItemsW_11____s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e6e6
lea edi, [esp + 0x71b4]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1000e700
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x71b4]
call fcn.10002c10
cmp eax, 0xffffffff
jne 0x1000e829
lea edi, [esp + 0x71b4]
add edi, 0xfffffffe
jmp 0x1000e740
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000e740
cmp dword [0x1017be54], 0
mov ecx, dword [0x101529a4]
mov dword [edi], ecx
je 0x1000e77f
lea edx, [esp + 0x71b4]
push edx
push str.IFOSimulateItemsW_22____s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
lea ecx, [esp + 0x71b4]
call fcn.1000a4e0
test eax, eax
je 0x1000eba4
lea eax, [esp + 0x71b4]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e7a0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x71b2], 0x5c
lea eax, [esp + eax*2 + 0x71b2]
jne 0x1000e7c6
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x14]
call fcn.10002c10
push eax
lea edx, [esp + 0x71b8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x71b4]
lea edx, [eax + 2]
jmp 0x1000e7f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e7f0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x71b2], 0x5c
je 0x1000e831
lea edi, [esp + 0x71b4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000e814
mov eax, dword [0x101529a4]
mov dword [edi], eax
jmp 0x1000e831
test al, 0x10
je 0x1000ebe6
cmp dword [0x1017be54], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x1000e86e
call esi
push eax
lea ecx, [esp + 0x71b8]
push ecx
push ebx
lea edx, [esp + 0x75d0]
push edx
push str.IFOSimulateItemsW_1__lpTo__s__lpszTemp__s___szDstPath__s__LastError___d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
mov edi, dword [esp + 0x14]
lea ebx, [esp + 0xbc]
call fcn.10003500
test eax, eax
je 0x1000ebff
cmp word [ebp + 8], 1
jne 0x1000eb49
xor eax, eax
lea ecx, [esp + 0xac]
lea edx, [esp + 0x10]
mov dword [esp + 0x84], ecx
push edx
xor edx, edx
lea ecx, [esp + 0x28]
lea ebx, [esp + 0x88]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x14], eax
call fcn.100033d0
add esp, 4
cmp dword [esp + 0xac], 0
jne 0x1000eb49
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [0x1017be54], 0
mov edi, eax
je 0x1000eb49
call esi
mov edx, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x75cc]
push ecx
push edx
push str.IFOSimulateItemsW_RemoveDirectory___s___to__s___d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
jmp 0x1000eb49
push 0x410
lea eax, [esp + 0x71b8]
push ebx
push eax
call fcn.10105240
add esp, 0xc
cmp dword [0x1017be54], ebx
je 0x1000e992
lea eax, [esp + 0x4730]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000e960
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x4734]
push ecx
push str.IFOSimulateItemsW_33__lpszNewName_:__s__len_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
lea eax, [esp + 0x4730]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000e9a0
sub eax, edx
sar eax, 1
je 0x1000e9be
lea esi, [esp + 0x4730]
mov dword [esp + 0x10], esi
jmp 0x1000e9e4
mov edx, dword [esp + 0x14]
push 0x5c
push edx
call fcn.10102ec2
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1000eb97
add esi, 2
mov dword [esp + 0x10], esi
je 0x1000eb97
xor eax, eax
jmp 0x1000e9f0
movzx ecx, word [esp + eax + 0x75c4]
mov word [esp + eax + 0x71b4], cx
add eax, 2
cmp cx, bx
jne 0x1000e9f0
lea eax, [esp + 0x71b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000ea12
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x71b2], 0x5c
je 0x1000ea49
lea edi, [esp + 0x71b4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x1000ea36
mov eax, dword [0x101529a4]
mov dword [edi], eax
mov eax, esi
mov edx, esi
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000ea50
lea edi, [esp + 0x71b4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x1000ea70
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x1000ea70
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x1017be54], ebx
je 0x1000eaca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x71b8]
push ecx
push edx
lea eax, [esp + 0x75d0]
push eax
push str.IFOSimulateItemsW_44___lpTo__s__lpszTemp__s___szDstPath_:__s__LastError___d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x71b4]
push ecx
lea eax, [esp + 0xc0]
call fcn.10007220
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x71bc]
push ecx
lea ecx, [esp + 0x1c]
mov edx, ebx
mov dword [esp + 0x1c], 0
call fcn.1000aea0
add esp, 0xc
test eax, eax
jne 0x1000eb28
cmp dword [esp + 0x10], eax
je 0x1000ec3d
cmp dword [0x1017bda8], 1
je 0x1000ec3d
lea esi, [esp + 0xbc]
call fcn.10008b90
cmp dword [esp + 0x20], 0
je 0x1000eb49
mov edx, dword [esp + 0x21c]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000eb52
sub eax, esi
sar eax, 1
lea edi, [edx + eax*2 + 2]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
test edx, edx
je 0x1000eb8d
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000eb76
sub eax, esi
sar eax, 1
lea eax, [edx + eax*2 + 2]
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp word [edi], bx
jmp 0x1000e554
mov dword [esp + 0x1c], 1
jmp 0x1000ec47
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call fcn.1000ef40
test eax, eax
jne 0x1000ec45
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000ebca
mov dword [esp + 0x70f0], eax
lea edx, [esp + 0x71b4]
lea edi, [esp + 0xbc]
call fcn.100091c0
mov eax, edi
call fcn.10008df0
jmp 0x1000ec45
lea eax, [esp + 0xbc]
mov dword [esp + 0x70f0], 0xb7
call fcn.10008df0
jmp 0x1000ec45
cmp dword [0x1017be54], 0
je 0x1000ec3d
call esi
push eax
call esi
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x71bc]
push ecx
push edx
lea eax, [esp + 0x75d4]
push eax
push str.IFOSimulateItemsW_fail__error_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x1c
mov dword [esp + 0x1c], 1
xor ebx, ebx
cmp dword [0x1017be54], ebx
je 0x1000ec73
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.IFOSimulateItemsW______bFailed_:__d___size_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
lea eax, [esp + 0xbc]
call fcn.10008c90
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0xc8
inc esi
call edi
cmp dword [esp + 0x21c], ebx
je 0x1000ecb4
cmp esi, 0x14
jl 0x1000ec87
jmp 0x1000ecb4
cmp dword [esp + 0xe0], ebx
jne 0x1000ecb4
lea eax, [esp + 0xbc]
call fcn.10008c90
mov byte [esp + 0x7df8], 3
lea ecx, [esp + 0x68]
call fcn.100061f0
mov byte [esp + 0x7df8], 2
lea ecx, [esp + 0x54]
call fcn.100061f0
mov byte [esp + 0x7df8], 1
lea ecx, [esp + 0x40]
call fcn.100061f0
mov byte [esp + 0x7df8], bl
lea ecx, [esp + 0x28]
call fcn.100061f0
mov dword [esp + 0x7df8], 0xffffffff
lea ecx, [esp + 0xbc]
call fcn.10006de0
mov ecx, dword [esp + 0x7df0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7dd8]
xor ecx, esp
call fcn.101026e9
mov esp, ebp
pop ebp
ret