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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push esi
add ebx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
push edi
push 0
push 0x1a0
test eax, eax
je 0x1021b23c
mov ecx, eax
call fcn.101a4ce0
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x1021b247
call fcn.101a4690
mov edi, eax
mov dword [esp + 0x20], eax
add esp, 8
test edi, edi
je 0x1021b25e
push 0x1a0
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 0x1c], edi
test edi, edi
je 0x1021b9f5
or word [ebx + 0xa], 0x10
lea esi, [edi + 0x18]
push 0x180
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x48]
mov ecx, edi
mov dword [edi], eax
mov byte [edi + 9], 0
push 0x2b
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
call fcn.1021c9f0
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, edi
call fcn.1021ccc0
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x51], 0
jne 0x1021b9f5
mov eax, dword [edi + 0xc]
or edx, 0xffffffff
mov esi, dword [edi + 0x14]
or ecx, 0xffffffff
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
js 0x1021b51d
mov eax, edx
or eax, ecx
je 0x1021b515
movzx eax, word [esi + 0xc]
test eax, 0x1ff
jne 0x1021b46a
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x58], xmm0
call fcn.101a4ce0
mov edi, eax
add esp, 8
test edi, edi
je 0x1021b44d
or word [esi + 0xa], 0x20
mov eax, 0x400
push 0x180
mov dword [esi + 0x1c], edi
xorps xmm0, xmm0
mov word [esi + 0xc], ax
lea esi, [edi + 0x18]
push 0
push esi
movlpd qword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [ebx]
mov dword [edi], eax
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
mov edx, dword [edx]
push 0x2c
call fcn.1021c9f0
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, edi
call fcn.1021ccc0
mov eax, dword [esp + 0x30]
mov dword [edi + 4], ebx
cmp byte [eax + 0x51], 0
jne 0x1021b418
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x1021b418
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov eax, dword [esi]
mov al, byte [eax]
cmp al, 0x31
je 0x1021b3f0
cmp al, 0x35
jb 0x1021b3e1
cmp al, 0x39
jbe 0x1021b3f0
cmp al, 0x32
je 0x1021b3f0
cmp al, 0x2d
je 0x1021b3f0
cmp word [esi + 0xc], 0x40
jne 0x1021b40e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + 0x1e8]
call fcn.1021d040
mov ecx, dword [esp + 0x20]
or ecx, eax
or ebx, edx
mov dword [esp + 0x20], ecx
add esi, 0x30
sub edi, 1
jne 0x1021b3d1
jmp 0x1021b420
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
and edx, ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
and ecx, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
jmp 0x1021b4fd
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
jmp 0x1021b4fd
movzx eax, word [esi + 0xa]
test al, 8
jne 0x1021b4fd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x14]
add ecx, 0x1e8
call fcn.1021d040
mov edi, eax
mov ebx, edx
movzx eax, word [esi + 0xa]
test al, 2
je 0x1021b4be
mov esi, dword [esi + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
lea esi, [esi + esi*2]
mov edx, dword [eax + 0x14]
add esi, esi
lea ecx, [ecx + 0x1e8]
mov edx, dword [edx + esi*8 + 0x14]
call fcn.1021d040
mov esi, dword [esp + 0x38]
or edi, eax
or ebx, edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and edx, edi
movzx eax, word [esi + 0xc]
and ecx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
test al, 2
jne 0x1021b4f5
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
jmp 0x1021b4fd
and dword [esp + 0x1c], edi
and dword [esp + 0x20], ebx
mov eax, dword [esp + 0x44]
add esi, 0x30
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
test eax, eax
jns 0x1021b301
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x18]
mov dword [edi + 0x198], edx
mov eax, 0x200
or edx, ecx
mov dword [edi + 0x19c], ecx
mov word [ebx + 0xc], ax
je 0x1021b6fc
mov eax, dword [esp + 0x34]
mov byte [eax + 9], 1
cmp dword [edi + 0xc], 2
jne 0x1021b6fc
mov ecx, dword [edi + 0x14]
xor edx, edx
xor ebx, ebx
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x1021b567
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x1021b578
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x1021b576
mov edi, dword [eax + 0x14]
add edi, ebx
jmp 0x1021b578
xor edi, edi
inc edx
mov dword [esp + 0x38], edi
add ebx, 0x30
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ebx
test edi, edi
je 0x1021b6f8
xor edx, edx
xor ebx, ebx
jmp 0x1021b5a4
mov edi, dword [esp + 0x38]
jmp 0x1021b5a0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x1021b5c2
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x1021b5d3
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x1021b5d1
mov esi, dword [esi + 0x14]
add esi, ebx
jmp 0x1021b5d3
xor esi, esi
inc edx
add ebx, 0x30
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
test esi, esi
je 0x1021b6eb
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x1021b59c
test dl, 0x3e
mov edx, dword [esp + 0x10]
je 0x1021b5a0
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x1021b618
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x1021b5a0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov edx, dword [edx + 0xc]
call fcn.101e5a00
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x1021b5a0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov edx, dword [edx + 0x10]
call fcn.101e5a00
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x1021b5a0
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x1021b675
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax]
test edx, edx
je 0x1021b59c
mov ecx, dword [eax]
push 0
push 0
call fcn.101df3f0
mov edx, dword [esp + 0x18]
mov edi, eax
add esp, 8
test edi, edi
je 0x1021b596
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x1021b6bf
xor ecx, ecx
inc ecx
mov eax, 2
shl eax, cl
inc edx
cmp esi, eax
jne 0x1021b6b2
mov ecx, dword [esp + 0x34]
mov byte [edi], dl
mov edx, edi
push 3
call fcn.1021a830
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0x3c]
push eax
call fcn.1021bce0
mov edi, dword [esp + 0x3c]
add esp, 4
jmp 0x1021b59c
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
jmp 0x1021b553
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x1021b9f5
xor ebx, ebx
mov ecx, 0xffbf
or edx, 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], edx
jmp 0x1021b724
mov edi, dword [esp + 0x18]
test ebx, ebx
jne 0x1021b897
mov eax, dword [esp + 0x18]
mov edi, dword [edi + 0x14]
mov ebx, dword [eax + 0xc]
sub ebx, 1
mov dword [esp + 0x44], ebx
js 0x1021b9f5
and word [edi + 0xa], cx
mov eax, ebx
mov esi, dword [edi + 0x14]
mov dword [esp + 0x4c], eax
cmp esi, edx
je 0x1021b7a6
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x1021b77c
add ecx, 0x1f0
nop word [eax + eax]
cmp dword [ecx], esi
je 0x1021b7b9
inc eax
add ecx, 4
cmp eax, edx
jl 0x1021b770
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
and ecx, dword [esp + 0x1c]
and edx, dword [esp + 0x20]
or ecx, edx
jne 0x1021b7d0
mov eax, dword [esp + 0x4c]
mov ecx, 0xffbf
mov edx, dword [esp + 0x38]
dec ebx
add edi, 0x30
mov dword [esp + 0x44], ebx
test eax, eax
jg 0x1021b743
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x1021b78d
mov eax, dword [edi]
mov edx, esi
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0xa]
mov edi, dword [esp + 0x44]
mov ebx, 1
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], eax
test ebx, ebx
je 0x1021b878
cmp dword [esi + 0xa], edx
je 0x1021b809
mov eax, 0xffbf
and word [esi], ax
jmp 0x1021b860
cmp dword [esi + 0x12], ecx
jne 0x1021b85e
cmp ecx, 0xfffffffe
jne 0x1021b82c
mov edx, dword [esi - 0xa]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push eax
mov edx, dword [edx + 0xc]
call fcn.101e5a00
add esp, 8
test eax, eax
jne 0x1021b85e
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.101ddc90
mov ecx, dword [esi - 0xa]
movsx eax, al
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + 0xc]
call fcn.101ddc90
movsx ecx, al
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1021b858
cmp eax, ecx
jne 0x1021b85e
or word [esi], 0x40
jmp 0x1021b860
xor ebx, ebx
mov ecx, dword [esp + 0x10]
add esi, 0x30
sub edi, 1
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
jns 0x1021b7f2
mov eax, dword [esp + 0x14]
mov ecx, 0xffbf
inc eax
mov dword [esp + 0x14], eax
cmp eax, 2
jl 0x1021b720
test ebx, ebx
je 0x1021b9f5
mov eax, dword [esp + 0x18]
xor ebx, ebx
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
mov esi, dword [eax + 0x14]
js 0x1021b90b
nop word [eax + eax]
test byte [esi + 0xa], 0x40
je 0x1021b8eb
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1021b8d1
mov ecx, dword [esp + 0x30]
push 0
push 0
call fcn.101df3f0
add esp, 8
jmp 0x1021b8d3
xor eax, eax
push eax
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call fcn.101e0110
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x1021b8b0
test edx, edx
je 0x1021b90b
mov ecx, dword [esp + 0x30]
push 0
push 0
call fcn.101df3f0
add esp, 8
mov edi, eax
jmp 0x1021b90d
xor edi, edi
mov eax, dword [esp + 0x40]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.101a4ce0
mov esi, eax
add esp, 8
test esi, esi
je 0x1021b9d5
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x31
or eax, 0xffffffff
mov edx, esi
mov word [esi + 0x22], ax
push 0
push edi
mov edi, dword [esp + 0x48]
mov ecx, dword [edi]
call fcn.101decb0
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x1021b96c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.101a82a0
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, esi
push 3
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.1021a830
mov ecx, dword [esp + 0x40]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.1021bce0
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x60]
add esp, 4
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [esi + eax + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1021b9e6
mov eax, dword [esp + 0x40]
mov edx, edi
mov ecx, dword [eax]
call fcn.101df1b0
test ebx, ebx
je 0x1021b9f5
mov ecx, dword [esp + 0x30]
mov edx, ebx
call fcn.101e04b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret