Function at 0x45bf84
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x68], edx
xor ecx, ecx
mov dword [ebp - 0x7c], esi
push edi
mov dword [ebp - 0xac], ecx
mov eax, dword [esi]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x24], ecx
jne 0x45ce3e
cmp byte [eax + 0x49], cl
jne 0x45ce3e
mov ecx, esi
call fcn.0044aca2
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x45ce3e
mov edx, dword [ebx + 0x48]
mov ecx, dword [esi]
call fcn.0045498e
mov dword [ebp - 0x18], eax
mov edx, ebx
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
push dword [ebp + 8]
push 0x6f
call fcn.0045b923
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xc]
mov edx, ebx
mov ecx, esi
mov dword [ebp - 0x5c], eax
call fcn.0044812a
test eax, eax
jne 0x45ce3e
push dword [ebp - 0x58]
mov edx, ebx
mov ecx, esi
call fcn.0044acdf
pop ecx
test eax, eax
jne 0x45ce3e
mov ecx, dword [esi + 0x28]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x74], ecx
lea edx, [ecx + 1]
mov dword [esi + 0x28], edx
test byte [ebx + 0x24], 0x20
mov dword [ebp - 0x80], edx
jne 0x45c07e
and dword [ebp - 0x14], eax
jmp 0x45c08b
mov ecx, ebx
call fcn.00446b5b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x50], edi
test eax, eax
je 0x45c0af
cmp dword [ebp - 0x14], eax
cmove ecx, edx
inc edx
mov dword [esi + 0x28], edx
inc edi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x45c097
mov dword [ebp - 0x50], edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45c0c8
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x80], edx
mov dword [esi + 0x28], eax
mov edx, dword [ebp - 0x68]
push 0
mov dword [edx + 0x34], ecx
movsx eax, word [ebx + 0x2a]
mov ecx, dword [ebp - 0x6c]
add eax, edi
lea eax, [eax*4 + 2]
add eax, edi
push eax
call fcn.0041a72c
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x45ce3e
movsx eax, word [ebx + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + edi*4]
mov dword [ebp - 0x94], eax
lea eax, [edi + 1]
mov dword [ebp - 0x3c], ecx
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.004722c0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x45c140
mov esi, dword [ebp - 0x20]
or dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x45c130
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0xd0]
and dword [ebp - 0x28], 0
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
xor cl, cl
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
mov eax, 0x200
mov word [ebp - 0xb8], ax
xor al, al
cmp dword [edx], 0
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0x78], eax
mov byte [ebp - 1], cl
jle 0x45c2c0
lea eax, [edx + 4]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
lea ecx, [ebp - 0xd0]
call fcn.0043edbb
test eax, eax
jne 0x45ce3e
movsx eax, word [ebx + 0x2a]
xor edi, edi
test eax, eax
jle 0x45c21c
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov ecx, dword [eax]
call fcn.0041c92a
test eax, eax
je 0x45c1db
mov eax, dword [ebp - 0x48]
inc edi
movsx ecx, word [ebx + 0x2a]
add eax, 0x10
mov dword [ebp - 0x48], eax
cmp edi, ecx
jl 0x45c1b6
jmp 0x45c21c
movsx eax, word [ebx + 0x28]
cmp edi, eax
jne 0x45c1f3
xor eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
jmp 0x45c213
cmp dword [ebp - 0x14], 0
je 0x45c213
mov ecx, dword [ebx + 4]
mov eax, edi
add eax, eax
xor edx, edx
inc edx
test byte [ecx + eax*8 + 0xf], dl
mov eax, dword [ebp - 0x78]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [ecx + edi*4], eax
movsx eax, word [ebx + 0x2a]
cmp edi, eax
jl 0x45c252
cmp dword [ebp - 0x14], 0
jne 0x45c2d4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
call fcn.00440903
test eax, eax
je 0x45c2d4
xor eax, eax
or edi, 0xffffffff
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
test edi, edi
jns 0x45c25d
mov edx, 0x4a4314
jmp 0x45c267
mov eax, dword [ebx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x18]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push edx
push dword [ebx]
push 0x17
pop edx
call fcn.0044604e
xor ecx, ecx
add esp, 0xc
inc ecx
cmp eax, ecx
je 0x45ce3e
cmp eax, 2
jne 0x45c29c
mov eax, dword [ebp - 0x20]
or dword [eax + edi*4], 0xffffffff
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
cmp edi, dword [ecx]
jl 0x45c191
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 1]
mov edi, dword [ebp - 0x68]
cmp dword [ebx + 0x38], 0
lea edx, [ecx + eax]
mov byte [ebp - 0x1c], dl
je 0x45c2f8
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x45c30f
imul eax, dword [ebp - 0x28], 0x18
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 8]
push str.foreign_key_list
push esi
call fcn.0041c854
xor eax, eax
add esp, 0xc
inc eax
mov byte [esi + 0x11], al
jmp 0x45ce3e
xorps xmm0, xmm0
movlpd qword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x40], eax
movzx eax, dl
mov edx, ebx
push eax
push dword [ebp - 0x20]
mov dword [edi + 0x44], ecx
mov ecx, esi
mov dword [ebp - 0xa0], eax
call fcn.0044e643
pop ecx
pop ecx
mov ecx, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], edi
test ecx, ecx
je 0x45c3c5
mov ebx, dword [ebp - 0x3c]
cmp byte [ebp - 0x1c], 0
jne 0x45c444
cmp eax, 1
jg 0x45c444
cmp dword [ecx + 0x24], 0
jne 0x45c444
cmp ecx, dword [ebp - 0x14]
je 0x45c444
movzx eax, word [ecx + 0x32]
xor edx, edx
xor edi, edi
mov dword [ebp - 0x48], edx
test eax, eax
je 0x45c3a3
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test ax, ax
js 0x45c40d
mov ebx, dword [ebp - 0x20]
cwde
cmp dword [ebx + eax*4], 0
mov ebx, dword [ebp - 0x3c]
jge 0x45c40d
movzx eax, word [ecx + 0x32]
inc edi
add edx, 2
cmp edi, eax
jl 0x45c37b
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0xc]
mov byte [edi + ebx + 1], 0
mov eax, dword [ebp - 0x94]
mov dword [eax + edi*4], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], edi
test ecx, ecx
jne 0x45c343
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x60], 0
je 0x45c3df
mov eax, dword [ebp - 0x50]
inc eax
push eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.004722c0
add esp, 0xc
mov ecx, esi
call fcn.00456ba5
mov edi, eax
test edi, edi
je 0x45ce3e
cmp byte [esi + 0x12], 0
jne 0x45c3fd
mov ecx, edi
call fcn.00434b26
cmp dword [ebp - 0x34], 0
jne 0x45c455
cmp dword [ebp - 0x24], 0
jne 0x45c455
xor edx, edx
jmp 0x45c45a
inc dword [esi + 0x2c]
movzx eax, word [ecx + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
cmp dword [ebp + 0x10], 5
mov dword [esi + 0x2c], eax
je 0x45c42e
cmp dword [ebp + 0x10], 0xb
jne 0x45c434
cmp byte [ecx + 0x36], 5
jne 0x45c434
xor eax, eax
inc eax
mov dword [ebp - 0x60], eax
mov edi, dword [ebp - 0xc]
test edx, edx
jne 0x45c3ab
jmp 0x45c3a6
inc dword [esi + 0x2c]
movzx eax, word [ecx + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 0x2c], eax
jmp 0x45c437
xor eax, eax
lea edx, [eax + 1]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0044a0cb
cmp dword [ebx + 0x38], 0
pop ecx
jne 0x45c4d1
inc dword [esi + 0x2c]
cmp byte [ebp - 0x78], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x98], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x44], ecx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x10], ecx
jne 0x45c497
test edx, edx
jne 0x45c497
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x45c4ac
lea eax, [ecx + 1]
mov dword [ebp - 0xa8], eax
movsx eax, word [ebx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x24]
cmp byte [ebp - 0x1c], 0
jne 0x45c4ba
test edx, edx
jne 0x45c4ba
test eax, eax
je 0x45c4c3
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [ebp - 0x40], eax
movsx eax, word [ebx + 0x2a]
add dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x45c505
push dword [ebx]
lea edx, [ebp - 0xb4]
mov ecx, esi
call fcn.004460ca
mov eax, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x45c505
push dword [ebp - 8]
mov edx, ebx
push 0
push 0
push dword [ebp + 0xc]
call fcn.0044ad40
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
call fcn.0043edbb
test eax, eax
jne 0x45ce3e
cmp dword [ebx + 0x38], eax
je 0x45c542
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x68]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp + 8]
push ebx
call fcn.0045ce7b
add esp, 0x18
jmp 0x45ce3e
mov ecx, edi
call fcn.00431bbd
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x6c]
test byte [eax + 0x1c], 0x80
je 0x45c585
cmp dword [esi + 0x7c], 0
jne 0x45c585
cmp byte [esi + 0x12], 0
jne 0x45c585
cmp dword [ebp + 0x1c], 0
jne 0x45c585
inc dword [esi + 0x2c]
mov ecx, edi
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x43
pop edx
mov dword [ebp - 0xa4], eax
call fcn.00431977
pop ecx
pop ecx
test byte [ebx + 0x24], 0x20
jne 0x45c5a5
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x98]
push 0
push 0x46
pop edx
call fcn.004318f3
add esp, 0xc
jmp 0x45c612
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x2c]
inc edx
mov dword [ebp - 0x70], edx
movzx eax, word [eax + 0x32]
movsx ecx, ax
mov dword [ebp - 0x4c], eax
lea eax, [ecx + 1]
add dword [esi + 0x2c], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x2c], eax
jne 0x45c6b4
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x64], eax
inc eax
mov dword [esi + 0x28], eax
lea eax, [ecx - 1]
add eax, edx
mov ecx, edi
push eax
push edx
push 0
push 0x46
pop edx
call fcn.004318f3
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
movsx eax, cx
mov ecx, edi
push eax
push dword [ebp - 0x64]
push 0x6e
pop edx
call fcn.00431977
mov edx, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, esi
mov dword [ebp - 0x54], eax
call fcn.0043214f
cmp dword [ebp + 0x1c], 0
jne 0x45c6b4
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x45c643
cmp dword [ebp - 0x34], 0
jne 0x45c643
cmp dword [ebp - 0x24], 0
jne 0x45c643
cmp byte [ebp - 0x1c], 0
jne 0x45c643
cmp dword [ebp - 0x60], 0
lea ecx, [eax + 8]
cmove eax, ecx
push dword [ebp - 0x80]
mov edx, dword [ebp - 0x68]
mov ecx, esi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.00466334
add esp, 0x14
mov dword [ebp - 0x48], eax
test eax, eax
je 0x45ce3e
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.00462575
mov edx, eax
xor eax, eax
inc eax
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x45c6cf
mov ecx, esi
call fcn.0044a0f8
cmp edx, 2
jne 0x45c6cf
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 8]
test eax, eax
js 0x45c6d2
cmp eax, ecx
je 0x45c6d2
sub eax, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x3c]
push 0
cmp byte [eax + ebx], 0
mov ebx, dword [ebp - 0x30]
pop eax
cmovne edx, eax
mov dword [ebp - 0x18], edx
jmp 0x45c6d2
and dword [ebp - 0x48], 0
xor eax, eax
push 0x10
push dword [ebp - 0x28]
inc eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push esi
call fcn.004431b1
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ebx + 0x24], 0x20
jne 0x45c70f
push dword [ebp - 0x10]
push ecx
push 0x7d
pop edx
mov ecx, edi
call fcn.00431977
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
test edx, edx
jne 0x45c7cc
push dword [ebp - 0x10]
mov edx, 0x91
mov ecx, edi
push dword [ebp - 0x98]
call fcn.00431977
pop ecx
pop ecx
jmp 0x45c7c9
mov eax, dword [ebp - 0x4c]
and dword [ebp - 0x84], 0
cwde
test eax, eax
jle 0x45c753
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x70]
mov edx, ebx
add eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push ecx
mov ecx, edi
call fcn.00441c62
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
movsx eax, cx
inc esi
mov ecx, dword [ebp - 8]
cmp esi, eax
jl 0x45c724
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x45c781
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x45c76d
mov edx, eax
mov ecx, edi
call fcn.00431fe3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
movsx eax, cx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
jmp 0x45c7cc
mov edx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0044ecb2
pop ecx
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x2c]
movsx eax, cx
mov ecx, edi
push eax
push dword [ebp - 0x70]
push 0x65
pop edx
call fcn.00431a3d
mov ecx, dword [ebp - 0x4c]
add esp, 0x14
movsx eax, cx
mov edx, 0x81
mov ecx, edi
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
push dword [ebp - 0x64]
call fcn.00431b6e
add esp, 0x10
mov edx, dword [ebp - 0x18]
cmp dword [ebp + 0x1c], 0
jne 0x45c968
cmp edx, 2
je 0x45c7e6
mov ecx, dword [ebp - 0x48]
call fcn.00466c27
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x45c881
xor eax, eax
mov dword [ebp - 0x54], eax
test edx, edx
je 0x45c82d
cmp dword [ebp - 0x90], eax
jl 0x45c812
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
js 0x45c833
mov esi, dword [ebp - 0x3c]
mov eax, ecx
sub eax, dword [ebp - 0x74]
mov byte [eax + esi], 0
mov esi, dword [ebp - 0x7c]
jmp 0x45c833
mov ecx, dword [ebp - 0x8c]
cmp edx, 2
jne 0x45c855
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x50]
setns al
sub ecx, eax
test ecx, ecx
jle 0x45c855
push 0x14
pop edx
mov ecx, edi
call fcn.00431955
mov dword [ebp - 0x54], eax
xor eax, eax
mov edx, ebx
push eax
push eax
push dword [ebp - 0x3c]
mov ecx, esi
push dword [ebp - 0x74]
push eax
push 0x6b
call fcn.00450aaf
mov eax, dword [ebp - 0x54]
add esp, 0x18
test eax, eax
je 0x45c87e
mov edx, eax
mov ecx, edi
call fcn.00431e98
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45c8ea
test ecx, ecx
jne 0x45c8bc
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x90], ecx
je 0x45c8bc
cmp dword [ebp - 0x8c], ecx
je 0x45c8bc
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push ecx
push 0x1d
pop edx
mov ecx, edi
call fcn.00431b6e
mov eax, dword [ebp - 0x18]
add esp, 0x10
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x45c8cd
mov ecx, edi
call fcn.00431bbd
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
mov ecx, edi
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
cmovne eax, dword [ebp - 0x2c]
push eax
push 0x32
pop edx
call fcn.00431977
pop ecx
pop ecx
jmp 0x45c968
cmp dword [ebp - 0x14], 0
mov ecx, edi
je 0x45c93a
call fcn.00431bbd
push dword [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0xc], eax
push dword [ebp - 0x64]
push 0x25
pop edx
call fcn.00431977
push dword [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x64]
push 0x7c
pop edx
call fcn.00431977
push 0
push dword [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0xac], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.00431b6e
add esp, 0x20
jmp 0x45c968
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x98]
push 0x2a
pop edx
call fcn.004318f3
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, edi
push dword [ebp - 0x10]
push eax
push dword [ebp - 8]
push 0x20
pop edx
call fcn.004318f3
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x45c98a
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.00442c0b
pop ecx
push dword [ebp - 0x44]
mov ecx, edi
push 0x11
pop edx
call fcn.00431963
pop ecx
cmp byte [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
jne 0x45c9a0
test eax, eax
jne 0x45c9a4
cmp dword [ebp - 0x34], eax
je 0x45ca78
test eax, eax
je 0x45c9af
mov edx, ebx
mov ecx, esi
call fcn.0044e574
jmp 0x45c9b1
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push ebx
push 3
push 0
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
call fcn.0045bea7
mov edx, dword [ebp - 0x38]
add esp, 0x14
and dword [ebp - 0x84], 0
or edx, eax
xor eax, eax
mov dword [ebp - 0x38], edx
cmp ax, word [ebx + 0x2a]
jge 0x45ca5a
mov esi, dword [ebp - 0x84]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp edx, 0xffffffff
je 0x45ca29
cmp esi, 0x20
jge 0x45ca06
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edx, eax
jne 0x45ca29
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebx + 4]
test byte [eax + ecx + 0xf], 1
jne 0x45ca29
mov eax, dword [ebp - 0xa8]
mov ecx, edi
add eax, esi
push eax
push 0
push 0x46
pop edx
call fcn.00431977
pop ecx
pop ecx
jmp 0x45ca42
mov eax, dword [ebp - 0xa8]
mov edx, ebx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [ebp - 8]
call fcn.00441c62
add esp, 0xc
mov ecx, dword [ebp - 0x50]
inc esi
movsx eax, word [ebx + 0x2a]
add ecx, 0x10
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x50], ecx
cmp esi, eax
jl 0x45c9ee
mov esi, dword [ebp - 0x7c]
cmp byte [ebp - 1], 0
jne 0x45ca78
cmp dword [ebp - 0x14], 0
jne 0x45ca78
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 0x10]
push 0x4b
pop edx
call fcn.00431977
pop ecx
pop ecx
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
xor eax, eax
push ebx
inc eax
mov ecx, esi
push eax
push eax
push dword [ebp + 8]
call fcn.0045bea7
mov edx, dword [ebp - 0x30]
add esp, 0x14
mov dword [ebp - 0x84], eax
xor ebx, ebx
xor eax, eax
cmp ax, word [edx + 0x2a]
jge 0x45cb44
movsx eax, word [edx + 0x28]
cmp ebx, eax
jne 0x45cac5
mov eax, dword [ebp - 0x40]
mov ecx, edi
add eax, ebx
push eax
push 0
push 0x46
pop edx
call fcn.00431977
pop ecx
jmp 0x45cb33
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
js 0x45cae8
mov eax, dword [ebp - 0x40]
imul edx, ecx, 0x18
add eax, ebx
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + eax + 4]
call fcn.00442c0b
jmp 0x45cb33
mov eax, dword [ebp - 0x58]
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [ebp - 0x54], eax
je 0x45cb08
cmp ebx, 0x1f
jg 0x45cb08
mov eax, ecx
mov ecx, ebx
shl eax, cl
test dword [ebp - 0x84], eax
je 0x45cab0
mov eax, dword [ebp - 0x40]
mov ecx, esi
add eax, ebx
push eax
push dword [ebp - 8]
push ebx
call fcn.00441da1
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x45cb34
mov edx, dword [ebp - 0x40]
xor eax, eax
inc eax
mov ecx, esi
push eax
lea edx, [ebx + edx]
call fcn.00441b76
pop ecx
mov edx, dword [ebp - 0x30]
inc ebx
movsx eax, word [edx + 0x2a]
cmp ebx, eax
jl 0x45caa8
xor eax, eax
inc eax
test byte [ebp - 0x58], al
je 0x45cbf8
push dword [ebp - 0x40]
mov ecx, edi
call fcn.0044ed6b
mov ebx, dword [ebp - 0x30]
xor eax, eax
mov edx, dword [ebp - 0x34]
inc eax
pop ecx
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ebx
push eax
push dword [ebp + 8]
push 0x6f
call fcn.0045be53
add esp, 0x1c
mov ecx, edi
cmp dword [ebp - 0x14], 0
je 0x45cba2
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.00431b6e
add esp, 0x10
jmp 0x45cbb6
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x20
pop edx
call fcn.004318f3
add esp, 0xc
mov edx, dword [ebp - 0x30]
xor eax, eax
xor ebx, ebx
cmp ax, word [edx + 0x2a]
jge 0x45cbf8
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
cmp dword [eax + ebx*4], 0
jge 0x45cbec
movsx eax, word [edx + 0x28]
cmp ebx, eax
je 0x45cbec
mov eax, dword [ebp - 0x40]
mov ecx, edi
add eax, ebx
push eax
push ebx
push esi
call fcn.00441c62
mov edx, dword [ebp - 0x30]
add esp, 0xc
movsx eax, word [edx + 0x2a]
inc ebx
cmp ebx, eax
jl 0x45cbc6
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x5c], 0
jne 0x45cd61
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x60]
push 0
push ebx
push eax
push dword [ebp - 0xc]
and dword [ebp - 0x58], 0
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x44]
push dword [ebp - 0x80]
push dword [ebp - 8]
push dword [ebp - 0x94]
call fcn.0044fe9c
add esp, 0x2c
cmp dword [ebp - 0x24], 0
je 0x45cc58
push dword [ebp - 0xa0]
mov ecx, esi
push ebx
mov ebx, dword [ebp - 0x30]
mov edx, ebx
push 0
push dword [ebp - 0x10]
call fcn.0044e1a7
add esp, 0x10
jmp 0x45cc5b
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x60], 0
jne 0x45cc67
cmp byte [ebp - 0x1c], 0
je 0x45cca0
cmp dword [ebp - 0x14], 0
mov ecx, edi
je 0x45cc8a
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push 0
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.00431b6e
add esp, 0x10
jmp 0x45cc9d
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push 0x20
pop edx
call fcn.004318f3
add esp, 0xc
mov dword [ebp - 0x58], eax
push 0xffffffffffffffff
push dword [ebp - 0x94]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x80]
push dword [ebp - 8]
call fcn.0044b871
xor eax, eax
add esp, 0x10
inc eax
cmp dword [ebp - 0x24], eax
jg 0x45ccc9
mov al, byte [ebp - 0x1c]
test al, al
je 0x45ccdd
push 0
push dword [ebp - 8]
mov ecx, edi
push 0x78
pop edx
call fcn.00431977
mov al, byte [ebp - 0x1c]
pop ecx
pop ecx
cmp dword [ebp - 0x60], 0
jne 0x45cce7
test al, al
je 0x45ccf1
mov edx, dword [ebp - 0x58]
mov ecx, edi
call fcn.00431e98
cmp dword [ebp - 0x24], 0
je 0x45cd11
push dword [ebp - 0xa0]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x20]
push dword [ebp - 0x44]
push 0
call fcn.0044e1a7
add esp, 0x10
cmp dword [ebp - 0x18], 2
mov edx, ebx
push 0
push 0
push 4
pop eax
push 6
pop ecx
cmove eax, ecx
mov ecx, esi
push eax
push dword [ebp - 0x94]
push dword [ebp - 0x44]
push dword [ebp - 0x80]
push dword [ebp - 8]
call fcn.0045090b
add esp, 0x1c
cmp dword [ebp - 0x24], 0
je 0x45cd64
push dword [ebp - 0xa0]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0044eb35
add esp, 0x10
jmp 0x45cd64
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x45cd7f
xor ecx, ecx
inc ecx
push ecx
push eax
push 0x50
pop edx
mov ecx, edi
call fcn.00431977
pop ecx
pop ecx
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp + 8]
push 0x6f
call fcn.0045be53
mov eax, dword [ebp - 0x18]
xor ebx, ebx
inc ebx
add esp, 0x1c
cmp eax, ebx
je 0x45cde7
mov edx, dword [ebp - 0xc]
mov ecx, edi
cmp eax, 2
jne 0x45cdc0
call fcn.00431bff
mov ecx, dword [ebp - 0x48]
call fcn.00466c27
jmp 0x45cde7
cmp dword [ebp - 0x14], 0
je 0x45cde2
call fcn.00431bff
push dword [ebp - 0xac]
mov ecx, edi
push dword [ebp - 0x64]
push 7
pop edx
call fcn.00431977
pop ecx
pop ecx
jmp 0x45cde7
call fcn.0043198c
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.00431bff
cmp byte [esi + 0x12], 0
jne 0x45ce0a
cmp dword [esi + 0x7c], 0
jne 0x45ce0a
cmp dword [ebp + 0x1c], 0
jne 0x45ce0a
mov ecx, esi
call fcn.0044f0fc
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x45ce3e
push ebx
push eax
push 0x4e
pop edx
mov ecx, edi
call fcn.00431977
mov edx, ebx
mov ecx, edi
call fcn.00432ce2
push 0
push str.foreign_keys
push 0
xor edx, edx
mov ecx, edi
call fcn.00432d4a
add esp, 0x14
lea ecx, [ebp - 0xb4]
call fcn.004460e3
mov esi, dword [ebp - 0x6c]
mov ecx, esi
mov edx, dword [ebp - 0x20]
call fcn.0041a50a
mov edx, dword [ebp - 0x68]
mov ecx, esi
call fcn.00449cb4
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004405d0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.0043fbd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret