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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax]
push edi
mov edi, dword [eax + 0x14]
lea edx, [edx + edx*2]
shl edx, 4
mov ecx, dword [ebx]
add edi, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
push 0
mov ecx, dword [ecx]
mov eax, dword [edi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
push 0x1a0
test ecx, ecx
je 0x4919ac
call fcn.00415d30
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4919b7
call fcn.00415750
mov esi, eax
mov dword [esp + 0x14], eax
add esp, 8
test esi, esi
je 0x4919ce
push 0x1a0
push 0
push esi
call fcn.004c04c0
add esp, 0xc
mov dword [edi + 0x1c], esi
test esi, esi
je 0x49221f
or word [edi + 0xa], 0x10
add esi, 0x18
push 0x180
push 0
push esi
call fcn.004c04c0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x44]
mov dword [eax], ebx
mov ebx, eax
push 0x2b
mov ecx, ebx
mov byte [ebx + 9], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 8
mov dword [ebx + 0x14], esi
call fcn.00493540
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, ebx
call fcn.004939c0
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x51], 0
jne 0x49221f
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov ebx, dword [ebx + 0x14]
or esi, 0xffffffff
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebx
js 0x491d59
mov eax, edx
or eax, esi
je 0x491d55
movzx eax, word [ebx + 0xc]
test eax, 0x1ff
jne 0x491c28
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x58], xmm0
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x491c0f
or word [ebx + 0xa], 0x20
lea esi, [edi + 0x18]
push 0x180
xorps xmm0, xmm0
mov dword [ebx + 0x1c], edi
mov eax, 0x400
movlpd qword [esp + 0x24], xmm0
push 0
push esi
mov word [ebx + 0xc], ax
call fcn.004c04c0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
mov eax, dword [eax]
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 [ebx]
push 0x2c
call fcn.00493540
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, edi
call fcn.004939c0
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x51], 0
jne 0x491bde
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x491bde
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
nop dword [eax + eax]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x491b6f
cmp al, 0x35
jb 0x491b60
cmp al, 0x39
jbe 0x491b6f
cmp al, 0x32
je 0x491b6f
cmp al, 0x2d
je 0x491b6f
cmp word [ebx + 0xc], 0x40
jne 0x491bb9
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x491b98
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x491bc3
inc eax
add ecx, 4
cmp eax, edx
jl 0x491b88
mov esi, dword [esp + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
or esi, ecx
mov ecx, dword [esp + 0x1c]
or ecx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
add ebx, 0x30
sub edi, 1
jne 0x491b50
jmp 0x491be6
mov esi, dword [esp + 0x20]
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 0x491ba9
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
and edx, esi
mov esi, dword [esp + 0x34]
and esi, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x491d35
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x491d39
movzx eax, word [ebx + 0xa]
test al, 8
jne 0x491d3d
mov ecx, dword [esp + 0x30]
xor eax, eax
mov esi, dword [ecx + 0x1ec]
test esi, esi
jle 0x491c60
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
nop dword [eax]
cmp dword [ecx], edx
je 0x491cfc
inc eax
add ecx, 4
cmp eax, esi
jl 0x491c50
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xa]
test al, 2
je 0x491cc5
xor edx, edx
test esi, esi
jle 0x491cac
mov eax, dword [ecx + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
add ecx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0x1f0
nop
cmp dword [eax], ecx
je 0x491d16
inc edx
add eax, 4
cmp edx, esi
jl 0x491ca0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
or edi, eax
or ebx, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
and edx, edi
movzx eax, word [ecx + 0xc]
and esi, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
test al, 2
jne 0x491d2d
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jmp 0x491d35
xor edi, edi
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
jmp 0x491c71
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
jmp 0x491cbd
and dword [esp + 0x1c], edi
and dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add ebx, 0x30
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], eax
test eax, eax
jns 0x491a73
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
mov eax, 0x200
mov dword [ebx + 0x198], edx
or edx, esi
mov dword [ebx + 0x19c], esi
mov word [edi + 0xc], ax
je 0x491f3c
mov eax, dword [esp + 0x2c]
mov byte [eax + 9], 1
cmp dword [ebx + 0xc], 2
jne 0x491f3c
mov ecx, dword [ebx + 0x14]
xor edx, edx
xor ebx, ebx
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x491da7
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x491db8
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x491db6
mov edi, dword [eax + 0x14]
add edi, ebx
jmp 0x491db8
xor edi, edi
inc edx
mov dword [esp + 0x34], edi
add ebx, 0x30
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ebx
test edi, edi
je 0x491f38
xor edx, edx
xor ebx, ebx
jmp 0x491de4
mov edi, dword [esp + 0x34]
jmp 0x491de0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x491e02
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x491e13
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x491e11
mov esi, dword [esi + 0x14]
add esi, ebx
jmp 0x491e13
xor esi, esi
inc edx
add ebx, 0x30
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
test esi, esi
je 0x491f2b
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x491ddc
test dl, 0x3e
mov edx, dword [esp + 0x14]
je 0x491de0
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x491e58
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x491de0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov edx, dword [edx + 0xc]
call fcn.00454180
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x491de0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov edx, dword [edx + 0x10]
call fcn.00454180
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x491de0
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x491eb5
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax]
test edx, edx
je 0x491ddc
mov ecx, dword [eax]
push 0
push 0
call fcn.0044d210
mov edx, dword [esp + 0x1c]
mov edi, eax
add esp, 8
test edi, edi
je 0x491dd6
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x491eff
xor ecx, ecx
inc ecx
mov eax, 2
shl eax, cl
inc edx
cmp esi, eax
jne 0x491ef2
mov ecx, dword [esp + 0x2c]
mov byte [edi], dl
mov edx, edi
push 3
call fcn.004911b0
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x38]
push eax
call fcn.00492610
mov edi, dword [esp + 0x38]
add esp, 4
jmp 0x491ddc
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
jmp 0x491d93
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x49221f
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
nop dword [eax]
test eax, eax
jne 0x4920bd
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
sub ebx, 1
js 0x49221f
and word [edi + 0xa], dx
mov esi, dword [edi + 0x14]
cmp esi, ecx
je 0x491fca
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x491fa4
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x491fd9
inc eax
add ecx, 4
cmp eax, edx
jl 0x491f98
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 0x491ff0
mov ecx, dword [esp + 0x34]
mov edx, 0xffbf
add edi, 0x30
sub ebx, 1
jns 0x491f77
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 0x491fb5
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x34], esi
lea esi, [edi + 0xa]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x492096
mov edi, dword [esp + 0x34]
cmp dword [esi + 0xa], edi
je 0x49202b
mov ecx, 0xffbf
and word [esi], cx
jmp 0x492082
cmp dword [esi + 0x12], ecx
jne 0x49207c
cmp ecx, 0xfffffffe
jne 0x49204e
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
mov edx, dword [esi - 0xa]
mov edx, dword [edx + 0xc]
call fcn.00454180
add esp, 8
test eax, eax
jne 0x49207c
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.0044be10
mov ecx, dword [esi - 0xa]
movsx edi, al
mov ecx, dword [ecx + 0xc]
call fcn.0044be10
movsx eax, al
test edi, edi
je 0x492072
cmp edi, eax
jne 0x49207c
or word [esi], 0x40
mov eax, dword [esp + 0x18]
jmp 0x492082
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
add esi, 0x30
sub ebx, 1
mov edx, dword [esp + 0x14]
jns 0x492010
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc edx
mov ebx, dword [esp + 0xc]
cmp edx, 2
mov dword [esp + 0x40], edx
mov edx, 0xffbf
jl 0x491f60
test eax, eax
je 0x49221f
mov eax, dword [esp + 0xc]
xor ebx, ebx
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
mov esi, dword [eax + 0x14]
js 0x49212b
test byte [esi + 0xa], 0x40
je 0x49210b
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4920f1
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.0044d210
add esp, 8
jmp 0x4920f3
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call fcn.0044ddc0
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x4920d0
test edx, edx
je 0x49212b
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.0044d210
add esp, 8
mov edi, eax
jmp 0x49212d
xor edi, edi
mov eax, dword [esp + 0x3c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00415d30
mov esi, eax
add esp, 8
test esi, esi
je 0x4921ff
push 0x34
push 0
push esi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x492172
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.0044c850
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x492196
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00419050
add esp, 0xc
mov ecx, dword [esp + 0x44]
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 + 0x30]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.004911b0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.00492610
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x50]
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 0x492210
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [eax]
call fcn.0044d010
test ebx, ebx
je 0x49221f
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0044e120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret