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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024ac88
push eax
mov eax, dword [ebp + 8]
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [eax + 8]
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov edi, dword [edi]
add edi, ecx
add ecx, eax
movzx edx, byte [edi]
mov dword [esi + 0x88], edx
test edx, edx
jne 0x10089527
movzx ebx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ebx, 8
add ebx, eax
movzx eax, byte [edi + 3]
shl ebx, 8
add ebx, eax
mov eax, dword [edi + 4]
cmp edx, 3
jne 0x100895c4
add edi, 8
mov dword [ebp - 0x10], eax
sub ecx, edi
cmp ecx, eax
jae 0x10089554
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
shr eax, 1
lea ecx, [esi + 0xc]
push eax
push edi
call fcn.1001a600
add edi, dword [ebp - 0x10]
mov eax, dword [edi]
add edi, 4
mov dword [ebp - 0x10], eax
cmp eax, 0x1000
ja 0x1008953f
cmp dword [esi + 0x7c], eax
jae 0x10089583
lea ecx, [esi + 0x78]
push eax
call fcn.10020ab0
mov eax, dword [ebp - 0x10]
push eax
push edi
push dword [esi + 0x80]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x7c]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add edi, ecx
cmp ecx, eax
cmovbe eax, ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
jmp 0x1008963a
mov dword [esi + 0x54], eax
mov eax, dword [edi + 8]
add edi, 0xc
sub ecx, edi
mov dword [ebp - 0x10], eax
cmp ecx, eax
jb 0x1008953f
shr eax, 1
lea ecx, [esi + 0xc]
push eax
push edi
call fcn.1001a600
add edi, dword [ebp - 0x10]
mov eax, dword [edi]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x5c], eax
movzx eax, word [edi + 0x20]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x22]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x2a]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x2e]
add edi, 0x32
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 8]
sub edi, dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
cmp dword [esi + 0x88], 0
jne 0x1008973e
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.100216a0
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
test ebx, ebx
je 0x1008973e
nop dword [eax]
push 0x90
call fcn.1006e6a7
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
push 0
push esi
call sym.WMCommon.dll_public:_void___thiscall_WM::GMTocNode::constructor_class_WM::GMTocNode___enum_WM::GMNodeType_
push dword [ebp + 0xc]
mov edi, eax
push dword [ebp + 8]
mov ecx, edi
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMTocNode::Deserial_class_WM::GMBuffer_unsigned_char____unsigned_int__
test al, al
jne 0x100896a9
test edi, edi
je 0x100896a9
push ecx
mov ecx, edi
call fcn.1001fe40
push edi
lea ecx, [ebp - 0x18]
call fcn.10020ba0
mov edi, eax
mov dword [ebp - 4], 0
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x100896e7
mov ecx, dword [edi]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov dword [edx + 4], eax
mov dword [edi], 0
add dword [esi + 4], 8
jmp 0x100896f0
push edi
push edx
mov ecx, esi
call fcn.100212d0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10089735
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10089735
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x10089735
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x10089753
push 1
call dword [edx]
sub ebx, 1
jne 0x10089670
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call eax
jmp 0x10089735