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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, eax
mov ebx, dword [edi]
xor eax, eax
xor edx, edx
cmp dword [ebp + 0x10], edx
mov dword [esp + 0x34], ebx
setne al
movzx ecx, byte [eax + esi + 0x19]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x38], ecx
cmp ecx, edx
je 0x4ac367
cmp eax, edx
jne 0x4ac367
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
push esi
push edx
push edi
call fcn.004aa560
add esp, 0x14
test eax, eax
jne 0x4ac2ff
xor edx, edx
cmp dword [esi + 0x14], edx
mov dword [esp + 0x28], edx
jle 0x4ac11b
mov eax, 3
mov dword [esp + 0x60], 0x5408b4
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x5408b0
mov dword [esp + 0x6c], eax
jmp 0x4abda4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4abdb1
mov eax, dword [eax + edx*4]
jmp 0x4abdb4
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4abdd0
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + edx*4]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + edx*8]
jmp 0x4abdd5
mov ecx, 0x541d18
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [eax + edx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
mov eax, ecx
test ecx, ecx
je 0x4abe0d
cmp byte [ecx], 0
je 0x4abe06
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x4abe00
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x54], eax
mov eax, edx
test edx, edx
jne 0x4abe1d
mov dword [esp + 0x1c], edx
jmp 0x4abe33
cmp byte [edx], 0
je 0x4abe28
inc eax
cmp byte [eax], 0
jne 0x4abe22
sub eax, edx
and eax, 0x3fffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push 1
mov dword [esp + 0x60], eax
push 0x1a
push ecx
lea eax, [esp + 0x64]
call fcn.00499930
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x4abe6d
push eax
push esi
call fcn.00499e60
push ebx
push esi
call fcn.00499e60
add esp, 0x10
jmp 0x4abe8c
mov esi, ebx
call fcn.00499870
mov edx, dword [edi]
mov eax, dword [edx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x4abe8c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.00476d80
add esp, 8
mov eax, dword [edi]
push 1
push 0x1a
push eax
lea eax, [esp + 0x5c]
call fcn.00499930
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4abeba
push eax
push esi
call fcn.00499e60
push ebx
push esi
call fcn.00499e60
add esp, 0x10
jmp 0x4abed9
mov esi, ebx
call fcn.00499870
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x4abed9
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.00476d80
add esp, 8
mov edx, dword [edi]
push 1
push 0x1a
push edx
lea eax, [esp + 0x6c]
call fcn.00499930
mov esi, eax
mov eax, dword [edi]
add esp, 0xc
mov dword [esp + 0x40], eax
test esi, esi
jne 0x4abf0f
push esi
push eax
call fcn.00499e60
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.00499e60
add esp, 0x10
jmp 0x4abf2c
call fcn.00499870
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
cmp dword [esi + 0x2c], eax
jle 0x4abf2c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.00476d80
add esp, 8
mov edx, dword [esp + 0x44]
push 0
push edx
push 0
push ebx
push esi
push edi
mov eax, 0x76
call fcn.00499ad0
add esp, 0x10
push eax
push edi
mov eax, 0x4c
call fcn.00499ad0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov edx, esi
call fcn.00499b30
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4ac016
push 0
push ecx
push 0
push ecx
lea eax, [esp + 0x60]
push eax
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x14
push eax
lea ecx, [esp + 0x78]
push ecx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x10
push eax
push edi
mov eax, 0x76
call fcn.00499ad0
add esp, 0x14
push eax
push 0
push ecx
lea edx, [esp + 0x60]
push edx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x14
push eax
lea eax, [esp + 0x70]
push eax
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x10
push eax
push edi
mov eax, 0x76
call fcn.00499ad0
add esp, 0x10
push eax
push edi
mov eax, 0x46
call fcn.00499ad0
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edx, esi
call fcn.00499b30
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
cmp eax, 6
je 0x4ac100
cmp eax, 9
jne 0x4ac06a
test ebx, ebx
je 0x4ac100
push 0
push ecx
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x14
push eax
lea edx, [esp + 0x70]
push edx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00499ad0
add esp, 0x10
push eax
mov eax, 0x76
jmp 0x4ac097
push 0
push 0
cmp eax, 8
jne 0x4ac090
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x50]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x4ac090
push eax
push esi
call fcn.00499ff0
jmp 0x4ac09d
mov eax, 0x62
push 0
push edi
call fcn.00499ad0
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x10
mov eax, edi
call fcn.0049a780
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4ac100
cmp dword [esp + 0x58], 0
mov eax, dword [ecx]
mov esi, dword [edi]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4 - 0x14]
mov dword [esp + 0x48], ecx
jne 0x4ac0d4
xor esi, esi
jmp 0x4ac0f9
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 1]
call fcn.00474f60
mov esi, eax
test esi, esi
je 0x4ac0f9
mov edx, dword [esp + 0x58]
push ebx
push edx
push esi
call fcn.004f7510
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, dword [esp + 0x48]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x28], eax
mov esi, ecx
jl 0x4abda0
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push edx
push ebx
call fcn.00474d20
mov eax, dword [esi]
mov ecx, dword [eax]
add esp, 8
mov dword [esp + 0x48], ecx
mov eax, ecx
test ecx, ecx
jne 0x4ac13d
mov dword [esp + 0x1c], ecx
jmp 0x4ac153
cmp byte [ecx], 0
je 0x4ac148
inc eax
cmp byte [eax], 0
jne 0x4ac142
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 6
jne 0x4ac1c9
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
push 0x38
push ebx
mov ecx, str.foreign_key_constraint_failed
call fcn.00499a30
mov esi, eax
add esp, 8
test esi, esi
je 0x4ac180
mov byte [esi + 1], 2
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push ecx
lea eax, [esp + 0x88]
push eax
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.004a5990
add esp, 8
push eax
mov ecx, esi
xor edx, edx
mov eax, edi
call fcn.0049a780
push edi
call fcn.004b4470
add esp, 0x24
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0
mov cl, byte [ebx + 0xea]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x1c]
add ecx, 0x4d
mov esi, ebx
mov byte [ebx + 0xea], 0
call fcn.00474f60
mov esi, eax
test esi, esi
je 0x4ac201
mov eax, dword [esp + 0x1c]
add eax, 0x4d
push eax
push 0
push esi
call fcn.004f4810
add esp, 0xc
mov dword [esp + 0x44], esi
test esi, esi
je 0x4ac2a6
mov edx, dword [esp + 0x1c]
lea eax, [esi + 0x24]
mov ecx, eax
mov dword [esi + 0x1c], eax
push edx
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 0x28]
push edx
push eax
mov dword [esp + 0x20], ecx
mov dword [ecx + 0xc], eax
call fcn.004f7510
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push 1
push eax
push ebx
call fcn.00499ff0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push 1
push edx
push ebx
mov dword [ecx + 0x14], eax
call fcn.0049a270
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 1
push edx
push ebx
mov dword [ecx + 0x18], eax
call fcn.0049a660
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4ac2a6
push 0
push 0
push eax
push edi
mov eax, 0x13
call fcn.00499ad0
push 0
push 1
push eax
push ebx
mov dword [esp + 0x40], eax
call fcn.00499ff0
add esp, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
push eax
push ebx
mov byte [ebx + 0xea], dl
call fcn.00499e60
mov ecx, dword [esp + 0x28]
push ecx
push ebx
call fcn.00499e60
mov edx, dword [esp + 0x34]
push edx
mov edi, ebx
call fcn.0049a950
mov edi, dword [esp + 0x44]
add esp, 0x14
test edi, edi
je 0x4ac2ee
push edi
push ebx
call fcn.004b43f0
push edi
push ebx
call fcn.00474d20
add esp, 0x10
cmp byte [ebx + 0x1e], 1
jne 0x4ac308
mov eax, dword [esp + 0x34]
mov ebx, esi
call fcn.004ab520
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
cmp eax, 6
je 0x4ac32e
cmp eax, 9
jne 0x4ac325
cmp dword [ebp + 0x10], 0
jne 0x4ac325
mov eax, dword [esp + 0x14]
mov byte [eax], 0x6a
jmp 0x4ac335
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0x6b
jmp 0x4ac335
mov edx, dword [esp + 0x14]
mov byte [edx], 0x74
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x10], 0
mov dword [eax + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 0x44]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x18], edx
setne dl
mov dword [eax + ecx*4 + 0x1c], esi
mov eax, dword [esp + 0x44]
add dl, 0x6a
mov byte [esi + 8], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret