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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x40]
xor ecx, ecx
push esi
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x100224f4
cmp dword [ebx + 0x74], esi
jne 0x100224e5
test byte [eax + 0x4c], 8
jne 0x100224e5
mov byte [ebx + 0x17], 1
push ebx
call fcn.1005cd00
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, eax
push ebp
push edi
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x68], esi
jge 0x10022516
movzx eax, byte [edi + 0x18]
push 0
push eax
push 0x2e
push ecx
call fcn.1005c490
add esp, 0x10
mov dword [esp + 0x20], eax
xor ebp, ebp
cmp dword [edi + 0x14], esi
jle 0x10022613
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10022532
mov eax, dword [eax + 4]
movzx eax, word [eax + ebp*2]
jmp 0x10022535
or eax, 0xffffffff
push eax
push dword [esp + 0x68]
push dword [esp + 0x5c]
push ebx
call fcn.10020b60
mov dword [esp + 0x28], eax
add esp, 0x10
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10022559
movzx eax, word [eax + ebp*4]
jmp 0x1002255d
movzx eax, word [edi + 0x24]
movsx ecx, ax
mov eax, dword [edi]
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10022576
xor esi, esi
jmp 0x1002258f
mov esi, eax
lea ecx, [esi + 1]
jmp 0x10022580
mov al, byte [esi]
inc esi
test al, al
jne 0x10022580
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push dword [esp + 0x18]
call fcn.1003de20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100225e4
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x100225d9
push esi
push dword [esp + 0x20]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x1c]
push 0x35
push ebx
call fcn.1004dda0
push eax
push dword [esp + 0x60]
push ebx
call fcn.1003ffc0
mov edi, dword [esp + 0x78]
inc ebp
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x4c], esi
cmp ebp, dword [edi + 0x14]
jl 0x10022521
mov eax, dword [esp + 0x54]
cmp eax, dword [edi]
jne 0x10022859
cmp dword [esp + 0x68], 0
jle 0x10022859
mov edi, eax
test byte [edi + 0x24], 0x20
jne 0x100226e2
push 0
push 0x35
push dword [ebx]
call fcn.1003de20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1002267c
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0xa8
or eax, 0xffffffff
mov word [esi + 0x22], ax
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov byte [eax], 0
mov eax, dword [esp + 0x64]
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov ebp, dword [esp + 0x50]
push 0
push 0x35
push dword [esp + 0x18]
mov ebp, dword [ebp + 0x34]
call fcn.1003de20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100226ce
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
lea eax, [edi + 0x34]
mov byte [edi], 0xa2
add esp, 0xc
mov dword [edi + 8], eax
or ecx, 0xffffffff
mov word [edi + 0x22], cx
mov byte [eax], 0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x18], 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x1c], ebp
mov word [edi + 0x20], cx
push edi
push esi
push 0x34
push ebx
call fcn.1004dda0
add esp, 0x10
mov esi, eax
jmp 0x10022841
mov eax, dword [esp + 0x58]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x18], ebp
xor ecx, ecx
mov dword [esp + 0x1c], edx
cmp cx, word [eax + 0x32]
jae 0x100227d1
mov edi, edi
mov eax, dword [eax + 4]
movzx esi, word [eax + edx*2]
push esi
push dword [esp + 0x68]
push edi
push ebx
call fcn.10020b60
mov ecx, dword [edi + 4]
add esp, 0x10
movsx edx, si
add edx, edx
mov dword [esp + 0x24], eax
mov ebp, dword [ecx + edx*8]
test ebp, ebp
jne 0x1002272d
xor esi, esi
jmp 0x10022741
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10022732
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push dword [esp + 0x18]
call fcn.1003de20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10022793
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x10022788
push esi
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x28]
push 0x2d
push ebx
call fcn.1004dda0
push eax
push dword [esp + 0x2c]
push ebx
call fcn.1003ffc0
mov edx, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x74]
inc edx
mov edi, dword [esp + 0x70]
add esp, 0x1c
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
movzx ecx, word [eax + 0x32]
cmp edx, ecx
jl 0x10022700
push 0
push 0x34
push dword [ebx]
call fcn.1003de20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10022832
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x13
add esp, 0xc
mov word [esi + 0x22], ax
test ebp, ebp
je 0x1002280e
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.10020a60
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x10022841
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.1003fb40
add esp, 0xc
jmp 0x10022841
test ebp, ebp
je 0x10022841
push ebp
push dword [ebx]
call fcn.10042b80
add esp, 8
push esi
push dword [esp + 0x50]
push ebx
call fcn.1003ffc0
mov edi, dword [esp + 0x68]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x4c], esi
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
call fcn.10054020
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x10022962
push 0
push 0
push 0
push 0
push esi
push ebp
push ebx
call fcn.10069b00
mov ebx, dword [esp + 0x30]
add esp, 0x1c
movzx edx, byte [edi + 0x18]
mov esi, eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100228e9
push 0
push dword [esp + 0x6c]
push edx
push 0x96
push ebx
call fcn.10025690
add esp, 0x14
jmp 0x10022918
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x96
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x10022925
push esi
call fcn.1006c620
add esp, 4
mov esi, dword [esp + 0x4c]
pop edi
pop ebp
test esi, esi
je 0x1002293c
push esi
push dword [esp + 0xc]
call fcn.10042b80
add esp, 8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10022975
mov edx, dword [ebx + 0x6c]
jns 0x1002294c
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x10022968
mov eax, 0x10095994
pop esi
pop ebx
mov dword [eax + 8], edx
add esp, 0x38
ret
mov ebx, dword [esp + 0x14]
jmp 0x10022929
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop esi
pop ebx
add esp, 0x38
ret