Function at 0x10063940
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b2c3
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1026500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.10065090
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x45c], edi
test edi, edi
je 0x10063cba
push 0x424
lea eax, [ebp - 0x448]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44c], 0x428
lea eax, [ebp - 0x44c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x10063cb1
nop
lea eax, [ebp - 0x454]
mov dword [ebp - 0x460], eax
call fcn.1004e140
test eax, eax
je 0x10063cfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x454]
call fcn.1004ff80
test al, al
jne 0x10063a52
lea ecx, [ebp - 0x22c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10063a30
sub ecx, edx
lea eax, [ebp - 0x22c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.10050450
mov byte [ebp - 4], 2
lea eax, [ebp - 0x450]
mov dword [ebp - 0x464], eax
call fcn.1004e140
test eax, eax
je 0x10063cfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x450]
call fcn.1004ff80
test al, al
jne 0x10063ac4
lea eax, [ebp - 0x42c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10063aa2
sub eax, edx
lea ecx, [ebp - 0x450]
sar eax, 1
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10050450
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x430]
mov edi, dword [ebp - 0x434]
mov dword [ebp - 0x458], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x468], eax
call fcn.1004e140
test eax, eax
je 0x10063cfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x46c], eax
call fcn.1004e140
test eax, eax
je 0x10063cfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x450]
push eax
mov dword [ebp - 0x20], edi
call fcn.1004fa70
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.1004fa70
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x450]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10063b77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x454]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10063b98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x10063bd7
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10063bce
test dx, dx
je 0x10063bca
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10063bce
add ecx, 4
add eax, 4
test dx, dx
jne 0x10063ba8
xor eax, eax
jmp 0x10063bd3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10063c3f
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
je 0x10063c33
mov dword [ebp - 0x470], edi
lea esi, [edi + 8]
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
mov dword [ebp - 0x474], esi
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100503f0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
lea esi, [edi + 0xc]
mov dword [ebp - 0x478], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100503f0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xd
add dword [ebx + 4], 0x10
or esi, 0xffffffff
jmp 0x10063c3f
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
push edi
call fcn.10064e90
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x18]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 0x12
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10063c6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10063c95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x45c]
lea eax, [ebp - 0x44c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x100639e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10063cdc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1004de10
int3