Function at 0x4010c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
call section..text
push eax
push 0x18
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401161
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x401161
mov ecx, str.GameAssembly.dll
lea eax, [esp + 0x40]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401146
test dx, dx
je 0x401142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401146
add eax, 4
add ecx, 4
test dx, dx
jne 0x401120
xor eax, eax
jmp 0x40114b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40115d
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x401112
jmp 0x401161
mov ebx, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call section..text
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
mov dword [esp + 0x460], 0
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x468], 0
push eax
lea eax, [ebx + 0x2278810]
mov dword [esp + 0x464], 0
push eax
push esi
mov byte [esp + 0x465], 0
mov byte [esp + 0x464], 1
mov byte [esp + 0x466], 1
mov byte [esp + 0x467], 1
mov dword [esp + 0x478], 0x90909090
mov byte [esp + 0x47c], 0x90
mov word [esp + 0x468], 0x9090
mov byte [esp + 0x463], 0xc3
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x460]
push eax
mov eax, dword [esp + 0x20]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
lea eax, [esp + 0x18]
push eax
lea eax, [ebx + 0x22a55ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x464]
push eax
mov eax, dword [esp + 0x1c]
sub eax, 0xffffff80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x458]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x38
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x459]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0xd0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x24]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [esp + 0x468]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x78
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
lea eax, [esp + 0x20]
push 4
push eax
mov eax, dword [esp + 0x28]
add eax, 0x48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 1
lea eax, [esp + 0x45a]
push eax
mov eax, dword [esp + 0x28]
add eax, 0x48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x45b]
push eax
mov eax, dword [esp + 0x28]
add eax, 0x3f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x67d7e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x96d3c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x482410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x482a30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x4ba5f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x4bad20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [esp + 0x457]
push eax
lea eax, [ebx + 0x96d750]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 2
lea eax, [esp + 0x45c]
push eax
lea eax, [ebx + 0x986dec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 5
lea eax, [esp + 0x46c]
push eax
lea eax, [ebx + 0x901bce]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x4010e3