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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x104]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [eax + 0x50], 1
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
jne 0x49ca1f
lea eax, [esi + esi*8]
mov ecx, dword [edx + 0x20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x34]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x18], esi
cmp dword [edx + 0x44], ebx
jne 0x49ca1f
cmp dword [esi + 0x44], ebx
jne 0x49ca1f
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test eax, eax
je 0x49c139
cmp dword [edx + 0x3c], ebx
jne 0x49ca1f
cmp dword [eax + 0x10], ebx
jne 0x49ca1f
test dword [edx + 4], 0x100
je 0x49c14a
test eax, eax
jne 0x49ca1f
cmp dword [ecx], ebx
je 0x49ca1f
test byte [esi + 4], 1
jne 0x49ca1f
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x49c178
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jg 0x49ca1f
test edi, edi
jne 0x49ca1f
cmp dword [edx + 0x30], ebx
je 0x49c186
cmp dword [esi + 0x30], ebx
jne 0x49ca1f
test edi, edi
je 0x49c193
cmp dword [esi + 0x30], ebx
jne 0x49ca1f
cmp dword [esi + 0x3c], ebx
je 0x49c1ab
cmp dword [edx + 0x24], ebx
jne 0x49ca1f
test byte [edx + 4], 1
jne 0x49ca1f
test dword [esi + 4], 0x2000
jne 0x49ca1f
mov edx, dword [esp + 0x1c]
mov dl, byte [edx + 0x2c]
test dl, 0x60
je 0x49c1fc
cmp dword [ecx], 1
jg 0x49ca1f
mov eax, dword [ecx + 0x18]
cmp byte [eax + 0x2b], 1
je 0x49ca1f
mov eax, dword [esp + 0x28]
test byte [eax + 4], 1
jne 0x49ca1f
test dl, 0x10
jne 0x49ca1f
mov eax, 1
mov dword [esp + 0x48], eax
jmp 0x49c1fe
xor eax, eax
cmp dword [esp + 0x34], ebx
jle 0x49c20e
test byte [ecx + 0x2c], 0x40
jne 0x49ca1f
cmp dword [esi + 0x34], ebx
je 0x49c389
cmp dword [esi + 0x30], ebx
jne 0x49ca1f
test edi, edi
jne 0x49ca1f
mov edi, dword [esp + 0x28]
test byte [edi + 4], 1
jne 0x49ca1f
test eax, eax
jne 0x49ca1f
mov eax, esi
test byte [eax + 4], 9
jne 0x49ca1f
mov edx, dword [eax + 0x34]
test edx, edx
je 0x49c25a
cmp byte [eax], 0x87
jne 0x49ca1f
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x49ca1f
cmp dword [eax + 0x44], ebx
jne 0x49ca1f
cmp dword [esp + 0x34], ebx
jle 0x49c27f
test byte [ecx + 0x2c], 0x40
jne 0x49ca1f
mov eax, edx
test eax, eax
jne 0x49c240
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x49c2a6
mov eax, dword [ecx]
test eax, eax
jle 0x49c2a6
add ecx, 0x18
cmp word [ecx], bx
je 0x49ca1f
inc edx
add ecx, 0x14
cmp edx, eax
jl 0x49c295
test dword [edi + 4], 0x2000
jne 0x49ca1f
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
cmp dword [eax], ebx
jle 0x49c318
xor edi, edi
add eax, 8
mov ecx, dword [eax + edi]
call fcn.0045a8a0
mov esi, dword [esi + 0x34]
mov bl, al
test esi, esi
je 0x49c2fb
nop dword [eax + eax]
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi + 8]
call fcn.0045a8a0
cmp al, bl
jne 0x49ca1f
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x49c2e0
mov ecx, dword [esp + 0x40]
add edi, 0x14
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ecx]
lea eax, [ecx + 8]
jl 0x49c2c7
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jle 0x49c389
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x6c], 0x1f4
jg 0x49ca1f
mov edi, dword [esp + 0x14]
test dword [edi + 0x50], 0x800000
jne 0x49ca1f
mov eax, dword [eax + 0x28]
mov ecx, edi
cdq
mov esi, eax
add esi, 1
adc edx, 0
shld edx, esi, 2
push edx
shl esi, 2
push esi
call fcn.004190c0
mov ebx, eax
add esp, 8
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x49c383
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esi + 0x28]
mov dword [ebx], eax
jmp 0x49c391
mov dword [esp + 0x24], ebx
jmp 0x49c38d
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov edx, 0x15
push 0
push 0
push 0
mov eax, dword [eax + 0x10]
mov ecx, esi
mov dword [esi + 0x104], eax
call fcn.0046dcc0
mov eax, dword [esp + 0x48]
add esp, 0xc
mov dword [esi + 0x104], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x30], eax
test edx, edx
je 0x49c3d6
mov ecx, edi
call fcn.00418c30
mov edx, dword [esi + 0x10]
test edx, edx
je 0x49c3e4
mov ecx, edi
call fcn.00418c30
mov edx, dword [esi + 0x14]
test edx, edx
je 0x49c3f2
mov ecx, edi
call fcn.00418c30
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x1c], 0
mov eax, dword [eax + 0x34]
mov dword [esp + 0x38], eax
test eax, eax
je 0x49c534
jmp 0x49c429
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edi, dword [edx + 0x18]
push 0
mov eax, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x3c]
mov dword [edx + 0x18], 0
mov edx, ecx
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
call fcn.0045d1c0
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [edx + 0x30], ebx
mov ebx, dword [esp + 0x24]
mov dword [edx + 0x3c], esi
mov byte [edx], 0x87
mov dword [eax + 0x18], edi
test ecx, ecx
jne 0x49c494
mov eax, dword [esp + 0x2c]
jmp 0x49c517
mov esi, dword [esp + 0xc]
inc dword [esi + 0x6c]
mov eax, dword [esi + 0x6c]
mov dword [ecx + 0x10], eax
test ebx, ebx
je 0x49c504
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x49c504
push dword [esp + 0x34]
mov edx, ebx
push dword [ecx + 0x20]
mov ecx, esi
call fcn.0049bfb0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
add esp, 8
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
mov dword [esp + 0x68], 0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x58], 0x49c040
mov dword [esp + 0x5c], fcn.004182e0
call fcn.00457100
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x49c512
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], edx
mov eax, ecx
mov ecx, edx
mov edx, 0x34
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x49c425
test ebx, ebx
je 0x49c543
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.00418c30
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
je 0x49c572
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [eax + 0x1c], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x49c61a
mov eax, dword [esi + 0x18]
cmp eax, 1
jne 0x49c60f
mov ecx, dword [esp + 0xc]
mov edi, ecx
mov eax, dword [ecx + 0x80]
test eax, eax
cmovne edi, eax
mov eax, dword [0x570670]
test eax, eax
je 0x49c5d6
push 0x12c
call eax
mov ecx, dword [edi]
add esp, 4
test eax, eax
je 0x49c5d8
call fcn.00419390
mov ecx, dword [edi]
cmp dword [ecx + 0x210], 0
jne 0x49c5cd
add dword [esi + 0x18], 0xffffffff
jne 0x49c613
mov edx, esi
call fcn.0046f290
jmp 0x49c613
mov ecx, dword [edi]
push 0
push 0xc
test ecx, ecx
je 0x49c5e7
call fcn.004190c0
jmp 0x49c5ec
call fcn.00418960
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x49c5bc
mov eax, dword [edi + 0x8c]
mov dword [ecx], eax
mov dword [edi + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x46f4e0
jmp 0x49c613
dec eax
mov dword [esi + 0x18], eax
mov dword [ebx + 0x18], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ebx, edx
mov esi, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
lea eax, [eax + eax*8]
mov dword [esp + 0x24], edx
shl eax, 3
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
mov edi, dword [esi + 0x20]
mov byte [esp + 0x13], 0
mov al, byte [eax + ecx + 0x2c]
mov ecx, dword [edi]
and al, 0x40
mov byte [esp + 0x12], al
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], eax
cmp ebx, edx
jne 0x49c672
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x2c]
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x20]
cmp ecx, 1
jle 0x49c6a8
mov eax, dword [esp + 0x34]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00476970
mov edx, eax
add esp, 8
mov dword [esp + 0x20], edx
test edx, edx
je 0x49c9b8
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x20], edx
jmp 0x49c6b0
test ecx, ecx
jle 0x49c782
mov esi, dword [esp + 0x18]
add edi, 8
add esi, 0x2c
mov dword [esp + 0x4c], edi
add esi, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
nop dword [eax + eax]
test dword [esi + 4], 0x400
je 0x49c71a
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x49c71a
xor edi, edi
cmp dword [ebx], edi
jle 0x49c70b
lea esi, [ebx + 8]
nop dword [eax]
mov edx, dword [esi]
test edx, edx
je 0x49c6ff
mov ecx, dword [esp + 0x14]
call fcn.00418c30
inc edi
add esi, 8
cmp edi, dword [ebx]
jl 0x49c6f0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.00418ce0
mov edi, dword [esp + 0x4c]
movups xmm0, xmmword [edi]
mov al, byte [esp + 0x12]
push 0x48
movups xmmword [esi - 0x24], xmm0
push 0
movups xmm0, xmmword [edi + 0x10]
push edi
movups xmmword [esi - 0x14], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi - 4], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [esi + 0x1c], xmm0
or byte [esi], al
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x50], eax
call sub.VCRUNTIME140.dll_memset
add esi, 0x48
add edi, 0x48
add esp, 0xc
mov dword [esp + 0x38], esi
sub dword [esp + 0x3c], 1
mov dword [esp + 0x4c], edi
jne 0x49c6d0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + edx + 0x2c]
and al, 0x40
or al, byte [esp + 0x12]
or al, byte [esp + 0x13]
mov byte [ecx + edx + 0x2c], al
mov edx, dword [esi + 0x30]
test edx, edx
je 0x49c7c9
test dword [ebx + 4], 0x400000
jne 0x49c7c9
xor ecx, ecx
cmp dword [edx], ecx
jle 0x49c7bf
lea eax, [edx + 0x18]
xor edi, edi
lea eax, [eax + 0x14]
mov word [eax - 0x14], di
inc ecx
cmp ecx, dword [edx]
jl 0x49c7b1
mov dword [ebx + 0x30], edx
mov dword [esi + 0x30], 0
cmp dword [esp + 0x48], 0
mov edi, dword [esi + 0x24]
mov dword [esi + 0x24], 0
jbe 0x49c7ea
mov edx, dword [esp + 0x44]
mov ecx, edi
push 1
call fcn.00494010
add esp, 4
test edi, edi
je 0x49c8b2
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x49c8ab
mov eax, dword [esp + 0xc]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004190c0
mov esi, eax
add esp, 8
test esi, esi
je 0x49c888
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x2c
mov word [esi + 0x22], ax
add esp, 0xc
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov ecx, dword [ebx + 0x18]
inc ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
jl 0x49c85c
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp ecx, eax
jle 0x49c89e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0041c7c0
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x2c]
jmp 0x49c8b2
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
call fcn.0045c540
mov ecx, dword [edi]
mov edx, ebx
call fcn.0045c540
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x2c]
jmp 0x49c8b2
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x24], edi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x49c910
mov eax, dword [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x49c8f9
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x49c8f0
mov eax, dword [ecx + 0x1c]
mov edx, ebx
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], eax
call fcn.0049be20
add esp, 4
mov eax, dword [esi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49c92c
mov dword [ebx + 0x3c], eax
mov dword [esi + 0x3c], 0
mov edi, dword [esp + 0x40]
test edi, edi
jle 0x49c99a
mov esi, dword [esp + 0x20]
add esi, 0x40
add esi, dword [esp + 0x18]
nop
cmp dword [esi - 0x28], 0
je 0x49c98e
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
lea eax, [esi - 0x38]
movlpd qword [esp + 0x60], xmm0
mov edx, ebx
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], 0x49bf70
mov dword [esp + 0x5c], fcn.004182e0
mov dword [esp + 0x6c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00457100
add esi, 0x48
sub edi, 1
jne 0x49c940
mov esi, dword [esp + 0x2c]
mov ebx, dword [ebx + 0x34]
mov esi, dword [esi + 0x34]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], esi
test ebx, ebx
jne 0x49c640
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x70]
mov ebx, dword [esp + 0x30]
xorps xmm0, xmm0
mov edx, ebx
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x465b60
mov dword [esp + 0x78], fcn.004182e0
call fcn.00457100
test ebx, ebx
je 0x49ca05
mov ecx, dword [esp + 0x14]
mov edx, ebx
push 1
call fcn.00493930
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret