Function at 0x4190c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x440ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x45c], 0
jne 0x4192a8
cmp dword [esi + 0x10], 0
je 0x41928f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 0x458], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x41928f
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcessModules
push ecx
call ebx
push 0x400
lea edx, [ebp - 0x868]
push 0
push edx
mov edi, eax
mov dword [ebp - 0x450], 0
call fcn.0041b530
add esp, 0xc
test edi, edi
je 0x41928f
mov edx, dword [ebp - 0x458]
lea eax, [ebp - 0x450]
push eax
push 0x400
lea ecx, [ebp - 0x868]
push ecx
push edx
call edi
mov dword [ebp - 0x45c], eax
test eax, eax
je 0x41928f
mov eax, dword [ebp - 0x450]
shr eax, 2
xor edi, edi
mov dword [ebp - 0x450], eax
test eax, eax
jbe 0x41928f
jmp 0x4191a0
push 0x224
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.0041b530
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x228], 0x224
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x104
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + edi*4 - 0x868]
push ecx
push eax
mov dword [ebp - 0x20c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [esi + 0x10]
push str.GetModuleBaseNameA
push edx
call ebx
test eax, eax
je 0x41922c
mov edx, dword [ebp + edi*4 - 0x868]
push 0xff
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x458]
push edx
push ecx
call eax
mov edx, dword [esi + 0x10]
push str.GetModuleInformation
push edx
call ebx
test eax, eax
je 0x419271
mov edx, dword [ebp + edi*4 - 0x868]
push 0xc
lea ecx, [ebp - 0x468]
push ecx
mov ecx, dword [ebp - 0x458]
push edx
push ecx
call eax
test eax, eax
je 0x419271
mov edx, dword [ebp - 0x468]
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x228]
push ecx
push esi
call dword [ebp - 0x454]
inc edi
add esp, 8
cmp edi, dword [ebp - 0x450]
jb 0x4191a0
mov eax, dword [ebp - 0x45c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bc6c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 8]
test eax, eax
je 0x419369
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Module32First
push eax
call ebx
mov edx, dword [esi + 8]
push str.Module32Next
push edx
mov edi, eax
call ebx
mov ebx, eax
test edi, edi
je 0x419369
test ebx, ebx
je 0x419369
push 0x224
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.0041b530
mov edx, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x44c]
push ecx
push edx
mov dword [ebp - 0x44c], 0x224
call edi
mov edi, eax
test edi, edi
je 0x419354
lea eax, [ebp - 0x44c]
push eax
push esi
call dword [ebp - 0x454]
add esp, 8
test edi, edi
je 0x419354
mov edx, dword [esi]
lea ecx, [ebp - 0x44c]
push ecx
push edx
mov dword [ebp - 0x44c], 0x224
call ebx
test eax, eax
je 0x419354
lea eax, [ebp - 0x44c]
push eax
push esi
call dword [ebp - 0x454]
add esp, 8
jmp 0x419327
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bc6c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041bc6c
mov esp, ebp
pop ebp
ret 4