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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x519008]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x493030
cmp dword [edi + 0x74], eax
jne 0x49301f
mov eax, dword [esp + 0x28]
test byte [eax + 0x4c], 8
jne 0x49301f
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004c8600
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x24], ecx
cmp dword [ebp + 0x1c], esi
jge 0x493086
mov eax, dword [ecx + 0x6c]
movzx edx, byte [edx + 0x18]
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x70], eax
jg 0x49305d
push 0
push 0
push edx
mov edx, 0x2e
call fcn.004c8320
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x493086
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x14], ecx
jle 0x493344
lea esp, [esp]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4930b1
mov eax, dword [eax + 4]
movzx ebx, word [eax + ecx*2]
jmp 0x4930b4
or ebx, 0xffffffff
mov eax, dword [edi]
mov ecx, eax
push 0
push 0x35
mov dword [esp + 0x18], eax
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x49314d
push 0x34
push 0
push esi
call fcn.00405490
or eax, 0xffffffff
mov byte [esi], 0xa8
mov word [esi + 0x22], ax
add esp, 0xc
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
test esi, esi
je 0x49314d
test bx, bx
js 0x493143
mov edx, dword [esp + 0x14]
cmp bx, word [edx + 0x28]
je 0x493143
movsx eax, bx
mov ecx, eax
shl ecx, 4
add ecx, dword [edx + 4]
mov edx, dword [ebp + 0x18]
inc edx
add eax, edx
mov dword [esi + 0x1c], eax
mov al, byte [ecx + 0xd]
mov byte [esi + 1], al
mov eax, dword [ecx + 8]
test eax, eax
jne 0x493132
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
mov edx, esi
mov ecx, edi
call fcn.004b0f40
add esp, 4
mov esi, eax
jmp 0x49314d
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x493163
mov eax, dword [esp + 0x1c]
movzx eax, word [ecx + eax*4]
jmp 0x493167
movzx eax, word [edx + 0x24]
movsx ecx, ax
mov eax, dword [edx]
add ecx, ecx
mov edx, 0x3b
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x2c]
call fcn.004b00a0
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x10], eax
push 0
push 0x34
call fcn.004ece50
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4931fe
push 0x34
push 0
push ebx
call fcn.00405490
or eax, 0xffffffff
mov byte [ebx], 0x35
mov word [ebx + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4931ca
mov dword [ebx + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [ebx + 4], eax
test esi, esi
je 0x4931dc
mov dword [ebx + 0xc], esi
mov eax, dword [esi + 4]
and eax, 0x200104
or dword [ebx + 4], eax
mov ecx, ebx
call fcn.004b0310
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [ebx + 0x18], eax
jle 0x49321c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.004e9ae0
add esp, 0xc
jmp 0x49321c
test esi, esi
je 0x49320b
mov ecx, dword [edi]
mov edx, esi
call fcn.004afa70
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49321c
mov ecx, dword [edi]
mov edx, eax
call fcn.004afa70
mov esi, dword [esp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
test esi, esi
jne 0x493231
mov esi, ebx
jmp 0x493326
test ebx, ebx
je 0x49332a
mov eax, dword [esi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x49326a
mov eax, dword [ebx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x49326a
push ebx
push esi
mov edx, 0x2c
mov ecx, edi
call fcn.004aff90
jmp 0x493321
cmp byte [edi + 0xc8], 2
jb 0x4932b4
mov edx, esi
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x4a6f70
mov dword [esp + 0x44], 0x4a6ed0
call fcn.004b3e10
mov ecx, dword [edi]
mov edx, esi
call fcn.004afa70
cmp byte [edi + 0xc8], 2
jb 0x493303
mov edx, ebx
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0x4a6f70
mov dword [esp + 0x60], 0x4a6ed0
call fcn.004b3e10
mov ecx, dword [edi]
mov edx, ebx
call fcn.004afa70
mov ecx, dword [esp + 0x10]
mov edx, 0x93
push 0
push 0x5091a0
call fcn.004b01a0
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [eax + 0x14]
jl 0x4930a0
mov ebx, dword [esp + 0x14]
cmp ebx, dword [eax]
jne 0x49355d
cmp dword [ebp + 0x1c], 0
jle 0x49355d
test byte [ebx + 0x24], 0x20
jne 0x4933c4
mov ecx, dword [edi]
mov edx, 0xa8
push 0
call fcn.004b00a0
mov esi, eax
add esp, 4
test esi, esi
je 0x49337d
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov ebx, dword [esp + 0x38]
mov edx, 0xa2
mov ecx, dword [esp + 0x28]
push 0
mov ebx, dword [ebx + 0x34]
call fcn.004b00a0
add esp, 4
test eax, eax
je 0x4933ac
mov ecx, dword [esp + 0x14]
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.004aff90
add esp, 8
mov esi, eax
jmp 0x49354c
mov eax, dword [esp + 0x2c]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x10], ebx
xor edx, edx
mov dword [esp + 0x1c], ecx
cmp dx, word [eax + 0x32]
jae 0x4934e0
mov eax, dword [eax + 4]
push 0
push 0x35
movzx ebx, word [eax + ecx*2]
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x3c], eax
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x493480
push 0x34
push 0
push esi
call fcn.00405490
or eax, 0xffffffff
mov byte [esi], 0xa8
mov word [esi + 0x22], ax
add esp, 0xc
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
test esi, esi
je 0x493480
test bx, bx
js 0x493476
mov edx, dword [esp + 0x14]
cmp bx, word [edx + 0x28]
je 0x493476
movsx eax, bx
mov ecx, eax
shl ecx, 4
add ecx, dword [edx + 4]
mov edx, dword [ebp + 0x18]
inc edx
add eax, edx
mov dword [esi + 0x1c], eax
mov al, byte [ecx + 0xd]
mov byte [esi + 1], al
mov eax, dword [ecx + 8]
test eax, eax
jne 0x493465
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
mov edx, esi
mov ecx, edi
call fcn.004b0f40
add esp, 4
mov esi, eax
jmp 0x493480
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov eax, dword [esp + 0x14]
mov edx, 0x3b
movsx ecx, bx
add ecx, ecx
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x2c]
call fcn.004b00a0
add esp, 4
mov edx, 0x2d
mov ecx, edi
push eax
push esi
call fcn.004aff90
mov edx, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.004afe90
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x38]
inc ecx
add esp, 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [esp + 0x2c]
jl 0x4933e0
mov ecx, dword [edi]
push 0
push 0x34
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x49353f
push 0x34
push 0
push esi
call fcn.00405490
or eax, 0xffffffff
mov byte [esi], 0x13
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x49351d
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.004b0310
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x49354c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.004e9ae0
add esp, 0xc
jmp 0x49354c
test ebx, ebx
je 0x49354c
mov ecx, dword [edi]
mov edx, ebx
call fcn.004afa70
mov edx, dword [esp + 0x20]
mov ecx, edi
push esi
call fcn.004afe90
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x74]
mov edx, esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
call fcn.004b1320
cmp dword [edi + 0x24], 0
jne 0x49363e
push 0
push 0
push 0
push 0
push esi
mov edx, ebx
mov ecx, edi
call fcn.00468310
mov ebx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x4935ff
push 0
push dword [ebp + 0x1c]
mov ecx, ebx
push edx
mov edx, 0x96
call fcn.004c8320
add esp, 0xc
jmp 0x493631
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
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 edi, edi
je 0x493642
mov ecx, edi
call fcn.00467a10
jmp 0x493642
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x493651
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.004afa70
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x493693
mov edx, dword [ebx + 0x6c]
jns 0x493661
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x493686
mov eax, 0x51e9d8
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret