Function at 0x10025be0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc58
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
call fcn.1000fc80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x10025c27
cmp dword [ebp + 0xc], 0
je 0x10025d41
cmp dword [ebp + 8], 0
je 0x10025cb3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10025c49
mov dword [ebp - 0xc44], 0
jmp 0x10025caa
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x10025c6e
mov dword [ebp - 0xc48], 0
jmp 0x10025c9e
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.10040080
mov dword [ebp - 0xc4c], esp
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc4c]
push edx
call fcn.1002c790
mov dword [ebp - 0xc48], eax
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
je 0x10025d3f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x10025cd5
mov dword [ebp - 0xc50], 0
jmp 0x10025d36
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x10025cfa
mov dword [ebp - 0xc54], 0
jmp 0x10025d2a
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.10040080
mov dword [ebp - 0xc58], esp
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc58]
push ecx
call fcn.1002c790
mov dword [ebp - 0xc54], eax
mov edx, dword [ebp - 0xc54]
mov dword [ebp - 0xc50], edx
mov eax, dword [ebp - 0xc50]
mov dword [ebp - 0x24], eax
jmp 0x10025d4d
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.10024eb0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10024eb0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
or edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 8], 0xfffffffe
je 0x10025d80
cmp dword [ebp - 0xc], 0xfffffffe
jne 0x10025df4
cmp dword [0x1011fd7c], 0x68
je 0x10025d92
cmp dword [0x1011fd7c], 0x49
jne 0x10025db5
cmp dword [ebp - 0x14], 0
jne 0x10025d9e
cmp dword [ebp - 0x24], 0
je 0x10025db5
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push str.MyCreateProcess_in_whiteList_lpApplicationName__s__lpCommandLine__s_
push 0
call fcn.1003b780
add esp, 0x10
cmp dword [0x1011fd7c], 0x68
je 0x10025dc7
cmp dword [0x1011fd7c], 0x49
jne 0x10025dea
cmp dword [ebp + 8], 0
jne 0x10025dd3
cmp dword [ebp + 0xc], 0
je 0x10025dea
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.MyCreateProcess_in_whiteList_lpApplicationNameW__ls__lpCommandLineW__ls_
push 0
call fcn.1003b780
add esp, 0x10
mov eax, 1
jmp 0x10026175
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10024e20
add esp, 4
movzx edx, al
test edx, edx
je 0x10025e0f
or eax, 0xffffffff
jmp 0x10026175
mov eax, dword [ebp - 0x24]
push eax
call fcn.10024e20
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10025e2a
or eax, 0xffffffff
jmp 0x10026175
cmp dword [ebp - 8], 0
jne 0x10025f02
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x14], 0
je 0x10025e47
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x10025efd
push 2
mov eax, dword [ebp - 0x28]
push eax
call fcn.10011250
add esp, 8
test eax, eax
je 0x10025efd
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x101373fc]
and ecx, 0x80000000
je 0x10025ef5
mov byte [ebp - 0x430], 0
push 0x1ff
push 0
lea edx, [ebp - 0x42f]
push edx
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x230], 0
push 0x1ff
push 0
lea eax, [ebp - 0x22f]
push eax
call fcn.1003e4a0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x230]
push eax
push 0x1005c8cc
lea ecx, [ebp - 0x430]
push ecx
call fcn.1003e8fe
add esp, 0x10
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, 0xffffffff
jmp 0x10026175
jmp 0x10025fe4
cmp dword [ebp - 0xc], 0
jne 0x10025fe4
mov dword [ebp - 0x434], 0
cmp dword [ebp - 0x24], 0
je 0x10025f25
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x10025fe4
push 2
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.10011250
add esp, 8
test eax, eax
je 0x10025fe4
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x101373fc]
and edx, 0x80000000
je 0x10025fdc
mov byte [ebp - 0x838], 0
push 0x1ff
push 0
lea eax, [ebp - 0x837]
push eax
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x638], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x637]
push ecx
call fcn.1003e4a0
add esp, 0xc
lea edx, [ebp - 0x638]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x638]
push ecx
push 0x1005c8d4
lea edx, [ebp - 0x838]
push edx
call fcn.1003e8fe
add esp, 0x10
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, 0xffffffff
jmp 0x10026175
mov ecx, dword [0x10120b68]
and ecx, 0x8000000
jne 0x10026173
mov edx, dword [0x100676c0]
and edx, 1
je 0x10026173
mov eax, dword [ebp - 0x24]
push eax
call fcn.100198c0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10026173
cmp dword [ebp + 0x10], 0
je 0x1002602d
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + 0x30]
test eax, eax
je 0x10026046
cmp dword [ebp + 0x1c], 0
je 0x10026173
mov ecx, dword [ebp + 0x1c]
movzx edx, word [ecx + 0x30]
test edx, edx
jne 0x10026173
push 0x1016e158
push 0
call fcn.100373f0
add esp, 8
test eax, eax
je 0x10026066
cmp dword [0x1026cc2c], 0
je 0x10026173
cmp dword [0x1011fd7c], 0x47
jne 0x1002607e
push str._CreateProcessA_.....HIDE....maybe_hackShell
push 0
call fcn.1003b780
add esp, 8
mov byte [ebp - 0xc38], 0
push 0x3ff
push 0
lea eax, [ebp - 0xc37]
push eax
call fcn.1003e4a0
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x100260bf
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str._s__s
lea eax, [ebp - 0xc38]
push eax
call fcn.1003e8fe
add esp, 0x10
jmp 0x100260d2
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0xc38]
push edx
call fcn.10008420
add esp, 8
mov dword [ebp - 0xc40], 0
push 0x1005c914
lea eax, [ebp - 0xc38]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x100260fc
mov dword [ebp - 0xc40], 0xd
push 0x20
mov ecx, dword [ebp - 0xc40]
lea edx, [ebp + ecx - 0xc38]
push edx
call fcn.10003a50
add esp, 8
mov dword [ebp - 0xc3c], eax
cmp dword [ebp - 0xc3c], 0
je 0x1002612c
mov eax, dword [ebp - 0xc3c]
mov byte [eax], 0
lea ecx, [ebp - 0xc38]
push ecx
call fcn.100234d0
add esp, 4
movzx edx, al
test edx, edx
je 0x10026173
cmp dword [0x10121394], 0
jne 0x10026173
push 0
push 0x1016e158
lea eax, [ebp - 0xc38]
push eax
push 1
push 0x8000000
mov ecx, 0x1016e100
call fcn.100359f0
test eax, eax
je 0x10026173
or eax, 0xffffffff
jmp 0x10026175
xor eax, eax
lea esp, [ebp - 0xc58]
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret