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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
setne al
movzx ecx, byte [eax + esi + 0x19]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x34], ecx
cmp ecx, edi
je 0x480087
cmp eax, edi
jne 0x480087
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x3c]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], edi
call fcn.0047da00
add esp, 0x14
test eax, eax
jne 0x48002f
cmp dword [esi + 0x14], edi
mov dword [esp + 0x1c], edi
jle 0x47fc9b
mov eax, 3
mov dword [esp + 0x58], 0x541c20
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x541c1c
mov dword [esp + 0x64], eax
lea esp, [esp]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f6c1
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + edx*4]
jmp 0x47f6c7
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x24]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47f6dc
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
movsx eax, word [edx + eax*2]
jmp 0x47f6e3
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x20]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
add ecx, ecx
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edx, dword [edx + 4]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ecx + edx]
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], ecx
test eax, eax
je 0x47f724
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47f716
sub eax, esi
and eax, 0x3fffffff
mov dword [esp + 0x54], eax
test ecx, ecx
jne 0x47f732
mov dword [esp + 0x24], ecx
jmp 0x47f749
mov eax, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f737
sub eax, edx
and eax, 0x3fffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x54]
push ecx
push 0x1b
push esi
mov dword [esp + 0x7c], eax
call fcn.00469870
push 0
lea edx, [esp + 0x6c]
push edx
push 0x1b
push esi
mov edi, eax
call fcn.00469870
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push 0
push 0x30
call fcn.0043ba30
mov ebx, eax
add esp, 0x28
test ebx, ebx
je 0x47f7ae
push 0x30
push 0
push ebx
call fcn.0050e6a0
add esp, 0xc
or ecx, 0xffffffff
mov byte [ebx], 0x7a
mov word [ebx + 0x22], cx
mov dword [ebx + 0x18], 1
mov edx, dword [ebp + 8]
mov esi, dword [edx]
test ebx, ebx
jne 0x47f7d1
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.00469eb0
push edi
push esi
call fcn.00469eb0
mov edi, dword [ebp + 8]
add esp, 0x10
jmp 0x47f81d
test edi, edi
je 0x47f7e4
mov dword [ebx + 0x10], edi
mov ecx, dword [edi + 4]
and ecx, 0x200100
or dword [ebx + 4], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47f7fb
mov dword [ebx + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [ebx + 4], edx
mov esi, ebx
call fcn.00469790
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x47f81d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0043e000
add esp, 8
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x6c]
push ecx
push 0x1b
push edx
call fcn.00469870
mov esi, dword [edi]
push 0
push 0x30
mov dword [esp + 0x58], eax
call fcn.0043ba30
mov esi, eax
add esp, 0x18
test esi, esi
je 0x47f866
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x4f
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov ecx, dword [edi]
mov dword [esp + 0x3c], ecx
test esi, esi
jne 0x47f88d
mov edx, ecx
push ebx
push edx
call fcn.00469eb0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.00469eb0
add esp, 0x10
jmp 0x47f8d6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47f8a4
mov dword [esi + 0x10], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [esi + 4], edx
test ebx, ebx
je 0x47f8b6
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200100
or dword [esi + 4], eax
call fcn.00469790
mov ecx, dword [edi]
mov eax, dword [ecx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x47f8d6
mov edi, dword [ebp + 8]
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0043e000
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push edx
mov eax, esi
call fcn.00469b40
add esp, 4
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x47fb5d
mov esi, dword [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push eax
push 0x1b
push esi
call fcn.00469870
push 0
lea ecx, [esp + 0x74]
push ecx
push 0x1b
push esi
mov ebx, eax
call fcn.00469870
mov edx, dword [ebp + 8]
mov esi, dword [edx]
push 0
push 0x30
mov dword [esp + 0x68], eax
call fcn.0043ba30
mov edi, eax
add esp, 0x28
mov dword [esp + 0x44], edi
test edi, edi
je 0x47f958
push 0x30
push 0
push edi
call fcn.0050e6a0
add esp, 0xc
or eax, 0xffffffff
mov byte [edi], 0x7a
mov word [edi + 0x22], ax
mov dword [edi + 0x18], 1
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
test edi, edi
jne 0x47f978
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.00469eb0
push ebx
push esi
call fcn.00469eb0
add esp, 0x10
jmp 0x47f9c9
test ebx, ebx
je 0x47f98a
mov dword [edi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x200100
or dword [edi + 4], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47f9a1
mov dword [edi + 0xc], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [edi + 4], ecx
mov esi, edi
call fcn.00469790
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
cmp dword [edi + 0x18], eax
jle 0x47f9c9
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov edi, ecx
call fcn.0043e000
mov edi, dword [esp + 0x4c]
add esp, 8
mov esi, dword [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push eax
push 0x1b
push esi
call fcn.00469870
push 0
lea ecx, [esp + 0x6c]
push ecx
push 0x1b
push esi
mov dword [esp + 0x60], eax
call fcn.00469870
mov edx, dword [ebp + 8]
mov esi, dword [edx]
push 0
push 0x30
mov dword [esp + 0x64], eax
call fcn.0043ba30
mov ebx, eax
add esp, 0x28
test ebx, ebx
je 0x47fa28
push 0x30
push 0
push ebx
call fcn.0050e6a0
add esp, 0xc
or eax, 0xffffffff
mov byte [ebx], 0x7a
mov word [ebx + 0x22], ax
mov dword [ebx + 0x18], 1
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
test ebx, ebx
jne 0x47fa4c
mov edx, dword [esp + 0x3c]
push edx
push esi
call fcn.00469eb0
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.00469eb0
add esp, 0x10
jmp 0x47faa3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47fa63
mov dword [ebx + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [ebx + 4], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47fa7a
mov dword [ebx + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [ebx + 4], edx
mov esi, ebx
call fcn.00469790
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x47faa3
mov edi, dword [ebp + 8]
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0043e000
mov edi, dword [esp + 0x4c]
add esp, 8
mov edx, dword [ebp + 8]
mov esi, dword [edx]
push 0
push 0x30
call fcn.0043ba30
mov esi, eax
add esp, 8
test esi, esi
je 0x47fad8
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x49
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
test esi, esi
jne 0x47fafe
mov eax, edx
push ebx
push eax
call fcn.00469eb0
mov ecx, dword [esp + 0x4c]
push edi
push ecx
call fcn.00469eb0
add esp, 0x10
jmp 0x47fb43
test edi, edi
je 0x47fb11
mov dword [esi + 0x10], edi
mov edx, dword [edi + 4]
and edx, 0x200100
or dword [esi + 4], edx
test ebx, ebx
je 0x47fb23
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200100
or dword [esi + 4], eax
call fcn.00469790
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x47fb43
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0043e000
add esp, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov eax, esi
call fcn.00469b40
mov edi, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x47fc86
cmp eax, 9
jne 0x47fccc
cmp dword [ebp + 0x14], 0
je 0x47fc86
mov esi, dword [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push eax
push 0x1b
push esi
call fcn.00469870
push 0
lea ecx, [esp + 0x74]
push ecx
push 0x1b
push esi
mov ebx, eax
call fcn.00469870
mov esi, dword [edi]
push 0
push 0x30
mov dword [esp + 0x68], eax
call fcn.0043ba30
mov esi, eax
add esp, 0x28
test esi, esi
je 0x47fbd7
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x7a
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov eax, dword [edi]
mov dword [esp + 0x44], eax
test esi, esi
jne 0x47fbfe
mov ecx, dword [esp + 0x40]
push ecx
mov edx, eax
push edx
call fcn.00469eb0
mov eax, dword [esp + 0x4c]
push ebx
push eax
call fcn.00469eb0
add esp, 0x10
jmp 0x47fc48
test ebx, ebx
je 0x47fc11
mov dword [esi + 0x10], ebx
mov ecx, dword [ebx + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47fc28
mov dword [esi + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [esi + 4], edx
call fcn.00469790
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
cmp dword [esi + 0x18], eax
jle 0x47fc48
mov edi, dword [ebp + 8]
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0043e000
add esp, 8
mov ecx, dword [esp + 0x20]
push esi
mov eax, edi
call fcn.0046a990
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x47fc86
mov eax, dword [ecx]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x24]
lea esi, [eax + edx*8 - 0x18]
mov edx, dword [esp + 0x68]
push 0
push ecx
push edx
mov edx, dword [edi]
call fcn.0043bc50
add esp, 0xc
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
jl 0x47f6b0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x47fdc5
test edi, edi
je 0x47fdbc
cmp dword [edi + 0x208], 0
je 0x47fd96
mov ecx, edi
call fcn.0043b790
jmp 0x47fdc5
cmp eax, 8
jne 0x47fd42
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov ecx, dword [eax + ecx + 4]
test ecx, ecx
je 0x47fcfb
mov edx, dword [esp + 0x10]
push edx
xor eax, eax
call fcn.0046a370
add esp, 4
mov esi, eax
jmp 0x47fc48
mov esi, dword [edi]
push 0
push 0x30
call fcn.0043ba30
mov esi, eax
add esp, 8
test esi, esi
je 0x47fd2d
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x65
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov ebx, dword [edi]
test esi, esi
je 0x47fd7e
call fcn.00469790
mov ecx, dword [edi]
mov eax, dword [ecx + 0x64]
jmp 0x47fc32
mov esi, dword [edi]
push 0
push 0x30
call fcn.0043ba30
mov esi, eax
add esp, 8
test esi, esi
je 0x47fd74
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x65
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov ebx, dword [edi]
test esi, esi
jne 0x47fc28
push 0
push ebx
call fcn.00469eb0
push 0
push ebx
call fcn.00469eb0
add esp, 0x10
jmp 0x47fc48
cmp eax, dword [edi + 0x114]
jb 0x47fdbc
cmp eax, dword [edi + 0x118]
jae 0x47fdbc
mov edx, dword [edi + 0x110]
mov dword [eax], edx
dec dword [edi + 0xfc]
mov dword [edi + 0x110], eax
jmp 0x47fdc5
push eax
call fcn.0043b720
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
test edx, edx
jne 0x47fdd8
xor eax, eax
jmp 0x47fdee
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fde0
sub eax, esi
and eax, 0x3fffffff
cmp dword [esp + 0x34], 6
mov dword [esp + 0x1c], eax
jne 0x47fe7f
mov dword [esp + 0x60], edx
push 0
lea edx, [esp + 0x6c]
push edx
push 0x39
push edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], str.FOREIGN_KEY_constraint_failed
mov dword [esp + 0x7c], 0x1d
call fcn.00469870
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47fe31
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 + 0x80]
push ecx
push edi
xor ecx, ecx
xor eax, eax
call fcn.00478020
add esp, 0xc
push eax
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0046a990
add esp, 4
push eax
push esi
call fcn.0048a3f0
add esp, 0x28
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov dl, byte [edi + 0xfa]
xor eax, eax
add ecx, 0x49
push eax
push ecx
mov esi, edi
mov byte [esp + 0x17], dl
mov byte [edi + 0xfa], 0
call fcn.0043ba30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47febe
mov eax, dword [esp + 0x1c]
add eax, 0x49
push eax
push 0
push ebx
call fcn.0050e6a0
add esp, 0xc
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x47ffdf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
lea eax, [ebx + 0x24]
mov esi, eax
push ecx
mov dword [ebx + 0x1c], eax
lea eax, [esi + 0x24]
push edx
push eax
mov dword [esp + 0x38], esi
mov dword [esi + 0xc], eax
call fcn.00510c60
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push 1
push eax
push edi
call fcn.00469fe0
mov ecx, dword [esp + 0x30]
push 1
push ecx
push edi
mov dword [esi + 0x10], eax
call fcn.0046a390
mov edx, dword [esp + 0x4c]
add esp, 0x1c
push 1
push edx
push edi
mov dword [esi + 0x14], eax
call fcn.0046a850
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esi + 8], eax
je 0x47ffe3
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push 0
push 0x30
call fcn.0043ba30
mov esi, eax
add esp, 8
test esi, esi
je 0x47ff67
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x44], eax
test esi, esi
jne 0x47ff91
mov ecx, dword [esp + 0x14]
push ecx
mov edx, eax
push edx
call fcn.00469eb0
mov eax, dword [esp + 0x4c]
push esi
push eax
call fcn.00469eb0
add esp, 0x10
jmp 0x47ffca
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
call fcn.00469790
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
cmp dword [esi + 0x18], eax
jle 0x47ffca
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov edi, edx
call fcn.0043e000
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push 1
push esi
push edi
mov dword [esp + 0x24], esi
call fcn.00469fe0
add esp, 0x10
mov dword [ebx + 0xc], eax
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0xf]
push edx
push edi
mov byte [edi + 0xfa], cl
call fcn.00469eb0
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.00469eb0
mov ecx, dword [esp + 0x30]
push ecx
push edi
call fcn.0046ab40
mov edx, dword [esp + 0x48]
push 1
push edx
push edi
call fcn.0048a310
add esp, 0x24
cmp byte [edi + 0x41], 1
jne 0x480038
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0047eb90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x480056
cmp eax, 9
jne 0x480051
cmp dword [ebp + 0x14], 0
jne 0x480051
mov byte [esi], 0x6d
jmp 0x480059
mov byte [esi], 0x6e
jmp 0x480059
mov byte [esi], 0x77
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
mov dword [esi + 4], ebx
mov ecx, dword [eax + 0x40]
mov dword [ebx + 0x14], ecx
mov edx, dword [eax + 0x40]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x18], edx
setne dl
mov dword [ecx + eax*4 + 0x1c], ebx
mov eax, dword [esp + 0x40]
add dl, 0x6d
mov byte [ebx + 8], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret