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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x1017cf40]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov eax, ecx
mov dword [esp + 0x10], 0
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x70], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x120], 0
mov byte [esp + 0x124], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ecx
push edi
test esi, esi
jne 0x100a5dfa
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x16]
movzx ecx, byte [eax + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x100a5e0e
xor edx, edx
jmp 0x100a5e2b
test edx, edx
je 0x100a5e21
cmp edx, esi
jne 0x100a5e20
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x100a5e24
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x64], edx
mov dword [esp + 0x40], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x34], esi
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x100a5e57
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x100a5e72
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 0x2c]
jbe 0x100a5eb3
push 0x10171140
push 0xedc0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
add esp, 0x14
mov edi, 0xb
jmp 0x100a5f3f
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push 0
push ecx
push edi
push eax
mov eax, dword [eax + 0xd0]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100a5f43
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov dword [esp + esi*4 + 0x80], eax
cmp byte [eax], 0
jne 0x100a5f3d
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x3c]
cmp edi, dword [ecx + 4]
je 0x100a5f12
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], edi
mov byte [ecx + 9], al
mov ecx, dword [esp + esi*4 + 0x80]
call fcn.100a0b20
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x100a5f3d
mov ecx, dword [esp + esi*4 + 0x80]
test ecx, ecx
je 0x100a5f43
mov ecx, dword [ecx + 0x48]
call fcn.1009bb70
jmp 0x100a5f43
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100a60ad
mov eax, dword [esp + esi*4 + 0x80]
movzx ecx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
inc eax
add eax, dword [esp + 0x18]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x18], ecx
test eax, eax
je 0x100a60d0
mov edi, dword [esp + 0x38]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x100a5fc8
mov eax, dword [esp + 0x64]
movzx ecx, word [edi + 0x1a]
add eax, esi
cmp eax, ecx
jne 0x100a5fc8
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + esi*4 + 0x114], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x3c]
bswap edi
push eax
mov dword [esp + 0x44], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x78], edi
call eax
movzx eax, ax
add esp, 8
mov dword [esp + esi*4 + 0xa0], eax
mov eax, dword [esp + 0x38]
mov byte [eax + 0xc], 0
jmp 0x100a5e82
mov ecx, dword [esp + 0x64]
movzx eax, dl
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
push eax
mov dword [esp + esi*4 + 0x114], eax
push edi
mov ecx, dword [eax]
mov eax, dword [edi + 0x4c]
bswap ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], ecx
call eax
movzx edi, ax
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [esp + esi*4 + 0xa0], edi
test byte [eax + 0x16], 4
je 0x100a6063
mov eax, dword [esp + 0x38]
mov edx, dword [esp + esi*4 + 0x110]
mov ecx, edx
mov ebx, dword [esp + 0x30]
sub ecx, dword [eax + 0x38]
lea eax, [edi + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x100a608a
mov eax, dword [esp + 0x74]
push edi
push edx
add eax, ecx
push eax
call fcn.10113700
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [ecx + 0x38]
add dword [esp + esi*4 + 0x110], eax
jmp 0x100a6067
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [ecx + 0xc]
sub edx, eax
push edi
add edx, esi
call fcn.100a52b0
mov edi, dword [esp + 0x44]
add esp, 8
jmp 0x100a5e82
push 0x10171140
push 0x101c7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
add esp, 0x14
mov edi, 0xb
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x84]
push 0
push eax
call fcn.101135a0
add esp, 0xc
xor eax, eax
xor ebx, ebx
jmp 0x100a68dc
mov eax, dword [esp + 0x30]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.1008d8a0
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x54], edi
test edi, edi
jne 0x100a6100
lea edi, [eax + 7]
xor ebx, ebx
jmp 0x100a68d8
mov ecx, dword [esp + 0x80]
lea eax, [edi + esi*4]
mov dword [esp + 0x58], eax
xor edx, edx
lea eax, [eax + esi*2]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x6c], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], edx
cmp dword [esp + 0x40], edx
jle 0x100a6320
mov edi, dword [esp + edx*4 + 0x80]
mov dword [esp + 0x2c], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
mov ecx, eax
movzx esi, word [edi + 0x12]
mov dword [esp + 0x78], eax
add esi, edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100a64be
movzx eax, byte [edi + 0xc]
movzx ecx, word [edi + 0x16]
add ecx, eax
mov eax, dword [esp + 0x58]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.101135a0
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x100a620f
movzx edx, word [edi + 0x1a]
test edx, edx
je 0x100a61e3
mov edi, dword [esp + 0x7c]
nop
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0xc]
add ecx, dword [esp + 0x48]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x4c], ebx
sub edx, 1
jne 0x100a61b0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x100a620f
mov esi, dword [esp + 0xc]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
mov dword [esp + 0x4c], ebx
cmp edx, eax
jl 0x100a61f1
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
movzx eax, word [edi + 0x12]
xor edx, edx
movzx ecx, word [edi + 0x16]
add eax, dword [esp + 0x48]
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 0x100a6261
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
mov eax, dword [esp + 0x78]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0xc]
add ecx, dword [esp + 0x48]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x4c], ebx
cmp edx, edi
jb 0x100a6232
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + edx*4 + 0xe4], ebx
cmp edx, dword [esp + 0x34]
jge 0x100a6311
cmp dword [esp + 0x5c], 0
jne 0x100a6311
movzx eax, word [esp + edx*4 + 0xa0]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
push eax
push dword [esp + edx*4 + 0x114]
add esi, edi
mov word [ecx + ebx*2], ax
add edi, eax
push esi
mov dword [esp + 0x50], edi
call fcn.10113700
mov eax, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x6c]
sub word [edx + ebx*2], ax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 8], 0
jne 0x100a62e5
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x100a6304
cmp word [edx + ebx*2], 4
jae 0x100a6304
mov eax, dword [esp + 0x24]
mov byte [eax + edi], 0
inc edi
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x100a62f0
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], ebx
inc edx
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x40]
jl 0x100a6140
mov eax, dword [esp + 0x6c]
xor edx, edx
movzx esi, ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add esi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], esi
test eax, eax
jle 0x100a63da
mov ecx, eax
lea esi, [esp + 0xe4]
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
nop
mov esi, dword [esp + edx*4 + 0x80]
mov edi, ecx
mov dword [esp + 0x24], 0
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
lea eax, [esp + 0xa0]
lea eax, [eax + edx*4]
mov dword [eax], edi
mov dword [esp + 0x34], eax
jbe 0x100a63c5
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x2c]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x2c], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x100a6390
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [eax], edi
mov eax, dword [esp + 0x40]
inc edx
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x100a6360
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x28], 0
mov ecx, eax
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x100a6619
xor edx, edx
lea eax, [esp + 0xb4]
mov edi, 1
mov dword [esp + 0xc], edx
sub eax, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
nop dword [eax]
cmp dword [esp + edx + 0xa0], esi
jle 0x100a6511
nop dword [eax]
cmp edi, ecx
jl 0x100a6446
lea eax, [edi + 1]
mov dword [esp + 0x44], eax
cmp eax, 5
jg 0x100a6719
mov dword [esp + edx + 0xa4], 0
mov dword [esp + edx + 0xb8], ebx
mov esi, dword [esp + edx + 0xb4]
mov ecx, dword [esp + 0x58]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x100a647b
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
movzx eax, ax
mov dword [esp + 0x20], ebx
movzx eax, ax
add eax, 2
sub dword [esp + edx + 0xa0], eax
cmp dword [esp + 0x5c], 0
jne 0x100a64ea
cmp esi, ebx
jge 0x100a64e8
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x100a64b2
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov ebx, dword [esp + 0x4c]
movzx eax, ax
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0xc]
movzx eax, ax
add eax, 2
jmp 0x100a64ea
push 0x10171140
push 0x1020a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x100a68d8
xor eax, eax
add dword [esp + edx + 0xa4], eax
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + edx + 0xb4], edi
mov edi, dword [esp + 0x2c]
cmp dword [esp + edx + 0xa0], esi
jg 0x100a6420
cmp dword [esp + edx + 0xb4], ebx
jge 0x100a65c3
mov edi, dword [esp + 0x58]
mov esi, dword [esp + edx + 0xb4]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x100a654c
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x58]
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + edx + 0xa0]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x48]
jg 0x100a65b7
inc esi
mov dword [esp + edx + 0xa0], eax
cmp dword [esp + 0x5c], 0
mov dword [esp + edx + 0xb4], esi
jne 0x100a65a8
cmp esi, ebx
jge 0x100a65a6
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x100a659e
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x58]
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x100a65a8
xor ecx, ecx
sub dword [esp + edx + 0xa4], ecx
cmp esi, ebx
jl 0x100a6522
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + edx + 0xb4]
cmp ecx, ebx
jl 0x100a65d6
mov ecx, edi
mov dword [esp + 0x44], ecx
jmp 0x100a65f4
cmp dword [esp + 0x28], 0
jle 0x100a65e6
mov eax, dword [esp + 0x34]
mov eax, dword [eax + edx]
jmp 0x100a65e8
xor eax, eax
cmp ecx, eax
jle 0x100a6747
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
add edx, 4
inc eax
mov dword [esp + 0xc], edx
inc edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
cmp eax, ecx
jl 0x100a6410
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], edx
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x100a67ca
nop word [eax + eax]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + ecx + 0x9c]
mov edi, dword [esp + ecx + 0xa0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb4]
sub eax, 4
mov dword [esp + 0x28], eax
mov esi, dword [eax + ecx]
mov eax, dword [esp + 0x58]
dec esi
mov edx, esi
sub edx, dword [esp + 0x5c]
inc edx
lea ebx, [edx + edx]
cmp word [ebx + eax], 0
jne 0x100a6680
lea ecx, [esp + 0x4c]
call fcn.100a5540
nop dword [eax]
mov edx, dword [esp + 0x58]
cmp word [edx + esi*2], 0
jne 0x100a669a
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov edx, dword [esp + 0x58]
test edi, edi
je 0x100a66df
cmp dword [ebp + 0x10], 0
jne 0x100a6775
mov ecx, dword [esp + 0x44]
mov eax, 2
mov edx, dword [esp + 0x58]
dec ecx
cmp dword [esp + 0x18], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
movzx eax, word [edx + esi*2]
sub ecx, eax
movzx eax, word [edx + ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x100a6775
movzx eax, word [edx + ebx]
mov ecx, 0xfffffffe
add eax, 2
sub ebx, 2
add edi, eax
movzx eax, word [edx + esi*2]
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [ecx + edx], esi
sub esi, 1
jns 0x100a6680
jmp 0x100a677d
push 0x10171140
push 0x10277
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
mov eax, dword [esp + 0x68]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x100a68dc
push 0x10171140
push 0x10298
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
mov eax, dword [esp + 0x68]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x100a68dc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + edx + 0xa0], edi
mov dword [esp + edx + 0x9c], eax
cmp ecx, 1
jle 0x100a679e
mov eax, dword [esp + 0x28]
mov eax, dword [eax + edx - 4]
jmp 0x100a67a0
xor eax, eax
mov esi, dword [esp + 0x28]
cmp dword [esi + edx], eax
jle 0x100a6856
dec ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x100a6630
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x80]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
cmp dword [esp + 0x44], edi
jle 0x100a69e0
nop word [eax + eax]
cmp edi, dword [esp + 0x40]
jge 0x100a6941
mov eax, dword [esp + edi*4 + 0x80]
mov dword [esp + edi*4 + 0x8c], eax
mov dword [esp + edi*4 + 0x80], 0
mov dword [esp + 0x24], eax
mov esi, dword [eax + 0x48]
test byte [esi + 0x18], 4
mov ecx, dword [esi + 0x10]
je 0x100a6893
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x14]
jb 0x100a6893
cmp dword [ecx + 0x68], 0
je 0x100a688f
mov ecx, esi
call fcn.10097f20
test eax, eax
je 0x100a6881
mov ecx, esi
call fcn.1009a9b0
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x100a68c0
push 0x10171140
push 0x102c2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
mov eax, dword [esp + 0x68]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x100a68dc
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
jmp 0x100a68c0
xor edx, edx
jmp 0x100a68bc
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x100a68c0
mov eax, dword [ecx + 0x9c]
cmp eax, dword [ecx + 0xa0]
mov ecx, esi
jbe 0x100a68b5
call fcn.1009c010
jmp 0x100a68ba
call fcn.1009bf30
mov edx, eax
mov dword [esp + 0x10], edx
inc dword [esp + 0x14]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x100a69d0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, eax
call fcn.1008d9b0
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x100a690c
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x80]
test ecx, ecx
je 0x100a6907
mov ecx, dword [ecx + 0x48]
call fcn.1009bb70
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x100a68f0
xor esi, esi
test ebx, ebx
jle 0x100a692a
mov ecx, dword [esp + esi*4 + 0x8c]
test ecx, ecx
je 0x100a6925
mov ecx, dword [ecx + 0x48]
call fcn.1009bb70
inc esi
cmp esi, ebx
jl 0x100a6912
mov ecx, dword [esp + 0x12c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmovne ecx, eax
lea eax, [esp + 0x70]
push 0
push ecx
mov ecx, dword [esp + 0x38]
push eax
call fcn.100a4560
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100a68d0
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.100a0e40
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x14]
mov dword [esp + edi*4 + 0x8c], esi
mov dword [esp + edi*4 + 0xe4], ebx
cmp byte [ecx + 0x11], 0
je 0x100a69c8
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 4]
push 5
call fcn.1009fdc0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100a68d0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
inc edi
mov eax, 1
cmp edi, dword [esp + 0x44]
jl 0x100a67f0
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
jle 0x100a6a37
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x8c]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xf8], edx
mov dword [esp + ecx*4 + 0xc8], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x110], ax
xor eax, eax
test ecx, ecx
jle 0x100a6a32
nop dword [eax]
cmp dword [esp + eax*4 + 0xf8], edx
je 0x100a6bc9
inc eax
cmp eax, ecx
jl 0x100a6a20
inc ecx
cmp ecx, edi
jl 0x100a69f0
xor esi, esi
mov dword [esp + 0x24], esi
test edi, edi
jle 0x100a6aff
mov ebx, dword [esp + 0x14]
xor edi, edi
lea ecx, [edi + 1]
cmp ebx, ecx
jle 0x100a6a84
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xc8]
cmp eax, dword [esp + esi + 0xc8]
jae 0x100a6a7b
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebx
jl 0x100a6a60
mov esi, dword [esp + 0x24]
mov eax, dword [esp + edi*4 + 0xc8]
mov dword [esp + 0x34], eax
mov dword [esp + edi*4 + 0xc8], 0xffffffff
cmp edi, esi
je 0x100a6aea
jle 0x100a6abf
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + edi*4 + 0x8c]
inc edx
add edx, edi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x18], ax
call fcn.10096880
mov eax, dword [esp + esi*4 + 0x8c]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + edi*2 + 0x110]
mov edi, dword [esp + 0x34]
mov edx, edi
mov word [ecx + 0x18], ax
call fcn.10096880
mov eax, dword [esp + esi*4 + 0x8c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x24], esi
cmp esi, edi
jl 0x100a6a45
mov ebx, dword [esp + 0x20]
test byte [esp + 0x18], 8
mov eax, dword [esp + edi*4 + 0x88]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x100a6b4a
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x100a6b4a
cmp edi, ecx
lea edx, [esp + 0x80]
lea eax, [esp + 0x8c]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0x88]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x11], 0
je 0x100a6d4f
mov esi, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x60], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x16]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
add ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
test ebx, ebx
jle 0x100a6d56
xor eax, eax
mov dword [esp + 0x3c], eax
nop dword [eax]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x2c], edx
cmp edi, dword [esp + 0x18]
jne 0x100a6c28
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x14]
jge 0x100a6bf1
mov edx, dword [esp + ecx*4 + 0x8c]
jmp 0x100a6bf8
push 0x10171140
push 0x1030c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
add esp, 0x14
mov edi, 0xb
jmp 0x100a68d4
mov edx, dword [esp + ecx*4 + 0x80]
movzx eax, word [edx + 0x16]
xor ecx, ecx
cmp dword [esp + 0x5c], ecx
sete cl
add ecx, eax
movzx eax, byte [edx + 0xc]
add eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
cmp edi, dword [esp + eax + 0xb4]
jne 0x100a6c53
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
shl eax, 2
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x3c], eax
mov esi, dword [esp + eax + 0x8c]
je 0x100a6d42
cmp ecx, dword [esp + 0x14]
jge 0x100a6c79
mov eax, dword [esi + 4]
cmp eax, dword [esp + ecx*4 + 0xf8]
jne 0x100a6c79
mov eax, dword [esp + 0x24]
cmp edx, eax
jb 0x100a6c79
add eax, dword [esp + 0x34]
cmp edx, eax
jb 0x100a6d3e
cmp word [esp + 0x6c], 0
jne 0x100a6ca3
mov edx, dword [edx]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push eax
push dword [esi + 4]
bswap edx
push 5
call fcn.1009fdc0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x100a6cca
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.100a5540
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
movzx eax, ax
cmp ax, word [esi + 0x10]
jbe 0x100a6d32
cmp dword [esp + 0x10], 0
jne 0x100a68d0
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x30]
mov eax, dword [esi + 0x50]
push esi
call eax
movzx eax, word [esp + 0xe4]
add esp, 0xc
cmp eax, dword [esp + 0xd4]
jae 0x100a6d3e
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
mov ecx, dword [esi + 0x34]
push eax
movzx eax, word [esp + 0xde]
push dword [esi + 4]
push 3
mov edx, dword [eax + edx - 4]
bswap edx
call fcn.1009fdc0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x100a6d36
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100a68d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
inc edi
cmp edi, ebx
jl 0x100a6ba0
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
xor edi, edi
lea eax, [ecx - 1]
test eax, eax
jle 0x100a6ed6
nop word [eax + eax]
mov eax, dword [esp + edi*4 + 0xb4]
mov edx, dword [esp + 0xc]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + edi*4 + 0x8c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x6c]
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x78], eax
movzx eax, cx
mov ecx, dword [esp + 0x60]
add edx, eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp byte [ecx + 8], 0
jne 0x100a6dcb
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x100a6e85
cmp dword [esp + 0x5c], 0
je 0x100a6e69
lea eax, [esp + 0xf8]
push eax
mov eax, dword [esp + 0x38]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0xfc]
mov esi, eax
mov ecx, dword [esp + 0xf8]
add eax, 4
mov dword [esp + 0x34], eax
test edx, edx
ja 0x100a6e56
jb 0x100a6e14
cmp ecx, 0x7f
ja 0x100a6e25
and cl, 0x7f
mov byte [eax], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x100a6e89
test edx, edx
ja 0x100a6e56
jb 0x100a6e33
cmp ecx, 0x3fff
ja 0x100a6e56
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
shr edx, 7
or al, 0x80
mov edx, dword [esp + 0x34]
mov byte [edx], al
mov eax, 2
mov byte [edx + 1], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x100a6e89
push edx
push ecx
mov ecx, eax
call fcn.100916e0
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x100a6e89
sub esi, 4
cmp word [esp + 0x78], 4
jne 0x100a6e89
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 + 0x18]
add dword [esp + 0x68], edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x64]
push dword [ecx + 4]
mov ecx, dword [esp + 0x40]
push eax
push edx
mov edx, dword [esp + 0x74]
push esi
lea edx, [edx + edi]
call fcn.100a53e0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100a68d0
mov ecx, dword [esp + 0x14]
inc edi
lea eax, [ecx - 1]
cmp edi, eax
jl 0x100a6d70
mov esi, dword [esp + 0x8c]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x68], eax
cmp eax, ecx
jge 0x100a6fd4
nop dword [eax]
cdq
lea edi, [esp + 0x124]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x100a6fb2
cmp dword [esp + 0x68], 0
jge 0x100a6f24
mov eax, dword [esp + ecx*4 + 0xe0]
cmp eax, dword [esp + ecx*4 + 0xb0]
jl 0x100a6fb2
test ecx, ecx
jne 0x100a6f35
mov edx, dword [esp + 0xb4]
xor ebx, ebx
xor eax, eax
jmp 0x100a6f64
cmp ecx, dword [esp + 0x40]
jge 0x100a6f4b
xor ebx, ebx
cmp dword [esp + 0x5c], ebx
sete bl
add ebx, dword [esp + ecx*4 + 0xe0]
mov edx, dword [esp + ecx*4 + 0xb4]
xor eax, eax
cmp dword [esp + 0x5c], eax
sete al
add eax, dword [esp + ecx*4 + 0xb0]
sub edx, eax
lea esi, [ecx*4]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + esi + 0x90]
push edx
push eax
mov edx, ebx
call fcn.100a5840
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100a7037
mov eax, dword [esp + esi + 0x8c]
mov cx, word [esp + 0x48]
sub cx, word [esp + esi + 0xa0]
mov ebx, dword [esp + 0x4c]
mov byte [edi], 1
mov word [eax + 0x14], cx
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x14]
jl 0x100a6ef0
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x100a7044
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x16], 0
jne 0x100a7044
movzx eax, byte [ebx + 9]
cmp ax, word [esi + 0x14]
ja 0x100a7044
mov ecx, esi
call fcn.100a02e0
mov ecx, dword [esp + 0x8c]
mov edx, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.100a5ca0
mov edi, dword [esp + 0x20]
add esp, 4
test edi, edi
jne 0x100a709a
mov ecx, dword [esp + 0x8c]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.100a4b80
add esp, 4
mov edi, eax
jmp 0x100a709a
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], edi
jmp 0x100a68d0
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x11], 0
je 0x100a7096
cmp word [esp + 0x6c], 0
mov ebx, dword [esp + 0x14]
jne 0x100a7090
xor esi, esi
test ebx, ebx
jle 0x100a7090
mov eax, dword [esp + esi*4 + 0x8c]
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.1009fdc0
mov ecx, dword [esp + 0x3c]
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x100a7060
mov edi, dword [esp + 0x1c]
jmp 0x100a709e
mov edi, dword [esp + 0x10]
jmp 0x100a709e
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov esi, ebx
cmp ebx, eax
jge 0x100a68d8
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x80]
test edi, edi
jne 0x100a70d1
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.100a4b80
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x100a70b0
jmp 0x100a68d8