Function at 0x55d590
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 0x55d5db
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 0x55d5f5
lea ebx, [edi + 1]
mov dword [esp + 0x24], ebx
jmp 0x55d610
cmp ebx, eax
mov dword [esp + 0x24], 3
je 0x55d60b
cmp ebx, edi
lea eax, [edi - 2]
je 0x55d60b
lea eax, [ebx - 1]
mov edi, 2
mov dword [esp + 0x14], eax
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x55d62a
movzx eax, byte [ebp + 5]
mov ecx, dword [ebp + 0x40]
lea eax, [eax + ecx + 8]
jmp 0x55d644
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.0055c230
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x55d7f0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edi]
jmp 0x55d694
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 0x55d80c
movzx edx, word [ebp + 0x18]
cmp eax, edx
jne 0x55d70d
cmp byte [ebp + 1], 0
je 0x55d70d
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.005365e0
movzx eax, ax
add esp, 4
mov dword [esp + edi*4 + 0x54], eax
mov byte [ebp + 1], 0
jmp 0x55d7d1
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.005365e0
movzx ebx, ax
add esp, 4
cmp byte [esi + 0x12], 0
mov dword [esp + edi*4 + 0x54], ebx
je 0x55d7b0
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 0x55e150
mov edx, dword [esp + 0xd4]
push ebx
add eax, edx
push esi
push eax
call fcn.005b64d0
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.0054d6a0
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.0055c230
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x55d690
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x70]
push 0
push edx
call fcn.005b4520
add esp, 0xc
jmp 0x55e18e
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.0053c5a0
test eax, eax
mov dword [esp + 0x28], eax
jne 0x55d847
mov dword [esp + 0x10], 7
jmp 0x55e18e
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 0x55da36
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.005b64d0
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 0x55d97e
movzx eax, byte [ebx + 1]
sub eax, 1
mov ecx, dword [esp + 0x48]
js 0x55d937
lea edx, [ebx + eax*8 + 0x14]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x55d926
je 0x55d9f7
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x55d915
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.005365e0
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 0x55d904
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x7c]
jge 0x55da19
cmp dword [esp + 0x38], 0
jne 0x55da19
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.005b64d0
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 0x55da05
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
mov eax, ecx
mov ecx, dword [eax + edi*4]
mov dword [ecx], edx
jmp 0x55da12
mov eax, dword [edx]
mov esi, dword [esp + 0x80]
jmp 0x55d951
cmp ax, 4
jae 0x55da12
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 0x55d8a0
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 0x55da8d
movzx edx, word [ebp + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x55da86
sub eax, edx
cmp dword [esp + 0x38], 0
mov dword [esp + ebx*4 + 0x54], eax
mov dword [esp + ebx*4 + 0x8c], ecx
je 0x55da78
sub ecx, 1
add ebx, 1
xor eax, eax
cmp ebx, 4
jg 0x55db17
add ecx, 1
cmp ecx, edi
jl 0x55da54
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 0x55db58
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 0x55daec
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 0x55db3d
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 0x55dac2
push 0x5fc144
push 0xc573
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00544270
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x55e18e
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 0x55dab0
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 1
ja 0x55db6e
push 0x5fc144
push 0xc5a9
jmp 0x55db21
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], eax
jle 0x55dc31
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
lea ebx, [ebx]
cmp esi, dword [esp + 0x24]
jge 0x55dbc1
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.00552fe0
add esp, 4
add ebp, 1
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x55dc1c
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.00559360
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x55e18a
mov eax, dword [esp + 0x40]
add ebp, 1
cmp byte [edi + 0x14], 0
mov dword [esp + esi*4 + 0x54], eax
je 0x55dc22
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.005576a0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x55e18a
add esi, 1
cmp esi, ebx
jl 0x55db90
mov dword [esp + 0x1c], ebp
cmp esi, dword [esp + 0x24]
jge 0x55dce8
mov ebp, dword [esp + 0x10]
nop
test ebp, ebp
mov edi, dword [esp + esi*4 + 0x6c]
jne 0x55e18e
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.00559c20
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x55e18e
test edi, edi
je 0x55dcd3
mov eax, dword [edi + 0x44]
test eax, eax
je 0x55dcd3
mov edi, dword [eax + 0x10]
call fcn.00533f20
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebp
jne 0x55dcd3
mov al, byte [edi + 0xe]
cmp al, 6
je 0x55dcca
test al, al
je 0x55dcca
cmp al, 2
jb 0x55dcb8
mov eax, dword [0x65ef5c]
test eax, eax
je 0x55dca4
call eax
mov eax, edi
call fcn.00556ea0
mov eax, dword [0x65ef60]
test eax, eax
je 0x55dcca
call eax
jmp 0x55dcca
cmp byte [edi + 4], 0
jne 0x55dcca
push 0
mov eax, edi
call fcn.0053de60
add esp, 4
push edi
call fcn.00544bd0
add esp, 4
mov dword [esp + esi*4 + 0x6c], 0
add esi, 1
cmp esi, dword [esp + 0x24]
jl 0x55dc40
lea eax, [ebx - 1]
xor ecx, ecx
test eax, eax
jle 0x55dd47
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 0x55dd3e
lea ecx, [ecx]
mov edx, dword [esp + eax*4 + 0x54]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x55dd1f
mov edi, eax
mov esi, edx
add eax, 1
cmp eax, ebx
jl 0x55dd10
cmp edi, ecx
jle 0x55dd3e
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 0x55dcf1
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 0x55dea6
mov eax, dword [esp + 0x44]
mov esi, dword [esp + ebx*4 + 0x54]
push eax
call fcn.0054d3e0
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.00536d70
mov edi, ebp
add esp, 0x14
cmp edi, dword [esp + 0x34]
jge 0x55de91
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 0x55ddf6
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x55de57
cmp dword [esp + 0x38], 0
je 0x55de3b
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.00536490
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea ecx, [ebx + 4]
mov ebp, ebx
call fcn.005328e0
add esp, 0x14
add eax, 4
xor ebx, ebx
jmp 0x55de57
sub ebp, 4
cmp cx, 4
jne 0x55de57
mov eax, dword [esp + 0xd0]
push ebp
call fcn.005365e0
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.0055a4f0
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x55e18e
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 0x55dd80
mov esi, dword [esp + 0x1c]
test byte [esp + 0x44], 8
jne 0x55dec8
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 0x55df22
mov eax, dword [esp + 0xd0]
cmp word [eax + 0x10], 0
jne 0x55df22
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x55df22
lea ecx, [esp + 0x10]
push ecx
call fcn.0055a870
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x55e18e
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.00559c20
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x55e18e
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x55e18e
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 0x55df55
movzx ebp, word [ebx + 0x18]
jmp 0x55df58
or ebp, 0xffffffff
cmp dword [esp + 0x34], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
jle 0x55e0ee
mov dword [esp + 0x50], edi
xor ecx, ecx
cmp edi, esi
jne 0x55dfbd
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 0x55dfb5
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x3c], eax
add ebp, edi
cmp edi, esi
je 0x55df80
mov dword [esp + 0x20], ebp
cmp edi, ebp
jne 0x55dfdb
mov eax, dword [esp + 0x3c]
mov ecx, 1
sub eax, ecx
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x55dfdb
add ebp, 1
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x50]
cmp edi, dword [esp + edx + 0x8c]
jne 0x55e00e
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 0x55e0df
test ecx, ecx
jne 0x55e022
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x55e0df
cmp word [esp + 0x2c], 0
jne 0x55e065
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.005576a0
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 0x55e0df
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov ebp, dword [ecx + edi*4]
jne 0x55e0db
lea edx, [esp + 0xac]
push edx
push ebp
push eax
call fcn.00536490
mov ax, word [esp + 0xd4]
add esp, 0xc
test ax, ax
je 0x55e0db
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.005576a0
add esp, 0xc
mov ebp, dword [esp + 0x20]
add edi, 1
cmp edi, dword [esp + 0x34]
jl 0x55df72
xor edi, edi
cmp word [esp + 0x2c], di
jne 0x55e18e
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x55e18e
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.005576a0
add esi, 1
add esp, 0xc
cmp esi, edi
jl 0x55e110
jmp 0x55e18e
push 0x5fc144
push 0xc4f4
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00544270
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esp + 0x2c], 0xb
call fcn.005b4520
add esp, 0x1c
jmp 0x55e18e
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x28]
call fcn.0053c6d0
mov ebx, dword [esp + 0x24]
xor edi, edi
test ebx, ebx
jle 0x55e218
mov eax, dword [esp + edi*4 + 0x6c]
test eax, eax
je 0x55e211
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55e211
mov esi, dword [eax + 0x10]
call fcn.00533f20
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0xc], 0
jne 0x55e211
mov al, byte [esi + 0xe]
cmp al, 6
je 0x55e208
test al, al
je 0x55e208
cmp al, 2
jb 0x55e1f6
mov eax, dword [0x65ef5c]
test eax, eax
je 0x55e1e2
call eax
mov eax, esi
call fcn.00556ea0
mov eax, dword [0x65ef60]
test eax, eax
je 0x55e208
call eax
jmp 0x55e208
cmp byte [esi + 4], 0
jne 0x55e208
push 0
mov eax, esi
call fcn.0053de60
add esp, 4
push esi
call fcn.00544bd0
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x55e1a5
mov ebx, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
jle 0x55e299
mov eax, dword [esp + edi*4 + 0x54]
test eax, eax
je 0x55e292
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55e292
mov esi, dword [eax + 0x10]
call fcn.00533f20
mov ecx, dword [esi + 0xa8]
cmp dword [ecx + 0xc], 0
jne 0x55e292
mov al, byte [esi + 0xe]
cmp al, 6
je 0x55e289
test al, al
je 0x55e289
cmp al, 2
jb 0x55e277
mov eax, dword [0x65ef5c]
test eax, eax
je 0x55e263
call eax
mov eax, esi
call fcn.00556ea0
mov eax, dword [0x65ef60]
test eax, eax
je 0x55e289
call eax
jmp 0x55e289
cmp byte [esi + 4], 0
jne 0x55e289
push 0
mov eax, esi
call fcn.0053de60
add esp, 4
push esi
call fcn.00544bd0
add esp, 4
add edi, 1
cmp edi, ebx
jl 0x55e226
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret