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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x100]
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 0x4a70bf
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 0x4a70bf
cmp dword [esi + 0x44], ebx
jne 0x4a70bf
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test eax, eax
je 0x4a6809
cmp dword [edx + 0x3c], ebx
jne 0x4a70bf
cmp dword [eax + 0x10], ebx
jne 0x4a70bf
test dword [edx + 4], 0x100
je 0x4a681a
test eax, eax
jne 0x4a70bf
cmp dword [ecx], ebx
je 0x4a70bf
test byte [esi + 4], 1
jne 0x4a70bf
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4a6848
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jg 0x4a70bf
test edi, edi
jne 0x4a70bf
cmp dword [edx + 0x30], ebx
je 0x4a6856
cmp dword [esi + 0x30], ebx
jne 0x4a70bf
test edi, edi
je 0x4a6863
cmp dword [esi + 0x30], ebx
jne 0x4a70bf
cmp dword [esi + 0x3c], ebx
je 0x4a687b
cmp dword [edx + 0x24], ebx
jne 0x4a70bf
test byte [edx + 4], 1
jne 0x4a70bf
test dword [esi + 4], 0x2000
jne 0x4a70bf
mov edx, dword [esp + 0x1c]
mov dl, byte [edx + 0x2c]
test dl, 0x60
je 0x4a68cc
cmp dword [ecx], 1
jg 0x4a70bf
mov eax, dword [ecx + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4a70bf
mov eax, dword [esp + 0x28]
test byte [eax + 4], 1
jne 0x4a70bf
test dl, 0x10
jne 0x4a70bf
mov eax, 1
mov dword [esp + 0x48], eax
jmp 0x4a68ce
xor eax, eax
cmp dword [esp + 0x34], ebx
jle 0x4a68de
test byte [ecx + 0x2c], 0x40
jne 0x4a70bf
cmp dword [esi + 0x34], ebx
je 0x4a6a59
cmp dword [esi + 0x30], ebx
jne 0x4a70bf
test edi, edi
jne 0x4a70bf
mov edi, dword [esp + 0x28]
test byte [edi + 4], 1
jne 0x4a70bf
test eax, eax
jne 0x4a70bf
mov eax, esi
test byte [eax + 4], 9
jne 0x4a70bf
mov edx, dword [eax + 0x34]
test edx, edx
je 0x4a692a
cmp byte [eax], 0x87
jne 0x4a70bf
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x4a70bf
cmp dword [eax + 0x44], ebx
jne 0x4a70bf
cmp dword [esp + 0x34], ebx
jle 0x4a694f
test byte [ecx + 0x2c], 0x40
jne 0x4a70bf
mov eax, edx
test eax, eax
jne 0x4a6910
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4a6976
mov eax, dword [ecx]
test eax, eax
jle 0x4a6976
add ecx, 0x18
cmp word [ecx], bx
je 0x4a70bf
inc edx
add ecx, 0x14
cmp edx, eax
jl 0x4a6965
test dword [edi + 4], 0x2000
jne 0x4a70bf
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
cmp dword [eax], ebx
jle 0x4a69e8
xor edi, edi
add eax, 8
mov ecx, dword [eax + edi]
call fcn.00466cd0
mov esi, dword [esi + 0x34]
mov bl, al
test esi, esi
je 0x4a69cb
nop dword [eax + eax]
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi + 8]
call fcn.00466cd0
cmp al, bl
jne 0x4a70bf
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x4a69b0
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 0x4a6997
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jle 0x4a6a59
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x68], 0x1f4
jg 0x4a70bf
mov edi, dword [esp + 0x14]
test dword [edi + 0x50], 0x800000
jne 0x4a70bf
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.00427e60
mov ebx, eax
add esp, 8
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x4a6a53
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 0x4a6a61
mov dword [esp + 0x24], ebx
jmp 0x4a6a5d
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 + 0x100], eax
call fcn.00479b90
mov eax, dword [esp + 0x48]
add esp, 0xc
mov dword [esi + 0x100], 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 0x4a6aa6
mov ecx, edi
call fcn.004279d0
mov edx, dword [esi + 0x10]
test edx, edx
je 0x4a6ab4
mov ecx, edi
call fcn.004279d0
mov edx, dword [esi + 0x14]
test edx, edx
je 0x4a6ac2
mov ecx, edi
call fcn.004279d0
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 0x4a6c04
jmp 0x4a6af9
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.004692a0
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 0x4a6b64
mov eax, dword [esp + 0x2c]
jmp 0x4a6be7
mov esi, dword [esp + 0xc]
inc dword [esi + 0x68]
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x10], eax
test ebx, ebx
je 0x4a6bd4
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x4a6bd4
push dword [esp + 0x34]
mov edx, ebx
push dword [ecx + 0x20]
mov ecx, esi
call fcn.004a6680
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], 0x4a6710
mov dword [esp + 0x5c], fcn.0040e670
call fcn.00463940
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x4a6be2
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 0x4a6af5
test ebx, ebx
je 0x4a6c13
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.004279d0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
je 0x4a6c42
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.004e3214
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4a6cc1
mov eax, dword [esi + 0x18]
cmp eax, 1
jne 0x4a6cb6
mov ecx, dword [esp + 0xc]
mov edi, ecx
push 0
push 0xc
mov eax, dword [ecx + 0x7c]
test eax, eax
cmovne edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4a6c74
call fcn.00427e60
jmp 0x4a6c79
call fcn.00427700
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a6c9c
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov dword [edi + 0x88], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x47b3e0
jmp 0x4a6cba
mov ecx, dword [edi]
cmp dword [ecx + 0x210], 0
jne 0x4a6cad
add dword [esi + 0x18], 0xffffffff
jne 0x4a6cba
mov edx, esi
call fcn.0047b180
jmp 0x4a6cba
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
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 0x4a6d13
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x2c]
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x20]
cmp ecx, 1
jle 0x4a6d49
mov eax, dword [esp + 0x34]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004826a0
mov edx, eax
add esp, 8
mov dword [esp + 0x20], edx
test edx, edx
je 0x4a7058
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x20], edx
jmp 0x4a6d51
test ecx, ecx
jle 0x4a6e22
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]
test dword [esi + 4], 0x400
je 0x4a6dba
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4a6dba
xor edi, edi
cmp dword [ebx], edi
jle 0x4a6dab
lea esi, [ebx + 8]
nop dword [eax]
mov edx, dword [esi]
test edx, edx
je 0x4a6d9f
mov ecx, dword [esp + 0x14]
call fcn.004279d0
inc edi
add esi, 8
cmp edi, dword [ebx]
jl 0x4a6d90
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.00427a80
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 0x4a6d70
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 0x4a6e69
test dword [ebx + 4], 0x400000
jne 0x4a6e69
xor ecx, ecx
cmp dword [edx], ecx
jle 0x4a6e5f
lea eax, [edx + 0x18]
xor edi, edi
lea eax, [eax + 0x14]
mov word [eax - 0x14], di
inc ecx
cmp ecx, dword [edx]
jl 0x4a6e51
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 0x4a6e8a
mov edx, dword [esp + 0x44]
mov ecx, edi
push 1
call fcn.0049e930
add esp, 4
test edi, edi
je 0x4a6f56
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x4a6f4f
mov eax, dword [esp + 0xc]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00427e60
mov esi, eax
add esp, 8
test esi, esi
je 0x4a6f2c
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 0x4a6f00
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 0x4a6f42
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0042b560
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x2c]
jmp 0x4a6f56
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
call fcn.00468660
mov ecx, dword [edi]
mov edx, ebx
call fcn.00468660
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x2c]
jmp 0x4a6f56
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x24], edi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x4a6fb0
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 0x4a6f99
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4a6f90
mov eax, dword [ecx + 0x1c]
mov edx, ebx
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], eax
call fcn.004a64f0
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 0x4a6fcc
mov dword [ebx + 0x3c], eax
mov dword [esi + 0x3c], 0
mov edi, dword [esp + 0x40]
test edi, edi
jle 0x4a703a
mov esi, dword [esp + 0x20]
add esi, 0x40
add esi, dword [esp + 0x18]
nop
cmp dword [esi - 0x28], 0
je 0x4a702e
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], 0x4a6640
mov dword [esp + 0x5c], fcn.0040e670
mov dword [esp + 0x6c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00463940
add esi, 0x48
sub edi, 1
jne 0x4a6fe0
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 0x4a6ce1
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], 0x471b90
mov dword [esp + 0x78], fcn.0040e670
call fcn.00463940
test ebx, ebx
je 0x4a70a5
mov ecx, dword [esp + 0x14]
mov edx, ebx
push 1
call fcn.0049e320
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004e3214
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.004e3214
mov esp, ebp
pop ebp
ret