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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
push ebx
push esi
mov ebx, dword [eax]
mov esi, edx
mov edx, dword [ebp + 8]
setne cl
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x3c], esi
mov al, byte [ecx + edx + 0x19]
mov byte [esp + 0x13], al
cmp al, 7
mov eax, dword [esp + 0x14]
jne 0x46c05a
mov eax, dword [ebx + 0x20]
and eax, 0x80000
or eax, 0
jne 0x46c957
mov eax, dword [esp + 0x14]
add ecx, 7
cmp byte [esp + 0x13], 0
mov edi, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x4c], ecx
je 0x46c9a4
test edi, edi
jne 0x46c9a4
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], edi
push ecx
mov edi, edx
mov ecx, eax
push edi
mov edx, esi
call fcn.0046a2d0
add esp, 0xc
test eax, eax
jne 0x46c957
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x14], ecx
jle 0x46c5a3
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x46c0d1
mov edx, dword [eax + ecx*4]
jmp 0x46c0d4
mov edx, dword [edi + 0x24]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46c0e5
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x46c0e9
movzx eax, word [esi + 0x28]
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46c100
xor esi, esi
jmp 0x46c114
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46c105
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [edi]
shl edx, 4
mov dword [esp + 0x48], edx
mov eax, dword [eax + 4]
mov eax, dword [edx + eax]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x46c12f
xor edi, edi
jmp 0x46c143
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x46c134
sub edi, ecx
and edi, 0x3fffffff
lea eax, [edi + 0x35]
mov dword [esp + 0x54], edi
push 0
push eax
mov ecx, ebx
call fcn.00415d30
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x46c1a4
push 0x34
push 0
push eax
call fcn.004c04c0
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
add esp, 0xc
mov word [eax + 0x22], cx
lea ecx, [eax + 0x34]
mov byte [eax], 0x3b
mov dword [eax + 8], ecx
test edi, edi
je 0x46c199
push edi
push dword [esp + 0x54]
push ecx
call fcn.004bf9c0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [eax + 8]
mov byte [ecx + edi], 0
mov dword [eax + 0x18], 1
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x46c1f7
push 0x34
push 0
push edi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x46c1ec
push esi
push dword [esp + 0x24]
push eax
call fcn.004bf9c0
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.00415d30
mov edx, eax
add esp, 8
mov dword [esp + 0x40], edx
test edx, edx
je 0x46c24c
push 0x34
push 0
push edx
call fcn.004c04c0
mov edx, dword [esp + 0x4c]
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 [0x4fd2f0]
mov word [ecx], ax
mov al, byte [0x4fd2f2]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edx + 0x18], 1
push dword [esp + 0x28]
push ecx
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
push edx
mov edx, 0x86
call fcn.0044cb30
add esp, 0xc
mov edx, 0x35
mov ecx, edi
push eax
call fcn.0044cb30
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.0044cbe0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x46c435
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.00415d30
mov edi, eax
add esp, 8
mov dword [esp + 0x40], edi
test edi, edi
je 0x46c2e8
push 0x34
push 0
push edi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x46c2dd
push esi
push dword [esp + 0x24]
push eax
call fcn.004bf9c0
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.00415d30
mov edi, eax
add esp, 8
mov dword [esp + 0x44], edi
test edi, edi
je 0x46c339
push 0x34
push 0
push edi
call fcn.004c04c0
lea ecx, [edi + 0x34]
mov byte [edi], 0x3b
mov dword [edi + 8], ecx
add esp, 0xc
or eax, 0xffffffff
mov word [edi + 0x22], ax
mov ax, word [0x4fd2ec]
mov word [ecx], ax
mov al, byte [0x4fd2ee]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edi + 0x18], 1
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x46c38c
push 0x34
push 0
push edi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x46c381
push esi
push dword [esp + 0x24]
push eax
call fcn.004bf9c0
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.00415d30
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x46c3df
push 0x34
push 0
push eax
call fcn.004c04c0
mov edx, dword [esp + 0x34]
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 [0x4fd2f0]
mov word [ecx], ax
mov al, byte [0x4fd2f2]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [edx + 0x18], 1
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, 0x86
push dword [esp + 0x48]
call fcn.0044cb30
add esp, 8
mov edx, 0x86
push eax
push ecx
push edi
push dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.0044cb30
add esp, 0xc
mov edx, 0x2d
mov ecx, edi
push eax
call fcn.0044cb30
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.0044cbe0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
cmp al, 7
je 0x46c58a
cmp al, 0xa
jne 0x46c50a
test ecx, ecx
je 0x46c58a
lea eax, [esi + 0x35]
mov ecx, ebx
push 0
push eax
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x46c4a4
push 0x34
push 0
push edi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x46c499
push esi
push dword [esp + 0x24]
push eax
call fcn.004bf9c0
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
push 0
push 0x38
mov ecx, ebx
call fcn.00415d30
mov esi, eax
add esp, 8
test esi, esi
je 0x46c4f1
push 0x34
push 0
push esi
call fcn.004c04c0
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 [0x4fd2ec]
mov word [ecx], ax
mov al, byte [0x4fd2ee]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov dword [esi + 0x18], 1
push edi
mov edi, dword [esp + 0x18]
mov edx, 0x86
push esi
mov ecx, edi
call fcn.0044cb30
add esp, 8
mov esi, eax
jmp 0x46c562
mov ecx, ebx
push 0
cmp al, 9
jne 0x46c534
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x46c534
push 0
call fcn.0044d210
add esp, 8
mov esi, eax
jmp 0x46c562
push 0x34
call fcn.00415d30
mov esi, eax
add esp, 8
test esi, esi
je 0x46c562
push 0x34
push 0
push esi
call fcn.004c04c0
add esp, 0xc
mov dword [esi + 0x18], 1
or eax, 0xffffffff
mov word [esi + 0x22], ax
mov byte [esi], 0x72
mov edx, dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.0044ddc0
add esp, 4
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x24], esi
mov edx, esi
mov ecx, edi
push 0
push eax
call fcn.0044e050
add esp, 8
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
inc ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
cmp ecx, dword [edi + 0x14]
jl 0x46c0c4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x46c5ec
test ebx, ebx
je 0x46c5e3
cmp dword [ebx + 0x1e8], 0
je 0x46c5c3
mov edx, ecx
mov ecx, ebx
call fcn.004159a0
jmp 0x46c5ec
cmp ecx, dword [ebx + 0x138]
jb 0x46c5e3
cmp ecx, dword [ebx + 0x13c]
jae 0x46c5e3
mov eax, dword [ebx + 0x134]
mov dword [ecx], eax
mov dword [ebx + 0x134], ecx
jmp 0x46c5ec
push ecx
call fcn.00415930
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46c5fc
xor esi, esi
jmp 0x46c610
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46c601
sub esi, ecx
and esi, 0x3fffffff
cmp byte [esp + 0x13], 7
jne 0x46c7ac
push 0
push 0x52
mov ecx, ebx
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x46c682
push 0x34
push 0
push edi
call fcn.004c04c0
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 [0x4fce08]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x4fce10]
mov dword [ecx + 0x18], eax
mov al, byte [0x4fce14]
mov byte [ecx + 0x1c], al
mov byte [ecx + 0x1d], 0
mov dword [edi + 0x18], 1
mov byte [edi + 1], 2
mov eax, dword [esp + 0x14]
push 0
push 0x50
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x50], eax
call fcn.00415d30
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x46c6ab
mov dword [esp + 0x28], eax
jmp 0x46c73a
push 0x48
mov dword [eax + 4], 1
mov dword [eax], 1
add eax, 8
push 0
push eax
call fcn.004c04c0
mov ecx, dword [esp + 0x34]
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 + 0x44], eax
xor eax, eax
cmp dword [esp + 0x20], eax
jne 0x46c6ed
mov dword [esp + 0x2c], eax
jmp 0x46c721
mov ecx, dword [esp + 0x48]
mov edx, esi
add edx, 1
adc eax, 0
push eax
push edx
call fcn.00415d30
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x46c721
push esi
push dword [esp + 0x24]
push eax
call fcn.004bf9c0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov byte [eax + esi], 0
mov ecx, eax
call fcn.00419140
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [ecx - 0x38], eax
mov dword [ecx - 0x3c], 0
mov eax, dword [esp + 0x14]
push 0
push 0x1c
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x50], eax
call fcn.00415d30
add esp, 8
test eax, eax
jne 0x46c769
test edi, edi
je 0x46c765
mov ecx, dword [esp + 0x48]
mov edx, edi
call fcn.0044d010
xor eax, eax
jmp 0x46c780
mov dword [eax], 1
xorps xmm0, xmm0
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x40]
call fcn.00479680
add esp, 0x1c
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0
inc dword [ebx + 0x118]
lea eax, [esi + 0x51]
push 0
push eax
mov ecx, ebx
call fcn.00415d30
mov edi, eax
add esp, 8
test edi, edi
je 0x46c8f7
lea eax, [esi + 0x51]
push eax
push 0
push edi
call fcn.004c04c0
add esp, 0xc
test edi, edi
je 0x46c8f7
lea ecx, [edi + 0x24]
push esi
push dword [esp + 0x24]
lea eax, [ecx + 0x2c]
mov dword [esp + 0x40], ecx
push eax
mov dword [edi + 0x1c], ecx
mov dword [ecx + 0xc], eax
call fcn.004bf9c0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x46c81b
push 0
push 1
mov edx, eax
mov ecx, ebx
call fcn.0044d210
add esp, 8
jmp 0x46c81d
xor eax, eax
mov esi, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [esp + 0x24]
push 1
mov dword [esi + 0x10], eax
call fcn.0044d530
mov edx, dword [esp + 0x34]
add esp, 4
mov ecx, ebx
mov dword [esi + 0x14], eax
push 1
call fcn.0044dac0
add esp, 4
mov dword [esi + 8], eax
cmp dword [esp + 0x18], 0
je 0x46c8f9
mov eax, dword [esp + 0x14]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00415d30
mov esi, eax
add esp, 8
test esi, esi
je 0x46c8bc
push 0x34
push 0
push esi
call fcn.004c04c0
or eax, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
call fcn.0044c850
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x46c8cb
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00419050
add esp, 0xc
jmp 0x46c8cb
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.0044d010
mov dword [esp + 0x18], esi
test esi, esi
je 0x46c8ec
push 0
push 1
mov edx, esi
mov ecx, ebx
call fcn.0044d210
mov esi, dword [esp + 0x40]
add esp, 8
mov dword [edi + 0xc], eax
jmp 0x46c8f9
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [edi + 0xc], eax
jmp 0x46c8f9
xor esi, esi
dec dword [ebx + 0x118]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46c910
mov edx, eax
mov ecx, ebx
call fcn.0044d010
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46c921
mov edx, eax
mov ecx, ebx
call fcn.0044d010
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46c932
mov edx, eax
mov ecx, ebx
call fcn.0044e120
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46c948
push 1
mov edx, eax
mov ecx, ebx
call fcn.00479580
add esp, 4
cmp byte [ebx + 0x51], 1
jne 0x46c960
mov edx, edi
mov ecx, ebx
call fcn.0046b3b0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x13]
mov edx, dword [ebp + 0xc]
cmp al, 7
je 0x46c97d
cmp al, 0xa
jne 0x46c978
test edx, edx
jne 0x46c978
mov byte [esi], 0x79
jmp 0x46c980
mov byte [esi], 0x7a
jmp 0x46c980
mov byte [esi], 0x83
mov ecx, dword [esp + 0x3c]
test edx, edx
mov dword [esi + 4], edi
mov eax, dword [ecx + 0x48]
mov dword [edi + 0x14], eax
mov ecx, dword [ecx + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x18], ecx
setne cl
add cl, 0x79
mov dword [eax], edi
mov byte [edi + 8], cl
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret