Function at 0x422bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49065d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x400
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004244e0
mov ebx, dword [ebp - 0x30]
mov edx, ebx
mov esi, dword [ebp - 0x34]
sub edx, esi
mov ecx, dword [ebp - 0x10]
sar edx, 2
cmp ecx, edx
jae 0x422c24
lea ebx, [esi + ecx*4]
jmp 0x422c64
jbe 0x422c67
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x422c47
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00425260
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x422c67
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.0046cae0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ebx, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov edi, dword [sym.imp.PSAPI.DLL_EnumProcesses]
lea eax, [ebp - 0x10]
push eax
lea eax, [ecx*4]
push eax
push esi
call edi
test eax, eax
je 0x422f56
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
jne 0x422d3e
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + esi]
mov esi, dword [ebp - 0x34]
sub eax, esi
sar eax, 2
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jbe 0x422cc9
cmp ecx, 0x3fffffff
ja 0x422f9f
push ecx
lea ecx, [ebp - 0x34]
call fcn.004244e0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edx, ebx
sub edx, esi
sar edx, 2
cmp ecx, edx
jae 0x422cd9
lea ebx, [esi + ecx*4]
jmp 0x422d19
jbe 0x422d1c
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x422cfc
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00425260
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x422d1c
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.0046cae0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ebx, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
call edi
test eax, eax
je 0x422f56
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
je 0x422c96
mov edi, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edi
shr esi, 2
sar ecx, 2
cmp esi, ecx
jae 0x422d54
lea ebx, [edi + esi*4]
jmp 0x422d87
jbe 0x422d8a
mov eax, dword [ebp - 0x2c]
sub eax, edi
sar eax, 2
cmp esi, eax
jbe 0x422d74
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.00425260
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x422d8a
sub esi, ecx
shl esi, 2
push esi
push 0
push ebx
call fcn.0046cae0
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x30], ebx
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x422f52
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x422f41
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x422fae
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov edx, 1
mov dword [ebp - 0x20], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x422dfa
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00402d20
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x422e17
xor ecx, ecx
jmp 0x422e30
push dword [eax - 8]
push eax
call fcn.0047866d
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x422fa4
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x422fa4
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov word [eax + ecx*2], dx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.00403910
test eax, eax
je 0x422fae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402a50
test al, al
jne 0x422ea9
test esi, esi
jne 0x422e87
xor ecx, ecx
jmp 0x422e9f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422e90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.00402d80
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
je 0x422f0a
nop
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x422fae
mov edx, eax
nop dword [eax]
mov si, word [edx]
cmp si, word [ecx]
jne 0x422ef6
test si, si
je 0x422ef2
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x422ef6
add edx, 4
add ecx, 4
test si, si
jne 0x422ed0
xor ecx, ecx
jmp 0x422efb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x422f02
mov byte [edi], 1
add edi, 8
cmp edi, dword [ebp - 0x28]
jne 0x422ec0
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422f22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422f41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x422d97
mov bl, 1
jmp 0x422f58
xor bl, bl
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x422f8b
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x422f81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422fb8
push ecx
push edx
call fcn.0046a718
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031b0
push 0x80070057
call fcn.004036e0
push 0x80004005
call fcn.004036e0
call fcn.0046fc3f
int3