Function at 0x419420
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x210
mov eax, dword [0x451050]
xor eax, esp
mov dword [esp + 0x20c], eax
test dword [0x452484], 0x80000000
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
je 0x419457
mov eax, dword [0x45a0a8]
push eax
call esi
test eax, eax
jne 0x4196b5
cmp dword [0x452478], 0
je 0x4196b5
cmp dword [0x45a108], 0
push edi
mov dword [0x452478], 0
je 0x419567
mov esi, dword [0x452488]
test esi, esi
jl 0x419676
mov ecx, dword [0x45a434]
sub ecx, dword [0x45a430]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jge 0x419676
call fcn.0041b3e0
cmp dword [eax + 0x18], 8
jb 0x4194bf
mov eax, dword [eax + 4]
jmp 0x4194c2
add eax, 4
mov edx, dword [0x45a0a0]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x10c8
push edx
call edi
mov esi, dword [0x452488]
call fcn.0041b3e0
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x4194f0
mov eax, dword [eax + 4]
jmp 0x4194f3
add eax, 4
push eax
mov eax, dword [0x45a0a0]
push 0x10c7
push eax
call edi
mov esi, dword [0x452488]
call fcn.0041b3e0
add eax, 0x38
cmp dword [eax + 0x18], 8
jb 0x41953e
mov eax, dword [eax + 4]
mov ecx, dword [0x45a0a0]
push eax
push 0x10c5
push ecx
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00433c32
add esp, 0x210
ret
mov ecx, dword [0x45a0a0]
add eax, 4
push eax
push 0x10c5
push ecx
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00433c32
add esp, 0x210
ret
mov edx, dword [0x45a0a8]
push edx
call esi
test eax, eax
je 0x419676
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00437610
mov eax, dword [0x45a0a8]
add esp, 0xc
push 0x100
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov edx, dword [0x45a0a0]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x14]
push ecx
push 0x10c8
push edx
call edi
mov ecx, dword [0x45a0a8]
push 0x100
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [0x45a0a0]
lea edx, [esp + 0x14]
push edx
push 0x10c7
push eax
call edi
mov eax, dword [0x45a0a8]
lea edx, [esp + 0xc]
push edx
xor ecx, ecx
push eax
mov word [esp + 0x1c], cx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0xc]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41964c
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x10]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x419645
mov edx, dword [esp + 8]
push 0x100
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45a0a0]
lea eax, [esp + 0x14]
push eax
push 0x10c5
push ecx
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00433c32
add esp, 0x210
ret
mov edx, dword [0x45a0a0]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x447354
push 0x10c8
push edx
call esi
mov eax, dword [0x45a0a0]
push 0x447354
push 0x10c7
push eax
call esi
mov ecx, dword [0x45a0a0]
push 0x447354
push 0x10c5
push ecx
call esi
pop edi
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.00433c32
add esp, 0x210
ret