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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 8]
mov eax, dword [ecx + 0x34]
mov esi, dword [ebx]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], eax
test eax, eax
je 0x495c10
cmp dword [eax], esi
je 0x495c0c
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x495c01
mov dword [esp + 0x38], eax
movsx eax, word [ecx + 0x22]
mov ecx, dword [ebx + 0x28]
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
mov dword [esp + 0x28], 0
mov dword [ebx + 0x28], eax
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
cmp dword [edi + 0x70], edx
jg 0x495c5f
push 0
push dword [esp + 0x20]
mov edx, 0x76
push ecx
mov ecx, edi
call fcn.00437140
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x495c92
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x2c], eax
cmp dword [ecx], 1
jle 0x495f82
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], 0
test byte [eax + 0x1c], 0x80
jne 0x495d36
mov edx, dword [ebp + 0x10]
push 0
test edx, edx
je 0x495cdd
push 0
mov ecx, esi
call fcn.0044efb0
add esp, 8
mov esi, eax
jmp 0x495de5
mov ecx, dword [ebx]
push 0x34
call fcn.00413890
mov esi, eax
add esp, 8
test esi, esi
je 0x495de5
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x4b
mov word [esi + 0x22], ax
add esp, 0xc
mov dword [esi + 0x18], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
cmp eax, 1
jge 0x495de5
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00417860
add esp, 0xc
jmp 0x495de5
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x495d55
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x495d51
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x495d41
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
movzx eax, word [eax]
mov dword [esp + 0x3c], eax
cwde
mov eax, dword [ecx + eax*4]
test eax, eax
js 0x495d8e
mov edx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 8]
test edx, edx
je 0x495d8a
push 0
push 0
mov ecx, esi
call fcn.0044efb0
add esp, 8
mov esi, eax
jmp 0x495de5
xor esi, esi
jmp 0x495de5
mov ecx, dword [ebx]
push 0
push 0x34
call fcn.00413890
mov esi, eax
add esp, 8
test esi, esi
je 0x495de5
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x4b
mov word [esi + 0x22], ax
add esp, 0xc
mov dword [esi + 0x18], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
cmp eax, 1
jge 0x495ddc
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00417860
add esp, 0xc
mov eax, dword [esp + 0x3c]
inc eax
mov word [esi + 0x20], ax
mov ecx, dword [ebx]
mov edx, esi
call fcn.0044fb40
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x24], ecx
cmp dx, word [eax + 0x22]
jge 0x495f49
mov edi, ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x495e88
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 8]
test edx, edx
je 0x495e33
mov ecx, dword [esp + 0x30]
push 0
push 0
call fcn.0044efb0
add esp, 8
mov edx, eax
jmp 0x495e35
xor edx, edx
test esi, esi
jne 0x495e47
mov ecx, dword [edi]
call fcn.0044fb40
mov esi, eax
jmp 0x495f29
mov eax, dword [esi]
lea ebx, [eax + 1]
cmp dword [esi + 4], ebx
jge 0x495e65
mov ecx, dword [edi]
push edx
mov edx, esi
call fcn.0044fbb0
add esp, 4
mov esi, eax
jmp 0x495f29
movups xmm0, xmmword [0x4f940c]
lea eax, [eax + eax*4]
mov dword [esi], ebx
lea ecx, [esi + eax*4]
mov eax, dword [0x4f941c]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
jmp 0x495f29
mov ecx, dword [edi]
push 0
push 0x34
call fcn.00413890
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x495edf
push 0x34
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [ebx], 0x4b
mov word [ebx + 0x22], ax
add esp, 0xc
mov dword [ebx + 0x18], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp eax, 1
jge 0x495ed6
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00417860
add esp, 0xc
mov eax, dword [esp + 0x24]
inc eax
mov word [ebx + 0x20], ax
test esi, esi
jne 0x495ef0
mov ecx, dword [edi]
mov edx, ebx
call fcn.0044fb40
mov esi, eax
jmp 0x495f29
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x495f0b
mov ecx, dword [edi]
mov edx, esi
push ebx
call fcn.0044fbb0
add esp, 4
mov esi, eax
jmp 0x495f29
movups xmm0, xmmword [0x4f940c]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x4f941c]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
movsx eax, word [eax + 0x22]
cmp ecx, eax
jl 0x495e07
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
sub esp, 8
mov ecx, ebx
push dword [ebp + 0x18]
push dword [esp + 0x38]
push esi
push dword [esp + 0x2c]
call fcn.004931b0
add esp, 0x18
test esi, esi
je 0x495f75
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.00450000
mov dword [esp + 0x3c], 0
jmp 0x49639d
push 0
push 4
push 0
inc eax
mov edx, ecx
push 0
mov dword [esp + 0x40], eax
mov ecx, ebx
push 0
push dword [ebp + 0x18]
inc eax
mov dword [ebx + 0x2c], eax
call fcn.004a9280
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
je 0x4965f5
mov eax, dword [ebp + 8]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x22]
jge 0x496063
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
add edx, 2
add edx, esi
mov eax, dword [eax + esi*4]
test eax, eax
js 0x495feb
push edx
lea edx, [eax + eax*4]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*4 + 8]
call fcn.004560e0
add esp, 4
jmp 0x496050
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49600a
push edx
push esi
push dword [esp + 0x20]
mov edx, 0xaf
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x496039
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xaf
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x496050
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 8]
inc esi
movsx eax, word [eax + 0x22]
cmp esi, eax
jl 0x495fc1
mov eax, dword [ebp + 8]
test byte [eax + 0x1c], 0x80
jne 0x496126
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x496090
push 0
push dword [esp + 0x18]
mov edx, 0x87
mov ecx, edi
push dword [esp + 0x20]
call fcn.00437140
add esp, 0xc
jmp 0x4960c3
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
inc esi
test edx, edx
je 0x4960df
push esi
mov ecx, ebx
call fcn.004560e0
add esp, 4
jmp 0x4961ef
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x496102
push 0
push esi
push dword [esp + 0x20]
mov edx, 0x87
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x4961ef
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
jmp 0x4961df
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x496140
nop dword [eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x496140
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x496130
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x6c]
movsx esi, word [eax]
cmp dword [edi + 0x70], ecx
jg 0x496168
push dword [esp + 0x14]
mov edx, 0xaf
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00437140
add esp, 0xc
jmp 0x496197
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xaf
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
add esi, 2
mov ecx, dword [edi + 0x6c]
add esi, eax
lea edx, [eax + 1]
cmp dword [edi + 0x70], ecx
jg 0x4961c0
push 0
push edx
push esi
mov edx, 0x51
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x4961ef
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov eax, dword [esp + 0x28]
movzx esi, byte [eax + 0x2e]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x496293
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x496237
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.00437b50
add esp, 4
mov word [esi], 0xb8
mov dword [esi + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49625b
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x49646c
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49646c
mov eax, dword [ebx + 0x78]
mov ecx, ebx
mov esi, dword [esp + 0x30]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4962c7
push esi
push dword [esp + 0x20]
mov edx, 0x61
mov ecx, edi
push dword [esp + 0x1c]
call fcn.00437140
add esp, 0xc
jmp 0x4962f6
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49631c
push 0
lea eax, [esi + 1]
mov edx, 0x7f
push eax
push dword [esp + 0x18]
mov ecx, edi
call fcn.00437140
add esp, 0xc
lea edx, [esi + 1]
jmp 0x49634e
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
lea edx, [esi + 1]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49636e
push edx
push esi
mov esi, dword [esp + 0x18]
mov edx, 0x80
push esi
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x4963a1
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp dword [eax], 1
jne 0x4963b3
mov ecx, dword [esp + 0x28]
call fcn.004aa240
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x24], edx
cmp dword [edi + 0x70], edx
jg 0x4963d9
push 0
push 0
push esi
mov edx, 0x24
mov ecx, edi
call fcn.00437140
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x496408
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x49646c
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x496436
push edx
push esi
push ebx
mov edx, 0x5e
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x496461
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x496414
mov ebx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00499300
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x49649b
push dword [esp + 0x14]
mov edx, 7
mov ecx, edi
push dword [esp + 0x20]
push 0
call fcn.00437140
add esp, 0xc
mov edx, eax
jmp 0x4964ce
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff5
push dword [esp + 0x3c]
mov ecx, edi
call fcn.00437de0
mov ecx, dword [edi + 0x6c]
add esp, 8
test ecx, ecx
jle 0x496501
mov eax, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, ax
cmp eax, 0xb
mov eax, dword [edi + 0x68]
mov esi, 2
cmove edx, esi
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ebx, eax
cmp dword [esp + 0x3c], 0
mov byte [ebx + 0x15], 1
jne 0x4965ec
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x6c]
lea edx, [ebx + 1]
cmp dword [edi + 0x70], ecx
jg 0x49653f
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x27
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x49656e
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x496580
mov eax, 0x5160d8
jmp 0x496589
mov eax, dword [edi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4965b2
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, edi
call fcn.00437140
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
call fcn.004aa240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret