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

Disassembly:
sub esp, 0x150
mov eax, dword [0x10314008]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x15c]
xor ebx, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], ecx
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x140], ebx
mov byte [esp + 0x144], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x24], eax
push esi
push edi
test ecx, ecx
jne 0x101c1384
lea eax, [ecx + 7]
jmp 0x101c2677
movzx edi, word [ebp + 0x18]
movzx ecx, byte [ebp + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x101c1398
xor edx, edx
jmp 0x101c13bd
test edx, edx
je 0x101c13af
cmp edx, esi
jne 0x101c13ae
mov eax, dword [esp + 0x16c]
lea edx, [eax - 2]
add edx, esi
jmp 0x101c13b6
dec edx
mov eax, dword [esp + 0x16c]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x4c], esi
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x101c13e0
movzx ecx, byte [ebp + 9]
add ecx, 8
jmp 0x101c13f4
mov eax, dword [ebp + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebp + 0x38]
lea edi, [esp + 0xb8]
push 0
mov dword [esp + 0x48], ecx
lea edi, [edi + esi*4]
push 0
mov edx, dword [ecx]
mov ecx, dword [esp + 0x34]
bswap edx
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], edx
call fcn.101bb7f0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x101c25f0
mov ecx, dword [edi]
mov edx, esi
mov dword [esp + 0x24], edx
cmp dword [ecx + 0x14], 0
jge 0x101c1459
call fcn.101bb2b0
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x101c15bb
mov edx, esi
mov eax, esi
dec esi
test eax, eax
je 0x101c1612
mov al, byte [ebp + 0xc]
test al, al
je 0x101c14b7
mov eax, dword [esp + 0x48]
movzx ecx, word [ebp + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x101c14b4
mov eax, dword [ebp + 0x24]
lea ebp, [esi*4]
mov edi, dword [esp + 0x38]
push eax
mov dword [esp + ebp + 0x154], eax
mov ecx, dword [eax]
mov eax, dword [edi + 0x4c]
bswap ecx
push edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ecx
call eax
movzx eax, ax
mov dword [esp + ebp + 0xe0], eax
mov byte [edi + 0xc], 0
jmp 0x101c1581
mov al, byte [ebp + 0xc]
movzx eax, al
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0x40]
add ecx, dword [esp + 0x48]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx edi, cx
and edi, eax
add edi, dword [ebp + 0x38]
lea ebp, [edx*4 - 4]
push edi
mov dword [esp + ebp + 0x154], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + ebp + 0xd8], edx
test byte [eax + 0x16], 0xc
je 0x101c155f
mov eax, dword [esp + 0x38]
mov ecx, edi
mov ebx, dword [esp + 0x2c]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x101c15d7
mov eax, dword [esp + 0x60]
push edx
add eax, ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x28]
sub edi, dword [eax + 0x38]
add edi, dword [esp + 0x60]
mov dword [esp + ebp + 0x150], edi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push edx
movzx eax, byte [edi + 0xc]
mov edx, dword [esp + 0x50]
sub ecx, eax
dec edx
add edx, ecx
mov ecx, edi
call fcn.101c04c0
mov edx, dword [esp + 0x58]
lea edi, [esp + 0xc0]
mov ecx, dword [esp + 0x34]
add esp, 8
add edi, ebp
push 0
push 0
push edi
call fcn.101bb7f0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x101c25f0
mov ebp, dword [esp + 0x38]
jmp 0x101c1432
lea eax, [esi*4]
push eax
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
jmp 0x101c260b
push 0x102c9d2c
push 0x1182d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
lea eax, [ebp + 4]
mov edi, 0xb
push eax
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
jmp 0x101c260b
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x20]
mov eax, 0xaaaaaaab
lea ecx, [esi - 8]
mul ecx
mov edi, edx
shr edi, 2
add edi, 4
imul edi, dword [esp + 0x3c]
add edi, 3
and edi, 0xfffffffc
lea ebp, [edi + edi*2]
lea eax, [esi + ebp*2]
cdq
push edx
push eax
call fcn.101a4690
mov esi, eax
add esp, 8
mov dword [esp + 0x80], esi
test esi, esi
jne 0x101c165c
lea edi, [eax + 7]
jmp 0x101c260e
mov ecx, dword [esp + 0xb8]
lea eax, [esi + edi*4]
mov dword [esp + 0x84], eax
lea eax, [esi + ebp*2]
mov dword [esp + 0x28], eax
mov dword [esp + 0x7c], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x54], eax
mov al, byte [ecx + 3]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], eax
jle 0x101c18dc
nop word [eax + eax]
shl eax, 2
mov dword [esp + 0x58], eax
mov ebp, dword [esp + eax + 0xb8]
mov dword [esp + 0x20], ebp
movzx eax, word [ebp + 0x1a]
mov edi, dword [ebp + 0x38]
mov ecx, eax
movzx esi, word [ebp + 0x12]
movzx edx, word [ebp + 0x18]
add esi, edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 0x38]
mov al, byte [edi]
mov dword [esp + 0x24], esi
cmp al, byte [ecx]
jne 0x101c1acf
movzx eax, byte [ebp + 0xc]
mov ecx, dword [esp + 0x84]
add eax, edx
add eax, eax
push eax
mov eax, dword [esp + 0x7c]
push 0
lea eax, [ecx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memset
mov al, byte [ebp + 0xc]
add esp, 0xc
test al, al
je 0x101c17b2
movzx edx, word [ebp + 0x1c]
cmp dword [esp + 0x6c], edx
jb 0x101c1aa7
test edx, edx
je 0x101c177b
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bp
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x80]
add ecx, edi
mov dword [eax + ebx*4], ecx
inc ebx
sub edx, 1
jne 0x101c1744
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov al, byte [ebp + 0xc]
xor edx, edx
test al, al
je 0x101c17b2
mov ebx, dword [esp + 0x78]
lea ecx, [ebp + 0x24]
mov esi, dword [esp + 0x80]
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [ebp + 0xc]
inc ebx
cmp edx, eax
jl 0x101c1790
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x34]
movzx eax, word [ebp + 0x12]
xor edx, edx
movzx ecx, word [ebp + 0x18]
add eax, edi
lea eax, [eax + ecx*2]
xor ecx, ecx
mov edi, eax
sub edi, esi
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x101c1814
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x78]
nop dword [eax + eax]
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
mov eax, dword [esp + 0x74]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x80]
add ecx, ebp
mov dword [eax + ebx*4], ecx
inc ebx
cmp edx, edi
jb 0x101c17e0
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x78]
mov dword [esp + edx + 0x11c], edi
cmp eax, dword [esp + 0x4c]
jge 0x101c18cd
cmp byte [esp + 0x13], 0
jne 0x101c18cd
movzx eax, word [esp + edx + 0xd8]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x28]
push eax
push dword [esp + edx + 0x154]
add esi, ebx
mov word [ecx + edi*2], ax
add ebx, eax
push esi
mov dword [esp + 0x40], ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x84]
movzx eax, cx
add eax, esi
mov esi, dword [esp + 0x80]
mov dword [esi + edi*4], eax
sub word [edx + edi*2], cx
cmp byte [ebp + 8], 0
jne 0x101c189d
mov eax, dword [ebp + 0x38]
mov ecx, dword [esi + edi*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x101c18c4
cmp word [edx + edi*2], 4
jae 0x101c18c4
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
mov byte [eax + ebx], 0
inc ebx
inc word [edx + edi*2]
cmp word [edx + edi*2], 4
jb 0x101c18b0
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x78], edi
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x3c]
jl 0x101c16b0
mov eax, dword [esp + 0x54]
xor ecx, ecx
movzx edi, ax
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add edi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
test eax, eax
jle 0x101c19d9
nop dword [eax + eax]
mov esi, dword [esp + ebx*4 + 0xb8]
mov edx, dword [esp + ebx*4 + 0x11c]
mov dword [esp + 0x58], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + ecx*4 + 0x88], eax
mov dword [esp + ecx*4 + 0xa0], edx
test ecx, ecx
je 0x101c1945
cmp edx, dword [esp + ecx*4 + 0x9c]
jne 0x101c1945
dec ecx
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x13], 0
jne 0x101c1969
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x3c]
mov dword [esp + ecx*4 + 0x88], eax
lea eax, [edx + 1]
mov dword [esp + ecx*4 + 0xa0], eax
sub edi, dword [esi + 0x14]
lea eax, [esp + 0xd8]
lea eax, [eax + ebx*4]
xor ebp, ebp
mov dword [eax], edi
cmp byte [esi + 0xc], 0
mov dword [esp + 0x4c], eax
jbe 0x101c19b8
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
movzx eax, ax
lea ebx, [ebx + 4]
add eax, 2
inc ebp
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ebp, eax
jl 0x101c1987
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
inc ecx
mov edi, dword [esp + 0x34]
mov dword [esp + ebx*4 + 0xec], edx
inc ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ecx
cmp ebx, eax
jl 0x101c1910
mov ebx, dword [esp + 0x78]
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], 0
test eax, eax
jle 0x101c1c49
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x18], eax
nop
mov esi, dword [esp + ebp + 0xd8]
cmp esi, edi
jle 0x101c1b1d
nop
cmp eax, ecx
jl 0x101c1a3d
lea ecx, [eax + 1]
mov dword [esp + 0x20], ecx
cmp ecx, 5
jg 0x101c1bf9
mov dword [esp + ebp + 0xdc], 0
mov esi, dword [esp + ebp + 0xd8]
mov dword [esp + ebp + 0xf0], ebx
mov edi, dword [esp + ebp + 0xec]
mov ecx, dword [esp + 0x84]
lea ebx, [edi - 1]
movzx eax, word [ecx + ebx*2]
test ax, ax
jne 0x101c1a6c
mov edx, ebx
lea ecx, [esp + 0x78]
call fcn.101c08d0
mov ecx, dword [esp + 0x84]
movzx eax, ax
movzx eax, ax
add eax, 2
sub esi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + ebp + 0xd8], esi
jne 0x101c1af9
cmp edi, dword [esp + 0x78]
jge 0x101c1af7
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x101c1a9f
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.101c08d0
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x101c1af9
push 0x102c9d2c
push 0x11888
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
push 0x102c9d2c
push 0x11870
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
xor eax, eax
add dword [esp + ebp + 0xdc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + ebp + 0xec], ebx
mov ebx, dword [esp + 0x78]
cmp esi, dword [esp + 0x34]
jg 0x101c1a10
mov edi, dword [esp + ebp + 0xec]
cmp edi, ebx
jge 0x101c1bb0
mov ecx, dword [esp + 0x84]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x101c1b51
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.101c08d0
mov ecx, dword [esp + 0x84]
movzx eax, ax
movzx eax, ax
add eax, 2
add esi, eax
cmp esi, dword [esp + 0x34]
jg 0x101c1bd4
inc edi
mov dword [esp + ebp + 0xd8], esi
cmp byte [esp + 0x13], 0
mov dword [esp + ebp + 0xec], edi
jne 0x101c1ba1
cmp edi, ebx
jge 0x101c1b9f
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x101c1b97
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.101c08d0
mov ecx, dword [esp + 0x84]
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x101c1ba1
xor eax, eax
sub dword [esp + ebp + 0xdc], eax
cmp edi, ebx
jl 0x101c1b33
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x20], ecx
inc edx
inc eax
add ebp, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], eax
cmp edx, ecx
jge 0x101c1c49
mov edi, dword [esp + 0x34]
jmp 0x101c1a00
cmp edi, ebx
jge 0x101c1bac
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x101c1be9
mov eax, dword [esp + ebp + 0xe8]
jmp 0x101c1beb
xor eax, eax
cmp edi, eax
jle 0x101c1c21
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x101c1bba
push 0x102c9d2c
push 0x118ed
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
push 0x102c9d2c
push 0x1190e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x101c1dab
nop word [eax + eax]
shl ecx, 2
mov dword [esp + 0x40], ecx
mov eax, dword [esp + ecx + 0xd4]
mov edi, dword [esp + ecx + 0xd8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xec]
sub eax, 4
mov dword [esp + 0x28], eax
mov ebp, dword [eax + ecx]
mov ecx, dword [esp + 0x84]
lea esi, [ebp - 1]
mov edx, esi
sub edx, dword [esp + 0x68]
inc edx
cmp word [ecx + edx*2], 0
lea eax, [ecx + edx*2]
mov dword [esp + 0x4c], eax
jne 0x101c1cb9
lea ecx, [esp + 0x78]
call fcn.101c08d0
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x4c]
jmp 0x101c1cc7
mov ecx, dword [esp + 0x84]
cmp word [ecx + esi*2], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], esi
jne 0x101c1ce1
mov edx, esi
lea ecx, [esp + 0x78]
call fcn.101c08d0
test edi, edi
je 0x101c1d28
cmp dword [esp + 0x16c], 0
mov edx, ebp
jne 0x101c1d6b
mov ecx, dword [esp + 0x20]
mov eax, 2
mov ebp, dword [esp + 0x18]
dec ecx
cmp dword [esp + 0x24], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, ebp
sub ecx, eax
mov eax, dword [esp + 0x84]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x101c1d6f
movzx eax, word [ebx]
mov ecx, 0xfffffffe
mov ebp, dword [esp + 0x4c]
add eax, 2
mov edx, dword [esp + 0x58]
add edi, eax
mov eax, dword [esp + 0x84]
sub ebx, 2
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + eax], esi
sub esi, 1
jns 0x101c1cc0
mov ebp, dword [esp + 0x18]
jmp 0x101c1d73
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x78]
mov dword [esp + eax + 0xd8], edi
mov dword [esp + eax + 0xd4], ebp
cmp ecx, 1
jle 0x101c1d98
mov esi, dword [esp + 0x28]
mov eax, dword [eax + esi - 4]
jmp 0x101c1d9a
xor eax, eax
cmp edx, eax
jle 0x101c1e18
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x101c1c60
mov eax, dword [esp + 0xb8]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cmp dword [esp + 0x20], esi
jle 0x101c1f23
mov ebp, dword [esp + 0x24]
nop
cmp esi, dword [esp + 0x3c]
jge 0x101c1e82
mov eax, dword [esp + esi*4 + 0xb8]
mov dword [esp + esi*4 + 0xc4], eax
mov dword [esp + esi*4 + 0xb8], 0
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x101c1e44
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x101c1e44
cmp dword [edx + 0x60], 0
je 0x101c1e40
call fcn.101b3570
jmp 0x101c1e69
push 0x102c9d2c
push 0x11938
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
xor eax, eax
jmp 0x101c1e69
mov eax, dword [edx + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x101c1e6d
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x101c1e64
call fcn.101b50a0
jmp 0x101c1e69
call fcn.101b4e80
mov dword [esp + 0x14], eax
inc dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x101c25d6
jmp 0x101c1f13
cmp dword [esp + 0x16c], 0
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x50]
cmovne ecx, eax
lea eax, [esp + 0x5c]
push 0
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.101bf600
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x101c25d6
mov edi, dword [esp + 0x28]
mov edx, ebp
mov ecx, edi
call fcn.101bb5f0
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x30]
mov dword [esp + esi*4 + 0xc4], edi
mov dword [esp + esi*4 + 0x11c], ebx
cmp byte [ecx + 0x11], 0
je 0x101c1f0b
mov edx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 4]
push 5
call fcn.101ba130
mov edi, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x101c25da
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x50], edx
inc esi
mov eax, 1
cmp esi, dword [esp + 0x20]
jl 0x101c1dd0
mov ebp, dword [esp + 0x30]
xor ecx, ecx
test ebp, ebp
jle 0x101c1f77
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0xc4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x130], edx
mov dword [esp + ecx*4 + 0x100], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0x150], ax
xor eax, eax
test ecx, ecx
jle 0x101c1f72
nop dword [eax]
cmp dword [esp + eax*4 + 0x130], edx
je 0x101c20d0
inc eax
cmp eax, ecx
jl 0x101c1f60
inc ecx
cmp ecx, ebp
jl 0x101c1f30
xor edi, edi
test ebp, ebp
jle 0x101c2011
xor esi, esi
lea edx, [esi + 1]
cmp ebp, edx
jle 0x101c1faa
nop word [eax + eax]
mov eax, dword [esp + edx*4 + 0x100]
mov ecx, edx
cmp eax, dword [esp + esi*4 + 0x100]
cmovae ecx, esi
inc edx
mov esi, ecx
cmp edx, ebp
jl 0x101c1f90
mov ebx, dword [esp + esi*4 + 0x100]
mov dword [esp + esi*4 + 0x100], 0xffffffff
cmp esi, edi
je 0x101c2008
jle 0x101c1fe1
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + esi*4 + 0xc4]
inc edx
add edx, esi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.101ae870
mov eax, dword [esp + edi*4 + 0xc4]
mov edx, ebx
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0x150]
mov word [ecx + 0x1c], ax
call fcn.101ae870
mov eax, dword [esp + edi*4 + 0xc4]
mov dword [eax + 4], ebx
inc edi
cmp edi, ebp
jl 0x101c1f81
test byte [esp + 0x24], 8
mov eax, dword [esp + ebp*4 + 0xc0]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x101c205a
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
je 0x101c205a
lea edx, [esp + 0xb8]
lea eax, [esp + 0xc4]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + ebp*4 + 0xc0]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x11], 0
je 0x101c2268
mov esi, dword [esp + 0xc4]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x44], 0
movzx eax, byte [esi + 0xc]
movzx ebp, word [esi + 0x18]
add ebp, eax
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x101c2299
mov edx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edx
nop dword [eax + eax]
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x24], ecx
cmp ebx, ebp
jne 0x101c2119
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
nop dword [eax + eax]
inc edi
cmp edi, dword [esp + 0x30]
jge 0x101c20f8
mov esi, dword [esp + edi*4 + 0xc4]
jmp 0x101c20ff
push 0x102c9d2c
push 0x11982
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
mov esi, dword [esp + edi*4 + 0xb8]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
add ebp, ecx
cmp ebx, ebp
je 0x101c20c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
cmp ebx, dword [esp + ecx + 0xec]
mov ecx, dword [esp + 0x24]
jne 0x101c2150
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
shl edx, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x28], edx
mov edx, dword [esp + edx + 0xc4]
mov dword [esp + 0x20], edx
je 0x101c225b
cmp edi, dword [esp + 0x30]
jge 0x101c2170
mov eax, dword [edx + 4]
cmp eax, dword [esp + edi*4 + 0x130]
jne 0x101c2170
cmp ecx, dword [esi + 0x38]
jb 0x101c2170
cmp ecx, dword [esi + 0x3c]
jb 0x101c2257
cmp word [esp + 0x54], 0
jne 0x101c219e
lea eax, [esp + 0x1c]
push eax
push dword [edx + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x34]
push 5
bswap edx
call fcn.101ba130
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x101c21c0
mov edx, ebx
lea ecx, [esp + 0x78]
call fcn.101c08d0
mov edx, dword [esp + 0x20]
movzx eax, ax
cmp ax, word [edx + 0x10]
jbe 0x101c2245
cmp dword [esp + 0x14], 0
jne 0x101c25d6
lea eax, [esp + 0x100]
push eax
push dword [esp + 0x28]
mov eax, dword [edx + 0x50]
push edx
call eax
movzx eax, word [esp + 0x11c]
add esp, 0xc
cmp eax, dword [esp + 0x10c]
jae 0x101c2253
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jb 0x101c220c
add eax, ecx
cmp edx, eax
jb 0x101c2271
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
movzx eax, word [esp + 0x11a]
push 3
mov edx, dword [eax + ecx - 4]
mov eax, dword [esp + 0x2c]
bswap edx
mov ecx, dword [eax + 0x34]
call fcn.101ba130
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x101c2249
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x101c25d6
jmp 0x101c2257
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
inc ebx
cmp ebx, eax
jl 0x101c20a0
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0xc4]
jmp 0x101c229d
push 0x102c9d2c
push 0xffc8
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.101a75e0
add esp, 0x14
mov edi, 0xb
jmp 0x101c25da
mov ebp, dword [esp + 0x30]
lea eax, [ebp - 1]
xor edi, edi
test eax, eax
jle 0x101c23ee
nop word [eax + eax]
mov eax, dword [esp + edi*4 + 0xec]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + edi*4 + 0xc4]
mov ebx, dword [esp + 0x60]
add ebx, dword [esp + 0x64]
movzx eax, word [edx + eax*2]
mov esi, dword [ecx]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x54]
movzx edx, bp
mov ebp, dword [esp + 0x68]
add edx, eax
cmp byte [ebp + 8], 0
jne 0x101c2301
mov ecx, dword [ebp + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x101c23a5
cmp byte [esp + 0x13], 0
je 0x101c238c
lea eax, [esp + 0x130]
push eax
push dword [ecx - 4]
mov eax, dword [ebp + 0x50]
push ebp
call eax
mov edx, dword [esp + 0x140]
add esp, 0xc
mov ecx, dword [esp + 0x130]
mov esi, ebx
test edx, edx
ja 0x101c2378
jb 0x101c233b
cmp ecx, 0x7f
ja 0x101c234d
mov eax, 1
and cl, 0x7f
mov byte [ebx + 4], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x101c23a5
test edx, edx
ja 0x101c2378
jb 0x101c235b
cmp ecx, 0x3fff
ja 0x101c2378
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 5], cl
or al, 0x80
mov byte [ebx + 4], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x101c23a5
push edx
push ecx
lea ecx, [ebx + 4]
call fcn.101a8f60
add esp, 8
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x101c23a5
sub esi, 4
cmp eax, 4
jne 0x101c23a5
mov eax, dword [esp + 0x38]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x64], edx
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push eax
push dword [ebp + 4]
push ebx
push edx
mov edx, dword [esp + 0x58]
push esi
lea edx, [edx + edi]
call fcn.101c05e0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x101c25d6
mov ebp, dword [esp + 0x30]
inc edi
lea eax, [ebp - 1]
cmp edi, eax
jl 0x101c22b0
mov esi, dword [esp + 0xc4]
mov edi, 1
sub edi, ebp
mov dword [esp + 0x44], edi
cmp edi, ebp
jge 0x101c24e7
mov ebp, dword [esp + 0xec]
nop dword [eax + eax]
mov eax, edi
lea ebx, [esp + 0x148]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x101c24cd
test edi, edi
jns 0x101c2443
mov eax, dword [esp + ecx*4 + 0x118]
cmp eax, dword [esp + ecx*4 + 0xe8]
jl 0x101c24cd
test ecx, ecx
jne 0x101c244f
xor edx, edx
mov esi, ebp
xor eax, eax
jmp 0x101c2484
cmp ecx, dword [esp + 0x3c]
jge 0x101c2467
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
add edx, dword [esp + ecx*4 + 0x118]
jmp 0x101c246b
mov edx, dword [esp + 0x78]
mov esi, dword [esp + ecx*4 + 0xec]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + ecx*4 + 0xe8]
sub esi, eax
lea edi, [ecx*4]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + edi + 0xc8]
push esi
push eax
call fcn.101c0d40
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x101c25d6
mov eax, dword [esp + edi + 0xc4]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + edi + 0xd8]
mov edi, dword [esp + 0x44]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
inc edi
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x30]
jl 0x101c2410
mov esi, dword [esp + 0xc4]
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0x168], 0
je 0x101c2552
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x18], 0
jne 0x101c2552
movzx eax, byte [ebx + 9]
cmp eax, dword [esi + 0x14]
jg 0x101c2552
or edx, 0xffffffff
mov ecx, esi
call fcn.101ba710
mov ecx, dword [esp + 0xc4]
mov edx, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.101c1250
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x101c25a8
mov ecx, dword [esp + 0xc4]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.101bfcb0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x101c25a8
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x11], 0
je 0x101c25a4
cmp word [esp + 0x54], 0
jne 0x101c25a4
xor esi, esi
test ebp, ebp
jle 0x101c25a4
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0xc4]
lea edx, [esp + 0x1c]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.101ba130
mov ecx, dword [esp + 0x38]
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x101c2570
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x101c25a8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov esi, ebp
cmp ebp, ebx
jge 0x101c25d6
mov ecx, dword [esp + esi*4 + 0xb8]
test eax, eax
jne 0x101c25cd
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.101bfcb0
add esp, 4
inc esi
cmp esi, ebx
jl 0x101c25b2
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x101c260e
mov edx, eax
xor ecx, ecx
call fcn.101a49c0
jmp 0x101c260e
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0x3c]
xor esi, esi
test ebx, ebx
jle 0x101c2645
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0xb8]
test ecx, ecx
je 0x101c2640
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x101c263b
call fcn.101b2df0
jmp 0x101c2640
call fcn.101ae610
inc esi
cmp esi, ebx
jl 0x101c2620
mov ebx, dword [esp + 0x30]
xor esi, esi
test ebx, ebx
jle 0x101c2675
nop
mov ecx, dword [esp + esi*4 + 0xc4]
test ecx, ecx
je 0x101c2670
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x101c266b
call fcn.101b2df0
jmp 0x101c2670
call fcn.101ae610
inc esi
cmp esi, ebx
jl 0x101c2650
mov eax, edi
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1025b3e6
add esp, 0x150
ret