Function at 0x1003c5f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062063
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x10074020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4ac], ecx
mov eax, dword [ebp - 0x4ac]
cmp dword [eax], 0xffffffff
jne 0x1003c63a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x4ac]
mov dword [ecx], eax
mov edx, dword [ebp - 0x4ac]
mov eax, dword [edx]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0xffffffff
jne 0x1003c660
xor al, al
jmp 0x1003c841
mov ecx, dword [ebp - 0x4ac]
add ecx, 0x1c
mov dword [ebp - 0x4a4], ecx
mov ecx, dword [ebp - 0x4a4]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov edx, dword [ebp - 0x4a4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x4a4]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.1003bdc0
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x4a4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov dword [ebp - 0x4a0], 0x428
push 0x424
push 0
lea eax, [ebp - 0x49c]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4a0]
push ecx
mov edx, dword [ebp - 0x4b0]
push edx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1003c832
lea ecx, [ebp - 0x78]
call fcn.1003e9b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x28]
call fcn.1003e920
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c8], esp
lea eax, [ebp - 0x28]
push eax
call fcn.1003e8e0
mov dword [ebp - 0x4d0], eax
lea ecx, [ebp - 0x70]
call fcn.1004c8a0
movzx ecx, word [ebp - 0x280]
test ecx, ecx
jne 0x1003c752
mov dword [ebp - 0x4b8], 0
jmp 0x1003c7ae
lea edx, [ebp - 0x280]
mov dword [ebp - 0x4a8], edx
mov eax, dword [ebp - 0x4a8]
add eax, 2
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4a8]
mov dx, word [ecx]
mov word [ebp - 0x4b2], dx
add dword [ebp - 0x4a8], 2
cmp word [ebp - 0x4b2], 0
jne 0x1003c76d
mov eax, dword [ebp - 0x4a8]
sub eax, dword [ebp - 0x4c0]
sar eax, 1
mov dword [ebp - 0x4bc], eax
mov ecx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4b8], ecx
mov edx, dword [ebp - 0x4b8]
push edx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x28]
call fcn.1003fd40
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c4], esp
lea edx, [ebp - 0x28]
push edx
call fcn.1003e8e0
mov dword [ebp - 0x4cc], eax
lea ecx, [ebp - 0x4c]
call fcn.1004c8a0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x4ac]
add ecx, 0x1c
call fcn.10040420
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1003f970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1003baf0
lea ecx, [ebp - 0x4a0]
push ecx
mov edx, dword [ebp - 0x4b0]
push edx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1003c6e5
mov eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10060d08
mov esp, ebp
pop ebp
ret