Function at 0x55e5b0
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 0x55e5fb
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 0x55e615
lea ebx, [edi + 1]
mov dword [esp + 0x24], ebx
jmp 0x55e630
cmp ebx, eax
mov dword [esp + 0x24], 3
je 0x55e62b
cmp ebx, edi
lea eax, [edi - 2]
je 0x55e62b
lea eax, [ebx - 1]
mov edi, 2
mov dword [esp + 0x14], eax
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x55e64a
movzx eax, byte [ebp + 5]
mov ecx, dword [ebp + 0x40]
lea eax, [eax + ecx + 8]
jmp 0x55e664
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.0055d250
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x55e810
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edi]
jmp 0x55e6b4
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 0x55e82c
movzx edx, word [ebp + 0x18]
cmp eax, edx
jne 0x55e72d
cmp byte [ebp + 1], 0
je 0x55e72d
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.00537600
movzx eax, ax
add esp, 4
mov dword [esp + edi*4 + 0x54], eax
mov byte [ebp + 1], 0
jmp 0x55e7f1
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.00537600
movzx ebx, ax
add esp, 4
cmp byte [esi + 0x12], 0
mov dword [esp + edi*4 + 0x54], ebx
je 0x55e7d0
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 0x55f170
mov edx, dword [esp + 0xd4]
push ebx
add eax, edx
push esi
push eax
call fcn.005b74f0
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.0054e6c0
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.0055d250
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x55e6b0
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x70]
push 0
push edx
call fcn.005b5540
add esp, 0xc
jmp 0x55f1ae
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.0053d5c0
test eax, eax
mov dword [esp + 0x28], eax
jne 0x55e867
mov dword [esp + 0x10], 7
jmp 0x55f1ae
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 0x55ea56
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.005b74f0
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 0x55e99e
movzx eax, byte [ebx + 1]
sub eax, 1
mov ecx, dword [esp + 0x48]
js 0x55e957
lea edx, [ebx + eax*8 + 0x14]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x55e946
je 0x55ea17
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x55e935
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.00537600
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 0x55e924
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x7c]
jge 0x55ea39
cmp dword [esp + 0x38], 0
jne 0x55ea39
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.005b74f0
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 0x55ea25
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
mov eax, ecx
mov ecx, dword [eax + edi*4]
mov dword [ecx], edx
jmp 0x55ea32
mov eax, dword [edx]
mov esi, dword [esp + 0x80]
jmp 0x55e971
cmp ax, 4
jae 0x55ea32
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 0x55e8c0
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 0x55eaad
movzx edx, word [ebp + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x55eaa6
sub eax, edx
cmp dword [esp + 0x38], 0
mov dword [esp + ebx*4 + 0x54], eax
mov dword [esp + ebx*4 + 0x8c], ecx
je 0x55ea98
sub ecx, 1
add ebx, 1
xor eax, eax
cmp ebx, 4
jg 0x55eb37
add ecx, 1
cmp ecx, edi
jl 0x55ea74
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 0x55eb78
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 0x55eb0c
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 0x55eb5d
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 0x55eae2
push 0x5fd144
push 0xc573
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00545290
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x55f1ae
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 0x55ead0
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 1
ja 0x55eb8e
push 0x5fd144
push 0xc5a9
jmp 0x55eb41
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], eax
jle 0x55ec51
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
lea ebx, [ebx]
cmp esi, dword [esp + 0x24]
jge 0x55ebe1
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.00554000
add esp, 4
add ebp, 1
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x55ec3c
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.0055a380
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x55f1aa
mov eax, dword [esp + 0x40]
add ebp, 1
cmp byte [edi + 0x14], 0
mov dword [esp + esi*4 + 0x54], eax
je 0x55ec42
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.005586c0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x55f1aa
add esi, 1
cmp esi, ebx
jl 0x55ebb0
mov dword [esp + 0x1c], ebp
cmp esi, dword [esp + 0x24]
jge 0x55ed08
mov ebp, dword [esp + 0x10]
nop
test ebp, ebp
mov edi, dword [esp + esi*4 + 0x6c]
jne 0x55f1ae
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.0055ac40
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x55f1ae
test edi, edi
je 0x55ecf3
mov eax, dword [edi + 0x44]
test eax, eax
je 0x55ecf3
mov edi, dword [eax + 0x10]
call fcn.00534f40
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebp
jne 0x55ecf3
mov al, byte [edi + 0xe]
cmp al, 6
je 0x55ecea
test al, al
je 0x55ecea
cmp al, 2
jb 0x55ecd8
mov eax, dword [0x660f5c]
test eax, eax
je 0x55ecc4
call eax
mov eax, edi
call fcn.00557ec0
mov eax, dword [0x660f60]
test eax, eax
je 0x55ecea
call eax
jmp 0x55ecea
cmp byte [edi + 4], 0
jne 0x55ecea
push 0
mov eax, edi
call fcn.0053ee80
add esp, 4
push edi
call fcn.00545bf0
add esp, 4
mov dword [esp + esi*4 + 0x6c], 0
add esi, 1
cmp esi, dword [esp + 0x24]
jl 0x55ec60
lea eax, [ebx - 1]
xor ecx, ecx
test eax, eax
jle 0x55ed67
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 0x55ed5e
lea ecx, [ecx]
mov edx, dword [esp + eax*4 + 0x54]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x55ed3f
mov edi, eax
mov esi, edx
add eax, 1
cmp eax, ebx
jl 0x55ed30
cmp edi, ecx
jle 0x55ed5e
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 0x55ed11
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 0x55eec6
mov eax, dword [esp + 0x44]
mov esi, dword [esp + ebx*4 + 0x54]
push eax
call fcn.0054e400
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.00537d90
mov edi, ebp
add esp, 0x14
cmp edi, dword [esp + 0x34]
jge 0x55eeb1
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 0x55ee16
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x55ee77
cmp dword [esp + 0x38], 0
je 0x55ee5b
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.005374b0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea ecx, [ebx + 4]
mov ebp, ebx
call fcn.00533900
add esp, 0x14
add eax, 4
xor ebx, ebx
jmp 0x55ee77
sub ebp, 4
cmp cx, 4
jne 0x55ee77
mov eax, dword [esp + 0xd0]
push ebp
call fcn.00537600
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.0055b510
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x55f1ae
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 0x55eda0
mov esi, dword [esp + 0x1c]
test byte [esp + 0x44], 8
jne 0x55eee8
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 0x55ef42
mov eax, dword [esp + 0xd0]
cmp word [eax + 0x10], 0
jne 0x55ef42
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x55ef42
lea ecx, [esp + 0x10]
push ecx
call fcn.0055b890
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x55f1ae
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.0055ac40
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x55f1ae
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x55f1ae
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 0x55ef75
movzx ebp, word [ebx + 0x18]
jmp 0x55ef78
or ebp, 0xffffffff
cmp dword [esp + 0x34], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
jle 0x55f10e
mov dword [esp + 0x50], edi
xor ecx, ecx
cmp edi, esi
jne 0x55efdd
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 0x55efd5
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x3c], eax
add ebp, edi
cmp edi, esi
je 0x55efa0
mov dword [esp + 0x20], ebp
cmp edi, ebp
jne 0x55effb
mov eax, dword [esp + 0x3c]
mov ecx, 1
sub eax, ecx
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x55effb
add ebp, 1
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x50]
cmp edi, dword [esp + edx + 0x8c]
jne 0x55f02e
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 0x55f0ff
test ecx, ecx
jne 0x55f042
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x55f0ff
cmp word [esp + 0x2c], 0
jne 0x55f085
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.005586c0
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 0x55f0ff
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov ebp, dword [ecx + edi*4]
jne 0x55f0fb
lea edx, [esp + 0xac]
push edx
push ebp
push eax
call fcn.005374b0
mov ax, word [esp + 0xd4]
add esp, 0xc
test ax, ax
je 0x55f0fb
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.005586c0
add esp, 0xc
mov ebp, dword [esp + 0x20]
add edi, 1
cmp edi, dword [esp + 0x34]
jl 0x55ef92
xor edi, edi
cmp word [esp + 0x2c], di
jne 0x55f1ae
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x55f1ae
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.005586c0
add esi, 1
add esp, 0xc
cmp esi, edi
jl 0x55f130
jmp 0x55f1ae
push 0x5fd144
push 0xc4f4
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00545290
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esp + 0x2c], 0xb
call fcn.005b5540
add esp, 0x1c
jmp 0x55f1ae
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x28]
call fcn.0053d6f0
mov ebx, dword [esp + 0x24]
xor edi, edi
test ebx, ebx
jle 0x55f238
mov eax, dword [esp + edi*4 + 0x6c]
test eax, eax
je 0x55f231
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55f231
mov esi, dword [eax + 0x10]
call fcn.00534f40
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0xc], 0
jne 0x55f231
mov al, byte [esi + 0xe]
cmp al, 6
je 0x55f228
test al, al
je 0x55f228
cmp al, 2
jb 0x55f216
mov eax, dword [0x660f5c]
test eax, eax
je 0x55f202
call eax
mov eax, esi
call fcn.00557ec0
mov eax, dword [0x660f60]
test eax, eax
je 0x55f228
call eax
jmp 0x55f228
cmp byte [esi + 4], 0
jne 0x55f228
push 0
mov eax, esi
call fcn.0053ee80
add esp, 4
push esi
call fcn.00545bf0
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x55f1c5
mov ebx, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
jle 0x55f2b9
mov eax, dword [esp + edi*4 + 0x54]
test eax, eax
je 0x55f2b2
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55f2b2
mov esi, dword [eax + 0x10]
call fcn.00534f40
mov ecx, dword [esi + 0xa8]
cmp dword [ecx + 0xc], 0
jne 0x55f2b2
mov al, byte [esi + 0xe]
cmp al, 6
je 0x55f2a9
test al, al
je 0x55f2a9
cmp al, 2
jb 0x55f297
mov eax, dword [0x660f5c]
test eax, eax
je 0x55f283
call eax
mov eax, esi
call fcn.00557ec0
mov eax, dword [0x660f60]
test eax, eax
je 0x55f2a9
call eax
jmp 0x55f2a9
cmp byte [esi + 4], 0
jne 0x55f2a9
push 0
mov eax, esi
call fcn.0053ee80
add esp, 4
push esi
call fcn.00545bf0
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x55f246
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret