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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov eax, ecx
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x30], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x160], 0
mov byte [esp + 0x164], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0x40], ecx
push edi
test esi, esi
jne 0x100f9dec
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x16]
movzx ecx, byte [eax + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x100f9e00
xor edx, edx
jmp 0x100f9e1d
test edx, edx
je 0x100f9e13
cmp edx, esi
jne 0x100f9e12
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x100f9e16
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x64], esi
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x100f9e49
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x100f9e64
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov edx, dword [ecx]
lea eax, [esp + 0x144]
push 0
lea eax, [eax + esi*4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x48]
bswap edx
push 0
push eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], eax
call fcn.100f3dc0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100fa042
mov ecx, dword [esp + 0x18]
mov edi, esi
mov dword [esp + 0x3c], edi
mov ecx, dword [ecx]
movzx edx, word [ecx + 0x16]
movzx eax, byte [ecx + 0xc]
add eax, dword [esp + 0x1c]
lea ecx, [edx + 1]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100fa100
mov eax, dword [esp + 0x38]
mov dl, byte [eax + 0xc]
test dl, dl
je 0x100f9f27
movzx ecx, word [eax + 0x1a]
mov eax, dword [esp + 0x5c]
add eax, esi
cmp eax, ecx
jne 0x100f9f27
mov edx, dword [esp + 0x38]
lea edi, [esi*4]
mov eax, dword [edx + 0x24]
push eax
mov dword [esp + edi + 0x70], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x48], ecx
call eax
movzx eax, ax
mov dword [esp + edi + 0x8c], eax
mov eax, dword [esp + 0x40]
mov byte [eax + 0xc], 0
jmp 0x100fa00b
movzx eax, dl
mov ecx, edi
mov edx, dword [esp + 0x38]
sub ecx, eax
add ecx, dword [esp + 0x5c]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x18]
movzx edi, cx
lea ecx, [esp + 0x6c]
and edi, eax
mov eax, dword [esp + 0x3c]
add edi, dword [edx + 0x38]
push edi
push edx
lea eax, [eax*4 - 4]
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0x3c], eax
mov dword [eax], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov dword [esp + eax + 0x84], edx
mov eax, dword [esp + 0x44]
test byte [eax + 0x18], 0xc
je 0x100f9fe5
mov eax, dword [esp + 0x38]
mov ecx, edi
mov ebx, dword [esp + 0x44]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x28]
mov ebx, 0
jg 0x100fa0ce
mov eax, dword [esp + 0x80]
push edx
add eax, ecx
push edi
push eax
call fcn.101ec960
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x4c]
sub edi, dword [eax + 0x38]
mov eax, dword [esp + 0x34]
add edi, dword [esp + 0x80]
mov dword [eax], edi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
push eax
push edx
movzx eax, byte [edi + 0xc]
mov edx, dword [esp + 0x64]
sub ecx, eax
dec edx
add edx, ecx
mov ecx, edi
call fcn.100f8fd0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x14c]
mov ecx, dword [esp + 0x4c]
add esp, 8
add eax, edi
mov dword [esp + 0x18], eax
push 0
push 0
push eax
call fcn.100f3dc0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
test edi, edi
je 0x100f9ea6
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x148]
push 0
push eax
call fcn.101ee530
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x50], ebx
jle 0x100fb0f0
nop dword [eax + eax]
mov edx, dword [esp + ebx*4 + 0x144]
test edx, edx
je 0x100fb0e5
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100fb0de
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.101d5d50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100fb0e5
push 0x10279dac
push 0x113be
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], 0xb
add eax, 4
jmp 0x100fa049
mov eax, dword [esp + 0x44]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x24]
lea edi, [esi + esi*2]
add edi, edi
add eax, edi
cdq
push edx
push eax
call fcn.100dfb50
add esp, 8
mov dword [esp + 0x48], eax
mov dword [esp + 0xf0], eax
test eax, eax
jne 0x100fa13b
mov dword [esp + 0x14], 7
jmp 0x100fa05c
mov ecx, dword [esp + 0x144]
lea edx, [eax + esi*4]
add eax, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0xf4], edx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x68], eax
mov al, byte [ecx + 3]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], eax
jle 0x100fa39f
xor edi, edi
nop
shl eax, 2
mov dword [esp + 0x60], eax
mov edx, dword [esp + eax + 0x144]
mov dword [esp + 0x24], edx
movzx eax, word [edx + 0x18]
mov ecx, dword [edx + 0x38]
mov esi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x34], esi
movzx esi, word [edx + 0x12]
add esi, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x100fa50e
movzx eax, byte [edx + 0xc]
movzx ecx, word [edx + 0x16]
add ecx, eax
mov eax, dword [esp + 0x30]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.101ee530
mov eax, dword [esp + 0x30]
add esp, 0xc
mov cl, byte [eax + 0xc]
test cl, cl
je 0x100fa280
movzx edx, word [eax + 0x1a]
test edx, edx
je 0x100fa24d
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x34]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x48]
add ecx, dword [esp + 0x3c]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0xe8], ebx
sub edx, 1
jne 0x100fa210
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], esi
mov cl, byte [eax + 0xc]
xor edx, edx
test cl, cl
je 0x100fa280
lea ecx, [eax + 0x24]
mov esi, dword [esp + 0x48]
lea ecx, [ecx + 4]
mov eax, dword [ecx - 4]
inc edx
mov dword [esi + ebx*4], eax
inc ebx
mov esi, dword [esp + 0x24]
mov dword [esp + 0xe8], ebx
movzx eax, byte [esi + 0xc]
cmp edx, eax
jl 0x100fa256
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x24]
xor edx, edx
movzx ecx, word [eax + 0x16]
movzx eax, word [eax + 0x12]
add eax, dword [esp + 0x3c]
lea eax, [eax + ecx*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edx
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x100fa2e4
nop dword [eax]
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
mov eax, dword [esp + 0x4c]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x48]
add ecx, dword [esp + 0x3c]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0xe8], ebx
cmp edx, dword [esp + 0x34]
jb 0x100fa2b0
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
mov dword [esp + edx + 0xc8], ebx
cmp eax, dword [esp + 0x64]
jge 0x100fa390
cmp byte [esp + 0x13], 0
jne 0x100fa390
movzx eax, word [esp + edx + 0x84]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
push eax
push dword [esp + edx + 0x70]
add esi, edi
mov word [ecx + ebx*2], ax
push esi
add edi, eax
call fcn.101ec960
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x68]
sub word [edx + ebx*2], ax
mov eax, dword [esp + 0x24]
cmp byte [eax + 8], 0
jne 0x100fa361
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x100fa380
cmp word [edx + ebx*2], 4
jae 0x100fa380
mov eax, dword [esp + 0x28]
nop dword [eax]
mov byte [eax + edi], 0
inc edi
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x100fa370
mov eax, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0xe8], ebx
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x50]
jl 0x100fa190
mov eax, dword [esp + 0x68]
xor edi, edi
movzx ecx, ax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x100fa4ce
lea ecx, [esp + 0x110]
lea edx, [esp + 0xf8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], edx
nop
cmp byte [esp + 0x13], 0
mov esi, dword [esp + edi*4 + 0x144]
mov ebx, dword [esp + edi*4 + 0xc8]
mov dword [esp + 0x60], ebx
mov eax, dword [esi + 0x3c]
mov dword [edx], eax
mov dword [ecx], ebx
jne 0x100fa41c
mov eax, dword [esp + 0x38]
add edx, 4
add ecx, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x3c]
mov dword [edx], eax
lea eax, [ebx + 1]
mov dword [ecx], eax
movzx eax, word [esi + 0x14]
mov edi, dword [esp + 0x3c]
sub edi, eax
mov dword [esp + 0x1c], 0
cmp byte [esi + 0xc], 0
mov eax, dword [esp + 0x18]
lea eax, [esp + eax*4 + 0x84]
mov dword [eax], edi
mov dword [esp + 0x64], eax
jbe 0x100fa481
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x24]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x24], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x100fa448
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
mov dword [eax], edi
mov edi, dword [esp + 0x18]
add edx, 4
add ecx, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], ecx
mov dword [esp + edi*4 + 0x98], ebx
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x100fa3e0
mov eax, dword [esp + 0xf4]
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], 0
mov edi, eax
mov dword [esp + 0x28], edi
test eax, eax
jle 0x100fa6c7
mov edx, 1
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x84]
add eax, ecx
mov dword [esp + 0x64], eax
mov esi, dword [eax]
cmp esi, dword [esp + 0x3c]
jle 0x100fa604
jmp 0x100fa549
push 0x10279dac
push 0x113ff
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x100fb0c4
lea eax, [esp + 0x84]
add eax, ecx
cmp edx, edi
jl 0x100fa56f
inc edx
mov dword [esp + 0x28], edx
cmp edx, 5
jg 0x100fa77f
mov dword [esp + ecx + 0x88], 0
mov esi, dword [eax]
mov dword [esp + ecx + 0x9c], ebx
mov edi, dword [esp + ecx + 0x98]
mov edx, dword [esp + 0x30]
lea ecx, [edi - 1]
mov dword [esp + 0x60], ecx
movzx eax, word [edx + ecx*2]
test ax, ax
jne 0x100fa59f
mov edx, ecx
lea ecx, [esp + 0xe8]
call fcn.100f9340
mov edx, dword [esp + 0x30]
movzx eax, ax
mov ecx, dword [esp + 0x64]
movzx eax, ax
add eax, 2
sub esi, eax
cmp byte [esp + 0x13], 0
mov dword [ecx], esi
jne 0x100fa5dc
cmp edi, ebx
jge 0x100fa5da
movzx eax, word [edx + edi*2]
test ax, ax
jne 0x100fa5d2
mov edx, edi
lea ecx, [esp + 0xe8]
call fcn.100f9340
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x100fa5dc
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add dword [esp + ecx + 0x88], eax
mov eax, dword [esp + 0x60]
mov dword [esp + ecx + 0x98], eax
cmp esi, dword [esp + 0x3c]
jg 0x100fa540
mov edi, dword [esp + ecx + 0x98]
cmp edi, ebx
jge 0x100fa6a4
mov edx, dword [esp + 0x30]
movzx eax, word [edx + edi*2]
test ax, ax
jne 0x100fa639
mov edx, edi
lea ecx, [esp + 0xe8]
call fcn.100f9340
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
movzx eax, ax
movzx eax, ax
add eax, 2
add esi, eax
cmp esi, dword [esp + 0x3c]
jg 0x100fa754
inc edi
mov dword [esp + ecx + 0x84], esi
cmp byte [esp + 0x13], 0
mov dword [esp + ecx + 0x98], edi
jne 0x100fa691
cmp edi, ebx
jge 0x100fa68f
movzx eax, word [edx + edi*2]
test ax, ax
jne 0x100fa683
mov edx, edi
lea ecx, [esp + 0xe8]
call fcn.100f9340
mov edx, dword [esp + 0x30]
movzx eax, ax
mov ecx, dword [esp + 0x18]
movzx eax, ax
add eax, 2
jmp 0x100fa691
xor eax, eax
sub dword [esp + ecx + 0x88], eax
cmp edi, ebx
jl 0x100fa617
mov edx, dword [esp + 0x24]
mov edi, edx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
add ecx, 4
inc eax
mov dword [esp + 0x18], ecx
inc edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
cmp eax, edi
jl 0x100fa4f3
lea eax, [edi - 1]
mov ecx, eax
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x100fa8d4
nop dword [eax + eax]
shl ecx, 2
lea eax, [esp + 0x84]
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], eax
mov edi, dword [eax]
lea eax, [esp + ecx + 0x80]
mov dword [esp + 0x6c], eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x98]
sub eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
lea esi, [eax - 1]
mov edx, esi
sub edx, dword [esp + 0xac]
inc edx
cmp word [ecx + edx*2], 0
lea eax, [ecx + edx*2]
mov dword [esp + 0x1c], eax
jne 0x100fa74b
lea ecx, [esp + 0xe8]
call fcn.100f9340
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
jmp 0x100fa7e4
cmp edi, ebx
jge 0x100fa6a0
cmp dword [esp + 0x1c], 0
jle 0x100fa76c
mov eax, dword [esp + ecx + 0x94]
jmp 0x100fa76e
xor eax, eax
cmp edi, eax
jle 0x100fa7aa
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x100fa6aa
push 0x10279dac
push 0x11473
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x100fb0c4
push 0x10279dac
push 0x11494
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x100fb0c4
mov ecx, dword [esp + 0x30]
cmp word [ecx + esi*2], 0
mov dword [esp + 0xb0], esi
mov dword [esp + 0x60], esi
jne 0x100fa804
mov edx, esi
lea ecx, [esp + 0xe8]
call fcn.100f9340
test edi, edi
je 0x100fa84a
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x4c]
mov edx, eax
jne 0x100fa88f
mov ecx, dword [esp + 0x28]
mov eax, 2
mov ebx, dword [esp + 0x1c]
dec ecx
cmp dword [esp + 0x24], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x100fa88f
movzx eax, word [ebx]
mov ecx, 0xfffffffe
mov edx, dword [esp + 0xb0]
add eax, 2
add edi, eax
sub ebx, 2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + eax], esi
sub esi, 1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
jns 0x100fa7e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x54]
mov dword [eax], edi
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jle 0x100fa8bd
mov esi, dword [esp + 0x34]
lea eax, [ecx*4]
mov eax, dword [eax + esi - 4]
jmp 0x100fa8bf
xor eax, eax
cmp edx, eax
jle 0x100fa93a
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x100fa6e0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x144]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x4c], eax
lea eax, [esi + 1]
test edi, edi
jle 0x100faa48
cmp esi, dword [esp + 0x50]
jge 0x100fa9a7
mov eax, dword [esp + esi*4 + 0x144]
mov dword [esp + esi*4 + 0x150], eax
mov dword [esp + esi*4 + 0x144], 0
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x100fa969
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x100fa969
cmp dword [edx + 0x60], 0
je 0x100fa965
call fcn.100ecf70
jmp 0x100fa98e
push 0x10279dac
push 0x114be
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x100fb0c4
xor eax, eax
jmp 0x100fa98e
mov eax, dword [edx + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100fa992
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x100fa989
call fcn.100ee7d0
jmp 0x100fa98e
call fcn.100ee5b0
mov dword [esp + 0x14], eax
inc dword [esp + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100fb0c4
jmp 0x100faa3a
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x34]
mov ecx, dword [esp + 0x74]
cmovne ecx, eax
lea eax, [esp + 0x40]
push 0
push ecx
mov ecx, dword [esp + 0x4c]
push eax
call fcn.100f7d10
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100fb0c4
mov edi, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x4c]
call fcn.100f3bf0
mov ecx, dword [esp + 0x44]
inc dword [esp + 0x20]
mov dword [esp + esi*4 + 0x150], edi
mov dword [esp + esi*4 + 0xc8], ebx
cmp byte [ecx + 0x11], 0
je 0x100faa2e
mov edx, dword [edi + 4]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 4]
push 5
call fcn.100f2920
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100fb0c4
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x74], edx
inc esi
mov eax, 1
cmp esi, edi
jl 0x100fa8f2
mov esi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x100faa97
mov eax, dword [esp + ecx*4 + 0x150]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x128], edx
mov dword [esp + ecx*4 + 0xb4], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xdc], ax
xor eax, eax
test ecx, ecx
jle 0x100faa92
nop
cmp dword [esp + eax*4 + 0x128], edx
je 0x100fac08
inc eax
cmp eax, ecx
jl 0x100faa80
inc ecx
cmp ecx, esi
jl 0x100faa52
xor edi, edi
test esi, esi
jle 0x100fab44
mov ebx, dword [esp + 0x20]
xor esi, esi
lea edx, [esi + 1]
cmp ebx, edx
jle 0x100faaca
nop
mov eax, dword [esp + edx*4 + 0xb4]
mov ecx, edx
cmp eax, dword [esp + esi*4 + 0xb4]
cmovae ecx, esi
inc edx
mov esi, ecx
cmp edx, ebx
jl 0x100faab0
mov eax, dword [esp + esi*4 + 0xb4]
mov dword [esp + 0x6c], eax
mov dword [esp + esi*4 + 0xb4], 0xffffffff
cmp esi, edi
je 0x100fab33
jle 0x100fab08
mov eax, dword [esp + 0x44]
lfence
mov edx, dword [eax + 0x30]
mov eax, dword [esp + esi*4 + 0x150]
inc edx
add edx, esi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.100e8d60
mov eax, dword [esp + edi*4 + 0x150]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0xdc]
mov esi, dword [esp + 0x6c]
mov edx, esi
mov word [ecx + 0x1c], ax
call fcn.100e8d60
mov eax, dword [esp + edi*4 + 0x150]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
inc edi
cmp edi, esi
jl 0x100faaa1
mov ebx, dword [esp + 0x54]
test byte [esp + 0x4c], 8
mov eax, dword [esp + esi*4 + 0x14c]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x100fab8d
mov ecx, dword [esp + 0x50]
cmp ecx, esi
je 0x100fab8d
lea edx, [esp + 0x144]
lea eax, [esp + 0x150]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + esi*4 + 0x14c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x44]
cmp byte [edx + 0x11], 0
je 0x100fad59
mov esi, dword [esp + 0x150]
xor edi, edi
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x16]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 0xc]
add ecx, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
test ebx, ebx
jle 0x100fad60
mov eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x48]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x78], edx
cmp edi, dword [esp + 0x1c]
jne 0x100fac66
inc ecx
mov dword [esp + 0x40], ecx
lfence
cmp ecx, dword [esp + 0x20]
jge 0x100fac33
mov esi, dword [esp + ecx*4 + 0x150]
jmp 0x100fac3a
push 0x10279dac
push 0x11508
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov dword [esp + 0x14], 0xb
jmp 0x100fb0c4
mov esi, dword [esp + ecx*4 + 0x144]
movzx eax, byte [esi + 0xc]
movzx ecx, word [esi + 0x16]
add ecx, eax
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
cmp edi, dword [esp + ebx + 0x98]
mov ebx, dword [esp + 0x54]
jne 0x100fac9d
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
shl eax, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + eax + 0x150]
mov dword [esp + 0x28], eax
je 0x100fad4c
cmp ecx, dword [esp + 0x20]
jge 0x100faccd
mov eax, dword [eax + 4]
cmp eax, dword [esp + ecx*4 + 0x128]
jne 0x100facc9
mov eax, dword [esp + 0x4c]
cmp edx, eax
jb 0x100facc9
add eax, dword [esp + 0x6c]
cmp edx, eax
mov eax, dword [esp + 0x28]
jb 0x100fad4c
jmp 0x100faccd
mov eax, dword [esp + 0x28]
cmp word [esp + 0x68], 0
jne 0x100facf7
mov edx, dword [edx]
lea ecx, [esp + 0x2c]
push ecx
push dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push 5
bswap edx
call fcn.100f2920
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x100fad15
mov edx, edi
lea ecx, [esp + 0xe8]
call fcn.100f9340
movzx eax, ax
mov ecx, dword [esp + 0x28]
cmp ax, word [ecx + 0x10]
jbe 0x100fad3c
lea eax, [esp + 0x2c]
mov edx, esi
push eax
push dword [esp + 0x7c]
call fcn.100f2e80
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x100fad40
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100fb0c4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
inc edi
cmp edi, ebx
jl 0x100fabe0
mov esi, dword [esp + 0x150]
mov ecx, dword [esp + 0x20]
xor edi, edi
lea eax, [ecx - 1]
test eax, eax
jle 0x100faed3
mov eax, dword [esp + edi*4 + 0x98]
mov edx, dword [esp + 0x48]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + edi*4 + 0x150]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x78], eax
movzx eax, bx
add edx, eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x7c]
cmp byte [ecx + 8], 0
mov dword [esp + 0x40], eax
jne 0x100fadcb
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x100fae7e
cmp byte [esp + 0x13], 0
je 0x100fae62
lea eax, [esp + 0x128]
push eax
mov eax, dword [esp + 0x70]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [esp + 0x138]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov esi, eax
mov ecx, dword [esp + 0x128]
test edx, edx
ja 0x100fae4e
jb 0x100fae0d
cmp ecx, 0x7f
ja 0x100fae1f
and cl, 0x7f
mov byte [eax + 4], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x100fae82
test edx, edx
ja 0x100fae4e
jb 0x100fae2d
cmp ecx, 0x3fff
ja 0x100fae4e
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov edx, dword [esp + 0x40]
or al, 0x80
mov byte [edx + 4], al
mov eax, 2
mov byte [edx + 5], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x100fae82
push edx
push ecx
lea ecx, [eax + 4]
call fcn.100e3e60
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x100fae82
sub esi, 4
cmp word [esp + 0x78], 4
jne 0x100fae86
mov eax, dword [esp + 0x38]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x7c], edx
lea ebx, [esp + 0x2c]
push ebx
push dword [ecx + 4]
mov ecx, dword [esp + 0x40]
push eax
push edx
mov edx, dword [esp + 0x6c]
push esi
lea edx, [edx + edi]
call fcn.100f90f0
mov esi, dword [esp + 0x40]
add esp, 0x14
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x100fb0c4
mov ecx, dword [esp + 0x20]
inc edi
lea eax, [ecx - 1]
cmp edi, eax
jl 0x100fad71
mov esi, dword [esp + 0x150]
mov edi, 1
sub edi, ecx
mov dword [esp + 0x58], edi
cmp edi, ecx
jge 0x100fafcc
mov eax, edi
cdq
mov ecx, eax
lea eax, [esp + 0x164]
xor ecx, edx
sub ecx, edx
add eax, ecx
mov dword [esp + 0x6c], eax
cmp byte [eax], 0
jne 0x100fafb4
test edi, edi
jns 0x100faf1d
mov eax, dword [esp + ecx*4 + 0xc4]
cmp eax, dword [esp + ecx*4 + 0x94]
jl 0x100fafb4
test ecx, ecx
jne 0x100faf2e
mov esi, dword [esp + 0x98]
xor edx, edx
xor eax, eax
jmp 0x100faf61
cmp ecx, dword [esp + 0x50]
jge 0x100faf46
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
add edx, dword [esp + ecx*4 + 0xc4]
jmp 0x100faf48
mov edx, ebx
mov esi, dword [esp + ecx*4 + 0x98]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + ecx*4 + 0x94]
sub esi, eax
lea edi, [ecx*4]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [esp + edi + 0x154]
push esi
push eax
call fcn.100f9760
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100fb0c4
mov eax, dword [esp + 0x6c]
mov cx, word [esp + 0x3c]
sub cx, word [esp + edi + 0x84]
mov byte [eax], 1
mov eax, dword [esp + edi + 0x150]
mov edi, dword [esp + 0x58]
mov word [eax + 0x14], cx
mov ecx, dword [esp + 0x20]
inc edi
mov dword [esp + 0x58], edi
cmp edi, ecx
jl 0x100faee6
mov esi, dword [esp + 0x150]
cmp dword [ebp + 0xc], 0
je 0x100fb034
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x16], 0
jne 0x100fb034
movzx eax, byte [ebx + 9]
cmp ax, word [esi + 0x14]
ja 0x100fb034
or edx, 0xffffffff
mov ecx, esi
call fcn.100f2f30
mov ecx, dword [esp + 0x150]
mov edx, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
call fcn.100f9c90
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100fb08a
mov ecx, dword [esp + 0x150]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.100f85f0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x100fb08a
mov ebx, dword [esp + 0x44]
cmp byte [ebx + 0x11], 0
je 0x100fb086
cmp word [esp + 0x68], 0
jne 0x100fb086
xor esi, esi
test ecx, ecx
jle 0x100fb086
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x150]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.100f2920
mov ecx, dword [esp + 0x2c]
inc esi
add esp, 0xc
cmp esi, ecx
jl 0x100fb050
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x100fb08e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
mov esi, ecx
cmp ecx, ebx
jge 0x100fb0c4
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0x144]
test eax, eax
jne 0x100fb0bb
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.100f85f0
add esp, 4
inc esi
cmp esi, ebx
jl 0x100fb0a0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100fa05c
push eax
call fcn.100dfd40
add esp, 4
jmp 0x100fa05c
mov ecx, edx
call fcn.100e8b70
inc ebx
cmp ebx, dword [esp + 0x50]
jl 0x100fa070
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x100fb161
nop dword [eax + eax]
mov edx, dword [esp + ebx*4 + 0x150]
test edx, edx
je 0x100fb15a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100fb153
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.101d5d50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100fb15a
mov ecx, edx
call fcn.100e8b70
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x100fb100
mov ecx, dword [esp + 0x16c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret