Function at 0x4027f0
Capabilities:
Enumerate process modules
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e7a
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x42b070]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4b8], edx
mov eax, ecx
mov dword [ebp - 0x490], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4a0], eax
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x4c0], 0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x480], edi
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x48c], esi
push ebx
push 0
push 0x1fffff
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4ac], eax
test eax, eax
mov eax, dword [section..data]
mov ecx, section..data
jne 0x402967
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x490]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x41d35e
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x402918
movzx ecx, ax
call fcn.004032e0
test eax, eax
je 0x402920
mov edx, 0x41d35e
movzx ecx, dx
push ecx
push eax
mov ecx, ebx
call fcn.00403030
jmp 0x402920
push ecx
mov ecx, ebx
call fcn.00402fa0
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x402940
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x402d8d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x402d8d
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4a8], eax
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4a8]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00401e30
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4b8]
mov edi, dword [ebp - 0x4a8]
push edi
push dword [ebp - 0x4b4]
lea eax, [ebp - 0x48c]
push dword [ebp - 0x4bc]
push dword [ebp - 0x4a4]
push str.Fault_address:__08X___04X:_08X__s____Exception_code__0x_08X_r_n
push eax
call fcn.00403240
mov esi, dword [ebp - 0x48c]
add esp, 0x1c
push dword [esi - 0xc]
lea ecx, [ebp - 0x480]
push esi
call fcn.00403170
push dword [ebp - 0x49c]
mov edx, dword [ebp - 0x494]
push ebx
lea ecx, [ebp - 0x494]
call fcn.00402220
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [eax]
lea ecx, [ebp - 0x480]
push dword [eax - 0xc]
push eax
call fcn.00403170
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x494]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x402a4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x484]
cmp dword [ebp - 0x49c], eax
je 0x402ac6
push 0x19
push str._nMain_thread_call_stack:_n
lea ecx, [ebp - 0x480]
call fcn.00403170
push dword [ebp - 0x484]
mov edx, dword [ebp - 0x498]
push dword [ebp - 0x488]
lea ecx, [ebp - 0x498]
call fcn.00402220
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [eax]
lea ecx, [ebp - 0x480]
push dword [eax - 0xc]
push eax
call fcn.00403170
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x498]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402ac6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x488]
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
je 0x402b6a
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push ecx
movq qword [ebp - 0x34], xmm0
push eax
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0x1c
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x402b34
mov eax, dword [ebp - 0x488]
cmp dword [ebp - 0x28], eax
jne 0x402b20
inc esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x402b14
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp - 0x48c]
push str.All__u_thread_s__exist._r_n
push eax
call fcn.00403240
mov esi, dword [ebp - 0x48c]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp - 0x480]
push esi
call fcn.00403170
push dword [ebp - 0x488]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x488], eax
cmp eax, 0xffffffff
je 0x402c96
push 0x68
push str._r_n_r_n
lea ecx, [ebp - 0x480]
call fcn.00403170
push 0x428
lea eax, [ebp - 0x47c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x488]
mov dword [ebp - 0x47c], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
lea esp, [esp]
test eax, eax
je 0x402c8a
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x50]
call fcn.004073b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x48]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push dword [ebp - 0x464]
lea eax, [ebp - 0x45c]
push dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x48c]
push str.module_name:___16s_address:__08X_module_size:__08X_version:__d._d._d._d_r_n
push eax
call fcn.00403240
mov esi, dword [ebp - 0x48c]
add esp, 0x24
push dword [esi - 0xc]
lea ecx, [ebp - 0x480]
push esi
call fcn.00403170
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov dword [ebp - 0x484], eax
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
mov eax, dword [ebp - 0x484]
test ecx, ecx
jg 0x402bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x484]
jmp 0x402bd0
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
push 0x41d0ec
lea ecx, [ebp - 0x480]
call fcn.00403170
mov eax, dword [ebp - 0x4a0]
test eax, eax
jne 0x402cb6
xor ecx, ecx
jmp 0x402cd5
mov ecx, eax
lea edx, [ecx + 2]
jmp 0x402cc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402cc0
mov eax, dword [ebp - 0x4a0]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.00403170
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402cff
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x402d3a
mov edi, dword [ebp - 0x480]
add edi, 0xfffffff0
mov ecx, edi
call fcn.00403100
mov ecx, dword [ebp - 0x490]
add eax, 0x10
add esi, 0xfffffff0
mov dword [ecx], eax
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402d72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x402d8d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004171a6
mov esp, ebp
pop ebp
ret