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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, edx
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax + 0x14]
push edi
mov edi, dword [eax]
lea edx, [edx + edx*2]
shl edx, 4
add ebx, edx
mov dword [esp + 0x28], eax
push 0
mov ecx, dword [edi]
mov dword [esp + 0x3c], ecx
mov eax, dword [ebx]
mov dword [esp + 0x34], edi
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], eax
push 0x1a0
test ecx, ecx
je 0x4a7b4c
call fcn.0041ca80
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x4a7b57
call fcn.0041c400
mov esi, eax
mov dword [esp + 0x18], eax
add esp, 8
test esi, esi
je 0x4a83e9
push 0x1a0
push 0
push esi
call fcn.004f13c0
or word [ebx + 0xa], 0x10
add esp, 0xc
mov dword [ebx + 0x1c], esi
mov ebx, dword [esp + 0x10]
push 0x180
push 0
lea esi, [ebx + 0x18]
push esi
call fcn.004f13c0
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, ebx
mov dword [ebx], edi
mov byte [ebx + 9], 0
mov dword [ebx + 4], 0
push 0x2b
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 8
mov dword [ebx + 0x14], esi
call fcn.004a97a0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, ebx
call fcn.004a9cb0
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x51], 0
jne 0x4a83ec
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov ebx, dword [ebx + 0x14]
or edi, 0xffffffff
sub eax, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebx
js 0x4a7ef5
nop dword [eax]
mov eax, edx
or eax, edi
je 0x4a7ef5
movzx eax, word [ebx + 0xc]
mov ecx, eax
mov dword [esp + 0x50], ecx
test eax, 0x1ff
jne 0x4a7dcc
xorps xmm0, xmm0
mov ecx, esi
push 0
push 0x198
movlpd qword [esp + 0x58], xmm0
call fcn.0041ca80
mov edi, eax
add esp, 8
test edi, edi
je 0x4a7daf
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 + 0x44], xmm0
push 0
push esi
mov word [ebx + 0xc], ax
call fcn.004f13c0
mov eax, dword [esp + 0x34]
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.004a97a0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, edi
call fcn.004a9cb0
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x51], 0
jne 0x4a7d7e
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4a7d7e
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x4a7d0f
cmp al, 0x35
jb 0x4a7d00
cmp al, 0x39
jbe 0x4a7d0f
cmp al, 0x32
je 0x4a7d0f
cmp al, 0x2d
je 0x4a7d0f
cmp word [ebx + 0xc], 0x40
jne 0x4a7d59
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4a7d38
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4a7d63
inc eax
add ecx, 4
cmp eax, edx
jl 0x4a7d28
mov esi, dword [esp + 0x24]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
or esi, ecx
mov ecx, dword [esp + 0x20]
or ecx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
add ebx, 0x30
sub edi, 1
jne 0x4a7cf0
jmp 0x4a7d86
mov esi, dword [esp + 0x24]
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 0x4a7d49
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
and edx, esi
mov esi, dword [esp + 0x54]
and edi, ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x4a7ed5
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x4a7ed9
movzx eax, word [ebx + 0xa]
mov ecx, eax
mov dword [esp + 0x40], ecx
test al, 8
jne 0x4a7edd
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edi, dword [ecx + 0x1ec]
test edi, edi
jle 0x4a7e07
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4a7e9c
inc eax
add ecx, 4
cmp eax, edi
jl 0x4a7df7
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
test byte [esp + 0x40], 2
je 0x4a7e66
xor edx, edx
test edi, edi
jle 0x4a7e51
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0x1f0
cmp dword [eax], ecx
je 0x4a7eb6
inc edx
add eax, 4
cmp edx, edi
jl 0x4a7e45
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
or esi, eax
or ebx, ecx
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
and edx, esi
and edi, ebx
mov dword [esp + 0x1c], edx
test byte [esp + 0x50], 2
mov dword [esp + 0x18], edi
jne 0x4a7ecd
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
jmp 0x4a7ed5
xor esi, esi
xor ebx, ebx
bts esi, eax
cmp eax, 0x20
cmovae ebx, esi
xor esi, ebx
cmp eax, 0x40
cmovae ebx, esi
jmp 0x4a7e18
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 0x4a7e62
and dword [esp + 0x20], esi
and dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add ebx, 0x30
dec ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ecx
test ecx, ecx
jns 0x4a7c10
mov ecx, dword [esp + 0x10]
mov esi, 0x200
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x198], edx
or edx, edi
mov dword [ecx + 0x19c], edi
mov word [eax + 0xc], si
je 0x4a80f1
mov eax, dword [esp + 0x28]
mov byte [eax + 9], 1
cmp dword [ecx + 0xc], 2
jne 0x4a80f1
xor ecx, ecx
xor edx, edx
jmp 0x4a7f3a
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov edi, 0x400
mov eax, dword [eax + 0x14]
cmp word [eax + 0xc], di
je 0x4a7f55
xor edi, edi
test ecx, ecx
cmove edi, eax
jmp 0x4a7f66
mov eax, dword [eax + 0x1c]
cmp ecx, dword [eax + 0xc]
jge 0x4a80ed
mov edi, dword [eax + 0x14]
add edi, edx
inc ecx
mov dword [esp + 0x2c], edi
add edx, 0x30
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test edi, edi
je 0x4a80ed
xor ecx, ecx
xor edx, edx
jmp 0x4a7f8e
mov edi, dword [esp + 0x2c]
jmp 0x4a7f8e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ebx, 0x400
mov eax, dword [eax + 0x14]
add eax, 0x30
cmp word [eax + 0xc], bx
je 0x4a7fac
xor esi, esi
test ecx, ecx
cmove esi, eax
jmp 0x4a7fbd
mov esi, dword [eax + 0x1c]
cmp ecx, dword [esi + 0xc]
jge 0x4a7f32
mov esi, dword [esi + 0x14]
add esi, edx
inc ecx
add edx, 0x30
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test esi, esi
je 0x4a7f32
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
test cl, 0x3e
mov ecx, dword [esp + 0x18]
movzx ebx, ax
je 0x4a7f8a
test dl, 0x3e
mov edx, dword [esp + 0x1c]
je 0x4a7f8e
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x4a8006
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x4a7f8e
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov edx, dword [edx + 0xc]
call fcn.004640d0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4a7f8e
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov edx, dword [edx + 0x10]
call fcn.004640d0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4a7f8e
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x4a806b
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [esp + 0x28]
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
test edx, edx
je 0x4a7f8a
mov ecx, dword [eax]
push 0
push 0
call fcn.0045c240
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [esp + 0x24]
add esp, 8
test edi, edi
je 0x4a7f84
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x4a80bd
xor ecx, ecx
inc ecx
mov eax, 2
shl eax, cl
inc edx
cmp esi, eax
jne 0x4a80b0
mov ecx, dword [esp + 0x28]
mov byte [edi], dl
mov edx, edi
push 3
call fcn.004a7090
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x34]
push eax
call fcn.004a8890
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x18]
jmp 0x4a7f8a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x4a83ec
xor edi, edi
or edx, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edi
jmp 0x4a8114
mov ecx, dword [esp + 0x10]
test edi, edi
jne 0x4a8280
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x2c], ecx
mov ebx, dword [eax + 0xc]
sub ebx, 1
js 0x4a83ec
mov edi, 0xffbf
lea esi, [ecx + 0xa]
and word [esi], di
mov edi, dword [ecx + 0x14]
cmp edi, edx
je 0x4a8191
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4a816c
add ecx, 0x1f0
nop dword [eax + eax]
cmp dword [ecx], edi
je 0x4a81a4
inc eax
add ecx, 4
cmp eax, edx
jl 0x4a8160
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
and ecx, dword [esp + 0x20]
and edx, dword [esp + 0x24]
or ecx, edx
jne 0x4a81bb
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, 0x30
sub ebx, 1
mov dword [esp + 0x2c], ecx
jns 0x4a8133
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 0x4a817d
mov eax, dword [esp + 0x2c]
mov edx, edi
mov dword [esp + 0x1c], edx
mov edi, 1
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
nop word [eax + eax]
test edi, edi
je 0x4a8266
cmp dword [esi + 0xa], edx
je 0x4a81f7
mov eax, 0xffbf
and word [esi], ax
jmp 0x4a824e
cmp dword [esi + 0x12], ecx
jne 0x4a824c
cmp ecx, 0xfffffffe
jne 0x4a821a
mov edx, dword [esi - 0xa]
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
mov edx, dword [edx + 0xc]
call fcn.004640d0
add esp, 8
test eax, eax
jne 0x4a824c
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.0045a7e0
mov ecx, dword [esi - 0xa]
movsx eax, al
mov dword [esp + 0x58], eax
mov ecx, dword [ecx + 0xc]
call fcn.0045a7e0
movsx ecx, al
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4a8246
cmp eax, ecx
jne 0x4a824c
or word [esi], 0x40
jmp 0x4a824e
xor edi, edi
mov ecx, dword [esp + 0x50]
add esi, 0x30
sub ebx, 1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
jns 0x4a81e0
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, 2
jl 0x4a8110
test edi, edi
je 0x4a83ec
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
mov esi, dword [eax + 0x14]
js 0x4a82ee
test byte [esi + 0xa], 0x40
je 0x4a82ce
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4a82b4
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.0045c240
add esp, 8
jmp 0x4a82b6
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call fcn.0045cfe0
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x4a8293
test edx, edx
je 0x4a82ee
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.0045c240
add esp, 8
mov edi, eax
jmp 0x4a82f0
xor edi, edi
mov eax, dword [esp + 0x38]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0041ca80
mov esi, eax
add esp, 8
test esi, esi
je 0x4a83c2
push 0x34
push 0
push esi
call fcn.004f13c0
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x4a8335
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.0045b570
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4a8359
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004205b0
add esp, 0xc
mov ecx, dword [esp + 0x4c]
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 + 0x2c]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.004a7090
mov ecx, dword [esp + 0x38]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004a8890
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 [eax + esi + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4a83d3
mov eax, dword [esp + 0x38]
mov edx, edi
mov ecx, dword [eax]
call fcn.0045bfa0
test ebx, ebx
je 0x4a83ec
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.0045d420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret