Function at 0x10055140
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1009a488
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x364], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push 2
mov dword [esp + 0x20], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100551ca
push 0x228
lea eax, [esp + 0x154]
push ebp
push eax
call fcn.1007aac0
add esp, 0xc
lea ecx, [esp + 0x14c]
push ecx
push esi
mov dword [esp + 0x154], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100551d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10055af9
lea ecx, [esp + 0x1c]
call fcn.10054180
mov dword [esp + 0x20], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebp
mov ebx, 7
mov dword [esp + 0x384], ebp
lea edi, [ebx + 1]
lea esp, [esp]
lea eax, [esp + 0x170]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10055227
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x34]
call fcn.10004560
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x134]
push ecx
mov byte [esp + 0x38c], 1
call fcn.100094b0
add esp, 8
cmp dword [esp + 0x44], edi
mov byte [esp + 0x384], 3
jb 0x10055280
mov edx, dword [esp + 0x30]
push edx
call fcn.10079508
add esp, 4
lea eax, [esp + 0x130]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
call fcn.10003720
add esp, 4
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x24]
call fcn.10054e40
cmp dword [esp + 0x148], edi
mov byte [esp + 0x384], 0
jb 0x100552d7
mov eax, dword [esp + 0x134]
push eax
call fcn.10079508
add esp, 4
lea ecx, [esp + 0x14c]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10055210
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.g2dJqYtJmU_BKiHLMosd6g
lea ecx, [esp + 0x134]
mov dword [esp + 0x2c], ebp
call fcn.10004220
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x38c], 4
call fcn.10054a00
add esp, 8
cmp dword [eax + 0x18], edi
mov byte [esp + 0x384], 5
jb 0x10055338
mov eax, dword [eax + 4]
jmp 0x1005533b
add eax, 4
push eax
lea ecx, [esp + 0x30]
call fcn.10004220
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x38c], 6
call fcn.100541c0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x10055377
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x1005537c
call fcn.10079637
cmp dword [esi + 4], edi
setne bl
cmp dword [esp + 0x44], 8
jb 0x10055396
mov edx, dword [esp + 0x30]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
jb 0x100553bb
mov eax, dword [esp + 0x4c]
push eax
call fcn.10079508
add esp, 4
cmp dword [esp + 0x148], 8
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
mov byte [esp + 0x384], 0
jb 0x100553ee
mov ecx, dword [esp + 0x134]
push ecx
call fcn.10079508
add esp, 4
test bl, bl
je 0x100553fa
mov dword [esp + 0x28], 2
push str.gCRuyN7kke1mlI7007HfcA
lea ecx, [esp + 0xd0]
call fcn.10004220
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x134]
push eax
mov byte [esp + 0x38c], 7
mov dword [esp + 0x20], 1
call fcn.10054a00
add esp, 8
mov ecx, 8
cmp dword [eax + 0x18], ecx
mov dword [esp + 0x384], ecx
mov dword [esp + 0x18], 3
jb 0x10055451
mov eax, dword [eax + 4]
jmp 0x10055454
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.10004220
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x12c]
mov ebx, 7
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38c], 9
mov dword [esp + 0x20], ebx
call fcn.100541c0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1005549c
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x100554a1
call fcn.10079637
cmp dword [esi + 4], edi
jne 0x10055619
push str.sjFFrtWnK15mlI7007HfcA
lea ecx, [esp + 0x68]
call fcn.10004220
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xa8]
mov ebp, 0xf
push eax
mov dword [esp + 0x38c], 0xa
mov dword [esp + 0x20], ebp
call fcn.10054a00
add esp, 8
cmp dword [eax + 0x18], 8
mov dword [esp + 0x384], 0xb
mov dword [esp + 0x18], 0x1f
jb 0x100554ff
mov eax, dword [eax + 4]
jmp 0x10055502
add eax, 4
push eax
lea ecx, [esp + 0x84]
call fcn.10004220
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x108]
mov ebx, 0x3f
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38c], 0xc
mov dword [esp + 0x20], ebx
call fcn.100541c0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x10055550
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x10055555
call fcn.10079637
cmp dword [esi + 4], edi
jne 0x10055619
push str.NIfVcoTVJMEp1gPELFqSw
lea ecx, [esp + 0xec]
call fcn.10004220
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x110]
push eax
mov dword [esp + 0x38c], 0xd
mov dword [esp + 0x20], 0x7f
call fcn.10054a00
add esp, 8
cmp dword [eax + 0x18], 8
mov dword [esp + 0x384], 0xe
mov dword [esp + 0x18], 0xff
jb 0x100555b8
mov eax, dword [eax + 4]
jmp 0x100555bb
add eax, 4
push eax
lea ecx, [esp + 0x30]
call fcn.10004220
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa0], ecx
lea eax, [esp + 0x9c]
lea edx, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xa0], edx
push ecx
lea edx, [esp + 0xc8]
mov ebx, 0x1ff
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x390], ebp
mov dword [esp + 0x24], ebx
call fcn.100541c0
mov ecx, eax
call fcn.10053f80
test al, al
mov byte [esp + 0x17], 0
je 0x1005561e
mov byte [esp + 0x17], 1
test ebx, 0x100
mov ebp, 8
je 0x1005565a
and ebx, 0xfffffeff
cmp dword [esp + 0x44], ebp
jb 0x10055644
mov eax, dword [esp + 0x30]
push eax
call fcn.10079508
add esp, 4
xor esi, esi
mov edi, 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
jmp 0x10055661
mov edi, 7
xor esi, esi
test bl, bl
jns 0x1005569a
and ebx, 0xffffff7f
cmp dword [esp + 0x124], ebp
jb 0x10055684
mov ecx, dword [esp + 0x110]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
test bl, 0x40
je 0x100556d1
and ebx, 0xffffffbf
cmp dword [esp + 0x100], ebp
jb 0x100556bb
mov edx, dword [esp + 0xec]
push edx
call fcn.10079508
add esp, 4
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], esi
mov word [esp + 0xec], si
test bl, 0x20
je 0x10055708
and ebx, 0xffffffdf
cmp dword [esp + 0x98], ebp
jb 0x100556f2
mov eax, dword [esp + 0x84]
push eax
call fcn.10079508
add esp, 4
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov word [esp + 0x84], si
test bl, 0x10
je 0x1005573f
and ebx, 0xffffffef
cmp dword [esp + 0xbc], ebp
jb 0x10055729
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], si
test bl, 8
je 0x10055767
and ebx, 0xfffffff7
cmp dword [esp + 0x7c], ebp
jb 0x1005575a
mov edx, dword [esp + 0x68]
push edx
call fcn.10079508
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov word [esp + 0x68], si
test bl, 4
je 0x1005578f
and ebx, 0xfffffffb
cmp dword [esp + 0x60], ebp
jb 0x10055782
mov eax, dword [esp + 0x4c]
push eax
call fcn.10079508
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
test bl, 2
je 0x100557c6
and ebx, 0xfffffffd
cmp dword [esp + 0x148], ebp
jb 0x100557b0
mov ecx, dword [esp + 0x134]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], esi
mov word [esp + 0x134], si
test bl, 1
mov dword [esp + 0x384], esi
je 0x100557ee
and ebx, 0xfffffffe
cmp dword [esp + 0xe4], ebp
jb 0x100557ee
mov edx, dword [esp + 0xd0]
push edx
call fcn.10079508
add esp, 4
cmp byte [esp + 0x17], 0
je 0x100557fa
or dword [esp + 0x28], 1
push str.igE9GT3zhQIp1gPELFqSw
lea ecx, [esp + 0xd0]
call fcn.10004220
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xa8]
or ebx, 0x200
push ecx
mov byte [esp + 0x38c], 0x10
mov dword [esp + 0x20], ebx
call fcn.10054a00
add esp, 8
or ebx, 0x400
cmp dword [eax + 0x18], ebp
mov dword [esp + 0x384], 0x11
mov dword [esp + 0x18], ebx
jb 0x10055854
mov eax, dword [eax + 4]
jmp 0x10055857
add eax, 4
push eax
lea ecx, [esp + 0x84]
call fcn.10004220
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xc4]
or ebx, 0x800
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38c], 0x12
mov dword [esp + 0x20], ebx
call fcn.100541c0
mov esi, eax
mov eax, dword [esi]
xor ebp, ebp
cmp eax, ebp
je 0x100558a8
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x100558ad
call fcn.10079637
cmp dword [esi + 4], edi
jne 0x10055969
push str.l0PF_ifqACrATEfPeOVdg
lea ecx, [esp + 0x68]
call fcn.10004220
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x134]
or ebx, 0x1000
push eax
mov dword [esp + 0x38c], 0x13
mov dword [esp + 0x20], ebx
call fcn.10054a00
add esp, 8
or ebx, 0x2000
cmp dword [eax + 0x18], 8
mov dword [esp + 0x384], 0x14
mov dword [esp + 0x18], ebx
jb 0x1005590e
mov eax, dword [eax + 4]
jmp 0x10055911
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.10004220
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x108]
or ebx, 0x4000
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38c], 0x15
mov dword [esp + 0x20], ebx
call fcn.100541c0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1005595a
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x1005595f
call fcn.10079637
cmp dword [esi + 4], edi
mov byte [esp + 0x17], 0
je 0x1005596e
mov byte [esp + 0x17], 1
test ebx, 0x4000
je 0x100559a4
and ebx, 0xffffbfff
cmp dword [esp + 0x60], 8
jb 0x10055990
mov edx, dword [esp + 0x4c]
push edx
call fcn.10079508
add esp, 4
mov esi, 7
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
jmp 0x100559a9
mov esi, 7
test ebx, 0x2000
je 0x100559e7
and ebx, 0xffffdfff
cmp dword [esp + 0x148], 8
jb 0x100559d1
mov eax, dword [esp + 0x134]
push eax
call fcn.10079508
add esp, 4
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebp
mov word [esp + 0x134], bp
test ebx, 0x1000
je 0x10055a16
and ebx, 0xffffefff
cmp dword [esp + 0x7c], 8
jb 0x10055a09
mov ecx, dword [esp + 0x68]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
test ebx, 0x800
je 0x10055a54
and ebx, 0xfffff7ff
cmp dword [esp + 0x98], 8
jb 0x10055a3e
mov edx, dword [esp + 0x84]
push edx
call fcn.10079508
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
test ebx, 0x400
je 0x10055a92
and ebx, 0xfffffbff
cmp dword [esp + 0xbc], 8
jb 0x10055a7c
mov eax, dword [esp + 0xa8]
push eax
call fcn.10079508
add esp, 4
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
test ebx, 0x200
je 0x10055ab4
cmp dword [esp + 0xe4], 8
jb 0x10055ab4
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.10079508
add esp, 4
cmp byte [esp + 0x17], 0
je 0x10055ac0
or dword [esp + 0x28], 8
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x398], 0xffffffff
call fcn.10055030
mov eax, dword [esp + 0x20]
push eax
call fcn.10079508
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x364]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x374
ret