Function at 0x420779
Capabilities:
Enumerate gui resources
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.00450dae
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x20
push ebx
push 0x108
call fcn.00450dae
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e8afa
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x10c
call fcn.00450dae
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e8aad
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [0x4ebd4d]
call fcn.004029de
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x420878
cmp dword [0x4ebde9], 0
je 0x420878
push reloc.WS2_32.dll_getsockname
push 0
push 0x42136c
push 1
mov ebx, 0x9dc
call fcn.00455cd0
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov ebx, dword [0x4ebd51]
call fcn.004029de
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x420ef7
cmp dword [0x4ebdfd], 0
je 0x420ef7
push dword [0x4ebdfd]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x420ef7
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x224
mov eax, dword [ebp - 0xc]
push eax
push 0x224
call fcn.00450dae
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Module32First]
nop
nop
nop
nop
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00455450
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x420a00
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4209fe
imul eax, dword [edi]
jmp 0x4209f3
mov ecx, eax
cmp ecx, 0x100
jle 0x420a0d
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
push ebx
push edi
push 1
mov eax, 2
call fcn.00455450
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x420a4b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x420a49
imul eax, dword [edi]
jmp 0x420a3e
mov ecx, eax
cmp ecx, 0x104
jle 0x420a58
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x420d1b
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00456190
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420abb
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [0x4ebd51]
call fcn.004029de
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x420b66
mov ebx, dword [0x4ebd51]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x420b1e
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x420b32
mov eax, 0x4792d5
push eax
push 3
mov ebx, 0x18c
call fcn.00456950
add esp, 0x28
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x420b5e
mov dword [ebp - 4], 1
jmp 0x420b66
pop eax
pop ebx
pop ecx
jmp 0x420ad3
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x420b78
jmp 0x420d1b
mov eax, dword [ebp - 0xc]
push eax
push 0x224
call fcn.00450dae
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Module32Next]
nop
nop
nop
nop
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00455450
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x420ca3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x420ca1
imul eax, dword [edi]
jmp 0x420c96
mov ecx, eax
cmp ecx, 0x100
jle 0x420cb0
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
push ebx
push edi
push 1
mov eax, 2
call fcn.00455450
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x420cee
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x420cec
imul eax, dword [edi]
jmp 0x420ce1
mov ecx, eax
cmp ecx, 0x104
jle 0x420cfb
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x420a73
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 4], 1
jne 0x420ef7
cmp dword [0x4ebde9], 0
je 0x420ef7
push 0x4ebdf9
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004074a7
push eax
push dword [0x4ebde9]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x420ee8
push dword [0x4ebde9]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x4ebde9], 0
mov dword [0x4ebdfd], 0
mov eax, 0x4e8ab5
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040c739
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420dbd
push ebx
call fcn.00450db4
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.0040c739
mov dword [ebp - 0x2c], eax
mov eax, 0x4a7046
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040c739
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420ded
push ebx
call fcn.00450db4
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x2c]
push 1
push dword [ebp - 0x28]
call fcn.0040c766
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420ea8
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x30
mov eax, 0x4e8aef
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [0x4ebd65]
push 0x4ebd25
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420ee8
push ebx
call fcn.00450db4
add esp, 4
push 0x4ebdf9
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00450db4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00450db4
add esp, 4
pop ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420f33
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420f43
push ebx
call fcn.00450db4
add esp, 4
mov esp, ebp
pop ebp
ret