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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor eax, eax
xor esi, esi
cmp dword [ebp + 0x14], esi
setne al
movzx ecx, byte [eax + ebx + 0x19]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + eax*4 + 0x1c]
mov dword [esp + 0x44], ecx
cmp ecx, esi
je 0x454396
cmp eax, esi
jne 0x454396
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push ecx
push ebx
push edx
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x2c], esi
call fcn.00451d20
add esp, 0x10
test eax, eax
jne 0x454332
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp dword [ebx + 0x14], esi
jle 0x454060
mov eax, 3
mov dword [esp + 0x60], 0x4db3cc
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x4db3c8
mov dword [esp + 0x6c], eax
jmp 0x453a14
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x453a21
mov edx, dword [eax + ecx*4]
jmp 0x453a27
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x453a43
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*8]
jmp 0x453a48
mov ecx, 0x4dc860
lea eax, [edx + edx*2]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [eax + edx]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], edx
mov eax, ecx
test ecx, ecx
je 0x453a80
cmp byte [ecx], 0
je 0x453a79
inc eax
cmp byte [eax], 0
jne 0x453a73
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x5c], eax
mov eax, edx
test edx, edx
jne 0x453a90
mov dword [esp + 0x34], edx
jmp 0x453aa6
cmp byte [edx], 0
je 0x453a9b
inc eax
cmp byte [eax], 0
jne 0x453a95
sub eax, edx
and eax, 0x3fffffff
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
push 1
mov dword [esp + 0x78], eax
push 0x1a
push ecx
lea eax, [esp + 0x7c]
call fcn.0043ffc0
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x453ae0
push eax
push esi
call fcn.00440520
push ebx
push esi
call fcn.00440520
add esp, 0x10
jmp 0x453afe
call fcn.0043fee0
mov edx, dword [edi]
mov eax, dword [edx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x453afe
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00418ba0
add esp, 0xc
mov eax, dword [edi]
push 1
push 0x1a
push eax
lea eax, [esp + 0x64]
call fcn.0043ffc0
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x453b30
push eax
push esi
call fcn.00440520
push ebx
push esi
call fcn.00440520
add esp, 0x10
jmp 0x453b4e
call fcn.0043fee0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x453b4e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00418ba0
add esp, 0xc
mov edx, dword [edi]
push 1
push 0x1a
push edx
lea eax, [esp + 0x6c]
call fcn.0043ffc0
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x453b80
push eax
push esi
call fcn.00440520
push ebx
push esi
call fcn.00440520
add esp, 0x10
jmp 0x453b9e
call fcn.0043fee0
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x453b9e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00418ba0
add esp, 0xc
mov esi, dword [edi]
mov ecx, 0x30
call fcn.00416c30
mov ebx, eax
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x453bd2
push 0x30
push 0
push ebx
call fcn.004a63e0
add esp, 0xc
or ecx, 0xffffffff
mov byte [ebx], 0x76
mov word [ebx + 0x1e], cx
mov dword [ebx + 0x2c], 1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edi, dword [edi]
mov ecx, ebx
call fcn.00440110
test ebx, ebx
mov ebx, dword [ebp + 8]
je 0x453c07
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x2c], eax
jle 0x453c07
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00418ba0
add esp, 0xc
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00416c30
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x453c3b
push 0x30
push 0
push esi
call fcn.004a63e0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x4c
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx]
call fcn.00440110
cmp dword [esp + 0x24], 0
je 0x453c72
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x2c], eax
jle 0x453c72
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00418ba0
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1c]
call fcn.004401c0
add esp, 8
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x453f5a
mov ecx, dword [ebx]
push 1
push 0x1a
push ecx
lea eax, [esp + 0x64]
call fcn.0043ffc0
mov edi, dword [ebx]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x453cc8
push eax
push edi
call fcn.00440520
push esi
push edi
call fcn.00440520
add esp, 0x10
jmp 0x453cf4
mov ebx, esi
call fcn.0043fee0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x54]
cmp dword [esi + 0x2c], eax
jle 0x453cf2
push eax
mov ecx, edx
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00418ba0
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x453cf4
mov ebx, edx
mov edx, dword [ebx]
push 1
push 0x1a
push edx
lea eax, [esp + 0x74]
call fcn.0043ffc0
mov esi, dword [ebx]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x453d22
push eax
push esi
call fcn.00440520
push edi
push esi
call fcn.00440520
add esp, 0x10
jmp 0x453d4b
mov ebx, edi
call fcn.0043fee0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x54]
cmp dword [edi + 0x2c], eax
jle 0x453d48
mov edx, dword [ebp + 8]
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edx
call fcn.00418ba0
add esp, 0xc
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00416c30
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x453d7f
push 0x30
push 0
push esi
call fcn.004a63e0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], ax
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov eax, edi
mov edi, dword [ebx]
call fcn.00440110
cmp dword [esp + 0x24], 0
je 0x453db4
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x54]
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x2c], eax
jle 0x453db4
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00418ba0
add esp, 0xc
mov eax, dword [ebx]
push 1
push 0x1a
push eax
lea eax, [esp + 0x64]
call fcn.0043ffc0
mov edi, dword [ebx]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x453de6
push eax
push edi
call fcn.00440520
push esi
push edi
call fcn.00440520
add esp, 0x10
jmp 0x453e12
mov ebx, esi
call fcn.0043fee0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
cmp dword [esi + 0x2c], eax
jle 0x453e10
push eax
mov eax, ecx
push str.Expression_tree_is_too_large__maximum_depth__d_
push eax
call fcn.00418ba0
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x453e12
mov ebx, ecx
mov ecx, dword [ebx]
push 1
push 0x1a
push ecx
lea eax, [esp + 0x6c]
call fcn.0043ffc0
mov esi, dword [ebx]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x453e40
push eax
push esi
call fcn.00440520
push edi
push esi
call fcn.00440520
add esp, 0x10
jmp 0x453e6c
mov ebx, edi
call fcn.0043fee0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x54]
cmp dword [edi + 0x2c], eax
jle 0x453e6a
push eax
mov ecx, edx
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00418ba0
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x453e6c
mov ebx, edx
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00416c30
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x453ea0
push 0x30
push 0
push esi
call fcn.004a63e0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov eax, edi
mov edi, dword [ebx]
call fcn.00440110
cmp dword [esp + 0x28], 0
je 0x453ed5
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x2c], eax
jle 0x453ed5
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00418ba0
add esp, 0xc
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00416c30
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x453f09
push 0x30
push 0
push esi
call fcn.004a63e0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x46
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [ebx]
call fcn.00440110
cmp dword [esp + 0x2c], 0
je 0x453f40
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x2c], eax
jle 0x453f40
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00418ba0
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
call fcn.004401c0
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
cmp eax, 6
je 0x454048
cmp eax, 9
jne 0x453fac
cmp dword [ebp + 0x14], 0
je 0x454048
push 0
push ecx
lea ecx, [esp + 0x60]
push ecx
xor esi, esi
push 0
push ebx
lea eax, [esi + 0x1a]
call fcn.00440170
add esp, 0xc
lea edx, [esp + 0x70]
push edx
mov edi, eax
push esi
push ebx
lea eax, [esi + 0x1a]
call fcn.00440170
add esp, 0x10
push eax
mov esi, edi
mov eax, 0x76
jmp 0x453fe0
push 0
push 0
cmp eax, 8
jne 0x453fd9
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x58]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x453fd9
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004406b0
add esp, 0x10
jmp 0x453fe9
mov eax, 0x62
xor esi, esi
push ebx
call fcn.00440170
add esp, 0xc
mov ecx, dword [esp + 0x20]
push eax
mov eax, ebx
call fcn.00440f10
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x454048
mov edi, dword [esp + 0x70]
mov esi, dword [ebx]
mov ecx, eax
mov eax, dword [ecx]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4 - 0x14]
mov dword [esp + 0x50], ecx
test edi, edi
jne 0x454020
xor esi, esi
jmp 0x454041
mov ebx, dword [esp + 0x34]
lea ecx, [ebx + 1]
call fcn.00416c30
mov esi, eax
test esi, esi
je 0x454041
push ebx
push edi
push esi
call fcn.004a5470
add esp, 0xc
mov byte [esi + ebx], 0
mov edx, dword [esp + 0x50]
mov dword [edx + 4], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 0x14]
jl 0x453a10
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
push edx
push esi
call fcn.004169e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov ecx, dword [ecx]
add esp, 8
mov dword [esp + 0x4c], ecx
mov eax, ecx
test ecx, ecx
je 0x454095
cmp byte [ecx], 0
je 0x45408e
inc eax
cmp byte [eax], 0
jne 0x454088
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x44], 6
mov dword [esp + 0x2c], eax
jne 0x4541fa
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov eax, str.foreign_key_constraint_failed
inc eax
cmp byte [eax], 0
jne 0x4540b1
sub eax, str.foreign_key_constraint_failed
and eax, 0x3fffffff
lea ecx, [eax + 0x31]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], ecx
call fcn.00416c30
mov ebx, eax
test ebx, ebx
je 0x454131
mov edx, dword [esp + 0x50]
push edx
push 0
push ebx
call fcn.004a63e0
mov esi, dword [esp + 0x78]
or eax, 0xffffffff
mov word [ebx + 0x1e], ax
lea eax, [esi + 1]
add esp, 0xc
mov byte [ebx], 0x38
test eax, eax
jne 0x45410a
mov ecx, 0x400
or word [ebx + 2], cx
mov dword [ebx + 4], eax
jmp 0x454126
push esi
lea eax, [ebx + 0x30]
push str.foreign_key_constraint_failed
push eax
mov dword [ebx + 4], eax
call fcn.004a5470
mov edx, dword [ebx + 4]
add esp, 0xc
mov byte [esi + edx], 0
mov dword [ebx + 0x2c], 1
mov byte [ebx + 1], 2
mov esi, dword [esp + 0x14]
mov ecx, 0x40
call fcn.00416c30
mov esi, eax
test esi, esi
je 0x454184
push 0x40
push 0
push esi
call fcn.004a63e0
mov edx, dword [esp + 0x20]
mov eax, 1
mov word [esi + 2], ax
movsx ecx, word [esi]
add esp, 0xc
push ecx
push eax
push edx
mov eax, esi
call fcn.0044c6e0
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 0x1e], 0
je 0x454188
push esi
call fcn.0044c930
add esp, 4
xor esi, esi
jmp 0x4541c5
movsx ecx, word [esi]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [esi + edx*8 - 0x30]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], ecx
call fcn.00449660
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
add esp, 4
push eax
xor eax, eax
call fcn.00449660
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [ecx], eax
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push esi
push ebx
xor ecx, ecx
mov eax, edi
call fcn.00440f10
add esp, 4
push eax
push edi
call fcn.0045c100
add esp, 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x14]
mov al, byte [esi + 0xea]
mov ecx, dword [esp + 0x2c]
add ecx, 0x4d
mov byte [esp + 0x13], al
mov byte [esi + 0xea], 0
call fcn.00416c30
mov ebx, eax
test ebx, ebx
je 0x454234
mov eax, dword [esp + 0x2c]
add eax, 0x4d
push eax
push 0
push ebx
call fcn.004a63e0
add esp, 0xc
mov dword [esp + 0x50], ebx
test ebx, ebx
je 0x4542db
mov ecx, dword [esp + 0x2c]
lea esi, [ebx + 0x24]
mov dword [ebx + 0x1c], esi
push ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x50]
lea eax, [esi + 0x28]
push ecx
push eax
mov dword [esp + 0x3c], esi
mov dword [esi + 0xc], eax
call fcn.004a5470
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push 1
push edx
push eax
call fcn.004406b0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push 1
push ecx
push edx
mov dword [esi + 0x14], eax
call fcn.00440930
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
push 1
push eax
push ecx
call fcn.00440df0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4542db
push 0
push eax
xor esi, esi
push edi
lea eax, [esi + 0x13]
call fcn.00440170
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 1
push eax
push edx
mov dword [esp + 0x2c], eax
call fcn.004406b0
add esp, 0x10
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x13]
push ecx
push edi
mov byte [edi + 0xea], al
call fcn.00440520
mov edx, dword [esp + 0x24]
push edx
push edi
call fcn.00440520
mov eax, dword [esp + 0x30]
push eax
call fcn.00441100
mov esi, dword [esp + 0x54]
add esp, 0x14
test esi, esi
je 0x454325
push esi
push edi
call fcn.0045c080
push esi
push edi
call fcn.004169e0
add esp, 0x10
cmp byte [edi + 0x1e], 1
jne 0x45433b
mov eax, edi
call fcn.00453010
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
cmp eax, 6
je 0x454361
cmp eax, 9
jne 0x454358
cmp dword [ebp + 0x14], 0
jne 0x454358
mov eax, dword [esp + 0x30]
mov byte [eax], 0x6a
jmp 0x454368
mov eax, dword [esp + 0x30]
mov byte [eax], 0x6b
jmp 0x454368
mov eax, dword [esp + 0x30]
mov byte [eax], 0x74
cmp dword [ebp + 0x14], 0
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x44]
mov dword [ebx + 0x14], ecx
mov edx, dword [eax + 0x44]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x18], edx
setne dl
mov dword [eax + ecx*4 + 0x1c], ebx
mov eax, dword [esp + 0x50]
add dl, 0x6a
mov byte [ebx + 8], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret