Function at 0x5e41e0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x636709
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.engine.dll_public:_void___thiscall_KLinkArray::Init_int_]
lea ebx, [edi + 4]
push 0x200
mov ecx, ebx
call esi
push 0x200
lea ecx, [edi + 0x10]
call esi
mov esi, 0x1ff
xor ebp, ebp
lea esp, [esp]
push esi
mov ecx, ebx
call dword [sym.imp.engine.dll_public:_void___thiscall_KLinkArray::Insert_int_]
sub esi, 1
cmp esi, ebp
jg 0x5e4230
lea ebx, [edi + 0xd4]
mov eax, ebx
mov edx, 3
lea ecx, [ecx]
mov ecx, 0xf
mov dword [eax - 0xb4], ebp
mov dword [eax], ebp
add eax, 4
sub ecx, 1
jne 0x5e4255
sub edx, 1
jne 0x5e4250
lea ecx, [esp + 0x14]
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
push str._settingsitemAbradeRate.ini
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebp
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
mov esi, dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
lea eax, [edi + 0x188]
push eax
push 0x64
push str.ItemPriceScale
push str.Repair
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x18c]
push ecx
push 0xa
push str.MagicPriceScale
push str.Repair
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x190]
push edx
push 5
push str.WarningBaseline
push str.Repair
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x2c]
push eax
push pe_nt_image_headers32
push str.Weapon
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x20]
push ecx
push ebp
push str.Head
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x24]
push edx
push ebp
push 0x6543e4
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x28]
push eax
push ebp
push str.Belt
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x30]
push ecx
push ebp
push str.Foot
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x34]
push edx
push ebp
push str.Cuff
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x38]
push eax
push ebp
push str.Amulet
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x3c]
push ecx
push ebp
push str.Ring1
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x40]
push edx
push ebp
push str.Ring2
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x44]
push eax
push ebp
push str.Pendant
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x48]
push ecx
push ebp
push str.Horse
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x4c]
push edx
push ebp
push str.Mask
push str.Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xe0]
push eax
push pe_nt_image_headers32
push str.Weapon
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
push ebx
push ebp
push str.Head
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xd8]
push ecx
push ebp
push 0x6543e4
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xdc]
push edx
push ebp
push str.Belt
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xe4]
push eax
push ebp
push str.Foot
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xe8]
push ecx
push ebp
push str.Cuff
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xec]
push edx
push ebp
push str.Amulet
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xf0]
push eax
push ebp
push str.Ring1
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xf4]
push ecx
push ebp
push str.Ring2
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xf8]
push edx
push ebp
push str.Pendant
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xfc]
push eax
push ebp
push str.Horse
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x100]
push ecx
push ebp
push str.Mask
push str.AdvPlatina_Attack
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x68]
push edx
push ebp
push str.Weapon
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x5c]
push eax
push 0x40
push str.Head
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x60]
push ecx
push 0x40
push 0x6543e4
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x64]
push edx
push 0x40
push str.Belt
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x6c]
push eax
push 0x40
push str.Foot
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x70]
push ecx
push 0x40
push str.Cuff
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x74]
push edx
push ebp
push str.Amulet
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x78]
push eax
push ebp
push str.Ring1
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x7c]
push ecx
push ebp
push str.Ring2
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x80]
push edx
push ebp
push str.Pendant
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x84]
push eax
push ebp
push str.Horse
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x88]
push ecx
push ebp
push str.Mask
push str.Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x11c]
push edx
push ebp
push str.Weapon
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x110]
push eax
push 0x40
push str.Head
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x114]
push ecx
push 0x40
push 0x6543e4
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x118]
push edx
push 0x40
push str.Belt
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x120]
push eax
push 0x40
push str.Foot
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x124]
push ecx
push 0x40
push str.Cuff
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x128]
push edx
push ebp
push str.Amulet
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x12c]
push eax
push ebp
push str.Ring1
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x130]
push ecx
push ebp
push str.Ring2
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x134]
push edx
push ebp
push str.Pendant
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x138]
push eax
push ebp
push str.Horse
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x13c]
push ecx
push ebp
push str.Mask
push str.AdvPlatina_Defend
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xa4]
push edx
push ebp
push str.Weapon
push str.Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x98]
push eax
push ebp
push str.Head
push str.Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x9c]
push ecx
push ebp
push 0x6543e4
push str.Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xa0]
push edx
push ebp
push str.Belt
push str.Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xa8]
push eax
push 0x40
push str.Foot
push str.Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xac]
push ecx
push ebp
push str.Cuff
push str.Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xb0]
push edx
push ebp
push str.Amulet
push str.Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xb4]
push eax
push ebp
push str.Ring1
push str.Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xb8]
push ecx
push ebp
push str.Ring2
push str.Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0xbc]
push edx
push ebp
push str.Pendant
push str.Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0xc0]
push eax
push 0x40
push str.Horse
push str.Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0xc4]
push ecx
push ebp
push str.Mask
push str.Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x158]
push edx
push ebp
push str.Weapon
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x14c]
push eax
push ebp
push str.Head
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x150]
push ecx
push ebp
push 0x6543e4
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x154]
push edx
push ebp
push str.Belt
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x15c]
push eax
push 0x40
push str.Foot
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x160]
push ecx
push ebp
push str.Cuff
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x164]
push edx
push ebp
push str.Amulet
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x168]
push eax
push ebp
push str.Ring1
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [edi + 0x16c]
push ecx
push ebp
push str.Ring2
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea edx, [edi + 0x170]
push edx
push ebp
push str.Pendant
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea eax, [edi + 0x174]
push eax
push 0x40
push str.Horse
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
add edi, 0x178
push edi
push ebp
push str.Mask
push str.AdvPlatina_Move
lea ecx, [esp + 0x24]
call esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret