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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.engine.dll
call ebp
mov ecx, eax
mov dword [0x10040cd4], ecx
test ecx, ecx
je 0x1000b442
push ebx
lea eax, [ecx + 0x3b0b65]
mov dword [0x10040cd8], ecx
push esi
mov dword [0x10040ce0], eax
mov edx, 0x1000b1e0
lea eax, [ecx + 0x3b0c78]
add ecx, 0x3b0b60
push edi
push 0
mov dword [0x10040cdc], eax
call fcn.10005000
mov ebx, dword [0x10040cd8]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add ebx, 0x3b17f6
je 0x1000b2df
mov eax, 0x1000b200
mov byte [esp + 0x14], 0xe8
sub eax, ebx
mov dword [esp + 0x10], 0
sub eax, 5
mov dword [esp + 0x15], eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 5
push ebx
call edi
test eax, eax
je 0x1000b2df
mov esi, ebx
lea eax, [esp + 0x14]
xor edx, edx
sub esi, eax
nop
mov cl, byte [esp + edx + 0x14]
lea eax, [esi + edx]
inc edx
mov byte [esp + eax + 0x14], cl
cmp edx, 5
jb 0x1000b2c0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 5
push ebx
call edi
mov esi, dword [0x10040cd8]
add esi, 0x280968
je 0x1000b31e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x40
push eax
push 0x40
push 6
push esi
call edi
test eax, eax
je 0x1000b31e
mov eax, 0x90909090
mov dword [esi], eax
mov word [esi + 4], ax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._AddNetworkQueue_UNetworkHandler__UAEHPAUNetworkPacket___Z
push dword [0x10040cd4]
call ebx
mov ecx, dword [0x10040cd4]
mov dword [0x10040ccc], eax
push str._GetMSData_FL2GameData__QAEPAUFL2MagicSkillData__HH_Z
push ecx
lea eax, [ecx + 0x73de50]
mov dword [0x10040cc8], eax
call ebx
mov esi, dword [0x10040cd8]
mov dword [0x10040cc4], eax
add esi, 0x3cd822
je 0x1000b38b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x40
push eax
push 0x40
push 1
push esi
call edi
test eax, eax
je 0x1000b38b
lea eax, [esp + 0x14]
mov byte [esi], 0xeb
push eax
push dword [esp + 0x18]
push 1
push esi
call edi
push str.core.dll
call ebp
mov dword [0x10040cc0], eax
test eax, eax
je 0x1000b45d
push str._GRegisterNative__YAEHABQ8UObject__AEXAAUFFrame__QAX_Z_Z
push eax
call ebx
mov esi, eax
test esi, esi
je 0x1000b428
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10003110
push eax
push 0xfff
call esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x100031a0
push eax
push 0xffe
call esi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x100031e0
push eax
push 0xffd
call esi
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100030f0
push eax
push 0xffc
call esi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x10003340
push eax
push 0xffb
call esi
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x10003a60
push eax
push 0xffa
call esi
add esp, 0x30
push str._CollectGarbage_UObject__SAXK_Z
push dword [0x10040cc0]
call ebx
pop edi
pop esi
pop ebx
mov dword [0x10040cb8], eax
pop ebp
add esp, 0xc
ret
push 0x10
push 0x1003c0b0
push str.Engine.dll_not_found._The_application_will_now_exit.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.1001db47
push 0x10
push 0x1003c1b4
push str.Core.dll_not_found._The_application_will_now_exit.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.1001db47
int3