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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
xor eax, eax
cmp dword [esp + 0xc8], eax
push esi
mov esi, dword [esp + 0xc4]
mov ebx, dword [esi + 0x3c]
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
jne 0x557352
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
movzx edx, word [esi + 0x10]
movzx ecx, byte [esi + 1]
lea edi, [ecx + edx]
cmp edi, 2
jge 0x55736b
lea ebp, [edi + 1]
mov dword [esp + 0x34], ebp
jmp 0x557386
cmp ebp, eax
mov dword [esp + 0x34], 3
je 0x557381
cmp ebp, edi
lea eax, [edi - 2]
je 0x557381
lea eax, [ebp - 1]
mov edi, 2
mov dword [esp + 0x14], eax
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x5573a0
movzx eax, byte [esi + 5]
mov ecx, dword [esi + 0x40]
lea eax, [eax + ecx + 8]
jmp 0x5573bb
movzx edx, word [esi + 0xc]
mov eax, dword [esi + 0x40]
add edx, eax
lea ebp, [edx + ecx*2]
movzx ecx, byte [ebp + 1]
mov ch, byte [ebp]
movzx edx, word [esi + 0x12]
and ecx, edx
add eax, ecx
movzx edx, byte [eax + 2]
xor ecx, ecx
mov ch, byte [eax]
mov dword [esp + 0x54], eax
lea ebp, [esp + edi*4 + 0x58]
push ebp
push ebx
mov cl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or eax, ecx
mov dword [esp + 0x20], eax
call fcn.00552600
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x557557
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edi]
jmp 0x557404
mov eax, dword [esp + 0x48]
mov ebp, dword [ebp]
movzx ecx, byte [ebp + 1]
add ecx, dword [esp + 0x30]
movzx edx, word [ebp + 0x10]
lea edx, [ecx + edx + 1]
mov ecx, edi
sub eax, 1
sub edi, 1
test ecx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
je 0x557573
movzx edx, word [esi + 0x18]
cmp eax, edx
jne 0x55747d
cmp byte [esi + 1], 0
je 0x55747d
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + 1]
mov ch, byte [eax]
movzx edx, byte [eax + 2]
push eax
push esi
mov dword [esp + edi*4 + 0x80], eax
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
mov dword [esp + 0x20], ecx
call fcn.00551b70
movzx eax, ax
add esp, 8
mov dword [esp + edi*4 + 0x64], eax
mov byte [esi + 1], 0
jmp 0x557539
movzx ecx, byte [esi + 1]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
sub edx, ecx
movzx ecx, word [esi + 0xc]
add edx, edi
add ecx, eax
lea ecx, [ecx + edx*2]
xor edx, edx
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
movzx ecx, word [esi + 0x12]
and edx, ecx
movzx ecx, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax + 1]
mov dh, byte [eax]
push eax
push esi
mov dword [esp + edi*4 + 0x80], eax
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 3]
shl edx, 8
or edx, ecx
mov dword [esp + 0x20], edx
call fcn.00551b70
movzx ebp, ax
add esp, 8
cmp byte [ebx + 0x12], 0
mov dword [esp + edi*4 + 0x64], ebp
je 0x55751e
mov ebx, dword [esp + edi*4 + 0x78]
mov ecx, dword [esp + 0x28]
mov eax, ebx
sub eax, dword [esi + 0x40]
lea edx, [eax + ebp]
cmp edx, dword [ecx + 0x28]
jg 0x557df0
mov edx, dword [esp + 0xd0]
push ebp
add eax, edx
push ebx
push eax
call fcn.005e796e
sub ebx, dword [esi + 0x40]
add esp, 0xc
add ebx, dword [esp + 0xd0]
mov dword [esp + edi*4 + 0x78], ebx
mov ebx, dword [esp + 0x28]
movzx ecx, byte [esi + 1]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
sub edx, ecx
add edx, edi
push ebp
push edx
call fcn.00556d40
add esp, 0xc
mov eax, dword [esp + 0x18]
lea ebp, [esp + edi*4 + 0x58]
push ebp
push ebx
call fcn.00552600
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x557400
lea eax, [edi*4 + 4]
push eax
lea ecx, [esp + 0x5c]
push 0
push ecx
call fcn.005e6f30
add esp, 0xc
jmp 0x557e25
mov eax, dword [ebx + 0x24]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
lea ecx, [eax + 0x50]
mov dword [esp + 0x4c], ecx
imul ecx, edi
add esi, 3
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.00543130
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x5575b0
mov dword [esp + 0x10], 7
jmp 0x557e25
lea eax, [eax + esi*4]
mov dword [esp + 0x38], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
movzx cx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
test edi, edi
movzx edx, cx
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], 0
jle 0x557723
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x24]
add ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x94], ebp
mov eax, dword [esp + eax*4 + 0x58]
mov esi, eax
mov ecx, 0x13
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x40], ecx
mov edx, dword [edx + 0x24]
mov eax, dword [eax + 0x40]
push edx
push eax
push ecx
call fcn.005e796e
movzx esi, word [ebp + 0x10]
movzx ecx, byte [ebp + 1]
add esi, ecx
add esp, 0xc
xor ebx, ebx
test esi, esi
jle 0x55767b
mov eax, ebx
mov edi, ebp
call fcn.005519e0
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
push eax
push ebp
mov dword [edx + edi*4], eax
call fcn.00551b70
mov ecx, dword [esp + 0x40]
mov word [ecx + edi*2], ax
add edi, 1
add ebx, 1
add esp, 8
cmp ebx, esi
mov dword [esp + 0x3c], edi
jl 0x557647
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add eax, 0xffffffff
cmp ecx, eax
jge 0x55770a
cmp dword [esp + 0x40], 0
jne 0x55770a
movzx eax, word [esp + ecx*4 + 0x64]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov word [edi + esi*2], ax
movzx eax, ax
add ebx, edx
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + ecx*4 + 0x78]
push eax
push edx
push ebx
call fcn.005e796e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
movzx edx, ax
add edx, ebx
mov dword [ecx + esi*4], edx
sub word [edi + esi*2], ax
movzx eax, word [edi + esi*2]
add esp, 0xc
cmp byte [ebp + 3], 0
jne 0x5576f3
mov eax, dword [ebp + 0x40]
mov ecx, dword [ecx + esi*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x5576ff
cmp ax, 4
jae 0x5576ff
mov word [edi + esi*2], 4
mov ecx, dword [esp + 0x20]
add esi, 1
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x4c]
add dword [esp + 0x50], eax
add ecx, 1
cmp ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
jl 0x5575f4
movzx eax, word [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x28]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
lea esi, [edx + eax - 0xc]
xor ecx, ecx
xor ebx, ebx
xor eax, eax
test edi, edi
jle 0x55777e
movzx edx, word [ebp + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x557777
sub eax, edx
cmp dword [esp + 0x40], 0
mov dword [esp + ebx*4 + 0x64], eax
mov dword [esp + ebx*4 + 0x80], ecx
je 0x557769
sub ecx, 1
add ebx, 1
xor eax, eax
cmp ebx, 4
jg 0x5577fd
add ecx, 1
cmp ecx, edi
jl 0x557745
mov dword [esp + ebx*4 + 0x80], edi
add ebx, 1
mov dword [esp + ebx*4 + 0x60], eax
lea edi, [ebx - 1]
test edi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], edi
jle 0x55783e
mov eax, dword [esp + edi*4 + 0x7c]
mov edx, dword [esp + edi*4 + 0x64]
mov esi, dword [esp + edi*4 + 0x60]
sub eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x40]
add ecx, 1
test edx, edx
je 0x5577d8
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 + 0x20]
jg 0x557823
movzx ecx, word [ebp + ecx*2]
movzx eax, word [ebp + eax*2]
add dword [esp + edi*4 + 0x7c], 0xffffffff
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + edi*4 + 0x7c]
add esi, ecx
add eax, 0xffffffff
jmp 0x5577ae
push 0x6319a4
push 0xcf4b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00544b50
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x557e25
mov dword [esp + edi*4 + 0x64], edx
mov dword [esp + edi*4 + 0x60], esi
sub edi, 1
test edi, edi
mov dword [esp + 0x20], edi
jg 0x55779f
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x48], 1
ja 0x557854
push 0x6319a4
push 0xcf81
jmp 0x557807
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x48], eax
jle 0x557913
cmp esi, dword [esp + 0x34]
jge 0x55789b
mov eax, dword [esp + esi*4 + 0x58]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + esi*4 + 0x68], eax
mov dword [esp + 0x20], eax
mov dword [esp + esi*4 + 0x5c], 0
call fcn.0054dda0
add dword [esp + 0x28], 1
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x5578fe
mov edx, dword [esp + 0x18]
push 0
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00555d70
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x557e25
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x24], 1
cmp byte [ecx + 0x15], 0
mov dword [esp + esi*4 + 0x64], eax
je 0x557904
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xcc]
mov edx, dword [edx + 0x48]
push edx
push 5
call fcn.005517d0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x557e25
add esi, 1
cmp esi, ebx
jl 0x557868
mov ebp, dword [esp + 0x38]
cmp esi, dword [esp + 0x34]
jge 0x557971
lea esp, [esp]
cmp dword [esp + 0x10], 0
mov edi, dword [esp + esi*4 + 0x58]
jne 0x557e25
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push edi
push ecx
call fcn.00556510
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x557e25
test edi, edi
je 0x55795c
mov edx, dword [edi + 0x44]
push edx
call fcn.0054da10
add esp, 4
mov dword [esp + esi*4 + 0x58], 0
add esi, 1
cmp esi, dword [esp + 0x34]
jl 0x557920
mov ebp, dword [esp + 0x38]
lea eax, [ebx - 1]
xor ecx, ecx
test eax, eax
jle 0x5579d9
lea ebx, [ebx]
lea eax, [esp + ecx*4 + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
mov dword [esp + 0x50], eax
lea eax, [ecx + 1]
cmp eax, ebx
mov edi, ecx
mov dword [esp + 0x18], eax
jge 0x5579ce
mov edi, edi
mov edx, dword [esp + eax*4 + 0x64]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x5579af
mov edi, eax
mov esi, edx
add eax, 1
cmp eax, ebx
jl 0x5579a0
cmp edi, ecx
jle 0x5579ce
mov eax, dword [esp + edi*4 + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
lea edi, [esp + edi*4 + 0x64]
mov dword [ecx], eax
mov dword [edi], edx
mov ecx, dword [esp + 0x18]
lea eax, [ebx - 1]
cmp ecx, eax
jl 0x557980
mov edx, dword [esp + 0x24]
mov esi, dword [esp + edx*4 + 0x60]
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x54]
mov ebx, eax
shr ebx, 0x18
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0x10
mov byte [ecx + 1], bl
mov ebx, eax
shr ebx, 8
mov byte [ecx + 2], bl
xor ebx, ebx
xor edi, edi
test edx, edx
mov dword [esp + 0x1c], esi
mov byte [ecx + 3], al
mov dword [esp + 0x20], ebx
jle 0x557b4a
mov eax, dword [esp + 0x48]
mov esi, dword [esp + ebx*4 + 0x64]
push eax
call fcn.005524a0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + ebx*4 + 0x84]
add esp, 4
lea ecx, [ebp + edi*2]
push ecx
lea ecx, [edx + edi*4]
push ecx
sub eax, edi
push eax
push esi
call fcn.00556ff0
mov edi, dword [esp + ebx*4 + 0x90]
add esp, 0x10
cmp edi, dword [esp + 0x3c]
jge 0x557b35
movzx ecx, word [ebp + edi*2]
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + edi*4]
movzx edx, word [esp + 0x30]
mov ebp, dword [esp + 0x44]
movzx eax, cx
add eax, edx
mov edx, dword [esp + 0xd0]
add ebp, edx
cmp byte [esi + 3], 0
jne 0x557a8b
mov ecx, dword [esi + 0x40]
mov edx, dword [ebx]
mov dword [ecx + 8], edx
jmp 0x557aec
cmp dword [esp + 0x40], 0
je 0x557acf
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edi*4 - 4]
sub edi, 1
push ecx
push esi
lea eax, [esp + 0xa8]
call fcn.00551a30
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push edx
push eax
lea ecx, [ebp + 4]
mov ebx, ebp
call fcn.00545e40
add esp, 0x10
add eax, 4
xor ebp, ebp
jmp 0x557aec
sub ebx, 4
cmp cx, 4
jne 0x557aec
mov ecx, dword [esp + 0xc8]
push ebx
push ecx
call fcn.00551b70
add esp, 8
movzx eax, ax
add dword [esp + 0x44], eax
cmp dword [esp + 0x10], 0
jne 0x557e25
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xd0]
push ebp
push ebx
push edx
call fcn.00556e20
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x557e25
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
add edi, 1
add dword [esp + 0x14], 1
add ebx, 1
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
jl 0x557a16
mov esi, dword [esp + 0x1c]
test byte [esp + 0x48], 8
jne 0x557b68
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + eax*4 + 0x90]
mov edx, dword [ecx + 0x40]
mov eax, dword [esi + 0x40]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
cmp dword [esp + 0xd4], 0
mov esi, dword [esp + 0x64]
je 0x557bc2
mov eax, dword [esp + 0xc8]
cmp word [eax + 0x10], 0
jne 0x557bc2
movzx dx, byte [eax + 5]
cmp dx, word [esi + 0xe]
ja 0x557bc2
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00557250
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x557e25
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x3c]
push edx
push esi
push eax
call fcn.00556510
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x557e25
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x15], 0
je 0x557e25
mov ebx, dword [esp + 0x94]
movzx eax, byte [ebx + 1]
mov dword [esp + 0x14], esi
movzx esi, word [ebx + 0x10]
xor edi, edi
add esi, eax
cmp eax, edi
mov dword [esp + 0x44], eax
je 0x557bf5
movzx ebp, word [ebx + 0x18]
jmp 0x557bf8
or ebp, 0xffffffff
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], edi
jle 0x557d8f
mov dword [esp + 0x1c], edi
xor ecx, ecx
cmp edi, esi
jne 0x557c5d
cmp dword [esp + 0x40], ecx
sete cl
nop
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + eax*4 + 0x98]
movzx edx, word [ebx + 0x10]
add eax, 1
mov dword [esp + 0x54], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x557c55
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x44], eax
add ebp, edi
cmp edi, esi
je 0x557c20
mov dword [esp + 0x18], ebp
cmp edi, ebp
jne 0x557c7b
mov eax, dword [esp + 0x44]
mov ecx, 1
sub eax, ecx
test eax, eax
mov dword [esp + 0x44], eax
jle 0x557c7b
add ebp, 1
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + edx + 0x80]
jne 0x557cae
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x40], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + eax + 0x64]
mov dword [esp + 0x14], eax
je 0x557d80
test ecx, ecx
jne 0x557cc2
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x557d80
cmp word [esp + 0x30], 0
jne 0x557d05
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
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 + 0x34]
shl edx, 8
or eax, edx
call fcn.005517d0
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dx, word [ecx + edi*2]
mov eax, dword [esp + 0x14]
cmp dx, word [eax + 0xa]
jbe 0x557d80
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx + edi*4]
jne 0x557d7c
mov edx, eax
push ebp
push edx
lea eax, [esp + 0xa8]
call fcn.00551a30
mov ax, word [esp + 0xc0]
add esp, 8
test ax, ax
je 0x557d7c
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.005517d0
add esp, 0xc
mov ebp, dword [esp + 0x18]
add edi, 1
cmp edi, dword [esp + 0x3c]
jl 0x557c12
xor edi, edi
cmp word [esp + 0x30], di
jne 0x557e25
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x557e25
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edi, edi
mov ecx, dword [esp + esi*4 + 0x64]
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.005517d0
add esi, 1
add esp, 0xc
cmp esi, edi
jl 0x557db0
jmp 0x557e25
push 0x6319a4
push 0xcecc
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00544b50
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x6c]
push 0
push edx
mov dword [esp + 0x2c], 0xb
call fcn.005e6f30
add esp, 0x1c
mov esi, dword [esp + 0x2c]
call fcn.00543240
mov edi, dword [esp + 0x34]
xor esi, esi
test edi, edi
jle 0x557e53
mov eax, dword [esp + esi*4 + 0x58]
test eax, eax
je 0x557e4c
mov eax, dword [eax + 0x44]
push eax
call fcn.0054da10
add esp, 4
add esi, 1
cmp esi, edi
jl 0x557e38
mov edi, dword [esp + 0x24]
xor esi, esi
test edi, edi
jle 0x557e7b
lea ecx, [ecx]
mov eax, dword [esp + esi*4 + 0x64]
test eax, eax
je 0x557e74
mov ecx, dword [eax + 0x44]
push ecx
call fcn.0054da10
add esp, 4
add esi, 1
cmp esi, edi
jl 0x557e60
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret