Function at 0x579c40
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 + 0x3c], ebx
setne al
movzx ecx, byte [eax + esi + 0x19]
cmp ecx, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x34], ecx
je 0x57a2cd
cmp eax, edx
jne 0x57a2cd
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 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.00578600
add esp, 0x14
test eax, eax
jne 0x57a265
xor edx, edx
cmp dword [esi + 0x14], edx
mov dword [esp + 0x28], edx
jle 0x57a07b
mov eax, 3
mov dword [esp + 0x60], 0x62f004
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x62f000
mov dword [esp + 0x6c], eax
jmp 0x579cf7
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x579d04
mov eax, dword [eax + edx*4]
jmp 0x579d07
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x579d23
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 0x579d28
mov ecx, 0x630470
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
test ecx, ecx
mov edx, dword [eax + edx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
mov eax, ecx
je 0x579d5f
cmp byte [ecx], 0
je 0x579d58
add eax, 1
cmp byte [eax], 0
jne 0x579d50
sub eax, ecx
and eax, 0x3fffffff
test edx, edx
mov dword [esp + 0x54], eax
mov eax, edx
jne 0x579d6f
mov dword [esp + 0x1c], edx
jmp 0x579d87
cmp byte [edx], 0
je 0x579d7c
add eax, 1
cmp byte [eax], 0
jne 0x579d74
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.00569060
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x44], ebx
jne 0x579dc1
push eax
push esi
call fcn.005695c0
push ebx
push esi
call fcn.005695c0
add esp, 0x10
jmp 0x579de0
mov esi, ebx
call fcn.00568fb0
mov edx, dword [edi]
mov eax, dword [edx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x579de0
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.005454f0
add esp, 8
mov eax, dword [edi]
push 1
push 0x1a
push eax
lea eax, [esp + 0x5c]
call fcn.00569060
mov esi, dword [edi]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x579e0e
push eax
push esi
call fcn.005695c0
push ebx
push esi
call fcn.005695c0
add esp, 0x10
jmp 0x579e2d
mov esi, ebx
call fcn.00568fb0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
cmp dword [ebx + 0x2c], eax
jle 0x579e2d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.005454f0
add esp, 8
mov edx, dword [edi]
push 1
push 0x1a
push edx
lea eax, [esp + 0x6c]
call fcn.00569060
mov esi, eax
mov eax, dword [edi]
add esp, 0xc
test esi, esi
mov dword [esp + 0x40], eax
jne 0x579e63
push esi
push eax
call fcn.005695c0
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.005695c0
add esp, 0x10
jmp 0x579e80
call fcn.00568fb0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
cmp dword [esi + 0x2c], eax
jle 0x579e80
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.005454f0
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.00569210
add esp, 0x10
push eax
push edi
mov eax, 0x4c
call fcn.00569210
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.00569270
mov ebx, dword [ebp + 0x10]
add esp, 0x14
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x579f6c
push 0
push ecx
push 0
push ecx
lea edx, [esp + 0x60]
push edx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x14
push eax
lea eax, [esp + 0x78]
push eax
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x10
push eax
push edi
mov eax, 0x76
call fcn.00569210
add esp, 0x14
push eax
push 0
push ecx
lea ecx, [esp + 0x60]
push ecx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x14
push eax
lea edx, [esp + 0x70]
push edx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x10
push eax
push edi
mov eax, 0x76
call fcn.00569210
add esp, 0x10
push eax
push edi
mov eax, 0x46
call fcn.00569210
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00569270
add esp, 0x14
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x57a05e
cmp eax, 9
jne 0x579fc0
test ebx, ebx
je 0x57a05e
push 0
push ecx
lea edx, [esp + 0x58]
push edx
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x14
push eax
lea eax, [esp + 0x70]
push eax
push 0
push 0
push edi
mov eax, 0x1a
call fcn.00569210
add esp, 0x10
push eax
mov eax, 0x76
jmp 0x579ff1
cmp eax, 8
jne 0x579fe6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x48]
mov ecx, dword [eax + ecx + 4]
test ecx, ecx
je 0x579fe6
push esi
xor eax, eax
call fcn.00569990
add esp, 4
jmp 0x579ffa
push 0
push 0
mov eax, 0x62
push 0
push edi
call fcn.00569210
add esp, 0x10
mov edx, dword [esp + 0x24]
mov ecx, eax
push edx
mov eax, edi
call fcn.00569dc0
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x57a05e
cmp dword [esp + 0x58], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov esi, dword [edi]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 - 0x14]
mov dword [esp + 0x48], edx
jne 0x57a032
xor esi, esi
jmp 0x57a057
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 1]
call fcn.00543630
mov esi, eax
test esi, esi
je 0x57a057
mov eax, dword [esp + 0x58]
push ebx
push eax
push esi
call fcn.005e796e
add esp, 0xc
mov byte [esi + ebx], 0
mov ecx, dword [esp + 0x48]
mov dword [ecx + 4], esi
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
add eax, 1
cmp eax, dword [edx + 0x14]
mov dword [esp + 0x28], eax
jl 0x579cf0
mov ebx, dword [esp + 0x3c]
mov esi, edx
mov eax, dword [esp + 0x2c]
push eax
push ebx
call fcn.00543400
mov ecx, dword [esi]
mov ecx, dword [ecx]
add esp, 8
test ecx, ecx
mov dword [esp + 0x48], ecx
mov eax, ecx
jne 0x57a09d
mov dword [esp + 0x1c], ecx
jmp 0x57a0b5
cmp byte [ecx], 0
je 0x57a0aa
add eax, 1
cmp byte [eax], 0
jne 0x57a0a2
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], 6
jne 0x57a12f
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
push 0x38
push ebx
mov ecx, str.foreign_key_constraint_failed
mov dword [esp + 0x74], edx
call fcn.00569160
mov esi, eax
add esp, 8
test esi, esi
je 0x57a0e2
mov byte [esi + 1], 2
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
lea ecx, [esp + 0x88]
push 0
push ecx
xor eax, eax
mov ecx, ebx
call fcn.00573ee0
add esp, 0xc
push eax
push 0
mov ecx, esi
mov eax, edi
call fcn.00569dc0
add esp, 4
push eax
push edi
call fcn.00581470
add esp, 0x28
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0
mov dl, byte [ebx + 0xea]
mov ecx, dword [esp + 0x1c]
add ecx, 0x4d
mov esi, ebx
mov byte [esp + 0x13], dl
mov byte [ebx + 0xea], 0
call fcn.00543630
mov esi, eax
test esi, esi
je 0x57a167
mov eax, dword [esp + 0x1c]
add eax, 0x4d
push eax
push 0
push esi
call fcn.005e6f30
add esp, 0xc
test esi, esi
mov dword [esp + 0x44], esi
je 0x57a20c
mov edx, dword [esp + 0x1c]
lea eax, [esi + 0x24]
mov ecx, eax
mov dword [esi + 0x1c], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0x14], ecx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov ecx, dword [esp + 0x48]
push edx
push ecx
push eax
call fcn.005e796e
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 1
push edx
push ebx
call fcn.00569720
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push 1
push edx
push ebx
mov dword [ecx + 0x14], eax
call fcn.005699b0
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.00569ca0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x57a20c
push 0
push 0
push eax
push edi
mov eax, 0x13
call fcn.00569210
push 0
push 1
push eax
push ebx
mov dword [esp + 0x40], eax
call fcn.00569720
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.005695c0
mov ecx, dword [esp + 0x28]
push ecx
push ebx
call fcn.005695c0
mov edx, dword [esp + 0x34]
push edx
mov edi, ebx
call fcn.00569f90
mov edi, dword [esp + 0x44]
add esp, 0x14
test edi, edi
je 0x57a254
push edi
push ebx
call fcn.005813f0
push edi
push ebx
call fcn.00543400
add esp, 0x10
cmp byte [ebx + 0x1e], 1
jne 0x57a26e
push esi
mov eax, ebx
call fcn.005794f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x57a294
cmp eax, 9
jne 0x57a28b
cmp dword [ebp + 0x10], 0
jne 0x57a28b
mov eax, dword [esp + 0x14]
mov byte [eax], 0x6a
jmp 0x57a29b
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0x6b
jmp 0x57a29b
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