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

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x60]
cmp ecx, edi
jbe 0x10089f90
mov eax, dword [esi + 0x54]
cmp dword [eax], edi
je 0x10089f8a
inc dword [esi + 0x74]
add eax, 4
dec ecx
jne 0x10089f83
mov eax, dword [esi + 0x74]
cmp eax, edi
jne 0x10089f9f
pop edi
xor eax, eax
pop esi
add esp, 8
ret
lea ecx, [eax + eax*2]
push ebx
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
lea edx, [eax + ecx*4]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x74]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x68], eax
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x60]
add esp, 0xc
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x10], edi
jbe 0x1008a22a
xor ecx, ecx
push ebp
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x54]
cmp dword [edx + ebx*4], 0
je 0x1008a21d
test ebx, ebx
jne 0x1008a01b
mov eax, dword [esi + 0x50]
test byte [eax + 0xc], 1
je 0x1008a01b
mov dword [esi + 0x84], 1
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x64]
lea ebp, [ebx + ebx*2]
shl ebp, 4
mov edx, dword [edx + ebp + 8]
mov dword [edi + eax], edx
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ebp + 0xc]
test al, 1
jne 0x1008a056
mov edx, eax
and edx, 4
cmp dl, 4
je 0x1008a04d
mov edx, eax
and edx, 8
cmp dl, 8
jne 0x1008a056
test ah, 2
jne 0x1008a056
xor eax, eax
jmp 0x1008a05b
mov eax, 1
mov edx, dword [esi + 0x68]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x68]
cmp dword [ecx + eax], 0
je 0x1008a074
mov dword [esi + 0x88], 1
mov edx, dword [esi + 0x50]
mov eax, dword [edx + ebp + 0xc]
mov edx, dword [esi + 0x6c]
and eax, 0x10
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x7c]
mov dword [edi + eax + 8], ecx
mov al, byte [esi + 0x3c]
test al, 2
je 0x1008a099
add dword [esi + 0x7c], 4
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x7c]
mov dword [edi + edx + 0xc], eax
mov al, byte [esi + 0x3c]
test al, 1
je 0x1008a0ae
add dword [esi + 0x7c], 4
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x7c]
mov dword [edi + ecx + 4], edx
mov eax, dword [esi + 0x64]
xor ecx, ecx
mov dword [edi + eax + 0x10], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + edx + 0x18], ecx
movsx eax, word [esi + 0x3c]
mov edx, eax
and eax, 2
and edx, 1
shl edx, 2
or edx, eax
mov eax, dword [esi + 0x64]
or edx, 1
mov dword [edi + eax + 0x1c], edx
mov edx, dword [esi + 0x64]
mov dword [edi + edx + 0x20], ecx
mov eax, dword [esi + 0x64]
mov dword [edi + eax + 0x24], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + edx + 0x2c], ecx
mov eax, dword [esi + 0x58]
cmp dword [eax + ebx*4], ecx
je 0x1008a17d
push 0x14
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 0x64]
add esp, 4
mov dword [edi + ecx + 0x14], eax
mov edx, dword [esi + 0x64]
mov eax, dword [edi + edx + 0x14]
mov dword [eax], 0
mov ecx, dword [esi + 0x64]
mov eax, 4
mov edx, dword [edi + ecx + 0x14]
mov ecx, dword [0x100cc8a0]
add edx, eax
mov dword [edx], ecx
mov ecx, dword [0x100cc8a4]
mov dword [edx + 4], ecx
mov ecx, dword [0x100cc8a8]
mov dword [edx + 8], ecx
mov ecx, dword [0x100cc8ac]
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + edx + 0x28], eax
mov ecx, dword [esi + 0x64]
mov word [edi + ecx + 0x30], 0xd
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x64]
add ecx, eax
mov dword [esi + 0x7c], ecx
mov byte [edi + edx + 0x32], 0
mov ecx, dword [esi + 0x64]
mov byte [edi + ecx + 0x33], 0
jmp 0x1008a210
mov edx, dword [esi + 0x64]
push 1
mov dword [edi + edx + 0x14], ecx
mov eax, dword [esi + 0x50]
add eax, ebp
mov ecx, dword [eax + 0x10]
mov dx, word [eax + 0x14]
push ecx
push edx
call fcn.1003fab0
mov ecx, dword [esi + 0x64]
push 1
mov dword [edi + ecx + 0x28], eax
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x64]
mov cx, word [edx + ebp + 0x14]
mov word [edi + eax + 0x30], cx
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x64]
mov cl, byte [edx + ebp + 0x16]
mov byte [edi + eax + 0x32], cl
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x64]
mov cl, byte [edx + ebp + 0x17]
mov byte [edi + eax + 0x33], cl
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x50]
mov eax, dword [edx + ebx*4]
mov dx, word [ecx + ebp + 0x14]
push eax
push edx
call fcn.1003fab0
mov ecx, dword [esi + 0x64]
add esp, 0x18
lea edx, [edi + ecx + 0x28]
mov ecx, dword [edi + ecx + 0x28]
cmp ecx, eax
ja 0x1008a1fa
cmp ecx, 0xffffffff
jne 0x1008a1fc
mov dword [edx], eax
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x7c]
mov eax, dword [edi + edx + 0x28]
add ecx, eax
mov eax, 4
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
add edi, 0x34
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x60]
inc ebx
cmp ebx, eax
jb 0x10089ff7
pop ebp
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x1008a29e
mov eax, dword [esi + 0x74]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov edx, dword [esi]
add esp, 4
lea edi, [esi + 0x30]
mov ecx, esi
push edi
mov dword [esi + 0x70], eax
call dword [edx + 4]
test eax, eax
mov dword [esp + 0x10], eax
jl 0x1008a29e
mov edx, dword [esi + 0x70]
mov eax, dword [edi]
push edx
lea edx, [esi + 0x78]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x64]
push 0
push edx
mov edx, dword [esi + 0x74]
push edx
push 2
push eax
call dword [ecx + 0x10]
mov ebx, eax
mov eax, dword [edi]
push ebx
push 0x100cbeb8
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.1008af00
test ebx, ebx
jge 0x1008a29e
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
pop ebx
pop edi
setge al
pop esi
add esp, 8
ret