Function at 0x43f596
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 0x408
call fcn.004463b9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x45d987
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.004463b9
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
cmp dword [0x5811cb], 0
je 0x43f62c
jmp 0x43fd17
mov dword [0x5811cb], 1
cmp dword [0x5811cf], 0
jne 0x43f70a
mov dword [ebp - 0x2c], esp
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 1
push 0x14
call dword [0x58123b]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43f67d
push 6
call fcn.004463c5
add esp, 4
mov ebx, dword [0x5811d3]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], 0x18
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 4]
push eax
push 0x400
mov ebx, dword [0x5811d7]
call fcn.00401261
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43f6cf
push 6
call fcn.004463c5
add esp, 4
test eax, eax
je 0x43f6fb
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x57f047]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401232
mov dword [0x5811cf], eax
jmp 0x43f70a
mov dword [0x5811cb], 0
jmp 0x43fd17
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 4]
push eax
push 0x400
mov ebx, dword [ebp - 8]
call fcn.00401261
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43f73b
push 6
call fcn.004463c5
add esp, 4
test eax, eax
je 0x43fd0d
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x57f047]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401232
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x43fccc
mov eax, dword [0x5811cf]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x43f7e5
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x5811d7]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], eax
jne 0x43f7e0
jmp 0x43f7e5
pop eax
pop ebx
pop ecx
jmp 0x43f788
add esp, 0xc
mov eax, dword [0x5811cf]
cmp dword [ebp - 0x14], eax
jle 0x43fcc4
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
mov ebx, dword [0x5811d3]
call fcn.00401261
push ebx
push 0x1f0fff
lea eax, [ebp - 0x1c]
push eax
call dword [0x58123f]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43f856
push 6
call fcn.004463c5
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x43fcc4
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 1
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.0041ea7b
mov dword [ebp - 0x20], eax
mov eax, dword [0x5811c7]
cmp dword [ebp - 0x20], eax
je 0x43fcc4
push 1
push dword [ebp - 0x20]
call fcn.0041ea7b
mov dword [ebp - 0x24], eax
mov eax, dword [0x5811c3]
cmp dword [ebp - 0x24], eax
jne 0x43fc02
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.0043fd43
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x43f8ee
push ebx
call fcn.004463bf
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x80000101
push 0
push 0x44
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0x65
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0x66
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0x65
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0x6e
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0x64
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0x65
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000101
push 0
push 0x72
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000101
push 0
push 0x54
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x80000101
push 0
push 0x6f
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x50], eax
push 0x80000101
push 0
push 0x6f
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x80000101
push 0
push 0x6c
push 1
mov ebx, 0x140
call fcn.00446b90
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
mov ecx, 0xc
call fcn.004010e2
add esp, 0x30
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x43fac2
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x43fad2
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x43fae2
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x43faf2
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x43fb02
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x43fb12
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x43fb22
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x43fb32
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x43fb42
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x43fb52
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x43fb62
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x43fb72
push ebx
call fcn.004463bf
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x43fb91
mov eax, 0x45d240
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x43fba5
mov eax, 0x45d240
push eax
push 3
mov ebx, 0x18c
call fcn.004474e0
add esp, 0x28
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x43fbcb
push ebx
call fcn.004463bf
add esp, 4
cmp dword [ebp - 0x60], 0
jne 0x43fbda
jmp 0x43fcc4
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.004401ab
jmp 0x43fcc4
mov eax, dword [0x5811c7]
cmp dword [ebp - 0x24], eax
jne 0x43fc6f
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00440386
test eax, eax
je 0x43fc6a
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.004401ab
jmp 0x43fcc4
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 1
push 1
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00440386
test eax, eax
je 0x43fcc4
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.004401ab
pop eax
pop ebx
pop ecx
jmp 0x43f76c
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push eax
mov ebx, eax
call fcn.00401261
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.004463b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5811d7]
push ebx
call fcn.004463bf
add esp, 4
pop eax
mov dword [0x5811d7], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5811cf], eax
mov dword [0x5811cb], 0
mov ebx, dword [ebp - 8]
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004463bf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x43fd3f
push ebx
call fcn.004463bf
add esp, 4
mov esp, ebp
pop ebp
ret