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

Disassembly:
push 0xffffffffffffffff
push 0x42338b
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 [0x42fdb0]
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.004033e0
mov ebx, eax
call fcn.00403440
mov ebp, eax
push str.Find_Module
mov ecx, ebx
mov dword [esp + 0x18], ebp
call fcn.00403980
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00403100
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.00417984
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 [0x433bc8]
test eax, eax
jne 0x40164a
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x433bc8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call esi
mov dword [0x433bcc], eax
mov eax, dword [0x433bc8]
push str.Process32First
push eax
call esi
mov ecx, dword [0x433bc8]
push str.Process32Next
push ecx
mov dword [0x433bd0], eax
call esi
mov edx, dword [0x433bc8]
push str.Module32First
push edx
mov dword [0x433bd4], eax
call esi
mov dword [0x433bd8], eax
mov eax, dword [0x433bc8]
push str.Module32Next
push eax
call esi
mov ecx, dword [0x433bcc]
mov dword [0x433bdc], eax
test ecx, ecx
je 0x4018fe
mov edx, dword [0x433bd0]
test edx, edx
je 0x4018fe
mov edx, dword [0x433bd4]
test edx, edx
je 0x4018fe
mov edx, dword [0x433bd8]
test edx, edx
je 0x4018fe
test eax, eax
je 0x4018fe
push 0
push 2
call ecx
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x401919
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 [0x433bd0]
test eax, eax
je 0x40180f
mov edx, dword [esp + 0x3c]
push edx
push 8
call dword [0x433bcc]
mov ebp, eax
test ebp, ebp
je 0x4017f7
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 [0x433bd8]
test eax, eax
je 0x4017f0
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.0040cd80
mov edi, dword [esp + 0x51c]
mov esi, eax
push edi
mov byte [esi], 0
inc esi
push esi
call fcn.004014d0
add esp, 0x10
test eax, eax
je 0x4017d9
push str.newdev.dll
push edi
call fcn.004014d0
add esp, 8
test eax, eax
je 0x40189e
lea ecx, [esp + 0x58]
push str.rundll32.exe
push ecx
call fcn.004014d0
add esp, 8
test eax, eax
jne 0x401830
lea edx, [esp + 0x15c]
push edx
push ebp
call dword [0x433bdc]
test eax, eax
jne 0x40176d
mov esi, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x34]
push eax
push esi
call dword [0x433bd4]
test eax, eax
jne 0x401724
mov ebp, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x401823
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test ebp, ebp
je 0x401919
jmp 0x40190f
push edi
push esi
lea ecx, [esp + 0x18]
push str.Found_Newdev.dll_Module:_Base____s__Search____s
push ecx
call fcn.00417984
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 0x401868
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test esi, esi
je 0x401875
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.004186a0
mov eax, 1
jmp 0x40192f
push edi
push esi
lea eax, [esp + 0x18]
push str.Found_Module:_Base____s__Search____s
push eax
call fcn.00417984
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 0x4018d6
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test esi, esi
je 0x4018e3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004186a0
mov eax, 1
jmp 0x40192f
test ebx, ebx
je 0x40190b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
test ebp, ebp
je 0x401919
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004186a0
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