Function at 0x100012b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1005d53c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
push str.henrik.davidsson_MSV_BUILD_04_at_10:51:42_on_Jun_10_2009._n
push 0xd2738c
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x10001304
push 0x10
push str.Error
push str.Unknown_game_version_detected._Version_1.0.1.1_is_required.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1000d6b4
mov esp, ebp
pop ebp
ret
push 1
push 0x100016d0
push 0x807d34
call fcn.10009040
push 0
push 0x10001a00
push 0x77d481
call fcn.10009040
push 0
push 0x10001b60
push 0x9fcbb0
call fcn.10009040
push 1
push 0x100016e0
push 0xb4fc10
call fcn.10009040
push 1
push 0x100016e0
push 0xb4fc69
call fcn.10009040
push 0
push 0x10001bd0
push 0xbd1c73
call fcn.10009040
add esp, 0x48
push 1
push 0x10001750
push 0x944a2e
call fcn.10009040
push 0
push 0x100021a0
push 0xb92eb0
call fcn.10009040
push 1
push 0x100019d0
push 0x705a12
mov dword [0x1005fd04], eax
call fcn.10009040
push 1
push 0x10001150
push 0xb2ef85
call fcn.10009040
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x44]
add esp, 0x30
mov byte [esp + 0xf], 0xeb
mov dword [esp + 0x14], 0
push eax
push 0x40
push 1
push 0xb31a16
call esi
mov al, byte [esp + 0xf]
mov ecx, 0xb31a16
mov byte [ecx], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0xb31a16
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], 0x90909090
push eax
push 0x40
push 5
push 0x4287bd
mov byte [esp + 0x50], 0x90
mov dword [esp + 0x28], 0
call esi
mov ecx, 0x4287bd
nop word [eax + eax]
mov al, byte [esp + ecx - 0x428781]
mov byte [ecx], al
inc ecx
cmp ecx, 0x4287c2
jb 0x10001440
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 5
push 0x4287bd
call esi
push 5
push 0x4287bd
call edi
push eax
call ebx
lea eax, [esp + 0x1c]
mov byte [esp + 0x10], 8
push eax
push 0x40
push 1
push 0xb6e7d3
mov dword [esp + 0x2c], 0
call esi
movzx eax, byte [esp + 0x10]
mov ecx, 0xb6e7d3
mov byte [ecx], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push 1
push ecx
call esi
push 1
push 0xb6e7d3
call edi
push eax
call ebx
lea eax, [esp + 0x20]
mov byte [esp + 0x11], 0
push eax
push 0x40
push 1
push 0x863114
mov dword [esp + 0x30], 0
call esi
movzx eax, byte [esp + 0x11]
mov ecx, 0x863114
mov byte [ecx], al
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
push 1
push ecx
call esi
push 1
push 0x863114
call edi
push eax
call ebx
lea eax, [esp + 0x24]
mov byte [esp + 0x12], 0
push eax
push 0x40
push 1
push 0x863121
mov dword [esp + 0x34], 0
call esi
movzx eax, byte [esp + 0x12]
mov ecx, 0x863121
mov byte [ecx], al
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x28]
push 1
push ecx
call esi
push 1
push 0x863121
call edi
push eax
call ebx
lea eax, [esp + 0x28]
mov byte [esp + 0x13], 0
mov dword [esp + 0x28], 0
push eax
push 0x40
push 1
push 0x86312e
call esi
movzx eax, byte [esp + 0x13]
mov ecx, 0x86312e
mov byte [ecx], al
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x2c]
push 1
push ecx
call esi
push 1
push 0x86312e
call edi
push eax
call ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 0x10001010
push eax
push 0x40
push 4
push 0xbec594
mov dword [esp + 0x3c], 0
call esi
mov ecx, 0xbec594
mov al, byte [esp + ecx - 0xbec560]
mov byte [ecx], al
inc ecx
cmp ecx, 0xbec598
jb 0x100015a1
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x30]
push 4
push 0xbec594
call esi
push 4
push 0xbec594
call edi
push eax
call ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x38], 0x100010a0
push eax
push 0x40
push 4
push 0xbec3ec
mov dword [esp + 0x40], 0
call esi
mov eax, 0xbec3ec
mov cl, byte [esp + eax - 0xbec3b4]
mov byte [eax], cl
inc eax
cmp eax, 0xbec3f0
jb 0x100015f6
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x34]
push 4
push 0xbec3ec
call esi
push 4
push 0xbec3ec
call edi
push eax
call ebx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000d6b4
mov esp, ebp
pop ebp
ret