Function at 0x10027c60
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8a4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 4], ebx
push ebx
xor eax, eax
mov edi, 7
push 0x100b61ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10005fb0
mov byte [ebp - 4], 1
xor ecx, ecx
push 0x11
mov word [ebp - 0x80], cx
push str.SogouExplorer.exe
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.10005fb0
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.1003b190
add esp, 4
cmp dword [ebp - 0x6c], 8
jb 0x10027d16
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
jb 0x10027d37
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
mov edi, dword [ebp - 0x90]
sub edi, dword [ebp - 0x94]
sar edi, 2
cmp edi, ebx
jbe 0x10027d59
lea eax, [ebp - 0x94]
push eax
call fcn.1003b040
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10029a90
test al, al
jne 0x10027dae
push str..bak
add esi, 4
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.100069b0
add esp, 0xc
mov ecx, esi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10039280
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x10027dae
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
cmp edi, 2
jb 0x10027e3b
lea eax, [ebp - 0x2c]
push eax
call fcn.100280b0
add esp, 4
push 0x38
lea ecx, [ebp - 0xcc]
push ebx
push ecx
call fcn.10044ad0
mov esi, 8
add esp, 0xc
mov dword [ebp - 0xd0], 0x3c
mov dword [ebp - 0xc4], str.open
cmp dword [ebp - 0x18], esi
jb 0x10027dfe
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], edx
jmp 0x10027e07
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xd0]
push ecx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], 3
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x18], esi
jb 0x10027e3b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
lea edi, [ebp - 0x48]
call fcn.10028520
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.1002a250
push ebx
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [ebp - 4], 6
call fcn.10005d70
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x10027e79
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov ecx, dword [ebp - 0x84]
push ebx
add ecx, 0x20
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x48]
call fcn.10005d70
push 0xffffffffffffffff
push ebx
xor edx, edx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.10005150
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.1002a440
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.10005d70
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], edi
jb 0x10027edd
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x38], ebx
je 0x10027f57
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x10027efa
lea eax, [ebp - 0x48]
push eax
call esi
test al, 0x10
je 0x10027f1b
lea ecx, [ebp - 0x48]
push ecx
call fcn.100383a0
lea edx, [ebp - 0x48]
add esp, 4
push edx
call fcn.10038220
add esp, 4
jmp 0x10027f57
cmp dword [ebp - 0x38], ebx
je 0x10027f57
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x10027f2c
lea eax, [ebp - 0x48]
push eax
call edi
test eax, eax
setne al
cmp al, bl
je 0x10027f57
lea ecx, [ebp - 0x48]
call fcn.10037bc0
test al, al
jne 0x10027f57
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x10027f50
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x54], ebx
je 0x10027fc8
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x10027f68
lea eax, [ebp - 0x64]
push eax
call esi
test al, 0x10
je 0x10027f89
lea eax, [ebp - 0x64]
push eax
call fcn.100383a0
lea ecx, [ebp - 0x64]
add esp, 4
push ecx
call fcn.10038220
add esp, 4
jmp 0x10027fc8
cmp dword [ebp - 0x54], ebx
je 0x10027fc8
mov eax, dword [ebp - 0x64]
mov esi, 8
cmp dword [ebp - 0x50], esi
jae 0x10027f9e
lea eax, [ebp - 0x64]
push eax
call edi
test eax, eax
setne al
cmp al, bl
je 0x10027fc8
lea ecx, [ebp - 0x64]
call fcn.10037bc0
test al, al
jne 0x10027fc8
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x10027fc1
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x84]
push str..bak
add edi, 4
lea edx, [ebp - 0x2c]
push edi
push edx
call fcn.100069b0
add esp, 0xc
push 1
mov esi, eax
mov byte [ebp - 4], 9
call fcn.100386d0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 8
jb 0x10028009
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
push str._de.db
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.100069b0
add esp, 0xc
push 1
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.100386d0
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x10028041
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x50], esi
jb 0x10028052
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x10028074
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
cmp eax, ebx
je 0x10028093
push eax
call fcn.1003d468
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret