Function at 0x1006e798
Capabilities:
Delete file
Get common file path
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp + 0x30], ecx
call fcn.10042924
cmp edx, 0xa
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jb 0x1006e7cb
ja 0x1006e7c3
xor ebx, ebx
cmp eax, ebx
jb 0x1006e7cd
jmp 0x1006e7c5
xor ebx, ebx
mov byte [ebp + 0x67], 1
jmp 0x1006e7d0
xor ebx, ebx
mov byte [ebp + 0x67], bl
cmp edx, 0xa
jb 0x1006e7e4
ja 0x1006e7de
cmp eax, 0x47ba
jb 0x1006e7e4
mov byte [ebp + 0x2f], 1
jmp 0x1006e7e7
mov byte [ebp + 0x2f], bl
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x14], ebx
cmp word [eax], 0x25
pop ecx
jne 0x1006e813
push 1
push ebx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x30]
push eax
call fcn.10057b62
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x78], eax
mov ecx, dword [0x100e1840]
push eax
mov dword [ebp + 0x24], eax
mov byte [ebp + 0x5b], bl
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x23], bl
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x53], bl
mov byte [ebp + 0x45], bl
mov dword [ebp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea eax, [eax + eax + 0x182a]
push eax
lea ecx, [ebp + 0x5c]
call fcn.10046141
mov edi, dword [ebp + 0x5c]
add edi, 0x2410
lea eax, [edi + 0x424]
mov dword [ebp], eax
add eax, 0x21c
lea ecx, [ebp - 8]
mov dword [ebp + 0x54], eax
mov word [eax], bx
call fcn.10046123
lea ecx, [ebp - 0x10]
call fcn.10046123
lea ecx, [ebp + 0x1c]
call fcn.10046123
lea ecx, [ebp + 0x10]
call fcn.10046123
mov eax, dword [ebp + 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0xc], ebx
cmp word [eax], 0x2d
mov dword [ebp + 0xc], 0x100d137c
jne 0x1006e9f8
push 0x100d1370
push 4
pop eax
lea ebx, [ebp + 0x78]
call fcn.10045d09
test al, al
pop ecx
je 0x1006e8c1
mov byte [ebp + 0x23], 1
jmp 0x1006e9e9
push str._file
push 5
pop eax
lea ebx, [ebp + 0x78]
call fcn.10045d09
test al, al
pop ecx
je 0x1006e8df
mov byte [ebp + 0x45], 1
jmp 0x1006e9e9
push str._TaskBand
push 9
pop eax
lea ebx, [ebp + 0x78]
call fcn.10045d09
test al, al
pop ecx
je 0x1006e8fd
mov byte [ebp + 0x53], 2
jmp 0x1006e9e9
push str._StartMenu
push 0xa
pop eax
lea ebx, [ebp + 0x78]
call fcn.10045d09
test al, al
pop ecx
je 0x1006e91b
mov byte [ebp + 0x6e], 2
jmp 0x1006e9e9
push 3
push dword [ebp + 0x78]
push 0x100d1330
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1006e960
mov ecx, dword [ebp + 0x30]
add dword [ebp + 0x78], 6
push 0x1000
push 0x2c
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003aaa0
push dword [ebp + 0x1c]
push edi
call esi
mov eax, dword [ebp + 0x1c]
and word [eax], 0
mov byte [ebp + 0x6f], 1
jmp 0x1006e9e9
push str._base:
push 6
pop eax
lea ebx, [ebp + 0x78]
call fcn.10045d09
test al, al
pop ecx
je 0x1006e9a0
mov ecx, dword [ebp + 0x30]
push 0
push 0x1000
lea eax, [ebp + 0x1c]
push eax
mov eax, ebx
push eax
call fcn.1003aaa0
push dword [ebp + 0x1c]
push dword [ebp + 0x54]
call esi
mov eax, dword [ebp + 0x1c]
and word [eax], 0
mov byte [ebp + 0x5b], 1
jmp 0x1006e9e9
push 3
push dword [ebp + 0x78]
push 0x100d1318
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1006e9df
add dword [ebp + 0x78], 6
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x3f
jne 0x1006e9cb
add dword [ebp + 0x78], 2
cmp byte [ebp + 0x67], 0
je 0x1006e9e9
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10049634
and byte [ebp + 0x3f], 0x7f
pop ecx
jmp 0x1006e9e8
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x1006e8a3
xor ebx, ebx
cmp word [eax], 0x2a
jne 0x1006ea26
mov ecx, dword [ebp + 0x30]
inc eax
inc eax
push ebx
mov dword [ebp + 0x78], eax
push 0x2c
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003aaa0
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
pop ecx
mov ecx, dword [ebp + 0x30]
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003aaa0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
push dword [ebp + 0x78]
push 0x100d1310
call fcn.10040e34
add esp, 0xc
test al, al
je 0x1006eb4f
cmp dword [0x100e2cf8], ebx
je 0x1006f687
mov eax, dword [ebp - 8]
cmp word [eax], bx
jne 0x1006ea79
mov eax, 0x100d137c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1006ea9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x1006ea94
xor eax, eax
inc eax
mov ebx, eax
jmp 0x1006f687
push 0x1032
lea ecx, [ebp + 0x24]
call fcn.10045fcc
push ebx
push ebx
push ebx
push dword [0x100e2cf8]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 0x24]
push 2
pop edi
mov dword [ebp + 0x54], 1
push 0x1000
lea eax, [esi + 0x19]
push eax
push dword [ebp + 0x54]
mov byte [eax], bl
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x1006eb1b
push dword [ebp + 0x54]
push dword [ebp + 0x54]
push str._r_n__12d_0x__7X
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
mov byte [esi + 0x18], 0x3a
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea ecx, [ebp + 0xc]
push ecx
sub eax, edi
push eax
add edi, esi
push edi
push dword [0x100e2cf8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
inc dword [ebp + 0x54]
cmp dword [ebp + 0x54], 0xffff
jle 0x1006eac7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x100e2cf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x24]
mov dword [0x100e2cf8], ebx
call fcn.1003f96c
jmp 0x1006f687
mov eax, dword [ebp - 8]
cmp word [eax], bx
jne 0x1006eb61
mov ebx, 0x80070057
jmp 0x1006f687
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
mov dword [ebp + 0x14], ebx
jne 0x1006eb79
inc eax
inc eax
mov dword [ebp + 0x14], 1
mov dword [ebp + 0x78], eax
cmp word [eax], bx
je 0x1006ebaa
push dword [ebp + 0x78]
push str.StartMenu
call fcn.10040e34
test al, al
pop ecx
pop ecx
jne 0x1006ebaa
push dword [ebp + 0x78]
push str.TaskBand
call fcn.10040e34
test al, al
pop ecx
pop ecx
je 0x1006ebae
or byte [ebp + 0x53], 1
jmp 0x1006ebae
or byte [ebp + 0x6e], 1
test byte [0x100e3dbc], 1
jne 0x1006ebcf
or dword [0x100e3dbc], 1
push 0x100c5b7c
mov dword [0x100e3db8], ebx
call fcn.100b4426
pop ecx
test byte [0x100e3dbc], 2
jne 0x1006ebf0
or dword [0x100e3dbc], 2
push 0x100c5b72
mov dword [0x100e3db4], ebx
call fcn.100b4426
pop ecx
test byte [0x100e3dbc], 4
jne 0x1006ec11
or dword [0x100e3dbc], 4
push 0x100c5b68
mov dword [0x100e3db0], ebx
call fcn.100b4426
pop ecx
test byte [0x100e3dbc], 8
jne 0x1006ec32
or dword [0x100e3dbc], 8
push 0x100c5b5e
mov dword [0x100e3dac], ebx
call fcn.100b4426
pop ecx
cmp byte [ebp + 0x6e], bl
je 0x1006ec4e
cmp dword [ebp + 0x14], ebx
je 0x1006ec45
mov dword [ebp + 0x68], 0x100e3db4
jmp 0x1006ec61
mov dword [ebp + 0x68], 0x100e3db8
jmp 0x1006ec61
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x68], 0x100e3dac
jne 0x1006ec61
mov dword [ebp + 0x68], 0x100e3db0
cmp byte [ebp + 0x5b], bl
jne 0x1006ec75
push 0x104
push dword [ebp + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 4], eax
inc eax
push eax
push dword [ebp + 0x54]
push dword [ebp]
call fcn.10005b3b
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp byte [ebp + 0x6f], bl
mov word [eax], bx
je 0x1006ecc2
push 0x5c
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
mov dword [ebp + 0x48], eax
jne 0x1006ecb0
mov byte [ebp + 0x6f], bl
sub eax, edi
push edi
push dword [ebp + 0x5c]
sar eax, 1
mov dword [ebp + 0x4c], eax
call esi
cmp byte [ebp + 0x6f], bl
jne 0x1006ece2
push ebx
push 0x24
push dword [ebp + 0x5c]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x48], str.Explorer.exe
cmp byte [ebp + 0x6e], bl
je 0x1006ecfe
cmp dword [ebp + 0x14], ebx
je 0x1006ecf5
mov dword [ebp + 0x28], str.WIN10FromStartMenu
jmp 0x1006ed11
mov dword [ebp + 0x28], str.WIN10ToStartMenu
jmp 0x1006ed11
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x28], str.WIN10FromTaskBand
jne 0x1006ed11
mov dword [ebp + 0x28], str.WIN10ToTaskBand
cmp dword [ebp + 0x3c], ebx
mov eax, dword [0x100e1840]
jge 0x1006ed1f
cmp eax, ebx
jl 0x1006ed2a
mov ecx, dword [ebp + 0x68]
cmp dword [ecx], ebx
jne 0x1006f036
cdq
push 0x1122
lea ecx, [ebp + 0x40]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.10046141
cmp dword [ebp + 0x3c], ebx
mov edi, dword [ebp + 0x40]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [ebp + 0x60], edi
jge 0x1006ed7c
cmp dword [0x100e1840], ebx
jge 0x1006ed7c
push str.PINT.FLAGS
call fcn.10012e3c
cmp edx, ebx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jl 0x1006ed7c
jg 0x1006ed71
cmp eax, ebx
jb 0x1006ed7c
mov eax, dword [ebp - 0x1c]
mov dword [0x100e1840], eax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
jne 0x1006edbd
lea eax, [ebp + 0x18]
push eax
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x28]
mov dword [ebp + 8], 1
push str.SOFTWAREPELOGONUSRCFG
push 0x80000002
mov dword [ebp + 0x18], 0x1ffc
call fcn.10040bf5
add esp, 0x18
cmp word [edi], bx
je 0x1006edbd
mov ecx, dword [ebp + 0x68]
push edi
call fcn.1005026c
cmp dword [ebp + 0x3c], ebx
mov ecx, str..USRCFG.INI
mov byte [ebp + 0x6f], 1
jge 0x1006edd3
cmp dword [0x100e1840], ebx
jl 0x1006edf7
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
je 0x1006edf7
cmp byte [ebp + 0x6f], bl
je 0x1006efac
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
jne 0x1006efac
mov ecx, dword [ebp + 0x28]
mov byte [ebp + 0x6f], bl
add ecx, 8
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x54]
lea eax, [eax + edx*2]
push ecx
push eax
mov dword [ebp + 0x18], eax
call esi
mov eax, dword [ebp + 0x18]
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 0x54]
lea ecx, [ebp + 0x38]
mov word [eax], 0x2e
mov dword [ebp + 0x38], ebx
call fcn.10005b9d
mov eax, dword [ebp + 0x28]
add eax, 0xa
push eax
mov dword [ebp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x34]
push eax
push 0x1ffe
push edi
push dword [ebp + 0x38]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [ebp + 0x60], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
shr dword [ebp + 0x34], 1
cmp dword [ebp + 0x34], 0xffe
jbe 0x1006ee6f
mov dword [ebp + 0x34], 0xffe
mov eax, dword [ebp + 0x34]
mov word [edi + eax*2], bx
cmp word [edi], 0xfeff
jne 0x1006ee85
lea eax, [edi + 2]
mov dword [ebp + 0x60], eax
jmp 0x1006ee88
mov eax, dword [ebp + 0x60]
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 8], eax
je 0x1006ef94
cmp dword [ebp - 0x18], ebx
jg 0x1006ef02
jl 0x1006eecb
cmp dword [ebp - 0x1c], ebx
jae 0x1006ef02
jmp 0x1006eecb
lea eax, [ebp + 0x60]
push eax
call fcn.1003f9c4
pop ecx
push 0xb
push str.PINT.FLAGS:
push dword [ebp + 0x60]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x1006eed5
push 0xa
lea eax, [ebp + 0x60]
call fcn.100a1095
pop ecx
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x1006eea2
jmp 0x1006ef02
add dword [ebp + 0x60], 0x16
mov eax, dword [ebp + 0x60]
cmp word [eax], 0x3f
jne 0x1006eeeb
add dword [ebp + 0x60], 2
cmp byte [ebp + 0x67], bl
je 0x1006ef02
lea eax, [ebp + 0x60]
push 0x100e1840
push eax
call fcn.10049634
and byte [0x100e1843], 0x7f
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
jne 0x1006ef87
mov eax, dword [ebp + 8]
mov dword [ebp + 0x60], eax
jmp 0x1006ef56
lea eax, [ebp + 0x60]
push eax
call fcn.1003f9c4
mov eax, dword [ebp + 0x60]
push 0xd
mov dword [ebp + 8], eax
lea eax, [ebp + 0x60]
push 0xa
push eax
call fcn.1003ff40
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x28]
add eax, 0xa
push eax
push dword [ebp + 8]
call fcn.1000f6d2
add esp, 0x1c
test al, al
je 0x1006ef53
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmp word [eax + ecx*2], 0x3a
je 0x1006ef5d
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x1006ef11
jmp 0x1006ef87
lea ecx, [eax + ecx*2 + 2]
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
je 0x1006ef71
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x60], eax
cmp word [ecx], 0x3f
jne 0x1006ef7e
inc ecx
inc ecx
cmp byte [ebp + 0x67], bl
je 0x1006ef87
push ecx
mov ecx, dword [ebp + 0x68]
call fcn.1005026c
lea ecx, [ebp + 0x38]
call fcn.10002d56
jmp 0x1006edda
cmp word [eax], bx
je 0x1006efa4
push dword [ebp + 0x60]
mov ecx, dword [ebp + 0x68]
call fcn.1005026c
lea ecx, [ebp + 0x38]
call fcn.10002d56
cmp dword [ebp - 0x20], 0xa
jb 0x1006eff6
ja 0x1006efb9
cmp dword [ebp - 0x24], ebx
jb 0x1006eff6
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
jne 0x1006f009
mov al, byte [ebp + 0x6e]
mov edi, dword [ebp + 0x60]
neg al
push 0xffe
push edi
mov word [edi], bx
sbb eax, eax
and eax, 0xfffffffb
add eax, 0x150a
add eax, dword [ebp + 0x14]
push eax
push dword [0x100e2c88]
call fcn.1004017f
mov ecx, dword [ebp + 0x68]
add esp, 0x10
push edi
call fcn.1005026c
mov eax, dword [ebp + 0x68]
cmp dword [eax], ebx
jne 0x1006f009
push 0x100c6a64
mov ecx, eax
call fcn.1005026c
cmp dword [0x100e1840], ebx
jl 0x1006f01a
and byte [0x100e1843], 0x7f
jmp 0x1006f029
mov al, byte [ebp + 0x2f]
neg al
sbb eax, eax
and eax, 4
mov dword [0x100e1840], eax
lea ecx, [ebp + 0x40]
call fcn.1003f96c
mov eax, dword [0x100e1840]
cmp dword [ebp + 0x3c], ebx
jge 0x1006f03e
mov dword [ebp + 0x3c], eax
cmp byte [ebp + 0x67], bl
je 0x1006f0f5
cmp byte [ebp + 0x53], bl
je 0x1006f0f5
cmp byte [ebp + 0x23], bl
jne 0x1006f0f5
cmp byte [ebp + 0x5b], bl
jne 0x1006f0f5
push str.NODELAYEXPLORER
call fcn.10012e3c
cmp edx, ebx
pop ecx
jg 0x1006f0f5
jl 0x1006f07b
cmp eax, ebx
ja 0x1006f0f5
mov edi, dword [ebp + 0x5c]
push str.Explorer.exe
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1006f0f5
push 0x1207
push edi
mov word [edi], bx
push 0x2728
push dword [0x100e2c88]
call fcn.1004017f
add esp, 0x10
cmp word [edi], bx
je 0x1006f0f5
push ebx
push ebx
push ebx
push 0x30
push dword [ebp - 4]
call fcn.10018574
add esp, 0x14
test eax, eax
jne 0x1006f0f5
push 0x100d11e0
lea ecx, [ebp + 0x5c]
call fcn.1004618f
push dword [ebp + 0x24]
lea ecx, [ebp + 0x5c]
call fcn.1004618f
push dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x30]
call fcn.10002f35
jmp 0x1006ea94
mov eax, dword [ebp + 0x68]
mov edi, dword [eax]
mov eax, dword [ebp + 0x3c]
and eax, 1
cmp byte [ebp + 0x67], bl
mov dword [ebp + 0x18], edi
je 0x1006f110
cmp byte [ebp + 0x5b], bl
jne 0x1006f110
xor eax, eax
inc eax
test byte [ebp + 0x3c], 0xe
je 0x1006f3d5
cmp byte [ebp + 0x45], bl
jne 0x1006f550
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x4c]
lea eax, [eax + ecx*2 + 0x3c]
mov dword [ebp + 0x28], eax
add eax, 2
test byte [ebp + 0x3c], 0xc
mov dword [ebp + 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x20001
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x68], eax
je 0x1006f323
mov eax, dword [ebp + 0x5c]
mov edi, ecx
add edi, edi
add eax, edi
push str.PECMDExp.exe
push eax
mov dword [ebp + 0x38], eax
call esi
push str.GlobalPECMD:main:lock:PINT:FILE:4
lea ecx, [ebp + 0xc]
call fcn.1000fd2b
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 4]
push dword [ebp + 0x5c]
mov word [eax + ecx*2], bx
call fcn.100b3871
test eax, eax
pop ecx
jne 0x1006f19e
mov eax, dword [ebp + 0x4c]
inc eax
push eax
push dword [ebp + 0x5c]
push dword [ebp + 0x54]
call fcn.10043f29
add esp, 0xc
push dword [ebp + 0x5c]
push dword [ebp + 0x68]
call esi
push dword [ebp + 0x48]
push dword [ebp + 0x38]
call esi
mov eax, dword [ebp + 0x68]
add eax, edi
push str.Explorer0.exe
push eax
mov dword [ebp + 0x4c], eax
call esi
push dword [ebp + 0x68]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str.PECMDExp.exe
push dword [ebp + 0x38]
call esi
push dword [ebp + 0x48]
push dword [ebp + 0x4c]
call esi
push dword [ebp + 0x68]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp + 0x28]
push dword [ebp + 0x48]
lea edi, [edi + eax + 2]
push edi
mov word [eax], 0x22
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2]
mov word [edi], 0x22
inc edi
push str._PINT__dir__file__base:
inc edi
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 4]
lea eax, [edi + eax*2]
push dword [ebp]
mov dword [ebp + 0x40], eax
lea eax, [ebp + 0x40]
push eax
call fcn.1004c8bf
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x40]
call esi
test byte [ebp + 0x3c], 8
mov ecx, dword [ebp + 0x30]
mov word [ebp + 0x44], bx
je 0x1006f25e
push ebx
push ebx
push ebx
push 1
lea eax, [ebp + 0x44]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.1000a5c9
mov dword [ebp + 0x34], eax
jmp 0x1006f272
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp + 0x44]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.1000a5c9
push dword [ebp + 0x48]
push dword [ebp + 0x38]
call esi
push str.PECMDExp.exe
push dword [ebp + 0x4c]
call esi
mov edi, 0x1388
mov dword [ebp + 0x24], edi
push dword [ebp + 0x68]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 0x68]
call fcn.100b3871
test eax, eax
pop ecx
jne 0x1006f2c9
push dword [ebp + 0x5c]
call fcn.100b3871
test eax, eax
pop ecx
je 0x1006f2c9
push ebx
push ebx
push 0xa
mov ecx, 0x100e3108
call fcn.10011621
sub dword [ebp + 0x24], 0xa
cmp dword [ebp + 0x24], ebx
jg 0x1006f28c
push str.Explorer0.exe
push dword [ebp + 0x38]
call esi
push dword [ebp + 0x48]
push dword [ebp + 0x4c]
call esi
push dword [ebp + 0x68]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 0x68]
call fcn.100b3871
test eax, eax
pop ecx
jne 0x1006f316
push dword [ebp + 0x5c]
call fcn.100b3871
test eax, eax
pop ecx
je 0x1006f316
push ebx
push ebx
push 0xa
mov ecx, 0x100e3108
call fcn.10011621
sub edi, 0xa
cmp edi, ebx
jg 0x1006f2db
lea ecx, [ebp + 0xc]
call fcn.1000fd65
jmp 0x1006f3a4
mov edi, dword [ebp + 0x68]
push str._wait__mem__exe:
push edi
call esi
push 0x104
add edi, 0x20
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 0x4c]
push dword [ebp + 0x5c]
add eax, eax
add edi, eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x78]
mov word [eax], 0x2a
add dword [ebp + 0x78], 2
push edi
call esi
push dword [ebp + 0x48]
add edi, dword [ebp + 0xc]
push edi
call esi
push str._PECMD_PINT__file__base:
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 4]
lea eax, [edi + eax*2]
push dword [ebp]
mov dword [ebp + 0x40], eax
lea eax, [ebp + 0x40]
push eax
call fcn.1004c8bf
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x40]
call esi
push dword [ebp + 0x68]
mov ecx, dword [ebp + 0x30]
call fcn.10002f35
mov dword [ebp + 0x34], eax
cmp dword [ebp - 0x24], ebx
je 0x1006f3cd
mov ecx, dword [ebp + 0x30]
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
call fcn.10011621
lea eax, [ebp + 0x34]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp + 0x34]
jmp 0x1006f687
cmp eax, 1
jl 0x1006f550
mov edi, dword [ebp + 0x54]
push 0x5c
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
je 0x1006f54d
inc eax
inc eax
je 0x1006f54d
push 0x100d10d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1006f54d
mov eax, dword [ebp]
push 0x12
add eax, 0x20a
push str.__hide__
push eax
mov dword [ebp + 8], eax
call fcn.100144ff
mov eax, dword [ebp + 4]
push 0x24
lea eax, [edi + eax*2]
push str..DirExplorer.exe
push eax
call fcn.100144ff
mov eax, dword [ebp + 4]
add eax, 0x11
push edi
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x48], ebx
call fcn.100b3871
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x4c], eax
je 0x1006f4e2
push str.NOTMPEXPLORER
call fcn.10012e3c
cmp edx, ebx
pop ecx
jg 0x1006f54d
jl 0x1006f47d
cmp eax, ebx
ja 0x1006f54d
lea eax, [ebp + 0x4c]
push eax
mov dword [ebp + 0x4c], ebx
call fcn.10003a1c
cmp eax, ebx
pop ecx
mov dword [ebp + 0x48], eax
jle 0x1006f4da
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x1006f4da
cmp word [eax], bx
je 0x1006f4da
mov ecx, dword [ebp + 0x48]
push 0x1a
lea eax, [eax + ecx*2]
push 0x100d10d8
push eax
call fcn.100144ff
add dword [ebp + 0x48], 0xc
push ebx
push dword [ebp + 0x4c]
push dword [ebp]
call fcn.10043f29
mov eax, dword [ebp + 0x48]
inc eax
push eax
push dword [ebp + 0x4c]
push edi
call fcn.10005b3b
mov eax, dword [ebp + 0x48]
add esp, 0x24
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x38], edi
lea ecx, [ebp + 0x4c]
call fcn.1003f96c
mov eax, dword [ebp + 0x40]
push 0x28
lea edi, [edi + eax*2]
push str.__PINT__dir__base:
push edi
call fcn.100144ff
push dword [ebp + 4]
lea eax, [ebp + 0x40]
push dword [ebp]
add edi, 0x26
push eax
mov dword [ebp + 0x40], edi
call fcn.1004c8bf
add esp, 0x18
push dword [ebp + 0x24]
push dword [ebp + 0x40]
call esi
mov ecx, dword [ebp + 0x30]
push ebx
push ebx
push ebx
push 1
lea eax, [ebp + 0x44]
push eax
push ecx
push dword [ebp + 8]
mov word [ebp + 0x44], bx
call fcn.1000a5c9
cmp dword [ebp + 0x38], ebx
mov esi, eax
je 0x1006f546
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x48]
push eax
mov word [eax + ecx*2], bx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, esi
jmp 0x1006f687
mov edi, dword [ebp + 0x18]
cmp byte [ebp + 0x6e], bl
je 0x1006f579
mov esi, dword [ebp + 0x14]
add esi, 0x1505
cmp edi, ebx
je 0x1006f5a7
cmp word [edi], bx
je 0x1006f5a7
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0x10]
call fcn.10046247
mov esi, dword [eax]
jmp 0x1006f61c
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
jne 0x1006f5be
or dword [ebp + 0x54], 0xffffffff
add dword [ebp + 0x78], 2
push 0x2c
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004930e
mov esi, dword [ebp + 0x54]
add esp, 0xc
cmp esi, ebx
jl 0x1006eb57
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x1006f5dc
xor ebx, ebx
inc ebx
jmp 0x1006f687
push dword [ebp + 0x78]
push str.TaskBand
call fcn.10040e34
test al, al
pop ecx
pop ecx
je 0x1006f60c
mov esi, dword [ebp + 0x14]
add esi, 0x150a
jmp 0x1006f55e
push 0x1001
lea ecx, [ebp + 0x10]
call fcn.10046168
push 0x1000
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [ebp + 0x10]
cmp word [esi], bx
je 0x1006f5b6
push ebx
push esi
call fcn.1004007f
pop ecx
pop ecx
jmp 0x1006f61c
push 0xffffffffffffffff
push dword [ebp + 0x78]
lea ecx, [ebp + 0x10]
call fcn.10046247
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x1006eb57
push eax
call fcn.100132bf
mov edi, eax
push edi
call fcn.100b3871
test eax, eax
pop ecx
pop ecx
jne 0x1006f641
push 2
pop ebx
jmp 0x1006f687
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.1009e76f
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x1006f5b6
push str.GlobalPECMD:main:lock:PINT
lea ecx, [ebp - 0x30]
mov word [eax - 2], bx
call fcn.1000fd2b
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10009f87
add esp, 0xc
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.1000fd65
lea ecx, [ebp + 0x10]
call fcn.1003f96c
lea ecx, [ebp + 0x1c]
call fcn.1003f96c
lea ecx, [ebp - 0x10]
call fcn.1003f96c
lea ecx, [ebp - 8]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp - 0x14]
call fcn.1003f96c
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x70
leave
ret 8