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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
mov ebx, eax
xor eax, eax
cmp dword [esp + 0xcc], eax
push esi
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
jne 0x56a19b
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0xbc
ret
movzx edx, word [ebp + 0x10]
movzx ecx, byte [ebp + 1]
push edi
lea edi, [ecx + edx]
cmp edi, 2
jge 0x56a1b5
lea ebx, [edi + 1]
mov dword [esp + 0x24], ebx
jmp 0x56a1d0
cmp ebx, eax
mov dword [esp + 0x24], 3
je 0x56a1cb
cmp ebx, edi
lea eax, [edi - 2]
je 0x56a1cb
lea eax, [ebx - 1]
mov edi, 2
mov dword [esp + 0x14], eax
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x56a1ea
movzx eax, byte [ebp + 5]
mov ecx, dword [ebp + 0x40]
lea eax, [eax + ecx + 8]
jmp 0x56a204
movzx edx, word [ebp + 0xc]
mov eax, dword [ebp + 0x40]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
movzx ecx, word [ebp + 0x12]
and edx, ecx
add eax, edx
movzx ecx, byte [eax + 2]
xor edx, edx
mov dh, byte [eax]
mov dword [esp + 0x50], eax
lea ebx, [esp + edi*4 + 0x6c]
push ebx
mov dl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or eax, edx
push eax
push esi
mov dword [esp + 0x2c], eax
call fcn.00568df0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x56a3b0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edi]
jmp 0x56a254
mov eax, dword [esp + 0x44]
mov ebx, dword [ebx]
movzx ecx, byte [ebx + 1]
add ecx, dword [esp + 0x2c]
movzx edx, word [ebx + 0x10]
lea edx, [ecx + edx + 1]
mov ecx, edi
sub eax, 1
sub edi, 1
test ecx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
je 0x56a3cc
movzx edx, word [ebp + 0x18]
cmp eax, edx
jne 0x56a2cd
cmp byte [ebp + 1], 0
je 0x56a2cd
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 1]
mov ch, byte [eax]
movzx edx, byte [eax + 2]
mov dword [esp + edi*4 + 0x84], eax
push eax
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
mov eax, ebp
mov dword [esp + 0x24], ecx
call fcn.005431b0
movzx eax, ax
add esp, 4
mov dword [esp + edi*4 + 0x54], eax
mov byte [ebp + 1], 0
jmp 0x56a391
movzx ecx, byte [ebp + 1]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x40]
sub edx, ecx
movzx ecx, word [ebp + 0xc]
add edx, edi
add ecx, eax
lea ecx, [ecx + edx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
movzx ecx, word [ebp + 0x12]
and edx, ecx
movzx ecx, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax + 1]
mov dh, byte [eax]
mov dword [esp + edi*4 + 0x84], eax
push eax
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 3]
shl edx, 8
or edx, ecx
mov eax, ebp
mov dword [esp + 0x24], edx
call fcn.005431b0
movzx ebx, ax
add esp, 4
cmp byte [esi + 0x12], 0
mov dword [esp + edi*4 + 0x54], ebx
je 0x56a370
mov esi, dword [esp + edi*4 + 0x84]
mov ecx, dword [esp + 0x30]
mov eax, esi
sub eax, dword [ebp + 0x40]
lea edx, [ebx + eax]
cmp edx, dword [ecx + 0x24]
jg 0x56ad10
mov edx, dword [esp + 0xd4]
push ebx
add eax, edx
push esi
push eax
call fcn.005c3170
sub esi, dword [ebp + 0x40]
add esp, 0xc
add esi, dword [esp + 0xd4]
mov dword [esp + edi*4 + 0x84], esi
movzx ecx, byte [ebp + 1]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
sub edx, ecx
add edx, edi
push ebx
push edx
mov esi, ebp
call fcn.0055a260
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x20]
lea ebx, [esp + edi*4 + 0x6c]
push ebx
push eax
push esi
call fcn.00568df0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x56a250
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x70]
push 0
push edx
call fcn.005c0cf0
add esp, 0xc
jmp 0x56ad4e
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x2c]
lea ecx, [eax + 0x50]
mov dword [esp + 0x4c], ecx
imul ecx, dword [esp + 0x24]
add ebx, 3
and ebx, 0xfffffffc
lea edx, [ebx + ebx*2]
add ecx, eax
lea edi, [ecx + edx*2]
call fcn.00549160
test eax, eax
mov dword [esp + 0x28], eax
jne 0x56a407
mov dword [esp + 0x10], 7
jmp 0x56ad4e
lea ebp, [eax + ebx*4]
lea eax, [ebp + ebx*2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
movzx cx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
cmp dword [esp + 0x24], 0
movzx edx, cx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], 0
jle 0x56a5f6
mov ecx, dword [esp + 0x24]
add ecx, 0xffffffff
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], 0
lea ebx, [ebx]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xa0], ebx
mov eax, dword [esp + eax*4 + 0x6c]
mov esi, eax
mov ecx, 0x13
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x40], ecx
mov edx, dword [edx + 0x20]
mov eax, dword [eax + 0x40]
push edx
push eax
push ecx
call fcn.005c3170
movzx esi, word [ebx + 0x10]
movzx ecx, byte [ebx + 1]
mov edi, dword [esp + 0x40]
add esi, ecx
add esp, 0xc
test esi, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x48], 0
jle 0x56a53e
movzx eax, byte [ebx + 1]
sub eax, 1
mov ecx, dword [esp + 0x48]
js 0x56a4f7
lea edx, [ebx + eax*8 + 0x14]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x56a4e6
je 0x56a5b7
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x56a4d5
mov esi, dword [esp + 0x80]
movzx edx, word [ebx + 0xc]
mov eax, dword [ebx + 0x40]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
movzx ecx, word [ebx + 0x12]
and edx, ecx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [edx + edi*4], eax
push eax
mov eax, ebx
call fcn.005431b0
mov word [ebp + edi*2], ax
mov eax, dword [esp + 0x4c]
add eax, 1
add esp, 4
add edi, 1
cmp eax, esi
mov dword [esp + 0x48], eax
jl 0x56a4c4
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x7c]
jge 0x56a5d9
cmp dword [esp + 0x38], 0
jne 0x56a5d9
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, eax
movzx eax, word [esp + edx*4 + 0x54]
mov word [ebp + edi*2], ax
movzx eax, ax
add esi, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + edx*4 + 0x84]
push eax
push ecx
push esi
call fcn.005c3170
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
movzx edx, ax
add edx, esi
mov dword [ecx + edi*4], edx
sub word [ebp + edi*2], ax
movzx eax, word [ebp + edi*2]
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x56a5c5
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
mov eax, ecx
mov ecx, dword [eax + edi*4]
mov dword [ecx], edx
jmp 0x56a5d2
mov eax, dword [edx]
mov esi, dword [esp + 0x80]
jmp 0x56a511
cmp ax, 4
jae 0x56a5d2
mov word [ebp + edi*2], 4
add edi, 1
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x68], ecx
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x56a460
movzx eax, word [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x24]
mov edi, dword [esp + 0x34]
lea esi, [ecx + eax - 0xc]
xor ecx, ecx
xor ebx, ebx
xor eax, eax
test edi, edi
jle 0x56a64d
movzx edx, word [ebp + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x56a646
sub eax, edx
cmp dword [esp + 0x38], 0
mov dword [esp + ebx*4 + 0x54], eax
mov dword [esp + ebx*4 + 0x8c], ecx
je 0x56a638
sub ecx, 1
add ebx, 1
xor eax, eax
cmp ebx, 4
jg 0x56a6d7
add ecx, 1
cmp ecx, edi
jl 0x56a614
mov dword [esp + ebx*4 + 0x8c], edi
add ebx, 1
mov dword [esp + ebx*4 + 0x50], eax
lea edi, [ebx - 1]
test edi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], edi
jle 0x56a718
mov edi, edi
mov eax, dword [esp + edi*4 + 0x88]
mov edx, dword [esp + edi*4 + 0x54]
mov esi, dword [esp + edi*4 + 0x50]
sub eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x38]
add ecx, 1
test edx, edx
je 0x56a6ac
movzx edi, word [ebp + eax*2]
mov ebx, esi
sub ebx, edi
movzx edi, word [ebp + ecx*2]
lea edi, [edi + edx + 2]
sub ebx, 2
cmp edi, ebx
mov edi, dword [esp + 0x18]
jg 0x56a6fd
movzx ecx, word [ebp + ecx*2]
movzx eax, word [ebp + eax*2]
add dword [esp + edi*4 + 0x88], 0xffffffff
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + edi*4 + 0x88]
add esi, ecx
add eax, 0xffffffff
jmp 0x56a682
push 0x60a324
push 0xc573
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00550e30
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x56ad4e
mov dword [esp + edi*4 + 0x54], edx
mov dword [esp + edi*4 + 0x50], esi
sub edi, 1
test edi, edi
mov dword [esp + 0x18], edi
jg 0x56a670
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 1
ja 0x56a72e
push 0x60a324
push 0xc5a9
jmp 0x56a6e1
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], eax
jle 0x56a7f1
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
lea ebx, [ebx]
cmp esi, dword [esp + 0x24]
jge 0x56a781
mov eax, dword [esp + esi*4 + 0x6c]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + esi*4 + 0x58], eax
mov dword [esp + 0x44], eax
mov dword [esp + esi*4 + 0x70], 0
call fcn.0055fba0
add esp, 4
add ebp, 1
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x56a7dc
mov edx, dword [esp + 0x20]
push 0
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edi
call fcn.00565f20
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x56ad4a
mov eax, dword [esp + 0x40]
add ebp, 1
cmp byte [edi + 0x14], 0
mov dword [esp + esi*4 + 0x54], eax
je 0x56a7e2
mov ecx, dword [esp + 0xd0]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx + 0x48]
push edx
push 5
mov ecx, edi
call fcn.00564260
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x56ad4a
add esi, 1
cmp esi, ebx
jl 0x56a750
mov dword [esp + 0x1c], ebp
cmp esi, dword [esp + 0x24]
jge 0x56a8a8
mov ebp, dword [esp + 0x10]
nop
test ebp, ebp
mov edi, dword [esp + esi*4 + 0x6c]
jne 0x56ad4e
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.005667e0
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x56ad4e
test edi, edi
je 0x56a893
mov eax, dword [edi + 0x44]
test eax, eax
je 0x56a893
mov edi, dword [eax + 0x10]
call fcn.00540af0
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebp
jne 0x56a893
mov al, byte [edi + 0xe]
cmp al, 6
je 0x56a88a
test al, al
je 0x56a88a
cmp al, 2
jb 0x56a878
mov eax, dword [0x67111c]
test eax, eax
je 0x56a864
call eax
mov eax, edi
call fcn.00563a60
mov eax, dword [0x671120]
test eax, eax
je 0x56a88a
call eax
jmp 0x56a88a
cmp byte [edi + 4], 0
jne 0x56a88a
push 0
mov eax, edi
call fcn.0054aa20
add esp, 4
push edi
call fcn.00551790
add esp, 4
mov dword [esp + esi*4 + 0x6c], 0
add esi, 1
cmp esi, dword [esp + 0x24]
jl 0x56a800
lea eax, [ebx - 1]
xor ecx, ecx
test eax, eax
jle 0x56a907
lea eax, [esp + ecx*4 + 0x54]
mov dword [esp + 0x7c], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
lea ebp, [ecx + 1]
cmp ebp, ebx
mov dword [esp + 0x40], eax
mov edi, ecx
mov eax, ebp
jge 0x56a8fe
lea ecx, [ecx]
mov edx, dword [esp + eax*4 + 0x54]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x56a8df
mov edi, eax
mov esi, edx
add eax, 1
cmp eax, ebx
jl 0x56a8d0
cmp edi, ecx
jle 0x56a8fe
mov ecx, dword [esp + edi*4 + 0x54]
mov edx, dword [esp + 0x7c]
lea eax, [esp + edi*4 + 0x54]
mov dword [edx], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, ebp
lea eax, [ebx - 1]
cmp ecx, eax
jl 0x56a8b1
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + esi*4 + 0x50]
mov eax, dword [eax + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
xor ebx, ebx
xor edi, edi
test esi, esi
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x18], ebx
jle 0x56aa66
mov eax, dword [esp + 0x44]
mov esi, dword [esp + ebx*4 + 0x54]
push eax
call fcn.00559fa0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + ebx*4 + 0x90]
lea edx, [ecx + edi*2]
push edx
lea ecx, [eax + edi*4]
push ecx
mov edx, ebp
sub edx, edi
push edx
push esi
call fcn.00543940
mov edi, ebp
add esp, 0x14
cmp edi, dword [esp + 0x34]
jge 0x56aa51
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
movzx ecx, word [ecx + edi*2]
mov ebp, dword [eax + edi*4]
movzx edx, word [esp + 0x2c]
mov ebx, dword [esp + 0xd4]
movzx eax, cx
add eax, edx
mov edx, dword [esp + 0x3c]
add ebx, edx
cmp byte [esi + 3], 0
jne 0x56a9b6
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x56aa17
cmp dword [esp + 0x38], 0
je 0x56a9fb
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + edi*4 - 4]
lea eax, [esp + 0xac]
sub edi, 1
push eax
push edx
push esi
call fcn.00543060
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea ecx, [ebx + 4]
mov ebp, ebx
call fcn.0053f4b0
add esp, 0x14
add eax, 4
xor ebx, ebx
jmp 0x56aa17
sub ebp, 4
cmp cx, 4
jne 0x56aa17
mov eax, dword [esp + 0xd0]
push ebp
call fcn.005431b0
add esp, 4
movzx eax, ax
mov ecx, dword [esi + 0x48]
add dword [esp + 0x3c], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xd8]
push ebx
push ebp
push edx
call fcn.005670b0
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x56ad4e
mov ebx, dword [esp + 0x18]
add edi, 1
add dword [esp + 0x14], 1
add ebx, 1
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
jl 0x56a940
mov esi, dword [esp + 0x1c]
test byte [esp + 0x44], 8
jne 0x56aa88
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + eax*4 + 0x9c]
mov edx, dword [ecx + 0x40]
mov esi, dword [esp + esi*4 + 0x50]
mov eax, dword [esi + 0x40]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
cmp dword [esp + 0xd8], 0
mov ebx, dword [esp + 0x54]
je 0x56aae2
mov eax, dword [esp + 0xd0]
cmp word [eax + 0x10], 0
jne 0x56aae2
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x56aae2
lea ecx, [esp + 0x10]
push ecx
call fcn.00567430
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x56ad4e
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.005667e0
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x56ad4e
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x56ad4e
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa0]
movzx eax, byte [ebx + 1]
movzx esi, word [ebx + 0x10]
xor edi, edi
add esi, eax
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x56ab15
movzx ebp, word [ebx + 0x18]
jmp 0x56ab18
or ebp, 0xffffffff
cmp dword [esp + 0x34], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
jle 0x56acae
mov dword [esp + 0x50], edi
xor ecx, ecx
cmp edi, esi
jne 0x56ab7d
cmp dword [esp + 0x38], ecx
sete cl
nop
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + eax*4 + 0xa4]
movzx edx, word [ebx + 0x10]
add eax, 1
mov dword [esp + 0x48], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x56ab75
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x3c], eax
add ebp, edi
cmp edi, esi
je 0x56ab40
mov dword [esp + 0x20], ebp
cmp edi, ebp
jne 0x56ab9b
mov eax, dword [esp + 0x3c]
mov ecx, 1
sub eax, ecx
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x56ab9b
add ebp, 1
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x50]
cmp edi, dword [esp + edx + 0x8c]
jne 0x56abce
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x38], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + eax + 0x54]
mov dword [esp + 0x14], eax
je 0x56ac9f
test ecx, ecx
jne 0x56abe2
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x56ac9f
cmp word [esp + 0x2c], 0
jne 0x56ac25
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + edi*4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x48]
xor edx, edx
mov dh, byte [eax]
push ecx
movzx ecx, byte [eax + 2]
push 5
mov dl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x3c]
shl edx, 8
or eax, edx
call fcn.00564260
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov dx, word [ecx + edi*2]
mov eax, dword [esp + 0x14]
cmp dx, word [eax + 0xa]
jbe 0x56ac9f
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov ebp, dword [ecx + edi*4]
jne 0x56ac9b
lea edx, [esp + 0xac]
push edx
push ebp
push eax
call fcn.00543060
mov ax, word [esp + 0xd4]
add esp, 0xc
test ax, ax
je 0x56ac9b
movzx eax, ax
add eax, ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 0x48]
lea ecx, [esp + 0x10]
push ecx
movzx ecx, byte [eax + 1]
mov ch, byte [eax]
push edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp + 0x3c]
push 3
call fcn.00564260
add esp, 0xc
mov ebp, dword [esp + 0x20]
add edi, 1
cmp edi, dword [esp + 0x34]
jl 0x56ab32
xor edi, edi
cmp word [esp + 0x2c], di
jne 0x56ad4e
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x56ad4e
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
lea ecx, [ecx]
mov ecx, dword [esp + esi*4 + 0x54]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x48]
add eax, 8
lea edx, [esp + 0x10]
push edx
movzx edx, byte [eax + 1]
mov dh, byte [eax]
push ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
push 5
or eax, edx
mov ecx, ebx
call fcn.00564260
add esi, 1
add esp, 0xc
cmp esi, edi
jl 0x56acd0
jmp 0x56ad4e
push 0x60a324
push 0xc4f4
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00550e30
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esp + 0x2c], 0xb
call fcn.005c0cf0
add esp, 0x1c
jmp 0x56ad4e
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x28]
call fcn.00549290
mov ebx, dword [esp + 0x24]
xor edi, edi
test ebx, ebx
jle 0x56add8
mov eax, dword [esp + edi*4 + 0x6c]
test eax, eax
je 0x56add1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x56add1
mov esi, dword [eax + 0x10]
call fcn.00540af0
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0xc], 0
jne 0x56add1
mov al, byte [esi + 0xe]
cmp al, 6
je 0x56adc8
test al, al
je 0x56adc8
cmp al, 2
jb 0x56adb6
mov eax, dword [0x67111c]
test eax, eax
je 0x56ada2
call eax
mov eax, esi
call fcn.00563a60
mov eax, dword [0x671120]
test eax, eax
je 0x56adc8
call eax
jmp 0x56adc8
cmp byte [esi + 4], 0
jne 0x56adc8
push 0
mov eax, esi
call fcn.0054aa20
add esp, 4
push esi
call fcn.00551790
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x56ad65
mov ebx, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
jle 0x56ae59
mov eax, dword [esp + edi*4 + 0x54]
test eax, eax
je 0x56ae52
mov eax, dword [eax + 0x44]
test eax, eax
je 0x56ae52
mov esi, dword [eax + 0x10]
call fcn.00540af0
mov ecx, dword [esi + 0xa8]
cmp dword [ecx + 0xc], 0
jne 0x56ae52
mov al, byte [esi + 0xe]
cmp al, 6
je 0x56ae49
test al, al
je 0x56ae49
cmp al, 2
jb 0x56ae37
mov eax, dword [0x67111c]
test eax, eax
je 0x56ae23
call eax
mov eax, esi
call fcn.00563a60
mov eax, dword [0x671120]
test eax, eax
je 0x56ae49
call eax
jmp 0x56ae49
cmp byte [esi + 4], 0
jne 0x56ae49
push 0
mov eax, esi
call fcn.0054aa20
add esp, 4
push esi
call fcn.00551790
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x56ade6
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret