Function at 0x1000f6da
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a68
call fcn.10014f70
push ebx
and byte [ebp - 0x414], 0
push esi
push edi
push 0x40
xor eax, eax
pop edx
lea edi, [ebp - 0x413]
mov ecx, edx
and byte [ebp - 0x824], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x823]
and byte [ebp - 0x310], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x30f]
and byte [ebp - 0x108], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x107]
and byte [ebp - 0x518], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x517]
push 0x1008e5f0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10003592
pop ecx
mov edi, 0x104
lea eax, [ebp - 0x824]
push edi
push eax
push dword [section.xdoors_d]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000f793
push 0x10094d30
call fcn.10003592
pop ecx
jmp 0x1000fb3f
lea eax, [ebp - 0x824]
push eax
push 0x10095960
call fcn.10003592
lea eax, [ebp - 0x824]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
test eax, eax
je 0x1000f7bd
inc eax
jmp 0x1000f7c3
lea eax, [ebp - 0x824]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
mov ebx, 0x10093664
lea eax, [ebp - 0x310]
push ebx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push 0x10095948
call fcn.10003592
pop ecx
lea eax, [ebp - 0x518]
pop ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x518]
push 0x10094a48
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x518]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x518]
push 0x10094cfc
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x414]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.10003c0d
lea eax, [ebp - 0x414]
push eax
push 0x10095930
call fcn.10003592
lea eax, [ebp - 0x414]
push 0x10094468
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x1c
test eax, eax
jne 0x1000f925
lea eax, [ebp - 0x310]
push eax
call fcn.100053f9
push eax
lea eax, [ebp - 0x108]
push ebx
push eax
call esi
lea eax, [ebp - 0x108]
push eax
push 0x10095918
call fcn.10003592
add esp, 0x18
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000f8fc
lea eax, [ebp - 0x310]
push 0x10094cf4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x1000f8fc
lea eax, [ebp - 0x108]
push eax
push 0x10095900
call fcn.10003592
pop ecx
xor eax, eax
pop ecx
lea ecx, [ebp - 0x108]
push eax
push ecx
push eax
push eax
call sym.xdll.dll_UninstallSA
jmp 0x1000fb3f
lea eax, [ebp - 0x108]
push eax
push 0x100958e8
call fcn.10003592
pop ecx
xor eax, eax
pop ecx
lea ecx, [ebp - 0x108]
push eax
push ecx
push eax
push eax
call sym.xdll.dll_UninstallSB
jmp 0x1000fb3f
and dword [ebp - 0x1a68], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1a64]
and byte [ebp - 0x720], al
push 0x40
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x71f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x61c], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x61b]
and byte [ebp - 0x20c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1000f9c5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1a68]
push 0x1000
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
lea eax, [ebp - 0x61c]
push 0x104
push eax
push dword [ebp - 0x1a68]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
push 0x100958c8
call fcn.10003592
lea eax, [ebp - 0x61c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
test eax, eax
je 0x1000fb3f
lea edi, [eax + 1]
lea eax, [ebp - 0x720]
push edi
push ebx
push eax
call esi
push edi
call sub.MSVCRT.dll_strlen
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call sub.MSVCRT.dll_strlen
sub eax, esi
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x720]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edx, eax
add esp, 0x28
test edx, edx
je 0x1000fb3f
and byte [ebp - 0x928], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x927]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MSVCRT.dll_strlen
mov edi, eax
lea eax, [ebp - 0x720]
push eax
call sub.MSVCRT.dll_strlen
sub eax, edi
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x928]
push eax
call esi
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.MSVCRT.dll__strrev]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x20c]
push 0x10095808
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x28
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x1000fb12
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x20c]
push eax
push 0x100958a8
call fcn.10003592
lea eax, [ebp - 0x414]
push eax
push 0x10095890
call fcn.10003592
add esp, 0x10
xor eax, eax
lea ecx, [ebp - 0x414]
push eax
push ecx
push eax
push eax
call fcn.1000f412
jmp 0x1000fb3f
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x20c]
push eax
push 0x10095870
call fcn.10003592
lea eax, [ebp - 0x414]
push eax
push 0x10095820
call fcn.10003592
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret