Function at 0x45eeb0
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 0x45eefd
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 0x45ef16
lea edi, [esi + 1]
mov dword [esp + 0x3c], edi
jmp 0x45ef31
mov dword [esp + 0x3c], 3
cmp edi, eax
je 0x45ef2c
lea eax, [esi - 2]
cmp edi, esi
je 0x45ef2c
lea eax, [edi - 1]
mov esi, 2
mov dword [esp + 0x1c], eax
sub eax, edx
add eax, esi
cmp eax, ecx
jne 0x45ef4a
movzx edx, byte [ebx + 5]
mov eax, dword [ebx + 0x40]
lea eax, [edx + eax + 8]
jmp 0x45ef6a
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.00459f30
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45f133
mov edx, dword [esp + 0x1c]
lea eax, [edx + esi]
jmp 0x45efc4
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 0x45f14f
movzx ecx, word [ebx + 0x18]
cmp eax, ecx
jne 0x45f03b
cmp byte [ebx + 1], 0
je 0x45f03b
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.00459450
movzx eax, ax
add esp, 4
mov dword [esp + esi*4 + 0x60], eax
mov byte [ebx + 1], 0
jmp 0x45f110
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.00459450
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 0x45f0f6
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 0x45fa84
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xd8]
push edx
add eax, ecx
push edi
push eax
call fcn.004f26c0
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.0045e900
add esp, 8
mov ecx, dword [esp + 0x20]
lea edi, [esp + esi*4 + 0x74]
push edi
push ebp
push ecx
call fcn.00459f30
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x45efc0
mov dword [esp + 0x34], ebp
lea edx, [esi*4 + 4]
push edx
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004f08c0
add esp, 0xc
jmp 0x45fac0
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.0044a700
mov dword [esp + 0x28], eax
test eax, eax
jne 0x45f194
mov dword [esp + 0x14], 7
jmp 0x45fac0
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 0x45f3ad
mov dword [esp + 0x84], 0
jmp 0x45f1e0
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.004f26c0
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 0x45f279
xor esi, esi
test ecx, ecx
jle 0x45f2f2
mov eax, esi
mov edi, ebx
call fcn.004592b0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [ecx + edi*4], eax
push eax
mov eax, ebx
call fcn.00459450
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 0x45f244
jmp 0x45f2f2
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 0x45f2f2
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 0x45f2b0
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.00459450
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 0x45f2b0
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x3c]
dec eax
cmp dword [esp + 0x18], eax
jge 0x45f38f
cmp dword [esp + 0x54], 0
jne 0x45f38f
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.004f26c0
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 0x45f37b
mov eax, dword [ebx + 0x40]
mov ecx, dword [ecx + esi*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x45f38a
cmp ax, 4
jae 0x45f38a
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 0x45f1e0
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 0x45f403
movzx esi, word [ebx + edx*2]
lea eax, [eax + esi + 2]
cmp eax, dword [esp + 0x48]
jle 0x45f3fe
sub eax, esi
cmp dword [esp + 0x54], 0
mov dword [esp + ecx*4 + 0x60], eax
mov dword [esp + ecx*4 + 0x90], edx
je 0x45f3f6
dec edx
inc ecx
xor eax, eax
cmp ecx, 4
jg 0x45f424
inc edx
cmp edx, edi
jl 0x45f3d3
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 0x45f4c1
jmp 0x45f454
push 0x543a60
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 0x45fac0
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 0x45f492
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 0x45f4b0
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 0x45f45c
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 0x45f450
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x48], 1
ja 0x45f4da
push 0x543a60
push 0xd1a1
jmp 0x45f42e
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
cmp dword [esp + 0x40], esi
mov dword [esp + 0x4c], eax
jle 0x45f59d
mov edi, dword [esp + 0x40]
cmp esi, dword [esp + 0x3c]
jge 0x45f52c
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.00455650
inc dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45fac0
jmp 0x45f594
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.0045d820
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45fac0
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 0x45f590
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.00458f80
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x45fac0
mov ebp, dword [esp + 0x34]
inc esi
cmp esi, edi
jl 0x45f4f4
cmp esi, dword [esp + 0x3c]
jge 0x45f5fc
jmp 0x45f5b0
cmp dword [esp + 0x14], 0
mov edi, dword [esp + esi*4 + 0x74]
jne 0x45fac0
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.0045e0d0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45fac0
test edi, edi
je 0x45f5ed
mov edx, dword [edi + 0x44]
push edx
call fcn.00455290
add esp, 4
mov dword [esp + esi*4 + 0x74], 0
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x45f5b0
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 1]
xor ecx, ecx
test eax, eax
jle 0x45f668
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 0x45f65f
nop
mov edx, dword [esp + eax*4 + 0x60]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x45f63f
mov edi, eax
mov esi, edx
inc eax
cmp eax, ebp
jl 0x45f630
cmp edi, ecx
jle 0x45f65f
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 0x45f610
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 0x45f7cb
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + ebp*4 + 0x60]
push eax
call fcn.00459df0
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.0045eba0
mov edi, ebx
add esp, 0x10
cmp edi, dword [esp + 0x2c]
jge 0x45f7bc
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 0x45f71a
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x45f77a
cmp dword [esp + 0x54], 0
je 0x45f75e
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + edi*4 - 4]
dec edi
push esi
lea eax, [esp + 0xb4]
call fcn.00459300
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.0044d2a0
add esp, 8
add eax, 4
xor ebx, ebx
jmp 0x45f77a
sub ebp, 4
cmp cx, 4
jne 0x45f77a
mov eax, dword [esp + 0xd4]
push ebp
call fcn.00459450
add esp, 4
movzx eax, ax
add dword [esp + 0x50], eax
cmp dword [esp + 0x14], 0
jne 0x45fac0
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.0045e9f0
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x45fac0
mov ebp, dword [esp + 0x18]
inc edi
inc dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
jl 0x45f6a1
test byte [esp + 0x4c], 8
jne 0x45f7f1
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 0x45f84b
mov eax, dword [esp + 0xd4]
cmp word [eax + 0x10], 0
jne 0x45f84b
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x45f84b
lea ecx, [esp + 0x14]
push ecx
call fcn.0045ee00
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x45fac0
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.0045e0d0
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x45fac0
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x15], 0
je 0x45fac0
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 0x45f87e
movzx ebp, word [ebx + 0x18]
jmp 0x45f881
or ebp, 0xffffffff
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edi
jle 0x45fa23
mov dword [esp + 0x44], edi
jmp 0x45f8a0
xor ecx, ecx
cmp edi, esi
jne 0x45f8eb
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 0x45f8e3
movzx ebp, word [ebx + 0x18]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x50], eax
add ebp, edi
cmp edi, esi
je 0x45f8b0
mov dword [esp + 0x18], ebp
cmp edi, ebp
jne 0x45f906
mov eax, dword [esp + 0x50]
dec eax
mov ecx, 1
mov dword [esp + 0x50], eax
test eax, eax
jle 0x45f906
inc ebp
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x44]
cmp edi, dword [esp + edx + 0x90]
jne 0x45f937
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 0x45fa16
test ecx, ecx
jne 0x45f94b
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0x48]
je 0x45fa16
cmp word [esp + 0x38], 0
jne 0x45f993
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.00458f80
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 0x45fa16
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x28]
mov ebp, dword [edx + edi*4]
jne 0x45fa12
mov eax, ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, ebp
call fcn.00459300
mov ax, word [esp + 0xcc]
add esp, 4
test ax, ax
je 0x45fa12
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.00458f80
add esp, 0xc
mov ebp, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x45f8a0
xor edi, edi
cmp word [esp + 0x38], di
jne 0x45fac0
mov ebx, dword [esp + 0x30]
xor esi, esi
cmp ebx, edi
jle 0x45fac0
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.00458f80
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x45fa40
jmp 0x45fac0
push 0x543a60
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.004f08c0
add esp, 0x1c
mov esi, dword [esp + 0x28]
call fcn.0044a820
mov edi, dword [esp + 0x3c]
xor esi, esi
test edi, edi
jle 0x45faec
mov eax, dword [esp + esi*4 + 0x74]
test eax, eax
je 0x45fae7
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00455290
add esp, 4
inc esi
cmp esi, edi
jl 0x45fad3
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x45fb0f
mov eax, dword [esp + esi*4 + 0x60]
test eax, eax
je 0x45fb0a
mov edx, dword [eax + 0x44]
push edx
call fcn.00455290
add esp, 4
inc esi
cmp esi, edi
jl 0x45faf6
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret