Function at 0x5e8e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi + 0xac]
xor ebp, ebp
cmp eax, ebp
push edi
je 0x5e8e52
push 0x200
push ebp
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esi + 0x2ac]
cmp eax, ebp
je 0x5e8e6b
push 0x200
push ebp
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esi + 8]
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KList::GetHead_void_const]
mov edi, eax
cmp edi, ebp
je 0x5e8f1a
mov edi, edi
mov ecx, edi
mov ebx, edi
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KNode::GetNext_void_const]
mov ecx, dword [0x12c5540]
mov edi, eax
mov eax, dword [ebx + 0x10]
imul eax, eax, 0x113b8
add eax, ecx
cmp dword [eax + 0x24], 2
jne 0x5e8ee9
cmp dword [eax + 0x1570], ebp
je 0x5e8ee9
mov eax, dword [eax + 0x1570]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x5e8ee9
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 1
mov ecx, eax
call edx
test eax, eax
je 0x5e8ee9
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x5e8ee9
mov ecx, dword [esi]
mov edx, dword [eax + 0xc]
push ebp
push ecx
mov ecx, dword [edx + 8]
push 0x12
lea ecx, [ecx + eax + 0xc]
call fcn.005400a0
mov edx, dword [ebx + 0x10]
mov eax, dword [0x12c5540]
imul edx, edx, 0x113b8
mov dword [edx + eax + 0x1040], 0xffffffff
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.005e89e0
cmp edi, ebp
jne 0x5e8e80
lea ecx, [esi + 0x20]
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KList::GetHead_void_const]
mov ebx, eax
cmp ebx, ebp
mov ebp, dword [sym.imp.engine.dll_public:_void___thiscall_KNode::Remove_void_]
je 0x5e8f70
nop
mov ecx, ebx
mov edi, ebx
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KNode::GetNext_void_const]
mov ebx, eax
mov eax, dword [edi + 0x10]
push eax
mov ecx, 0x161bc14
call fcn.005e1310
mov ecx, dword [edi + 0x10]
mov edx, dword [0x1344d40]
imul ecx, ecx, 0xb48
mov dword [ecx + edx + 0xfc], 0xffffffff
mov ecx, edi
call ebp
add dword [edi + 0x14], 0xffffffff
test ebx, ebx
jne 0x5e8f30
lea ecx, [esi + 0x14]
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KList::GetHead_void_const]
mov ebx, eax
test ebx, ebx
je 0x5e8fd9
nop
mov ecx, ebx
mov edi, ebx
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KNode::GetNext_void_const]
mov ecx, dword [edi + 0x10]
imul ecx, ecx, 0x3d4
add ecx, dword [0x12c5588]
push 0
mov ebx, eax
call fcn.0057ebb0
mov eax, dword [edi + 0x10]
push eax
mov ecx, 0x1341c18
call fcn.005ad880
mov ecx, dword [edi + 0x10]
mov edx, dword [0x12c5588]
imul ecx, ecx, 0x3d4
mov dword [ecx + edx + 0x18], 0xffffffff
mov ecx, edi
call ebp
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
test ebx, ebx
jne 0x5e8f80
lea ecx, [esi + 0x2c]
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KList::GetHead_void_const]
mov edi, eax
test edi, edi
je 0x5e9008
jmp 0x5e8ff0
mov ecx, edi
mov ebx, edi
call dword [sym.imp.engine.dll_public:_class_KNode____thiscall_KNode::GetNext_void_const]
mov ecx, ebx
mov edi, eax
call ebp
add dword [ebx + 0x14], 0xffffffff
test edi, edi
jne 0x5e8ff0
mov dword [esi + 0xa8], 0
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
pop edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
pop esi
pop ebp
pop ebx
pop ecx
ret 4