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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
push edi
mov eax, dword [esi]
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x60], ebx
setne al
movzx ecx, byte [ebx + eax + 0x19]
add eax, 7
mov edi, dword [ebx + eax*4]
lea eax, [ebx + eax*4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x530b55
test edi, edi
jne 0x530b55
lea eax, [esp + 0x18]
mov dword [esp + 0x34], edi
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], edi
push eax
mov dword [esp + 0x28], edi
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov edi, edx
push ebx
call fcn.0052e650
add esp, 0xc
test eax, eax
jne 0x530aee
xor ecx, ecx
mov dword [esp + 0x64], ecx
cmp dword [ebx + 0x14], ecx
jle 0x53072f
mov dword [esp + 0x74], 0x667da8
mov dword [esp + 0x78], 3
mov dword [esp + 0x6c], 0x667da4
mov dword [esp + 0x70], 3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x530195
mov edx, dword [eax + ecx*4]
jmp 0x530198
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5301b1
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*8]
jmp 0x5301b6
mov ecx, 0x669460
mov eax, dword [ebx]
lea edx, [edx + edx*2]
shl edx, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
mov edx, dword [edx + eax]
mov eax, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], edx
test ecx, ecx
je 0x5301ed
cmp byte [ecx], 0
je 0x5301e6
nop
inc eax
cmp byte [eax], 0
jne 0x5301e0
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x58], eax
mov ebx, edx
test edx, edx
je 0x53020e
cmp byte [edx], 0
je 0x530206
lea esp, [esp]
inc ebx
cmp byte [ebx], 0
jne 0x530200
sub ebx, edx
and ebx, 0x3fffffff
mov ecx, dword [esi]
lea eax, [esp + 0x7c]
push 1
push eax
mov edx, 0x1a
mov dword [esp + 0x88], ebx
call fcn.0051c0e0
mov edi, dword [esi]
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x530249
xor edx, edx
mov ecx, edi
call fcn.0051c750
xor edx, edx
mov ecx, edi
call fcn.0051c750
jmp 0x53026d
mov ecx, eax
call fcn.0051bfc0
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x5c]
cmp dword [ecx + 0x14], eax
jle 0x53026d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, eax
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x5302a9
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.0051c750
jmp 0x5302c9
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x5302c9
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x74]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, eax
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x530301
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.0051c750
jmp 0x530321
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x530321
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
push 0
push dword [esp + 0x40]
mov edx, 0x76
mov ecx, esi
push 0
push dword [esp + 0x50]
push edi
call fcn.0051c280
add esp, 0xc
mov edx, 0x4c
mov ecx, esi
push eax
call fcn.0051c280
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, edi
push eax
call fcn.0051c350
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x53052e
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, dword [esi]
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x5303a4
xor edx, edx
mov ecx, edi
call fcn.0051c750
xor edx, edx
mov ecx, edi
call fcn.0051c750
jmp 0x5303c8
mov ecx, eax
call fcn.0051bfc0
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x5c]
cmp dword [ecx + 0x14], eax
jle 0x5303c8
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x6c]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, dword [esi]
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x5303fc
xor edx, edx
mov ecx, edi
call fcn.0051c750
xor edx, edx
mov ecx, edi
call fcn.0051c750
jmp 0x530420
mov ecx, eax
call fcn.0051bfc0
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x5c]
cmp dword [ecx + 0x14], eax
jle 0x530420
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, dword [esi]
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x530454
xor edx, edx
mov ecx, edi
call fcn.0051c750
xor edx, edx
mov ecx, edi
call fcn.0051c750
jmp 0x530478
mov ecx, eax
call fcn.0051bfc0
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x5c]
cmp dword [ecx + 0x14], eax
jle 0x530478
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x74]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, eax
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x5304b0
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x2c]
xor edx, edx
call fcn.0051c750
jmp 0x5304d0
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x5304d0
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
push 0
push ecx
push 0
push dword [esp + 0x48]
mov edx, 0x76
mov ecx, esi
push dword [esp + 0x54]
call fcn.0051c280
add esp, 0x10
mov edx, 0x76
mov ecx, esi
push eax
push 0
push dword [esp + 0x28]
push edi
call fcn.0051c280
add esp, 0xc
mov edx, 0x46
mov ecx, esi
push eax
call fcn.0051c280
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x30]
mov ecx, edi
push eax
call fcn.0051c350
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
cmp eax, 6
je 0x530715
cmp eax, 9
jne 0x53061a
test ecx, ecx
je 0x530715
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, eax
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x530588
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x2c]
xor edx, edx
call fcn.0051c750
jmp 0x5305a8
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x5305a8
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x6c]
push 1
push eax
mov edx, 0x1a
call fcn.0051c0e0
mov edi, eax
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x5305e0
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x2c]
xor edx, edx
call fcn.0051c750
jmp 0x530600
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x530600
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
push 0
push dword [esp + 0x20]
mov edx, 0x76
mov ecx, esi
push edi
call fcn.0051c280
mov edi, eax
jmp 0x5306b3
cmp eax, 8
jne 0x530646
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x530646
push 0
push 0
mov ecx, edi
call fcn.0051c8b0
add esp, 8
mov edi, eax
jmp 0x5306b6
mov ecx, dword [esi]
mov edx, 0x2c
call fcn.004ef720
mov edi, eax
test edi, edi
je 0x530676
push 0x2c
push 0
push edi
call fcn.00572db0
add esp, 0xc
mov byte [edi], 0x62
or eax, 0xffffffff
mov dword [edi + 0x14], 1
mov word [edi + 0x1e], ax
mov eax, dword [esi]
mov dword [esp + 0x14], eax
test edi, edi
jne 0x530696
xor edx, edx
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.0051c750
jmp 0x5306b6
mov ecx, edi
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [edi + 0x14], eax
jle 0x5306b6
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov edx, dword [esp + 0x48]
mov ecx, esi
push edi
call fcn.0051d190
mov edi, eax
add esp, 4
mov dword [esp + 0x48], edi
test edi, edi
je 0x530715
mov eax, dword [edi]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x14], eax
jne 0x5306ec
xor edi, edi
jmp 0x530712
mov ecx, dword [esi]
lea edx, [ebx + 1]
call fcn.004ef720
mov edi, eax
test edi, edi
je 0x53070e
push ebx
push dword [esp + 0x60]
push edi
call fcn.005766c0
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
inc ecx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x64], ecx
cmp ecx, dword [ebx + 0x14]
jl 0x530188
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.004ef4c0
mov eax, dword [ebx]
mov eax, dword [eax]
mov ebx, eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x53075e
cmp byte [eax], 0
je 0x530756
nop
inc ebx
cmp byte [ebx], 0
jne 0x530750
sub ebx, eax
and ebx, 0x3fffffff
cmp dword [esp + 0x4c], 6
jne 0x53093e
mov dword [esp + 0x7c], eax
mov edi, str.foreign_key_constraint_failed
mov dword [esp + 0x80], ebx
lea esp, [esp]
inc edi
cmp byte [edi], 0
jne 0x530780
mov ecx, dword [esp + 0x10]
sub edi, str.foreign_key_constraint_failed
and edi, 0x3fffffff
lea eax, [edi + 0x2d]
mov edx, eax
mov dword [esp + 0x14], eax
call fcn.004ef720
mov dword [esp + 0x18], eax
test eax, eax
je 0x530811
push dword [esp + 0x14]
push 0
push eax
call fcn.00572db0
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x1e], ax
lea eax, [edi + 1]
mov byte [ecx], 0x38
test eax, eax
jne 0x5307e2
mov eax, 0x400
mov dword [ecx + 4], 0
or word [ecx + 2], ax
jmp 0x530806
lea eax, [ecx + 0x2c]
mov dword [ecx + 4], eax
test edi, edi
je 0x5307ff
push edi
push str.foreign_key_constraint_failed
push eax
call fcn.005766c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx + 4]
mov byte [edi + eax], 0
mov dword [ecx + 0x14], 1
mov byte [ecx + 1], 2
mov ecx, dword [esp + 0x10]
mov edx, 0x50
call fcn.004ef720
mov edi, eax
test edi, edi
je 0x530866
push 0x50
push 0
push edi
call fcn.00572db0
add esp, 0xc
mov eax, 1
mov word [edi + 2], ax
mov edx, edi
movsx eax, word [edi]
mov edi, dword [esp + 0x10]
mov ecx, edi
push eax
push 1
call fcn.00528e30
add esp, 8
mov ecx, eax
cmp byte [edi + 0x38], 0
mov dword [esp + 0x24], ecx
je 0x5308cc
mov edx, ecx
mov ecx, edi
call fcn.00529070
mov dword [esp + 0x24], 0
mov eax, dword [esi]
mov edx, 0xc
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.004ef720
mov edi, eax
test edi, edi
je 0x5308f8
mov ecx, dword [esp + 0x34]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov edx, 0x18
mov dword [edi + 8], 0
call fcn.004ef720
mov edx, eax
mov dword [edi + 8], edx
test edx, edx
je 0x5308f8
mov ecx, dword [edi]
xorps xmm0, xmm0
lea eax, [ecx + ecx*2]
lea edx, [edx + eax*8]
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
movdqu xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx], eax
jmp 0x530912
movsx eax, word [ecx]
lea edx, [esp + 0x7c]
lea eax, [eax + eax*8]
lea edi, [ecx + eax*8]
mov ecx, dword [esp + 0x10]
call fcn.00525670
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [edi - 0x38], eax
call fcn.00525670
mov dword [edi - 0x3c], eax
jmp 0x53086e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
call fcn.0051c750
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.0051d360
xor edi, edi
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x50]
mov edx, edi
mov ecx, esi
push dword [esp + 0x40]
call fcn.005394a0
add esp, 0x20
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x10]
lea edx, [ebx + 0x4d]
mov al, byte [ecx + 0xea]
mov byte [esp + 0x2b], al
mov byte [ecx + 0xea], 0
call fcn.004ef720
mov edi, eax
test edi, edi
je 0x530a96
lea eax, [ebx + 0x4d]
push eax
push 0
push edi
call fcn.00572db0
add esp, 0xc
test edi, edi
je 0x530a96
lea ecx, [edi + 0x24]
push ebx
push dword [esp + 0x30]
lea eax, [ecx + 0x28]
mov dword [edi + 0x1c], ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
call fcn.005766c0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, ebx
push 0
push 1
call fcn.0051c8b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
push 1
mov dword [ecx + 0x14], eax
mov ecx, ebx
call fcn.0051cb60
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x18], eax
mov ecx, ebx
push 1
call fcn.0051d060
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x30], 0
mov dword [ecx + 8], eax
je 0x530a9a
mov ecx, dword [esi]
mov edx, 0x2c
call fcn.004ef720
mov ebx, eax
test ebx, ebx
je 0x530a20
push 0x2c
push 0
push ebx
call fcn.00572db0
add esp, 0xc
mov byte [ebx], 0x13
or eax, 0xffffffff
mov dword [ebx + 0x14], 1
mov word [ebx + 0x1e], ax
mov eax, dword [esi]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x530a42
mov edx, dword [esp + 0x30]
mov ecx, eax
call fcn.0051c750
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.0051c750
jmp 0x530a79
mov eax, dword [esp + 0x30]
mov ecx, 0x100
mov dword [ebx + 8], eax
mov ax, word [eax + 2]
and ax, cx
mov ecx, ebx
or word [ebx + 2], ax
call fcn.0051bfc0
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
cmp dword [ebx + 0x14], eax
jle 0x530a79
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004f1760
add esp, 0xc
mov edx, ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push 0
push 1
call fcn.0051c8b0
add esp, 8
mov dword [edi + 0xc], eax
jmp 0x530a9a
mov ebx, dword [esp + 0x10]
mov al, byte [esp + 0x2b]
mov ecx, ebx
mov edx, dword [esp + 0x38]
mov byte [ebx + 0xea], al
call fcn.0051c750
mov edx, dword [esp + 0x30]
mov ecx, ebx
call fcn.0051c750
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.0051d360
mov esi, dword [esp + 0x24]
test esi, esi
je 0x530adf
mov edx, esi
mov ecx, ebx
call fcn.00539420
mov edx, esi
mov ecx, ebx
call fcn.004ef4c0
cmp byte [ebx + 0x38], 1
jne 0x530b02
mov edx, edi
mov ecx, ebx
call fcn.0052f7a0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
cmp eax, 6
je 0x530b2a
cmp eax, 9
jne 0x530b21
test edx, edx
jne 0x530b21
mov ecx, dword [esp + 0x20]
mov byte [ecx], 0x6a
jmp 0x530b31
mov ecx, dword [esp + 0x20]
mov byte [ecx], 0x6b
jmp 0x530b31
mov ecx, dword [esp + 0x20]
mov byte [ecx], 0x74
mov esi, dword [esp + 0x50]
test edx, edx
mov dword [ecx + 4], edi
mov eax, dword [esi + 0x40]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [esp + 0x68]
mov dword [edi + 0x18], ecx
setne cl
add cl, 0x6a
mov dword [eax], edi
mov byte [edi + 8], cl
mov ecx, dword [esp + 0x84]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret