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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, ecx
mov dword [esp + 0x30], edx
xor ecx, ecx
mov dword [esp + 4], eax
cmp dword [ebp + 0xc], ecx
push ebx
mov ebx, dword [eax]
setne cl
push esi
push edi
mov edi, dword [ebp + 8]
mov dl, byte [ecx + edi + 0x19]
mov byte [esp + 0xf], dl
cmp dl, 7
jne 0x4b4b74
mov eax, dword [ebx + 0x20]
and eax, 0x80000
or eax, 0
jne 0x4b5519
mov eax, dword [esp + 0x10]
add ecx, 7
mov esi, dword [edi + ecx*4]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x50], ecx
jmp 0x4b4b89
add ecx, 7
mov esi, dword [edi + ecx*4]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x50], ecx
test dl, dl
je 0x4b5572
test esi, esi
jne 0x4b5572
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], esi
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], esi
push ecx
mov dword [esp + 0x28], esi
mov ecx, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x44]
mov edx, esi
push edi
call fcn.004b2c50
add esp, 0xc
test eax, eax
jne 0x4b5519
xor ecx, ecx
mov dword [esp + 0x4c], ecx
cmp dword [edi + 0x14], ecx
jle 0x4b5139
nop
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b4bed
mov edx, dword [eax + ecx*4]
jmp 0x4b4bf0
mov edx, dword [edi + 0x24]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b4c01
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x4b4c05
movzx eax, word [esi + 0x28]
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b4c1b
xor esi, esi
jmp 0x4b4c2f
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b4c20
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [edi]
lea ecx, [edx + edx*4]
shl ecx, 2
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4b4c4d
xor edi, edi
jmp 0x4b4c61
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4b4c52
sub edi, ecx
and edi, 0x3fffffff
lea eax, [edi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b4cbe
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x34]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0x3b
mov dword [ecx + 8], eax
test edi, edi
je 0x4b4cb0
push edi
push dword [esp + 0x34]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [ecx + 8]
mov byte [edi + eax], 0
mov dword [ecx + 0x18], 1
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b4d1b
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0x3b
mov dword [ecx + 8], eax
test esi, esi
je 0x4b4d0d
push esi
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [ecx + 8]
mov byte [esi + eax], 0
mov dword [ecx + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.004581b0
mov edx, eax
add esp, 8
mov dword [esp + 0x48], edx
test edx, edx
je 0x4b4d70
push 0x34
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x54]
add esp, 0xc
lea ecx, [edx + 0x34]
or eax, 0xffffffff
mov byte [edx], 0x3b
mov word [edx + 0x22], ax
mov dword [edx + 8], ecx
mov ax, word [0x60014c]
mov word [ecx], ax
mov al, byte [0x60014e]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edx + 0x18], 1
push dword [esp + 0x28]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, 0x8b
call fcn.00492070
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x35
push eax
call fcn.00492070
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00492120
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4b4f75
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b4e17
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0x3b
mov dword [ecx + 8], eax
test esi, esi
je 0x4b4e09
push esi
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [ecx + 8]
mov byte [esi + eax], 0
mov dword [ecx + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.004581b0
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x4b4e6a
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x50]
add esp, 0xc
lea ecx, [edx + 0x34]
or eax, 0xffffffff
mov byte [edx], 0x3b
mov word [edx + 0x22], ax
mov dword [edx + 8], ecx
mov ax, word [0x600148]
mov word [ecx], ax
mov al, byte [0x60014a]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edx + 0x18], 1
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b4ec7
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x34]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0x3b
mov dword [ecx + 8], eax
test esi, esi
je 0x4b4eb9
push esi
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [ecx + 8]
mov byte [esi + eax], 0
mov dword [ecx + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.004581b0
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x4b4f1a
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x54]
add esp, 0xc
lea ecx, [edx + 0x34]
or eax, 0xffffffff
mov byte [edx], 0x3b
mov word [edx + 0x22], ax
mov dword [edx + 8], ecx
mov ax, word [0x60014c]
mov word [ecx], ax
mov al, byte [0x60014e]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edx + 0x18], 1
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, 0x8b
push dword [esp + 0x48]
call fcn.00492070
add esp, 8
mov edx, 0x8b
push eax
push ecx
push dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x54]
call fcn.00492070
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x2d
push eax
call fcn.00492070
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00492120
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xf]
cmp al, 7
je 0x4b5120
cmp al, 0xa
jne 0x4b5055
test ecx, ecx
je 0x4b5120
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b4fee
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0x3b
mov dword [ecx + 8], eax
test esi, esi
je 0x4b4fe0
push esi
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [ecx + 8]
mov byte [esi + eax], 0
mov dword [ecx + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4b503b
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x34]
mov byte [esi], 0x3b
mov dword [esi + 8], ecx
add esp, 0xc
or eax, 0xffffffff
mov word [esi + 0x22], ax
mov ax, word [0x600148]
mov word [ecx], ax
mov al, byte [0x60014a]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [esi + 0x18], 1
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, 0x8b
push esi
call fcn.00492070
add esp, 8
mov esi, eax
jmp 0x4b50b6
cmp al, 9
jne 0x4b5084
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x54]
test byte [eax + 0x10], 0x60
jne 0x4b5084
mov edx, dword [eax + 4]
test edx, edx
je 0x4b5084
push 0
push 0
mov ecx, ebx
call fcn.00492790
add esp, 8
mov esi, eax
jmp 0x4b50b6
push 0
push 0x34
mov ecx, ebx
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4b50b6
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x18], 1
or eax, 0xffffffff
mov word [esi + 0x22], ax
mov byte [esi], 0x77
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push esi
call fcn.004933c0
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x4b5120
cmp dword [esp + 0x30], 0
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
mov dword [esp + 0x54], esi
je 0x4b5117
xor eax, eax
mov edx, edi
add edx, 1
adc eax, eax
push eax
mov eax, dword [esp + 0x14]
push edx
mov ecx, dword [eax]
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4b5119
push edi
push dword [esp + 0x34]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4b5119
xor esi, esi
mov eax, dword [esp + 0x54]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp + 8]
inc ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
cmp ecx, dword [edi + 0x14]
jl 0x4b4be0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4b519a
test ebx, ebx
je 0x4b5191
cmp dword [ebx + 0x1f8], 0
je 0x4b5159
mov edx, ecx
mov ecx, ebx
call fcn.00457e30
jmp 0x4b519a
cmp ecx, dword [ebx + 0x14c]
jae 0x4b5191
cmp ecx, dword [ebx + 0x144]
jb 0x4b5179
mov eax, dword [ebx + 0x140]
mov dword [ecx], eax
mov dword [ebx + 0x140], ecx
jmp 0x4b519a
cmp ecx, dword [ebx + 0x148]
jb 0x4b5191
mov eax, dword [ebx + 0x138]
mov dword [ecx], eax
mov dword [ebx + 0x138], ecx
jmp 0x4b519a
push ecx
call fcn.00457dc0
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4b51aa
xor esi, esi
jmp 0x4b51bf
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4b51b0
sub esi, ecx
and esi, 0x3fffffff
cmp byte [esp + 0xf], 7
jne 0x4b5353
push 0
push 0x52
mov ecx, ebx
call fcn.004581b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4b5231
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov byte [edi], 0x47
lea ecx, [edi + 0x34]
mov dword [edi + 8], ecx
add esp, 0xc
or eax, 0xffffffff
mov word [edi + 0x22], ax
movups xmm0, xmmword [str.FOREIGN_KEY_constraint_failed]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x5ffc64]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x5ffc6c]
mov dword [ecx + 0x18], eax
mov al, byte [0x5ffc70]
mov byte [ecx + 0x1c], al
mov byte [ecx + 0x1d], 0
mov dword [edi + 0x18], 1
mov byte [edi + 1], 2
mov eax, dword [esp + 0x10]
push 0
push 0x50
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x5c], eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4b525a
mov dword [esp + 0x30], eax
jmp 0x4b52e8
push 0x48
mov dword [eax + 4], 1
mov dword [eax], 1
add eax, 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov dword [ecx + 0x34], 0xffffffff
mov eax, dword [ecx]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp dword [esp + 0x2c], eax
je 0x4b52cb
mov ecx, dword [esp + 0x54]
mov edx, esi
add edx, 1
adc eax, eax
push eax
push edx
call fcn.004581b0
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x4b52cf
push esi
push dword [esp + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x40]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4b52cf
mov dword [esp + 0x34], eax
mov ecx, eax
call fcn.0045b950
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
mov dword [ecx - 0x38], eax
mov dword [ecx - 0x3c], 0
mov eax, dword [esp + 0x10]
push 0
push 0x18
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x5c], eax
call fcn.004581b0
add esp, 8
test eax, eax
je 0x4b5316
mov dword [eax], 1
xorps xmm0, xmm0
movups xmmword [eax + 8], xmm0
mov dword [eax + 4], edi
jmp 0x4b5327
test edi, edi
je 0x4b5325
mov ecx, dword [esp + 0x54]
mov edx, edi
call fcn.00492560
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x48]
call fcn.004c3740
add esp, 0x1c
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
inc dword [ebx + 0x118]
xor eax, eax
mov word [ebx + 0x11c], ax
mov ecx, ebx
lea eax, [esi + 0x55]
push 0
push eax
call fcn.004581b0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4b54af
lea eax, [esi + 0x55]
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [edi + 0x24]
lea eax, [ecx + 0x30]
mov dword [esp + 0x20], ecx
mov dword [edi + 0x1c], ecx
mov dword [ecx + 0xc], eax
push esi
push dword [esp + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4b53c7
push 0
push 1
mov edx, eax
mov ecx, ebx
call fcn.00492790
add esp, 8
jmp 0x4b53c9
xor eax, eax
mov esi, dword [esp + 0x20]
mov ecx, ebx
mov edx, dword [esp + 0x24]
push 1
mov dword [esi + 0x14], eax
call fcn.00492b00
mov edx, dword [esp + 0x3c]
add esp, 4
mov ecx, ebx
mov dword [esi + 0x18], eax
push 1
call fcn.00493090
add esp, 4
mov dword [esi + 8], eax
cmp dword [esp + 0x14], 0
je 0x4b549e
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4b547e
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, esi
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
call fcn.00491da0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4b5466
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0045b840
add esp, 0xc
push 0
push 1
mov edx, esi
mov dword [esp + 0x1c], esi
mov ecx, ebx
call fcn.00492790
add esp, 8
mov ecx, eax
jmp 0x4b5493
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00492560
mov dword [esp + 0x14], esi
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [edi + 0xc], ecx
mov esi, dword [esp + 0x18]
add dword [ebx + 0x118], 0xffffffff
je 0x4b54b3
xor eax, eax
jmp 0x4b54ba
mov esi, edi
jmp 0x4b54a2
movzx eax, word [ebx + 0x11e]
mov word [ebx + 0x11c], ax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b54d2
mov edx, eax
mov ecx, ebx
call fcn.00492560
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b54e3
mov edx, eax
mov ecx, ebx
call fcn.00492560
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b54f4
mov edx, eax
mov ecx, ebx
call fcn.004936e0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b550a
push 1
mov edx, eax
mov ecx, ebx
call fcn.004c3630
add esp, 4
cmp byte [ebx + 0x51], 1
jne 0x4b5522
mov edx, edi
mov ecx, ebx
call fcn.004b3e50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0xf]
mov ebx, dword [ebp + 0xc]
cmp al, 7
je 0x4b5547
cmp al, 0xa
jne 0x4b553e
test ebx, ebx
jne 0x4b553e
mov eax, dword [esp + 0x20]
mov byte [eax], 0x7e
jmp 0x4b554e
mov eax, dword [esp + 0x20]
mov byte [eax], 0x7f
jmp 0x4b554e
mov eax, dword [esp + 0x20]
mov byte [eax], 0x88
mov edx, dword [esp + 0x3c]
test ebx, ebx
mov dword [eax + 4], edi
mov eax, dword [edx + 0x48]
mov dword [edi + 0x14], eax
mov ecx, dword [edx + 0x48]
mov eax, dword [esp + 0x50]
mov dword [edi + 0x18], ecx
setne cl
add cl, 0x7e
mov dword [eax], edi
mov byte [edi + 8], cl
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret