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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov ecx, 0x101080ea
call fcn.100de193
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1008c7e7
cmp dword [edi + 0x74], ecx
jne 0x1008c7da
test byte [eax + 0x4c], 8
jne 0x1008c7da
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.1005f1c0
mov ecx, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x10]
jge 0x1008c80a
movzx eax, byte [ebx + 0x18]
mov edx, 0x2f
push 0
push 0
push eax
call fcn.1005f370
add esp, 0xc
mov dword [esp + 0x24], eax
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1008c8ce
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1008c828
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x1008c82b
or eax, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, edi
push eax
push dword [ebp + 0x18]
call fcn.1008c6d0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1008c84d
movzx ecx, word [ebx + esi*4]
jmp 0x1008c851
movzx ecx, word [edx + 0x24]
movsx eax, cx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1008c87e
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008c870
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x18]
mov edx, 0x3b
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push 0
push eax
call fcn.100744a0
push eax
push dword [esp + 0x20]
mov edx, 0x35
mov ecx, edi
call fcn.10074680
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.10074790
mov edx, eax
inc esi
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x10], edx
cmp esi, dword [eax + 0x14]
jl 0x1008c818
mov ebx, eax
jmp 0x1008c8d0
xor edx, edx
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebx]
jne 0x1008cab8
cmp dword [ebp + 0x1c], 0
jle 0x1008cab8
test byte [ecx + 0x24], 0x80
jne 0x1008c980
mov ecx, dword [edi]
lea eax, [esp + 0x28]
push 0
push eax
mov edx, 0xad
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.100744a0
mov esi, eax
add esp, 8
test esi, esi
je 0x1008c925
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, 0xa4
push 0
push eax
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.100744a0
add esp, 8
test eax, eax
je 0x1008c968
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], ebx
mov word [eax + 0x20], cx
push eax
push esi
mov edx, 0x34
mov ecx, edi
call fcn.10074680
add esp, 8
mov esi, eax
jmp 0x1008caa0
mov eax, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], 0
cmp dx, word [eax + 0x32]
jae 0x1008ca37
nop dword [eax]
mov eax, dword [eax + 4]
mov edx, ecx
mov ecx, edi
movzx esi, word [eax + ebx*2]
push esi
push dword [ebp + 0x18]
call fcn.1008c6d0
movsx ecx, si
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1008c9e4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008c9d5
sub ecx, edx
and ecx, 0x3fffffff
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x3b
push 0
push eax
call fcn.100744a0
push eax
push dword [esp + 0x34]
mov edx, 0x2d
mov ecx, edi
call fcn.10074680
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.10074790
mov ecx, dword [ebp + 8]
inc ebx
mov dword [esp + 0x28], eax
add esp, 0x14
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x32]
cmp ebx, eax
mov eax, dword [ebp + 0xc]
jl 0x1008c9a0
mov ecx, dword [edi]
push 0
push 0x34
call fcn.1003fa40
mov esi, eax
add esp, 8
test esi, esi
je 0x1008ca8f
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x13
or eax, 0xffffffff
mov edx, esi
mov word [esi + 0x22], ax
mov ecx, dword [edi]
push 0
push dword [esp + 0x18]
call fcn.10074600
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x1008caa0
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.10042d30
add esp, 0xc
jmp 0x1008caa0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1008caa0
mov ecx, dword [edi]
mov edx, eax
call fcn.10074b60
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.10074790
mov ebx, dword [ebp + 0x10]
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x3c], esi
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x38], edi
call fcn.10073580
cmp dword [edi + 0x24], 0
jne 0x1008cb2c
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.100b10d0
movzx ecx, byte [ebx + 0x18]
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, 0x95
mov esi, eax
push 0
push dword [ebp + 0x1c]
push ecx
mov ecx, edi
call fcn.1005f370
add esp, 0xc
test esi, esi
je 0x1008cb30
mov ecx, esi
call fcn.100b1bc0
jmp 0x1008cb30
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1008cb43
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.10074b60
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1008cb7a
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1008cb65
mov eax, 0x1010644c
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret