Function at 0x4012d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x421f8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f4
push ebx
push ebp
push esi
push edi
mov ecx, 5
mov esi, str.FindModule_ToolHelp32
lea edi, [esp + 0x1c]
mov eax, dword [0x42dcb8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x50c], 0
call fcn.00402fa0
mov ebx, eax
call fcn.00403000
mov ebp, eax
push str.Find_Module
mov ecx, ebx
mov dword [esp + 0x18], ebp
call fcn.00403540
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00402cc0
mov edx, dword [ebx]
push str.Started
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebp]
push ebx
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0x514]
lea edx, [esp + 0x10]
push ecx
push str.Looking_for:__s
push edx
call fcn.00416599
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
add esp, 0xc
push ecx
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [ebp]
push ebx
mov ecx, ebp
call dword [edx]
mov eax, dword [0x42faa0]
test eax, eax
jne 0x40139a
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x42faa0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call esi
mov dword [0x42faa4], eax
mov eax, dword [0x42faa0]
push str.Process32First
push eax
call esi
mov ecx, dword [0x42faa0]
push str.Process32Next
push ecx
mov dword [0x42faa8], eax
call esi
mov edx, dword [0x42faa0]
push str.Module32First
push edx
mov dword [0x42faac], eax
call esi
mov dword [0x42fab0], eax
mov eax, dword [0x42faa0]
push str.Module32Next
push eax
call esi
mov ecx, dword [0x42faa4]
mov dword [0x42fab4], eax
test ecx, ecx
je 0x40165d
mov edx, dword [0x42faa8]
test edx, edx
je 0x40165d
mov edx, dword [0x42faac]
test edx, edx
je 0x40165d
mov edx, dword [0x42fab0]
test edx, edx
je 0x40165d
test eax, eax
je 0x40165d
push 0
push 2
call ecx
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x401678
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], 0x128
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [0x42faa8]
test eax, eax
je 0x40156e
mov edx, dword [esp + 0x3c]
push edx
push 8
call dword [0x42faa4]
mov ebp, eax
test ebp, ebp
je 0x401556
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x160]
mov dword [esp + 0x15c], 0x224
rep stosd dword es:[edi], eax
lea eax, [esp + 0x15c]
push eax
push ebp
call dword [0x42fab0]
test eax, eax
je 0x40154f
lea ecx, [esp + 0x27c]
lea edx, [esp + 0x380]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x380]
push 0x5c
push eax
call fcn.0040c800
mov edi, dword [esp + 0x51c]
mov esi, eax
push edi
mov byte [esi], 0
inc esi
push esi
call fcn.00401220
add esp, 0x10
test eax, eax
je 0x401534
push str.newdev.dll
push edi
call fcn.00401220
add esp, 8
test eax, eax
je 0x4015fd
lea ecx, [esp + 0x58]
push str.rundll32.exe
push ecx
call fcn.00401220
add esp, 8
test eax, eax
jne 0x40158f
push str.Newdev.dll_found__but_not_loaded_by_rundll32.exe_so_its_okay_to_continue.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x15c]
push edx
push ebp
call dword [0x42fab4]
test eax, eax
jne 0x4014bd
mov esi, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x34]
push eax
push esi
call dword [0x42faac]
test eax, eax
jne 0x401474
mov ebp, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x401582
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test ebp, ebp
je 0x401678
jmp 0x40166e
push edi
push esi
lea ecx, [esp + 0x18]
push str.Found_Newdev.dll_Module:_Base____s__Search____s
push ecx
call fcn.00416599
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
add esp, 0x10
mov ecx, ebx
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx]
test ebx, ebx
je 0x4015c7
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test esi, esi
je 0x4015d4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
push str.Newdev.dll_found_loaded_by_rundll32.exe
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004172b5
mov eax, 1
jmp 0x40168e
push edi
push esi
lea eax, [esp + 0x18]
push str.Found_Module:_Base____s__Search____s
push eax
call fcn.00416599
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
add esp, 0x10
mov ecx, ebx
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx]
test ebx, ebx
je 0x401635
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test esi, esi
je 0x401642
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004172b5
mov eax, 1
jmp 0x40168e
test ebx, ebx
je 0x40166a
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test ebp, ebp
je 0x401678
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004172b5
xor eax, eax
mov ecx, dword [esp + 0x504]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x500
ret