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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
xor edx, edx
push edi
mov edi, dword [eax + 0x3c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], edi
cmp ecx, edx
jne 0x10019797
lea eax, [edx + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.10065fcc
mov esp, ebp
pop ebp
ret
movzx edx, word [eax + 0x10]
movzx ecx, byte [eax + 1]
lea ebx, [ecx + edx]
cmp ebx, 2
jge 0x100197b8
lea esi, [ebx + 1]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], esi
jmp 0x100197e1
mov dword [esp + 0x38], 3
test esi, esi
jne 0x100197ca
mov dword [esp + 0x1c], esi
jmp 0x100197dc
cmp esi, ebx
jne 0x100197d7
add ebx, 0xfffffffe
mov dword [esp + 0x1c], ebx
jmp 0x100197dc
dec esi
mov dword [esp + 0x1c], esi
mov ebx, 2
mov esi, dword [esp + 0x1c]
sub esi, ecx
lea ecx, [esi + ebx]
cmp ecx, edx
mov edx, dword [eax + 0x40]
jne 0x100197ff
movzx ecx, byte [eax + 5]
lea ecx, [ecx + edx + 8]
mov dword [esp + 0x60], ecx
jmp 0x10019820
movzx esi, word [eax + 0xc]
movzx eax, word [eax + 0x12]
add esi, edx
lea esi, [esi + ecx*2]
movzx ecx, byte [esi + 1]
movzx esi, byte [esi]
shl esi, 8
or ecx, esi
and ecx, eax
add ecx, edx
mov dword [esp + 0x60], ecx
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
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
lea ecx, [esp + ebx*4 + 0x64]
push ecx
push eax
push edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ecx
call fcn.10014060
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100199e0
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
movzx edx, byte [eax + 1]
movzx ecx, word [eax + 0x10]
add edx, dword [esp + 0x50]
lea eax, [edx + ecx + 1]
mov ecx, ebx
dec ebx
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x100199fc
movzx edx, word [esi + 0x18]
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, edx
jne 0x100198e5
cmp byte [esi + 1], 0
je 0x100198e5
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax]
movzx edi, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ecx, 8
or edi, ecx
movzx ecx, byte [eax + 3]
shl edi, 8
or edi, edx
shl edi, 8
mov dword [esp + ebx*4 + 0x74], eax
or edi, ecx
push eax
mov eax, esi
mov dword [esp + 0x5c], edi
call fcn.100135c0
movzx edx, ax
add esp, 4
mov dword [esp + ebx*4 + 0xac], edx
mov byte [esi + 1], 0
jmp 0x100199bd
movzx ecx, byte [esi + 1]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x40]
sub edx, ecx
movzx ecx, word [esi + 0xc]
add edx, ebx
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 [esi + 0x12]
and edx, ecx
movzx edi, byte [eax + edx + 1]
movzx ecx, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax]
shl edx, 8
or edi, edx
movzx edx, byte [eax + 3]
shl edi, 8
or edi, ecx
shl edi, 8
mov dword [esp + ebx*4 + 0x74], eax
or edi, edx
push eax
mov eax, esi
mov dword [esp + 0x5c], edi
call fcn.100135c0
movzx eax, ax
mov dword [esp + 0x28], eax
mov dword [esp + ebx*4 + 0xb0], eax
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax + 0x12], 0
je 0x1001999e
mov eax, dword [esp + ebx*4 + 0x74]
sub eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
add ecx, eax
cmp ecx, dword [edx + 0x28]
jg 0x1001a434
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + ebx*4 + 0x78]
push ecx
add edx, eax
push edx
call fcn.1006ac70
mov eax, dword [esp + 0x7c]
sub eax, dword [esi + 0x40]
add esp, 0xc
add eax, dword [esp + ebx*4 + 0x74]
mov dword [esp + ebx*4 + 0x74], eax
movzx eax, byte [esi + 1]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
push edx
add ecx, ebx
push ecx
call fcn.10019160
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea eax, [esp + ebx*4 + 0x64]
push eax
push edi
push edx
mov dword [esp + 0x30], eax
call fcn.10014060
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x10019865
lea eax, [ebx*4 + 4]
push eax
lea ecx, [esp + 0x68]
push 0
push ecx
call fcn.10067e10
add esp, 0xc
jmp 0x1001a469
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
lea esi, [eax + 3]
mov eax, dword [edx + 0x24]
lea ecx, [eax + 0x50]
mov dword [esp + 0x14], ecx
imul ecx, edi
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.10003e60
mov dword [esp + 0x34], eax
test eax, eax
jne 0x10019a39
mov dword [esp + 0x10], 7
jmp 0x1001a469
lea eax, [eax + esi*4]
mov dword [esp + 0x28], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
movzx edx, cx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], 0
test edi, edi
jle 0x10019c11
mov dword [esp + 0x50], 0
lea esp, [esp]
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x24]
add ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add ebx, dword [esp + 0x40]
mov ecx, 0x13
mov dword [esp + eax*4 + 0x7c], ebx
mov eax, dword [esp + eax*4 + 0x64]
mov esi, eax
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.1006ac70
movzx edi, word [ebx + 0x10]
movzx ecx, byte [ebx + 1]
mov esi, dword [esp + 0x48]
add edi, ecx
add esp, 0xc
mov dword [esp + 0x5c], edi
mov dword [esp + 0x4c], 0
test edi, edi
jle 0x10019b55
movzx eax, byte [ebx + 1]
dec eax
mov ecx, dword [esp + 0x4c]
js 0x10019b09
lea edx, [ebx + eax*8 + 0x14]
lea ebx, [ebx]
movzx edi, word [edx + 4]
cmp edi, ecx
jg 0x10019aff
je 0x10019bd3
dec ecx
sub edx, 8
dec eax
jns 0x10019af0
mov edi, dword [esp + 0x5c]
movzx eax, word [ebx + 0xc]
mov edx, dword [ebx + 0x40]
add eax, edx
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [ebx + 0x12]
and eax, ecx
add eax, edx
mov edx, dword [esp + 0x34]
mov dword [edx + esi*4], eax
push eax
mov eax, ebx
call fcn.100135c0
mov ecx, dword [esp + 0x2c]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x50]
inc eax
add esp, 4
inc esi
mov dword [esp + 0x4c], eax
cmp eax, edi
jl 0x10019adb
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x38]
dec eax
cmp dword [esp + 0x18], eax
jge 0x10019bf6
cmp dword [esp + 0x44], 0
jne 0x10019bf6
mov edx, dword [esp + 0x18]
movzx eax, word [esp + edx*4 + 0xac]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + edx*4 + 0x74]
mov edi, dword [esp + 0x40]
mov word [ecx + esi*2], ax
mov ecx, dword [esp + 0x20]
push eax
add edi, ecx
push edx
add ecx, eax
push edi
mov dword [esp + 0x2c], ecx
call fcn.1006ac70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
movzx eax, cx
add eax, edi
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x34]
sub word [eax + esi*2], cx
mov ax, word [eax + esi*2]
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x10019bde
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
mov ecx, edx
mov edx, dword [ecx + esi*4]
mov dword [edx], eax
jmp 0x10019bf1
mov eax, dword [edx]
mov edi, dword [esp + 0x5c]
jmp 0x10019b29
cmp ax, 4
jae 0x10019bf1
mov edx, dword [esp + 0x28]
mov ecx, 4
mov word [edx + esi*2], cx
inc esi
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x50], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x38]
jl 0x10019a80
movzx eax, word [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x28]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
lea edi, [ecx + eax - 0xc]
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x14], edx
test esi, esi
jle 0x10019c81
jmp 0x10019c40
movzx edx, word [ebx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, edi
jle 0x10019c78
sub eax, edx
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x14]
mov dword [esp + edx*4 + 0xac], eax
mov dword [esp + edx*4 + 0xc0], ecx
je 0x10019c68
dec ecx
mov edx, dword [esp + 0x14]
inc edx
xor eax, eax
mov dword [esp + 0x14], edx
cmp edx, 4
jg 0x10019ca5
inc ecx
cmp ecx, esi
jl 0x10019c40
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + edx*4 + 0xa8], eax
mov dword [esp + edx*4 + 0xbc], esi
lea edi, [edx - 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
test edi, edi
jle 0x10019d4d
jmp 0x10019cd4
push 0x10079034
push 0xc964
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100058a0
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x1001a469
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + edi*4 + 0xac]
mov esi, dword [esp + edi*4 + 0xa8]
mov eax, dword [esp + edi*4 + 0xbc]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x44]
inc ecx
test edx, edx
je 0x10019d18
movzx edi, word [ebx + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 0x28]
movzx edi, word [edi + ecx*2]
lea edi, [edi + edx + 2]
sub ebx, 2
cmp edi, ebx
mov edi, dword [esp + 0x18]
jg 0x10019d36
mov ebx, dword [esp + 0x28]
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 + 0xbc]
jmp 0x10019ce2
mov dword [esp + edi*4 + 0xac], edx
mov dword [esp + edi*4 + 0xa8], esi
dec edi
mov dword [esp + 0x18], edi
test edi, edi
jg 0x10019cd0
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x48], 1
ja 0x10019d66
push 0x10079034
push 0xc99a
jmp 0x10019caf
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
mov dword [esp + 0x40], eax
cmp dword [esp + 0x14], esi
jle 0x10019e27
mov edi, dword [esp + 0x14]
cmp esi, dword [esp + 0x38]
jge 0x10019db5
mov eax, dword [esp + esi*4 + 0x64]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + esi*4 + 0xb0], eax
mov dword [esp + 0x24], eax
mov dword [esp + esi*4 + 0x68], 0
call fcn.1000f460
inc dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x10019e18
mov edx, dword [esp + 0x58]
push 0
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.10017e70
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1001a469
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc dword [esp + 0x30]
cmp byte [ecx + 0x15], 0
mov dword [esp + esi*4 + 0xac], eax
je 0x10019e1e
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x48]
push edx
push 5
push ecx
call fcn.10013140
add esp, 0x10
cmp dword [esp + 0x10], 0
jne 0x1001a469
inc esi
cmp esi, edi
jl 0x10019d80
cmp esi, dword [esp + 0x38]
jge 0x10019f93
xor ebx, ebx
mov edi, dword [esp + esi*4 + 0x64]
cmp dword [esp + 0x10], ebx
jne 0x1001a469
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
mov eax, edi
call fcn.10018720
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x1001a469
cmp edi, ebx
je 0x10019f84
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x10019f84
mov edi, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
mov dword [esp + 0x20], edi
jne 0x10019f31
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x10019eb8
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], ebx
je 0x10019f31
cmp dword [eax + 0xc], 1
jne 0x10019ea7
mov dword [ecx + 0x2c], ebx
mov edx, dword [ecx + 0x28]
push ebx
push eax
push edx
call dword [0x1007cce8]
add esp, 0xc
jmp 0x10019f31
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x10019ed7
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x10019ed4
test byte [ecx + 0x14], 4
je 0x10019ed4
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x10019ec7
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
je 0x10019eea
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
mov edi, dword [esp + 0x20]
jmp 0x10019ef0
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x10019eff
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x10019f04
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, ebx
je 0x10019f19
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], ebx
jne 0x10019f23
mov dword [ecx + 4], eax
cmp dword [ecx + 8], ebx
jne 0x10019f31
test byte [eax + 0x14], 4
jne 0x10019f31
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebx
jne 0x10019f84
mov al, byte [edi + 0xf]
cmp al, 6
je 0x10019f7b
test al, al
je 0x10019f7b
cmp al, 2
jb 0x10019f6a
mov eax, dword [0x1007ea04]
cmp eax, ebx
je 0x10019f56
call eax
mov eax, edi
call fcn.1000fa70
mov eax, dword [0x1007ea08]
cmp eax, ebx
je 0x10019f7b
call eax
jmp 0x10019f7b
cmp byte [edi + 4], 0
jne 0x10019f7b
push ebx
mov ebx, edi
call fcn.1000c860
add esp, 4
mov ebx, edi
call fcn.1000c710
xor ebx, ebx
mov dword [esp + esi*4 + 0x64], ebx
inc esi
cmp esi, dword [esp + 0x38]
jl 0x10019e33
mov eax, dword [esp + 0x14]
dec eax
xor ecx, ecx
test eax, eax
jle 0x1001a003
mov edi, edi
lea eax, [esp + ecx*4 + 0xac]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
lea esi, [ecx + 1]
mov dword [esp + 0x5c], eax
mov ebx, ecx
mov eax, esi
cmp esi, dword [esp + 0x14]
jge 0x10019ff8
mov edx, dword [esp + eax*4 + 0xac]
mov edx, dword [edx + 0x48]
cmp edx, edi
jae 0x10019fd3
mov ebx, eax
mov edi, edx
inc eax
cmp eax, dword [esp + 0x14]
jl 0x10019fc1
cmp ebx, ecx
jle 0x10019ff8
mov eax, dword [esp + ebx*4 + 0xac]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
lea ebx, [esp + ebx*4 + 0xac]
mov dword [ecx], eax
mov dword [ebx], edx
mov eax, dword [esp + 0x14]
mov ecx, esi
dec eax
cmp ecx, eax
jl 0x10019fa0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + edi*4 + 0xa8]
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x60]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
xor ebx, ebx
shr edx, 8
mov dword [esp + 0x20], esi
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x18], ebx
cmp edi, ebx
jle 0x1001a178
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + edi*4 + 0xac]
push eax
call fcn.10013f60
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + edi*4 + 0xc4]
add esp, 4
lea edx, [ecx + ebx*2]
push edx
lea ecx, [eax + ebx*4]
push ecx
mov edx, edi
sub edx, ebx
push edx
push esi
call fcn.10019400
mov ebx, edi
add esp, 0x10
cmp ebx, dword [esp + 0x3c]
jge 0x1001a161
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x28]
movzx eax, word [esp + 0x24]
mov edi, dword [esp + 0x48]
add edi, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
movzx ecx, word [edx + ebx*2]
add eax, ecx
cmp byte [esi + 3], 0
jne 0x1001a0c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x40]
mov edx, dword [edx]
mov dword [ecx + 8], edx
jmp 0x1001a122
cmp dword [esp + 0x44], 0
je 0x1001a104
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebx*4 - 4]
dec ebx
push ecx
push esi
lea eax, [esp + 0x90]
call fcn.10013490
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push edx
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x24], edi
call fcn.10006c00
add esp, 0x10
add eax, 4
xor edi, edi
jmp 0x1001a122
sub dword [esp + 0x14], 4
cmp ecx, 4
jne 0x1001a122
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
push ecx
call fcn.100135c0
add esp, 4
movzx eax, ax
add dword [esp + 0x48], eax
cmp dword [esp + 0x10], 0
jne 0x1001a469
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push ecx
mov ecx, dword [esp + 0x68]
call fcn.10019250
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x1001a469
inc ebx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jl 0x1001a041
mov esi, dword [esp + 0x20]
test byte [esp + 0x40], 8
mov ebx, dword [esp + 0x54]
jne 0x1001a197
mov edx, dword [esp + 0x38]
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [eax + 0x40]
mov edx, dword [esi + 0x40]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
cmp dword [ebp + 0xc], 0
mov esi, dword [esp + 0xac]
je 0x1001a1ea
cmp word [ebx + 0x10], 0
jne 0x1001a1ea
movzx ecx, byte [ebx + 5]
cmp cx, word [esi + 0xe]
ja 0x1001a1ea
lea edx, [esp + 0x10]
push edx
mov eax, esi
call fcn.10019670
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1001a469
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x3c]
push eax
push ecx
mov eax, esi
call fcn.10018720
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x1001a469
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x15], 0
je 0x1001a469
mov edi, dword [esp + 0x7c]
movzx eax, byte [edi + 1]
mov dword [esp + 0x1c], esi
movzx esi, word [edi + 0x10]
xor ebx, ebx
add esi, eax
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x1001a21a
movzx eax, word [edi + 0x18]
jmp 0x1001a21d
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x3c], ebx
jle 0x1001a3d0
mov dword [esp + 0x20], ebx
xor ecx, ecx
cmp ebx, esi
jne 0x1001a285
cmp dword [esp + 0x44], ecx
sete cl
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + eax*4 + 0x80]
movzx edx, word [edi + 0x10]
inc eax
mov dword [esp + 0x4c], eax
mov al, byte [edi + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, ebx
test al, al
je 0x1001a27d
movzx eax, al
mov dword [esp + 0x48], eax
movzx eax, word [edi + 0x18]
add eax, ecx
add eax, ebx
mov dword [esp + 0x18], eax
jmp 0x1001a281
mov eax, dword [esp + 0x18]
cmp ebx, esi
je 0x1001a244
cmp ebx, eax
jne 0x1001a2a0
mov edx, dword [esp + 0x48]
dec edx
mov ecx, 1
mov dword [esp + 0x48], edx
test edx, edx
jle 0x1001a2a0
inc eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
cmp ebx, dword [esp + edx + 0xc0]
jne 0x1001a2d4
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
add edx, edx
add edx, edx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x20], edx
mov edx, dword [esp + edx + 0xac]
mov dword [esp + 0x1c], edx
je 0x1001a3c5
test ecx, ecx
jne 0x1001a2e8
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0x48]
je 0x1001a3c5
cmp word [esp + 0x24], 0
jne 0x1001a335
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [eax + 0x48]
movzx eax, byte [ecx]
push edx
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x34]
shl eax, 8
push 5
or eax, ecx
push edx
call fcn.10013140
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dx, word [ecx + ebx*2]
mov ecx, dword [esp + 0x1c]
cmp dx, word [ecx + 0xa]
jbe 0x1001a3c5
cmp dword [esp + 0x10], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 0x40], ecx
jne 0x1001a3c5
mov eax, dword [esp + 0x1c]
mov edx, ecx
push edx
push eax
lea eax, [esp + 0x90]
call fcn.10013490
mov ax, word [esp + 0xa8]
add esp, 8
test ax, ax
je 0x1001a3c1
movzx ecx, ax
add ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
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
mov edx, dword [esp + 0x24]
shl eax, 8
or eax, ecx
mov ecx, dword [edx + 0x3c]
push 3
push ecx
call fcn.10013140
add esp, 0x10
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x1001a237
cmp word [esp + 0x24], 0
jne 0x1001a469
xor esi, esi
cmp dword [esp + 0x30], esi
jle 0x1001a469
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + esi*4 + 0xac]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [ecx + 8]
push eax
movzx eax, byte [ecx + 9]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
shl eax, 8
or eax, edx
shl eax, 8
push 5
or eax, ecx
push ebx
call fcn.10013140
inc esi
add esp, 0x10
cmp esi, edi
jl 0x1001a3f0
jmp 0x1001a469
push 0x10079034
push 0xc8e5
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100058a0
lea edx, [ebx*4 + 4]
push edx
lea eax, [esp + 0x78]
push 0
push eax
mov dword [esp + 0x2c], 0xb
call fcn.10067e10
add esp, 0x1c
mov esi, dword [esp + 0x34]
call fcn.10003f70
xor edi, edi
xor esi, esi
cmp dword [esp + 0x38], edi
jle 0x1001a5aa
mov eax, dword [esp + esi*4 + 0x64]
cmp eax, edi
je 0x1001a59d
mov eax, dword [eax + 0x44]
cmp eax, edi
je 0x1001a59d
mov ebx, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
jne 0x1001a550
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x1001a4d9
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], edi
je 0x1001a550
cmp dword [eax + 0xc], 1
jne 0x1001a4c8
mov dword [ecx + 0x2c], edi
mov ecx, dword [ecx + 0x28]
push edi
push eax
push ecx
call dword [0x1007cce8]
add esp, 0xc
jmp 0x1001a550
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1001a4f8
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x1001a4f5
test byte [ecx + 0x14], 4
je 0x1001a4f5
mov ecx, dword [ecx + 0x20]
cmp ecx, edi
jne 0x1001a4e8
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, edi
je 0x1001a507
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
jmp 0x1001a50d
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
xor edi, edi
cmp ecx, edi
je 0x1001a51e
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1001a523
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, edi
je 0x1001a538
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], edi
jne 0x1001a542
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edi
jne 0x1001a550
test byte [eax + 0x14], 4
jne 0x1001a550
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0xc], edi
jne 0x1001a59d
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x1001a598
test al, al
je 0x1001a598
cmp al, 2
jb 0x1001a589
mov eax, dword [0x1007ea04]
cmp eax, edi
je 0x1001a575
call eax
mov eax, ebx
call fcn.1000fa70
mov eax, dword [0x1007ea08]
cmp eax, edi
je 0x1001a598
call eax
jmp 0x1001a598
cmp byte [ebx + 4], 0
jne 0x1001a598
push edi
call fcn.1000c860
add esp, 4
call fcn.1000c710
inc esi
xor edi, edi
cmp esi, dword [esp + 0x38]
jl 0x1001a480
xor esi, esi
cmp dword [esp + 0x30], edi
jle 0x1001a6f0
jmp 0x1001a5c2
xor edi, edi
mov eax, dword [esp + esi*4 + 0xac]
cmp eax, edi
je 0x1001a6e5
mov eax, dword [eax + 0x44]
cmp eax, edi
je 0x1001a6e5
mov ebx, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
jne 0x1001a698
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x1001a61e
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], edi
je 0x1001a698
cmp dword [eax + 0xc], 1
jne 0x1001a60d
mov dword [ecx + 0x2c], edi
push edi
push eax
mov eax, dword [ecx + 0x28]
push eax
call dword [0x1007cce8]
add esp, 0xc
jmp 0x1001a698
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1001a640
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x1001a63d
lea ecx, [ecx]
test byte [ecx + 0x14], 4
je 0x1001a63d
mov ecx, dword [ecx + 0x20]
cmp ecx, edi
jne 0x1001a630
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, edi
je 0x1001a64f
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
jmp 0x1001a655
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
xor edi, edi
cmp ecx, edi
je 0x1001a666
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1001a66b
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, edi
je 0x1001a680
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], edi
jne 0x1001a68a
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edi
jne 0x1001a698
test byte [eax + 0x14], 4
jne 0x1001a698
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0xc], edi
jne 0x1001a6e5
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x1001a6e0
test al, al
je 0x1001a6e0
cmp al, 2
jb 0x1001a6d1
mov eax, dword [0x1007ea04]
cmp eax, edi
je 0x1001a6bd
call eax
mov eax, ebx
call fcn.1000fa70
mov eax, dword [0x1007ea08]
cmp eax, edi
je 0x1001a6e0
call eax
jmp 0x1001a6e0
cmp byte [ebx + 4], 0
jne 0x1001a6e0
push edi
call fcn.1000c860
add esp, 4
call fcn.1000c710
inc esi
cmp esi, dword [esp + 0x30]
jl 0x1001a5c0
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10065fcc
mov esp, ebp
pop ebp
ret