Function at 0x100131e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029926
mov eax, dword fs:[0]
push eax
mov eax, 0x104c
call fcn.100281b0
mov eax, dword [0x1003e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x1040], eax
jmp 0x10013230
cmp dword [0x1004460c], 0
jne 0x1001348b
lea ecx, [ebp - 0x1014]
push ecx
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x100133ca
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
xor ebx, ebx
movq qword [ebp - 0x1020], xmm0
xor edi, edi
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 4], edi
xor esi, esi
test dword [ebp - 0x1014], 0xfffffffc
jbe 0x10013333
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x1050], eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x104c], eax
jmp 0x100132c0
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1048], esi
push eax
lea ecx, [ebp - 0x1058]
call fcn.10014e60
add esp, 4
push eax
lea ecx, [ebp - 0x1020]
mov byte [ebp - 4], 1
call fcn.100143e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1058]
test edx, edx
je 0x10013319
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10013319
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x10013311
mov eax, dword [ecx]
push edx
jmp 0x10013317
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov eax, dword [ebp - 0x1014]
inc esi
shr eax, 2
cmp esi, eax
jb 0x100132c0
mov edi, dword [ebp - 0x101c]
mov ebx, dword [ebp - 0x1020]
mov esi, ebx
cmp ebx, edi
je 0x10013361
lea esp, [esp]
mov ecx, dword [esi]
test ecx, ecx
je 0x10013390
mov dl, byte [esi + 4]
test dl, dl
je 0x10013354
mov al, byte [ecx + 0x1c]
test al, al
jne 0x10013390
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add esi, 8
cmp esi, edi
jne 0x10013340
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100133ca
mov esi, ebx
cmp ebx, edi
je 0x100133c0
mov edx, dword [esi]
test edx, edx
je 0x100133b9
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100133b9
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x100133b1
mov eax, dword [ecx]
push edx
jmp 0x100133b7
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1044], 4
push eax
mov dword [ebp - 0x1040], 0x1003f060
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_future_error_class_std::error_code_const__]
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
add esi, 8
cmp esi, edi
jne 0x10013372
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
push dword [ebp - 0x1040]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Conquer.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
call fcn.10012720
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 0
push 0x100430
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x10044600]
call ebx
mov ebx, eax
mov edi, esi
push 0x1c
lea eax, [ebp - 0x103c]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x10013479
cmp dword [ebp - 0x1038], esi
jne 0x10013437
add edi, dword [ebp - 0x1030]
jmp 0x10013411
sub edi, esi
mov esi, dword [0x10044600]
push edi
mov dword [0x100445f4], edi
call fcn.10027250
add esp, 4
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 0
push 0x100430
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push edi
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x1001347b
xor ebx, ebx
mov dword [0x100445f8], ebx
mov dword [0x1004460c], 1
jmp 0x1001349d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002769f
mov esp, ebp
pop ebp
ret