Function at 0x4037b8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb4
push ebx
push esi
push edi
lea ebx, [ebp - 0x28]
mov eax, 0x5676b4
call fcn.00559404
mov word [ebp - 0x5c], 0x18
lea edx, [ebp - 0x74]
push edx
call fcn.004020f0
pop ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebx + 8]
push ecx
call fcn.00402118
add esp, 8
mov eax, 0xf
mov dword [ebx + 0x24], eax
xor eax, eax
cmp dword [ebx + 0x24], 0x10
jb 0x403806
mov edx, dword [ebx + 0x10]
jmp 0x403809
lea edx, [ebx + 0x10]
xor ecx, ecx
mov dword [ebx + 0x20], ecx
add edx, ecx
mov byte [edx], al
push str.exe.QQ
call fcn.005590d8
pop ecx
mov esi, eax
mov eax, str.exe.QQ
test eax, eax
je 0x403857
cmp dword [ebx + 0x24], 0x10
mov edx, str.exe.QQ
jb 0x403838
mov ecx, dword [ebx + 0x10]
jmp 0x40383b
lea ecx, [ebx + 0x10]
cmp edx, ecx
jb 0x403857
cmp dword [ebx + 0x24], 0x10
jb 0x40384a
mov eax, dword [ebx + 0x10]
jmp 0x40384d
lea eax, [ebx + 0x10]
add eax, dword [ebx + 0x20]
cmp eax, str.exe.QQ
ja 0x40385b
xor edx, edx
jmp 0x40385d
mov dl, 1
test dl, dl
je 0x403c60
cmp dword [ebx + 0x24], 0x10
mov eax, str.exe.QQ
jb 0x403875
mov ecx, dword [ebx + 0x10]
jmp 0x403878
lea ecx, [ebx + 0x10]
sub eax, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x78]
jae 0x40388c
push ebx
call fcn.00550ad4
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
cmp esi, dword [ebp - 0x7c]
jae 0x40389d
mov dword [ebp - 0x7c], esi
cmp ebx, ebx
jne 0x403a85
mov dword [ebp - 0x80], 0xffffffff
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x84]
jae 0x4038ca
push ebx
call fcn.00550ad4
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x80]
jae 0x4038e4
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jbe 0x4039a0
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
cmp dword [ebx + 0x24], 0x10
jb 0x40390b
mov edx, dword [ebx + 0x10]
jmp 0x40390e
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], edx
cmp dword [ebx + 0x24], 0x10
jb 0x403928
mov eax, dword [ebx + 0x10]
jmp 0x40392b
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00558ea5
add esp, 0xc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 0x99], 0
cmp dword [ebx + 0x24], 0x10
jb 0x40397e
mov ecx, dword [ebx + 0x10]
jmp 0x403981
lea ecx, [ebx + 0x10]
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov cl, byte [ebp - 0x99]
mov byte [edx], cl
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], ecx
cmp dword [ebx + 0x20], 0
jae 0x4039b6
push ebx
call fcn.00550ad4
pop ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0xa4]
jae 0x4039ca
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0
jbe 0x403de1
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
cmp dword [ebx + 0x24], 0x10
jb 0x4039f1
mov eax, dword [ebx + 0x10]
jmp 0x4039f4
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
cmp dword [ebx + 0x24], 0x10
jb 0x403a0b
mov edx, dword [ebx + 0x10]
jmp 0x403a0e
lea edx, [ebx + 0x10]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00558ea5
add esp, 0xc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 0xb9], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403a5e
mov ecx, dword [ebx + 0x10]
jmp 0x403a61
lea ecx, [ebx + 0x10]
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov cl, byte [ebp - 0xb9]
mov byte [edx], cl
jmp 0x403de1
mov edi, dword [ebp - 0x7c]
lea ecx, [ebx + 8]
push ecx
call fcn.00402340
pop ecx
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
ja 0x403aa8
mov eax, 1
jmp 0x403aaf
mov eax, dword [ebp - 0xc4]
dec eax
cmp edi, eax
jbe 0x403aba
push ebx
call fcn.0054fea4
pop ecx
cmp edi, dword [ebx + 0x24]
jbe 0x403b89
mov edx, dword [ebx + 0x20]
push edx
push edi
push ebx
call fcn.00402140
add esp, 0xc
jmp 0x403bbd
test edi, edi
jne 0x403bbd
mov byte [ebp - 0xdd], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403b9f
mov ecx, dword [ebx + 0x10]
jmp 0x403ba2
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov cl, byte [ebp - 0xdd]
mov byte [edx], cl
test edi, edi
seta cl
and ecx, 1
test cl, cl
je 0x403de1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xe8], eax
cmp dword [ebx + 0x24], 0x10
jb 0x403be1
mov edx, dword [ebx + 0x10]
jmp 0x403be4
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0x78]
mov dword [ebp - 0xec], edx
cmp dword [ebx + 0x24], 0x10
jb 0x403bf8
mov eax, dword [ebx + 0x10]
jmp 0x403bfb
lea eax, [ebx + 0x10]
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00558d70
add esp, 0xc
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 0xf5], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403c39
mov edx, dword [ebx + 0x10]
jmp 0x403c3c
lea edx, [ebx + 0x10]
mov eax, dword [ebp - 0xf4]
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0xfc], edx
mov edx, dword [ebp - 0xfc]
mov cl, byte [ebp - 0xf5]
mov byte [edx], cl
jmp 0x403de1
lea ecx, [ebx + 8]
push ecx
call fcn.00402340
pop ecx
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 1
ja 0x403c80
mov eax, 1
jmp 0x403c87
mov eax, dword [ebp - 0x100]
dec eax
cmp esi, eax
jbe 0x403c92
push ebx
call fcn.0054fea4
pop ecx
cmp esi, dword [ebx + 0x24]
jbe 0x403d4a
mov edx, dword [ebx + 0x20]
push edx
push esi
push ebx
call fcn.00402140
add esp, 0xc
jmp 0x403d7e
test esi, esi
jne 0x403d7e
mov byte [ebp - 0x115], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403d60
mov ecx, dword [ebx + 0x10]
jmp 0x403d63
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov cl, byte [ebp - 0x115]
mov byte [edx], cl
test esi, esi
seta cl
and ecx, 1
test cl, cl
je 0x403de1
cmp dword [ebx + 0x24], 0x10
jb 0x403d95
mov eax, dword [ebx + 0x10]
jmp 0x403d98
lea eax, [ebx + 0x10]
mov dword [ebp - 0x120], eax
push esi
push str.exe.QQ
mov edx, dword [ebp - 0x120]
push edx
call fcn.00558d70
add esp, 0xc
mov byte [ebp - 0x121], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403dc5
mov ecx, dword [ebx + 0x10]
jmp 0x403dc8
lea ecx, [ebx + 0x10]
mov dword [ebx + 0x20], esi
add ecx, esi
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
mov dl, byte [ebp - 0x121]
mov byte [eax], dl
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0xc
cmp dword [ebx + 0x24], 0x10
jb 0x403df5
mov eax, dword [ebx + 0x10]
jmp 0x403df8
lea eax, [ebx + 0x10]
add eax, dword [ebx + 0x20]
mov dword [ebp - 0x1bc], eax
cmp dword [ebx + 0x24], 0x10
jb 0x403e0c
mov eax, dword [ebx + 0x10]
jmp 0x403e0f
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x130], edx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x12c], edx
push dword [ecx + 4]
push dword [ecx]
add esp, 0xfffffff0
mov edx, dword [ebp - 0x1c4]
mov dword [esp], edx
mov edx, dword [ebp - 0x1c0]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x1bc]
mov dword [esp + 8], ecx
add esp, 0xfffffff0
mov ecx, dword [ebp - 0x1d4]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1d0]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 8], eax
call fcn.004042cc
add esp, 0x28
mov word [ebp - 0x5c], 0x78
lea edx, [ebp - 0x140]
push edx
call fcn.00401b94
pop ecx
lea ecx, [ebp - 0x140]
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00401bbc
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x38], edx
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
add esp, 8
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0xc
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x403fce
mov word [ebp - 0x5c], 0x84
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404338
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0x5c], 0x90
push eax
dec dword [ebp - 0x50]
cmp dword [ebp - 0x38], 0
je 0x403f43
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x148], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x160], edx
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.00543d64
pop ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
dec dword [ebp - 0x50]
cmp dword [ebx + 0x24], 0x10
jb 0x403f7d
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.00543d64
pop ecx
mov eax, 0xf
mov dword [ebx + 0x24], eax
mov byte [ebp - 0x169], 0
cmp dword [ebx + 0x24], 0x10
jb 0x403f97
mov edx, dword [ebx + 0x10]
jmp 0x403f9a
lea edx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x170], edx
mov edx, dword [ebp - 0x170]
mov cl, byte [ebp - 0x169]
mov byte [edx], cl
pop eax
mov word [ebp - 0x5c], 0x84
inc dword [ebp - 0x50]
mov edx, dword [ebp - 0x6c]
mov dword fs:[0], edx
jmp 0x4042c4
mov esi, 0x567178
lea edi, [ebp - 0x2fc]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x5c], 0xc
lea eax, [ebp - 0x2fc]
push eax
mov edx, dword [ebp - 0x144]
push edx
call sub.KERNEL32.DLL_Process32First
mov word [ebp - 0x5c], 0xc
test eax, eax
je 0x4041d5
cmp dword [ebx + 0x24], 0x10
jb 0x404012
mov esi, dword [ebx + 0x10]
jmp 0x404015
lea esi, [ebx + 0x10]
lea eax, [ebp - 0x2d8]
mov edx, esi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4041ba
test cl, cl
je 0x404041
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4041ba
add eax, 2
add edx, 2
test cl, cl
jne 0x40401d
jne 0x4041ba
cmp dword [ebp - 0x38], 0
jne 0x404051
xor ecx, ecx
jmp 0x404061
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
test ecx, ecx
jns 0x40405e
add ecx, 3
sar ecx, 2
cmp dword [ebp - 0x38], 0
jne 0x40406b
xor eax, eax
jmp 0x40407b
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
test eax, eax
jns 0x404078
add eax, 3
sar eax, 2
cmp ecx, eax
jae 0x4040b7
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x178], edx
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x174], edx
lea ecx, [ebp - 0x2f4]
push ecx
push 1
push esi
call fcn.00405200
add esp, 0xc
add esi, 4
mov dword [ebp - 0x34], esi
jmp 0x4041ba
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x304], esi
cmp dword [ebp - 0x38], 0
jne 0x4040ca
xor eax, eax
jmp 0x4040da
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
test eax, eax
jns 0x4040d7
add eax, 3
sar eax, 2
test eax, eax
jne 0x4040e2
xor edx, edx
jmp 0x404101
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x314], edi
mov edx, dword [ebp - 0x304]
sub edx, dword [ebp - 0x314]
test edx, edx
jns 0x4040fe
add edx, 3
sar edx, 2
mov dword [ebp - 0x184], edx
lea eax, [ebp - 0x2f4]
mov word [ebp - 0x5c], 0xc
push eax
push 1
add esp, 0xfffffff0
mov ecx, dword [ebp - 0x30c]
lea eax, [ebp - 0x48]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x308]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x304]
mov dword [esp + 8], ecx
push eax
call fcn.00405220
add esp, 0x1c
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18c], ecx
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x324], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x33c], edx
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x338], edx
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x334], ecx
mov eax, dword [ebp - 0x188]
shl eax, 2
add dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x34c], edx
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x348], edx
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x344], ecx
lea eax, [ebp - 0x2fc]
push eax
mov edx, dword [ebp - 0x144]
push edx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x404007
mov ecx, dword [ebp - 0x144]
push ecx
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x5c], 0xcc
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00404338
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0x5c], 0xd8
push eax
dec dword [ebp - 0x50]
cmp dword [ebp - 0x38], 0
je 0x40423e
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x190], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x19c], ecx
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x198], ecx
mov esi, dword [ebp - 0x38]
push esi
call fcn.00543d64
pop ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
dec dword [ebp - 0x50]
cmp dword [ebx + 0x24], 0x10
jb 0x404278
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov ecx, dword [ebp - 0x1ac]
push ecx
call fcn.00543d64
pop ecx
mov eax, 0xf
mov dword [ebx + 0x24], eax
mov byte [ebp - 0x1ad], 0
cmp dword [ebx + 0x24], 0x10
jb 0x404292
mov edx, dword [ebx + 0x10]
jmp 0x404295
lea edx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x1b4], edx
mov edx, dword [ebp - 0x1b4]
mov cl, byte [ebp - 0x1ad]
mov byte [edx], cl
pop eax
mov word [ebp - 0x5c], 0xcc
inc dword [ebp - 0x50]
mov edx, dword [ebp - 0x6c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret