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

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x3c]
push ebp
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
cmp dword [esp + 0xd8], eax
jne 0x45e89d
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
movzx ecx, word [ebx + 0x10]
movzx edx, byte [ebx + 1]
lea esi, [edx + ecx]
cmp esi, 2
jge 0x45e8b6
lea edi, [esi + 1]
mov dword [esp + 0x3c], edi
jmp 0x45e8d1
mov dword [esp + 0x3c], 3
cmp edi, eax
je 0x45e8cc
lea eax, [esi - 2]
cmp edi, esi
je 0x45e8cc
lea eax, [edi - 1]
mov esi, 2
mov dword [esp + 0x1c], eax
sub eax, edx
add eax, esi
cmp eax, ecx
jne 0x45e8ea
movzx edx, byte [ebx + 5]
mov eax, dword [ebx + 0x40]
lea eax, [edx + eax + 8]
jmp 0x45e90a
movzx edx, word [ebx + 0xc]
mov ecx, dword [ebx + 0x40]
add edx, ecx
lea edx, [edx + eax*2]
movzx eax, byte [edx + 1]
movzx edx, byte [edx]
shl edx, 8
or eax, edx
movzx edx, word [ebx + 0x12]
and eax, edx
add eax, ecx
movzx ebp, byte [eax]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ebp, 8
or ebp, ecx
mov ecx, dword [esp + 0x20]
shl ebp, 8
mov dword [esp + 0x5c], eax
movzx eax, byte [eax + 3]
or ebp, edx
shl ebp, 8
or ebp, eax
lea edi, [esp + esi*4 + 0x74]
push edi
push ebp
push ecx
mov dword [esp + 0x40], ebp
call fcn.004598d0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45ead3
mov edx, dword [esp + 0x1c]
lea eax, [edx + esi]
jmp 0x45e964
mov eax, dword [esp + 0x4c]
mov edi, dword [edi]
movzx edx, byte [edi + 1]
add edx, dword [esp + 0x38]
movzx ecx, word [edi + 0x10]
lea ecx, [edx + ecx + 1]
mov edx, esi
dec eax
dec esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], eax
test edx, edx
je 0x45eaef
movzx ecx, word [ebx + 0x18]
cmp eax, ecx
jne 0x45e9db
cmp byte [ebx + 1], 0
je 0x45e9db
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax]
movzx ebp, byte [eax + 1]
movzx ecx, byte [eax + 2]
shl edx, 8
or ebp, edx
movzx edx, byte [eax + 3]
shl ebp, 8
or ebp, ecx
mov dword [esp + esi*4 + 0x88], eax
push eax
shl ebp, 8
mov eax, ebx
or ebp, edx
call fcn.00458df0
movzx eax, ax
add esp, 4
mov dword [esp + esi*4 + 0x60], eax
mov byte [ebx + 1], 0
jmp 0x45eab0
movzx ecx, byte [ebx + 1]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x40]
sub edx, ecx
movzx ecx, word [ebx + 0xc]
add edx, esi
add ecx, eax
lea ecx, [ecx + edx*2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
or edx, ecx
movzx ecx, word [ebx + 0x12]
and edx, ecx
movzx ebp, byte [eax + edx]
movzx ecx, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax + 1]
shl ebp, 8
or ebp, edx
movzx edx, byte [eax + 3]
shl ebp, 8
or ebp, ecx
mov dword [esp + esi*4 + 0x88], eax
push eax
shl ebp, 8
mov eax, ebx
or ebp, edx
call fcn.00458df0
mov ecx, dword [esp + 0x24]
movzx eax, ax
add esp, 4
cmp byte [ecx + 0x12], 0
mov dword [esp + 0x34], eax
mov dword [esp + esi*4 + 0x60], eax
je 0x45ea96
mov edi, dword [esp + esi*4 + 0x88]
mov edx, dword [esp + 0x34]
mov eax, edi
sub eax, dword [ebx + 0x40]
add edx, eax
cmp edx, dword [ecx + 0x28]
jg 0x45f424
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xd8]
push edx
add eax, ecx
push edi
push eax
call fcn.004f1f90
sub edi, dword [ebx + 0x40]
mov eax, dword [esp + 0x40]
add esp, 0xc
add edi, dword [esp + 0xd8]
mov dword [esp + esi*4 + 0x88], edi
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
movzx eax, byte [ebx + 1]
sub edx, eax
add edx, esi
call fcn.0045e2a0
add esp, 8
mov ecx, dword [esp + 0x20]
lea edi, [esp + esi*4 + 0x74]
push edi
push ebp
push ecx
call fcn.004598d0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x45e960
mov dword [esp + 0x34], ebp
lea edx, [esi*4 + 4]
push edx
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004f0190
add esp, 0xc
jmp 0x45f460
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x24]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
lea ecx, [eax + 0x50]
mov dword [esp + 0x40], ecx
imul ecx, edi
add esi, 3
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
mov dword [esp + 0x34], ebp
call fcn.0044a0a0
mov dword [esp + 0x28], eax
test eax, eax
jne 0x45eb34
mov dword [esp + 0x14], 7
jmp 0x45f460
lea eax, [eax + esi*4]
mov dword [esp + 0x24], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
movzx cx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
movzx edx, cx
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], 0
test edi, edi
jle 0x45ed4d
mov dword [esp + 0x84], 0
jmp 0x45eb80
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x24]
add ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x4c]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xa4], ebx
mov eax, dword [esp + eax*4 + 0x74]
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 + 0x24]
mov eax, dword [eax + 0x40]
push edx
push eax
push ecx
call fcn.004f1f90
mov al, byte [ebx + 1]
movzx ecx, word [ebx + 0x10]
movzx edx, al
add ecx, edx
add esp, 0xc
mov dword [esp + 0x58], ecx
test al, al
jbe 0x45ec19
xor esi, esi
test ecx, ecx
jle 0x45ec92
mov eax, esi
mov edi, ebx
call fcn.00458c50
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [ecx + edi*4], eax
push eax
mov eax, ebx
call fcn.00458df0
mov edx, dword [esp + 0x28]
mov word [edx + edi*2], ax
inc edi
inc esi
add esp, 4
cmp esi, dword [esp + 0x58]
mov dword [esp + 0x2c], edi
jl 0x45ebe4
jmp 0x45ec92
mov edx, dword [esp + 0x58]
mov edi, dword [ebx + 0x40]
movzx eax, word [ebx + 0x12]
movzx ecx, word [ebx + 0xc]
mov dword [esp + 0x48], edi
test edx, edx
jle 0x45ec92
movzx esi, cx
movzx eax, ax
add esi, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x58], edx
jmp 0x45ec50
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
mov eax, dword [esp + 0x48]
shl edx, 8
or ecx, edx
and ecx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
push eax
mov eax, ebx
call fcn.00458df0
mov edx, dword [esp + 0x28]
mov word [edx + edi*2], ax
add esp, 4
inc edi
add esi, 2
sub dword [esp + 0x58], 1
jne 0x45ec50
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x3c]
dec eax
cmp dword [esp + 0x18], eax
jge 0x45ed2f
cmp dword [esp + 0x54], 0
jne 0x45ed2f
mov eax, dword [esp + 0x18]
movzx eax, word [esp + eax*4 + 0x60]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov word [edi + esi*2], ax
movzx eax, ax
add ecx, edx
add edx, eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + edx*4 + 0x8c]
push eax
push ecx
mov dword [esp + 0x54], ecx
call fcn.004f1f90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
movzx edx, ax
add edx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi*4], edx
sub word [edi + esi*2], ax
cmp byte [ebx + 3], 0
movzx eax, word [edi + esi*2]
jne 0x45ed1b
mov eax, dword [ebx + 0x40]
mov ecx, dword [ecx + esi*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x45ed2a
cmp ax, 4
jae 0x45ed2a
mov eax, 4
mov word [edi + esi*2], ax
inc esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add dword [esp + 0x84], ecx
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
jl 0x45eb80
movzx eax, word [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
lea edx, [ecx + eax - 0xc]
mov dword [esp + 0x48], edx
xor edx, edx
xor ecx, ecx
xor eax, eax
test edi, edi
jle 0x45eda3
movzx esi, word [ebx + edx*2]
lea eax, [eax + esi + 2]
cmp eax, dword [esp + 0x48]
jle 0x45ed9e
sub eax, esi
cmp dword [esp + 0x54], 0
mov dword [esp + ecx*4 + 0x60], eax
mov dword [esp + ecx*4 + 0x90], edx
je 0x45ed96
dec edx
inc ecx
xor eax, eax
cmp ecx, 4
jg 0x45edc4
inc edx
cmp edx, edi
jl 0x45ed73
mov dword [esp + ecx*4 + 0x90], edi
mov dword [esp + ecx*4 + 0x60], eax
inc ecx
mov dword [esp + 0x40], ecx
dec ecx
mov edi, ecx
mov dword [esp + 0x18], ecx
test edi, edi
jle 0x45ee61
jmp 0x45edf4
push 0x541a60
push 0xd16b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call sym.ShuamePacket.exe_sqlite3_log
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x45f460
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + edi*4 + 0x60]
mov esi, dword [esp + edi*4 + 0x5c]
mov eax, dword [esp + edi*4 + 0x8c]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x54]
inc ecx
test edx, edx
je 0x45ee32
movzx edi, word [ebx + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 0x24]
movzx edi, word [edi + ecx*2]
lea edi, [edi + edx + 2]
sub ebx, 2
cmp edi, ebx
mov edi, dword [esp + 0x18]
jg 0x45ee50
mov ebx, dword [esp + 0x24]
movzx ecx, word [ebx + ecx*2]
movzx eax, word [ebx + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add esi, ecx
dec dword [esp + edi*4 + 0x8c]
jmp 0x45edfc
mov dword [esp + edi*4 + 0x60], edx
mov dword [esp + edi*4 + 0x5c], esi
dec edi
mov dword [esp + 0x18], edi
test edi, edi
jg 0x45edf0
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x48], 1
ja 0x45ee7a
push 0x541a60
push 0xd1a1
jmp 0x45edce
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
cmp dword [esp + 0x40], esi
mov dword [esp + 0x4c], eax
jle 0x45ef3d
mov edi, dword [esp + 0x40]
cmp esi, dword [esp + 0x3c]
jge 0x45eecc
mov eax, dword [esp + esi*4 + 0x74]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + esi*4 + 0x64], eax
mov dword [esp + 0x48], eax
mov dword [esp + esi*4 + 0x78], 0
call fcn.00454ff0
inc dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45f460
jmp 0x45ef34
mov ecx, dword [esp + 0x20]
push 0
push ebp
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.0045d1c0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45f460
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
inc dword [esp + 0x30]
cmp byte [ecx + 0x15], 0
mov dword [esp + esi*4 + 0x60], eax
je 0x45ef30
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0xd8]
mov edx, dword [edx + 0x48]
push edx
push 5
call fcn.00458920
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x45f460
mov ebp, dword [esp + 0x34]
inc esi
cmp esi, edi
jl 0x45ee94
cmp esi, dword [esp + 0x3c]
jge 0x45ef9c
jmp 0x45ef50
cmp dword [esp + 0x14], 0
mov edi, dword [esp + esi*4 + 0x74]
jne 0x45f460
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.0045da70
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45f460
test edi, edi
je 0x45ef8d
mov edx, dword [edi + 0x44]
push edx
call fcn.00454c30
add esp, 4
mov dword [esp + esi*4 + 0x74], 0
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x45ef50
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 1]
xor ecx, ecx
test eax, eax
jle 0x45f008
lea esp, [esp]
lea eax, [esp + ecx*4 + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
lea ebx, [ecx + 1]
cmp ebx, ebp
mov dword [esp + 0x80], eax
mov edi, ecx
mov eax, ebx
jge 0x45efff
nop
mov edx, dword [esp + eax*4 + 0x60]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x45efdf
mov edi, eax
mov esi, edx
inc eax
cmp eax, ebp
jl 0x45efd0
cmp edi, ecx
jle 0x45efff
mov ecx, dword [esp + edi*4 + 0x60]
mov edx, dword [esp + 0x48]
lea eax, [esp + edi*4 + 0x60]
mov dword [edx], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax], ecx
mov ecx, ebx
lea eax, [ebp - 1]
cmp ecx, eax
jl 0x45efb0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + esi*4 + 0x5c]
mov eax, dword [eax + 0x48]
mov ecx, dword [esp + 0x5c]
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 ebp, ebp
xor edi, edi
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x45f16b
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + ebp*4 + 0x60]
push eax
call fcn.00459790
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + ebp*4 + 0x94]
add esp, 4
lea edx, [ecx + edi*2]
push edx
lea ecx, [eax + edi*4]
push ecx
mov edx, ebx
sub edx, edi
push edx
push esi
call fcn.0045e540
mov edi, ebx
add esp, 0x10
cmp edi, dword [esp + 0x2c]
jge 0x45f15c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
movzx ecx, word [ecx + edi*2]
mov ebp, dword [eax + edi*4]
movzx edx, word [esp + 0x38]
mov ebx, dword [esp + 0x50]
movzx eax, cx
add eax, edx
mov edx, dword [esp + 0xd8]
add ebx, edx
cmp byte [esi + 3], 0
jne 0x45f0ba
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x45f11a
cmp dword [esp + 0x54], 0
je 0x45f0fe
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + edi*4 - 4]
dec edi
push esi
lea eax, [esp + 0xb4]
call fcn.00458ca0
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
add esp, 4
push edx
push eax
lea ecx, [ebx + 4]
mov ebp, ebx
call fcn.0044cc40
add esp, 8
add eax, 4
xor ebx, ebx
jmp 0x45f11a
sub ebp, 4
cmp cx, 4
jne 0x45f11a
mov eax, dword [esp + 0xd4]
push ebp
call fcn.00458df0
add esp, 4
movzx eax, ax
add dword [esp + 0x50], eax
cmp dword [esp + 0x14], 0
jne 0x45f460
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0xe8]
call fcn.0045e390
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x45f460
mov ebp, dword [esp + 0x18]
inc edi
inc dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
jl 0x45f041
test byte [esp + 0x4c], 8
jne 0x45f191
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + edx*4 + 0xa0]
mov ecx, dword [eax + 0x40]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + edx*4 + 0x5c]
mov eax, dword [eax + 0x40]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
cmp dword [esp + 0xdc], 0
mov ebx, dword [esp + 0x60]
je 0x45f1eb
mov eax, dword [esp + 0xd4]
cmp word [eax + 0x10], 0
jne 0x45f1eb
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x45f1eb
lea ecx, [esp + 0x14]
push ecx
call fcn.0045e7a0
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x45f460
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.0045da70
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x45f460
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x15], 0
je 0x45f460
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xa4]
movzx eax, byte [ebx + 1]
movzx esi, word [ebx + 0x10]
xor edi, edi
add esi, eax
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x45f21e
movzx ebp, word [ebx + 0x18]
jmp 0x45f221
or ebp, 0xffffffff
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edi
jle 0x45f3c3
mov dword [esp + 0x44], edi
jmp 0x45f240
xor ecx, ecx
cmp edi, esi
jne 0x45f28b
cmp dword [esp + 0x54], ecx
sete cl
lea ecx, [ecx]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + eax*4 + 0xa8]
movzx edx, word [ebx + 0x10]
inc eax
mov dword [esp + 0x5c], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x45f283
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x50], eax
add ebp, edi
cmp edi, esi
je 0x45f250
mov dword [esp + 0x18], ebp
cmp edi, ebp
jne 0x45f2a6
mov eax, dword [esp + 0x50]
dec eax
mov ecx, 1
mov dword [esp + 0x50], eax
test eax, eax
jle 0x45f2a6
inc ebp
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x44]
cmp edi, dword [esp + edx + 0x90]
jne 0x45f2d7
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x54], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + eax + 0x60]
mov dword [esp + 0x1c], eax
je 0x45f3b6
test ecx, ecx
jne 0x45f2eb
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0x48]
je 0x45f3b6
cmp word [esp + 0x38], 0
jne 0x45f333
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 0x48]
movzx eax, byte [ecx + 1]
push edx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x28]
push 5
call fcn.00458920
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ax, word [edx + edi*2]
mov ecx, dword [esp + 0x1c]
cmp ax, word [ecx + 0xa]
jbe 0x45f3b6
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x28]
mov ebp, dword [edx + edi*4]
jne 0x45f3b2
mov eax, ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, ebp
call fcn.00458ca0
mov ax, word [esp + 0xcc]
add esp, 4
test ax, ax
je 0x45f3b2
movzx ecx, ax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x48]
push eax
movzx eax, byte [ecx + ebp]
add ecx, ebp
movzx ebp, byte [ecx + 1]
shl eax, 8
or eax, ebp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, ebp
shl eax, 8
or eax, ecx
mov ecx, dword [edx + 0x3c]
push 3
call fcn.00458920
add esp, 0xc
mov ebp, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x45f240
xor edi, edi
cmp word [esp + 0x38], di
jne 0x45f460
mov ebx, dword [esp + 0x30]
xor esi, esi
cmp ebx, edi
jle 0x45f460
mov edi, dword [esp + 0x20]
mov eax, dword [esp + esi*4 + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
add ecx, 8
lea edx, [esp + 0x14]
push edx
movzx edx, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 5
mov ecx, edi
call fcn.00458920
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x45f3e0
jmp 0x45f460
push 0x541a60
push 0xd0e0
push str.database_corruption_at_line__d_of___.10s_
push 0xb
mov dword [esp + 0x44], ebp
call sym.ShuamePacket.exe_sqlite3_log
lea edx, [esi*4 + 4]
push edx
lea eax, [esp + 0x88]
push 0
push eax
mov dword [esp + 0x30], 0xb
call fcn.004f0190
add esp, 0x1c
mov esi, dword [esp + 0x28]
call fcn.0044a1c0
mov edi, dword [esp + 0x3c]
xor esi, esi
test edi, edi
jle 0x45f48c
mov eax, dword [esp + esi*4 + 0x74]
test eax, eax
je 0x45f487
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00454c30
add esp, 4
inc esi
cmp esi, edi
jl 0x45f473
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x45f4af
mov eax, dword [esp + esi*4 + 0x60]
test eax, eax
je 0x45f4aa
mov edx, dword [eax + 0x44]
push edx
call fcn.00454c30
add esp, 4
inc esi
cmp esi, edi
jl 0x45f496
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret