Function at 0x422200
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.00458c77
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.00458c77
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6d60d4
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.00458c77
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6d6087
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 [0x6d9500]
call fcn.00402c41
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x422314
cmp dword [0x6d9564], 0
je 0x422314
push reloc.WS2_32.dll_getsockname
push 0
push 0x422f27
push 1
mov ebx, 0x9dc
call fcn.0045db90
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x422314
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 4], 0
mov ebx, dword [0x6d9504]
call fcn.00402c41
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x422a35
cmp dword [0x6d9578], 0
je 0x422a35
mov dword [ebp - 0x24], esp
push dword [0x6d9578]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x42236a
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x422a35
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x224
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x224
call fcn.00458c77
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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
cmp dword [ebp - 0x24], esp
je 0x42243f
push 6
call fcn.00458c83
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.0045d310
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 0x4224c6
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4224c4
imul eax, dword [edi]
jmp 0x4224b9
mov ecx, eax
cmp ecx, 0x100
jle 0x4224d3
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.0045d310
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 0x422511
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x42250f
imul eax, dword [edi]
jmp 0x422504
mov ecx, eax
cmp ecx, 0x104
jle 0x42251e
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.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422815
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.0045e050
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422581
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [0x6d9504]
call fcn.00402c41
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 0x42264b
mov ebx, dword [0x6d9504]
call fcn.00402c5a
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4225c7
push 4
call fcn.00458c83
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4225da
push 1
call fcn.00458c83
add esp, 4
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 0x422603
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x422617
mov eax, 0x4812d5
push eax
push 3
mov ebx, 0x18c
call fcn.0045e810
add esp, 0x28
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x422643
mov dword [ebp - 4], 1
jmp 0x42264b
pop eax
pop ebx
pop ecx
jmp 0x422599
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x42265d
jmp 0x422815
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x224
call fcn.00458c77
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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
cmp dword [ebp - 0x24], esp
je 0x422716
push 6
call fcn.00458c83
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.0045d310
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 0x42279d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x42279b
imul eax, dword [edi]
jmp 0x422790
mov ecx, eax
cmp ecx, 0x100
jle 0x4227aa
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.0045d310
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 0x4227e8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4227e6
imul eax, dword [edi]
jmp 0x4227db
mov ecx, eax
cmp ecx, 0x104
jle 0x4227f5
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.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x422539
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x422837
push 6
call fcn.00458c83
add esp, 4
cmp dword [ebp - 4], 1
jne 0x422a35
cmp dword [0x6d9564], 0
je 0x422a35
push 0x6d9574
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004078d2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [0x6d9564]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x422891
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x422a26
mov dword [ebp - 0x24], esp
push dword [0x6d9564]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4228c3
push 6
call fcn.00458c83
add esp, 4
mov dword [0x6d9564], 0
mov dword [0x6d9578], 0
mov eax, 0x6d608f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408e00
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4228fb
push ebx
call fcn.00458c7d
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.00408e00
mov dword [ebp - 0x2c], eax
mov eax, 0x4af074
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408e00
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42292b
push ebx
call fcn.00458c7d
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.00408e42
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4229e6
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x30
mov eax, 0x6d60c9
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [0x6d9518]
push 0x6d94d8
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 0x422a26
push ebx
call fcn.00458c7d
add esp, 4
push 0x6d9574
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.00458c7d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00458c7d
add esp, 4
pop ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422a71
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x422a81
push ebx
call fcn.00458c7d
add esp, 4
mov esp, ebp
pop ebp
ret