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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
xor ecx, ecx
push ebx
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x40], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [edi]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], eax
jne 0x10082aa0
cmp byte [eax + 0x40], cl
jne 0x10082aa0
mov eax, dword [ebp + 0xc]
mov ebx, edi
call fcn.1003dee0
test eax, eax
mov dword [esp + 0x10], eax
je 0x10082aa0
mov ecx, dword [edi]
mov ebx, eax
mov esi, dword [ebx + 0x44]
call fcn.100121a0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
push eax
push ecx
push 0x6e
mov edx, ebx
mov eax, edi
call fcn.10023bd0
xor edx, edx
add esp, 0xc
cmp dword [ebx + 0xc], edx
mov dword [esp + 0x70], eax
setne dl
push edi
mov eax, ebx
mov dword [esp + 0x54], edx
call fcn.10052e70
add esp, 4
test eax, eax
jne 0x10082aa0
mov eax, dword [esp + 0x78]
push eax
mov ecx, ebx
mov eax, edi
call fcn.10033dd0
add esp, 4
test eax, eax
jne 0x10082aa0
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
add dword [edi + 0x44], 1
mov esi, dword [edi + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
add eax, 1
test byte [ebx + 0x2c], 0x20
mov dword [esp + 0x74], eax
jne 0x100813b3
mov dword [esp + 0x30], 0
jmp 0x100813be
mov eax, ebx
call fcn.100125d0
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
xor ebx, ebx
test eax, eax
je 0x100813fb
lea ecx, [ebx + 1]
mov edi, edi
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
jne 0x100813ec
cmp dword [esp + 0x30], 0
je 0x100813ec
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
mov dword [edx + 0x38], esi
add dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
mov esi, dword [edi + 0x44]
add ebx, ecx
test eax, eax
jne 0x100813d0
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x26]
mov esi, dword [esp + 0x6c]
add ecx, ebx
lea ecx, [ebx + ecx*4 + 2]
call fcn.10027660
test eax, eax
mov dword [esp + 0x3c], eax
je 0x10082aa0
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 0x26]
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + eax*4]
lea eax, [ebx + 1]
push eax
mov dword [esp + 0x8c], esi
lea esi, [esi + ebx*4]
push 1
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x40], eax
call fcn.10003bb0
mov ecx, dword [esp + 0x1c]
xor edx, edx
add esp, 0xc
mov byte [esi + ebx + 1], dl
xor eax, eax
cmp word [ecx + 0x26], dx
jle 0x10081482
mov esi, ecx
mov ecx, dword [esp + 0x3c]
jmp 0x10081470
mov dword [ecx + eax*4], 0xffffffff
movsx ebx, word [esi + 0x26]
add eax, 1
cmp eax, ebx
jl 0x10081470
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
xor eax, eax
cmp dword [ecx], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], eax
mov byte [esp + 0x27], dl
mov byte [esp + 0x17], dl
mov dword [esp + 0x28], edx
jle 0x100816d1
mov dword [esp + 0x48], edx
lea esp, [esp]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + eax]
push edx
lea esi, [esp + 0xac]
call fcn.10046e70
add esp, 4
test eax, eax
jne 0x10082aa0
movsx eax, word [ebx + 0x26]
xor esi, esi
test eax, eax
mov dword [esp + 0x64], eax
jle 0x100815ed
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 4]
add ecx, edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov al, byte [ecx]
test al, al
mov edx, dword [esp + 0x54]
je 0x10081585
jmp 0x10081560
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100ab370]
cmp al, byte [ebx + 0x100ab370]
jne 0x10081581
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x10081560
mov ebx, dword [esp + 0x10]
movzx ecx, byte [ecx]
movzx eax, byte [ecx + 0x100ab370]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x100ab370]
sub eax, edx
je 0x100815ad
add dword [esp + 0x18], 0x18
add esi, 1
cmp esi, dword [esp + 0x64]
jl 0x10081545
jmp 0x100815ed
movsx eax, word [ebx + 0x24]
cmp esi, eax
jne 0x100815c9
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov byte [esp + 0x17], 1
mov dword [esp + 0x84], edx
jmp 0x100815e2
cmp dword [esp + 0x30], 0
je 0x100815e2
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*2]
test byte [eax + ecx*8 + 0x17], 1
je 0x100815e2
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov dword [edx + esi*4], eax
movsx ecx, word [ebx + 0x26]
cmp esi, ecx
jl 0x10081667
cmp dword [esp + 0x30], 0
jne 0x1008170d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax + 4]
lea ebx, [ecx + eax]
push str._ROWID_
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1008164b
push str.ROWID
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1008164b
push 0x100b05c0
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1008170d
mov edx, dword [ebx]
mov ebx, dword [esp + 0x10]
or esi, 0xffffffff
mov byte [esp + 0x17], 1
mov dword [esp + 0x84], edx
mov eax, str.ROWID
jmp 0x1008167b
test esi, esi
jge 0x10081672
mov eax, str.ROWID
jmp 0x1008167b
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
mov eax, dword [ecx + eax*8]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x10]
shl edx, 4
mov edx, dword [edx + ecx]
push edx
push eax
mov eax, dword [ebx]
push eax
push 0x17
mov eax, edi
call fcn.10039af0
add esp, 0x10
cmp eax, 1
je 0x10082aa0
cmp eax, 2
jne 0x100816b6
mov ecx, dword [esp + 0x3c]
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
add dword [esp + 0x48], 0x18
add eax, 1
cmp eax, dword [edx]
mov dword [esp + 0x28], eax
jl 0x100814f0
mov al, byte [esp + 0x27]
add al, byte [esp + 0x17]
xor esi, esi
mov byte [esp + 0x58], al
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x48], esi
mov dword [eax + 0x4c], esi
mov edx, dword [edi]
test dword [edx + 0x18], 0x80000
je 0x10081734
movzx eax, byte [esp + 0x58]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ebx
call fcn.10026690
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x10081738
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
push eax
push str.no_such_column:__s
call fcn.10030a70
mov ecx, edi
mov byte [ecx + 0x11], 1
jmp 0x10082a9d
mov dword [esp + 0x5c], esi
mov edx, dword [ebx + 8]
cmp edx, esi
mov dword [esp + 0x18], esi
je 0x100817d5
mov esi, dword [esp + 0x3c]
cmp byte [esp + 0x58], 0
jne 0x1008179d
cmp dword [esp + 0x5c], 0
jne 0x1008179d
cmp dword [edx + 0x24], 0
jne 0x1008179d
cmp edx, dword [esp + 0x30]
je 0x1008179d
movzx ebx, word [edx + 0x32]
xor ecx, ecx
xor eax, eax
test ebx, ebx
mov dword [esp + 0x54], ecx
jle 0x100817a8
mov ecx, dword [edx + 4]
jmp 0x10081780
movsx ebx, word [ecx]
cmp dword [esi + ebx*4], 0
jge 0x1008179d
movzx ebx, word [edx + 0x32]
add eax, 1
add ecx, 2
cmp eax, ebx
jl 0x10081780
mov ecx, dword [esp + 0x54]
jmp 0x100817a8
add dword [edi + 0x48], 1
mov ecx, dword [edi + 0x48]
test ecx, ecx
jne 0x100817b5
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
mov byte [ebx + eax + 1], 0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + eax*4], ecx
mov edx, dword [edx + 0x14]
add eax, 1
test edx, edx
mov dword [esp + 0x18], eax
jne 0x1008174b
mov ebx, dword [edi + 8]
test ebx, ebx
mov dword [esp + 0x38], ebx
jne 0x10081899
mov esi, dword [edi]
mov ecx, 0xd0
call fcn.10027660
mov ebx, eax
test ebx, ebx
je 0x100818b5
push 0xd0
push 0
push ebx
call fcn.10003bb0
mov dword [ebx], esi
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x10081816
mov dword [eax + 0x30], ebx
mov ecx, dword [esi + 4]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x30], 0
mov dword [esi + 4], ebx
mov dword [ebx + 0x28], 0x26bceaa5
mov dword [ebx + 0x18], edi
test ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x38], ebx
je 0x10081878
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10081853
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10081878
mov ecx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x9b
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [edi + 0x198], 0
jne 0x1008188d
mov edx, dword [edi]
test byte [edx + 0x3c], 8
jne 0x1008188d
mov byte [edi + 0x17], 1
test ebx, ebx
je 0x10082aa0
mov ebx, dword [esp + 0x38]
cmp byte [edi + 0x12], 0
jne 0x100818a3
or dword [ebx + 0x58], 0x10
mov eax, dword [edi + 0x198]
test eax, eax
je 0x100818bc
mov edx, eax
mov dword [esp + 0x18], edx
jmp 0x100818c2
xor ebx, ebx
jmp 0x10081830
mov edx, edi
mov dword [esp + 0x18], edi
test eax, eax
jne 0x100818c8
mov eax, edi
mov ecx, dword [esp + 0x20]
mov esi, 1
shl esi, cl
mov ecx, dword [eax + 0x14c]
test ecx, esi
jne 0x10081912
mov edx, esi
or edx, ecx
mov ecx, dword [eax]
mov dword [eax + 0x14c], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x10]
shl edx, 4
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [esp + 0x20]
cmp ecx, 1
mov edx, dword [edx]
mov dword [eax + ecx*4 + 0x150], edx
jne 0x1008190e
call fcn.1006b870
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
or dword [edx + 0x148], esi
or byte [edx + 0x14], 1
test byte [ecx + 0x2c], 0x10
je 0x1008195a
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.10075bf0
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x10082aa0
mov eax, dword [edi + 0x48]
add eax, 1
mov dword [esp + 0x64], eax
add eax, 1
cmp byte [esp + 0x27], 0
mov dword [edi + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
jne 0x10081987
cmp dword [esp + 0x70], 0
jne 0x10081987
cmp dword [esp + 0x5c], 0
je 0x1008199a
lea edx, [eax + 1]
mov dword [esp + 0x80], edx
movsx edx, word [ecx + 0x26]
add edx, eax
mov dword [edi + 0x48], edx
cmp byte [esp + 0x58], 0
jne 0x100819af
cmp dword [esp + 0x70], 0
jne 0x100819af
cmp dword [esp + 0x5c], 0
je 0x100819ba
add dword [edi + 0x48], 1
mov eax, dword [edi + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x54], edx
movsx edx, word [ecx + 0x26]
add edx, eax
cmp dword [esp + 0x50], 0
mov dword [edi + 0x48], edx
je 0x10081a03
mov eax, dword [edi + 0x1ec]
mov edx, dword [ecx]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [edi + 0x1ec], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push edi
mov dword [esp + 0xac], edi
call fcn.10072260
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
lea esi, [esp + 0xac]
call fcn.10046e70
add esp, 4
test eax, eax
jne 0x10082aa0
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x20
jne 0x10081af4
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10081a44
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10081a70
mov ecx, dword [ebx + 4]
add dword [ebx + 0x20], 1
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov byte [eax], 0x1c
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
push 4
push 0
push 0
push ecx
push edx
push edi
call fcn.1006eda0
add esp, 0x1c
test eax, eax
mov dword [esp + 0x28], eax
je 0x10082aa0
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0x64
mov esi, ebx
mov dword [esp + 0x54], eax
call fcn.10035eb0
add esp, 0xc
cmp dword [esp + 0x48], 0
jne 0x10081ae5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
push eax
push ecx
push 0x7d
call fcn.10035eb0
add esp, 0xc
mov edx, dword [esp + 0x28]
push edx
call fcn.10037100
jmp 0x10081cec
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
movsx ecx, cx
lea eax, [ecx + eax + 1]
mov dword [edi + 0x48], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x7c], eax
add eax, 1
mov dword [edi + 0x44], eax
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
jg 0x10081b3d
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10081b65
mov edx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov byte [eax], 0x1c
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
push eax
push ecx
push 0x37
mov esi, ebx
call fcn.10035eb0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, edi
call fcn.1004eae0
mov edx, dword [esp + 0x74]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
push 4
push 0
push 0
push eax
push ecx
push edi
call fcn.1006eda0
add esp, 0x1c
test eax, eax
mov dword [esp + 0x28], eax
je 0x10082aa0
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0xa0], edx
movzx edx, byte [eax + 0x26]
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x48], edx
jle 0x10081c10
jmp 0x10081be0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
add eax, esi
push eax
movsx eax, word [edx + esi*2]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov edi, ebx
call fcn.10055a20
add esi, 1
add esp, 0x10
cmp esi, dword [esp + 0x20]
jl 0x10081be0
cmp dword [esp + 0x48], 0
je 0x10081c6e
mov esi, dword [ebx + 4]
test esi, esi
je 0x10081c59
mov eax, dword [esp + 0x18]
mov edi, dword [ebx]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.10030230
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9c
mov eax, dword [ebx + 0x20]
add eax, 0xffffffff
cmp dword [esp + 0x18], eax
jne 0x10081c59
mov dword [ebx + 0x20], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x60], edx
jmp 0x10081cdf
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
push edi
push ecx
mov eax, ebx
call fcn.10029680
mov ecx, dword [esp + 0x34]
add esp, 4
push eax
mov eax, dword [esp + 0x68]
push eax
push edi
push ecx
push 0x30
mov esi, ebx
call fcn.10035e40
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 0x18
cmp dword [edx + 0x54], esi
jg 0x10081cb2
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10081cdf
mov ecx, dword [ebx + 4]
add dword [ebx + 0x20], 1
mov edx, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6b
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x28]
push edx
call fcn.10037100
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x70]
add esp, 4
test byte [eax + 0x18], 0x80
je 0x10081d1f
cmp dword [edi + 0x19c], 0
jne 0x10081d1f
add dword [edi + 0x48], 1
mov eax, dword [edi + 0x48]
push eax
push 0
push 0x19
mov esi, ebx
mov dword [esp + 0x9c], eax
call fcn.10035eb0
add esp, 0xc
mov esi, dword [ebx + 0x18]
mov eax, dword [esi + 0x6c]
lea edx, [eax - 1]
test eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
mov dword [esi + 0x6c], ecx
jne 0x10081d71
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esi + 0x70]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x20], eax
call fcn.1002b470
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x10081d66
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.10021de0
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esi + 0x70]
test esi, esi
je 0x10081d7f
mov dword [esi + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
cmp dword [esp + 0x50], 0
mov dword [esp + 0x18], esi
jne 0x10081e1d
mov ecx, 5
cmp dword [ebp + 0x18], ecx
je 0x10081db6
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
test eax, eax
je 0x10081dca
cmp byte [eax + 0x36], cl
je 0x10081db6
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10081da8
jmp 0x10081dca
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
push eax
push 1
push ecx
call fcn.10003bb0
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x10081dff
mov eax, dword [esp + 0xa0]
test eax, eax
jl 0x10081de8
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
mov byte [eax + edx], 0
mov eax, dword [esp + 0xa4]
test eax, eax
jl 0x10081dff
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 0x35
push ecx
push edi
call fcn.100525e0
add esp, 0x1c
cmp dword [esp + 0x48], 0
je 0x10081eb9
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
cmp byte [edx + eax], 0
je 0x10081e55
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x60]
push ecx
push edx
push esi
push eax
push 0x41
mov eax, ebx
call fcn.10035ca0
add esp, 0x14
cmp dword [esp + 0x30], 0
mov dword [esp + 0x2c], esi
je 0x10081e6a
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
jmp 0x10081e72
mov edx, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10081e8e
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008202f
mov edx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4c
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
jmp 0x10082027
cmp dword [esp + 0x30], 0
je 0x10081f89
mov eax, ebx
call fcn.100303a0
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10081ee7
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10081f14
mov edx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x69
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10081f33
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
je 0x10081f33
mov esi, 1
jmp 0x10081f60
mov edx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x62
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 0
push eax
push ecx
push edx
push 0x41
mov eax, ebx
mov dword [esp + 0xa8], esi
call fcn.10035ca0
add esp, 0x14
jmp 0x1008202f
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10081fab
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
je 0x10081fab
mov dword [esp + 0x2c], 1
jmp 0x10081fe3
mov edx, dword [ebx + 4]
add dword [ebx + 0x20], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x7e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov dword [esp + 0x2c], esi
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10081ffb
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008202f
mov ecx, dword [ebx + 4]
add dword [ebx + 0x20], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov byte [eax], 0x43
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [eax + 3], 0
cmp byte [esp + 0x17], 0
je 0x100820cc
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10082061
cmp byte [eax], 0x9f
jne 0x10082061
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x1c]
mov esi, dword [edi + 8]
push eax
push edx
push 0x21
jmp 0x10082083
mov esi, dword [esp + 0x4c]
push esi
push eax
push edi
call fcn.1007de60
add esp, 0xc
cmp eax, esi
je 0x1008208b
mov esi, dword [edi + 8]
test esi, esi
je 0x1008208b
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push 0x22
call fcn.10035eb0
add esp, 0xc
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x100820a3
push ebx
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x100820cc
mov ecx, dword [ebx + 4]
add dword [ebx + 0x20], 1
mov edx, dword [esp + 0x4c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp byte [esp + 0x27], 0
jne 0x100821b1
cmp dword [esp + 0x5c], 0
jne 0x100821bc
cmp dword [esp + 0x70], 0
je 0x10082267
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
push ecx
push 3
push 0
push edx
push edi
call fcn.10023b30
or dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
add esp, 0x14
cmp word [eax + 0x26], bx
jle 0x1008220d
mov dword [esp + 0x64], ebx
lea ecx, [ecx]
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x100821d3
cmp ebx, 0x20
jge 0x10082153
mov edx, 1
mov ecx, ebx
shl edx, cl
test eax, edx
jne 0x100821d3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x64]
test byte [ecx + edx + 0x17], 1
jne 0x100821d3
mov esi, dword [esp + 0x38]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10082181
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x100821f5
mov edx, dword [esi + 4]
add dword [esi + 0x20], 1
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x80]
xor ecx, ecx
add edx, ebx
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x100821f5
cmp dword [esp + 0x5c], 0
je 0x100820f0
mov eax, dword [esp + 0x10]
push eax
push edi
call fcn.10038f80
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x100820f8
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x10]
push ecx
push ebx
push edx
push eax
call fcn.10055a20
add esp, 0x10
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x26]
add dword [esp + 0x64], 0x18
add ebx, 1
cmp ebx, edx
jl 0x10082130
cmp byte [esp + 0x17], 0
jne 0x10082267
cmp dword [esp + 0x30], 0
jne 0x10082267
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1008223b
push eax
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10082267
mov eax, dword [esp + 0x38]
add dword [eax + 0x20], 1
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x21
mov byte [eax + 3], cl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x74]
push 1
push 1
push ecx
push edi
call fcn.10023b30
mov edx, dword [esp + 0x24]
xor ebx, ebx
add esp, 0x14
cmp word [edx + 0x26], bx
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], ebx
jle 0x1008248e
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x24]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jne 0x100822ef
mov esi, dword [esp + 0x38]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x100822e0
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008246b
add dword [esi + 0x20], 1
mov edx, dword [esi + 4]
lea ecx, [edi + edi*4]
jmp 0x1008242d
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ecx*4]
cmp eax, ebx
jl 0x100823e2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
cmp eax, ebx
je 0x1008236b
cmp byte [eax], 0x9f
jne 0x1008236b
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x34], eax
jg 0x1008233c
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008246b
mov ecx, dword [esi + 4]
add dword [esi + 0x20], 1
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x21
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1008246b
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
push esi
push eax
push edx
call fcn.1007de60
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x34], eax
je 0x1008246b
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x1008246b
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x100823b3
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008246b
mov eax, dword [esi + 4]
add dword [esi + 0x20], 1
mov ecx, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov byte [eax], 0x22
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1008246b
test dword [esp + 0x78], 1
je 0x1008244b
cmp ecx, 0x1f
jg 0x1008244b
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x80]
test ecx, eax
jne 0x1008244b
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10082423
push eax
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008246b
mov eax, dword [esp + 0x38]
add dword [eax + 0x20], 1
mov edx, dword [eax + 4]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1008246b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.10055a20
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
movsx edx, word [ecx + 0x26]
add dword [esp + 0x20], 1
add eax, 1
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x100822b0
mov edi, dword [ebp + 8]
test byte [esp + 0x78], 1
mov esi, dword [esp + 0x38]
je 0x100825ab
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.10038d80
mov edi, dword [esp + 0x30]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
add esp, 4
push edi
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [ebp + 8]
push 1
push ecx
push 0x6e
push edx
push eax
call fcn.10085260
add esp, 0x24
cmp dword [esp + 0x30], ebx
je 0x10082503
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push edi
push eax
push 0x41
mov eax, esi
call fcn.10035ca0
add esp, 0x14
jmp 0x1008254d
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x10082523
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008254d
mov eax, dword [esp + 0x34]
add dword [esi + 0x20], 1
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp word [ecx + 0x26], bx
mov dword [esp + 0x28], eax
jle 0x100825a8
lea ecx, [ecx]
mov edx, dword [esp + 0x3c]
cmp dword [edx + eax*4], ebx
jge 0x10082599
movsx edx, word [ecx + 0x24]
cmp eax, edx
je 0x10082599
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
mov edi, esi
call fcn.10055a20
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
add esp, 0x10
movsx edx, word [ecx + 0x26]
add eax, 1
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x10082560
mov edi, dword [ebp + 8]
cmp dword [esp + 0x50], ebx
jne 0x100827d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
call fcn.1007f7d0
add esp, 0x2c
cmp dword [esp + 0x5c], ebx
je 0x10082622
movzx ecx, byte [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
push eax
push ecx
push edi
call fcn.100768a0
add esp, 0x18
cmp dword [esp + 0x50], ebx
jne 0x10082632
cmp byte [esp + 0x58], bl
je 0x100826b0
cmp dword [esp + 0x30], ebx
je 0x1008265d
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ebx
push ecx
push 0x41
mov eax, esi
call fcn.10035ca0
add esp, 0x14
mov dword [esp + 0x44], eax
jmp 0x100826b0
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x1008267f
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
je 0x1008267f
mov dword [esp + 0x44], 1
jmp 0x100826ad
mov ecx, dword [esi + 4]
add dword [esi + 0x20], 1
mov edx, dword [esp + 0x1c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x44], edi
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
push edi
call fcn.10057cb0
add esp, 0x10
cmp dword [esp + 0x5c], ebx
jne 0x100826e1
cmp byte [esp + 0x58], bl
jne 0x100826e1
cmp dword [esp + 0x30], ebx
je 0x10082727
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x100826fd
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10082727
mov ecx, dword [esi + 4]
add dword [esi + 0x20], 1
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x50], ebx
jne 0x10082733
cmp byte [esp + 0x58], bl
je 0x10082754
mov ecx, dword [esi + 0x20]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jbe 0x10082748
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
sub eax, 1
mov dword [ecx + 0x58], eax
cmp dword [esp + 0x5c], ebx
je 0x10082779
movzx edx, byte [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push ebx
push edx
push edi
call fcn.100768a0
add esp, 0x18
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
push ebx
push ebx
push 1
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push edi
call fcn.1003cf00
add esp, 0x24
cmp dword [esp + 0x5c], ebx
je 0x100827d0
movzx edx, byte [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
mov ebx, edi
call fcn.10043a30
mov esi, dword [esp + 0x48]
add esp, 0x10
xor ebx, ebx
mov eax, dword [esp + 0x6c]
test byte [eax + 0x18], 0x80
je 0x1008282f
cmp dword [edi + 0x19c], ebx
jne 0x1008282f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x10082802
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008282f
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x90]
mov ecx, 1
add dword [esi + 0x20], ecx
mov byte [eax], 0x25
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x7c]
push eax
push 2
push ecx
push 0x6e
push edx
push edi
call fcn.10085260
add esp, 0x24
cmp dword [esp + 0x48], ebx
jne 0x10082903
cmp dword [esp + 0x30], ebx
je 0x100828c5
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x10082881
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x10082881
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x20]
sub eax, 1
mov dword [ecx + 0x58], eax
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x100828a2
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10082903
mov eax, dword [esi + 4]
add dword [esi + 0x20], 1
mov ecx, dword [esp + 0x7c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x94]
mov byte [eax], 9
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x100828f7
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x100828dd
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10082903
mov edx, dword [esi + 4]
add dword [esi + 0x20], 1
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x10
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 3], bl
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x18]
js 0x1008291c
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x1008291c
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x10]
sub edx, 1
mov dword [ecx + 0x58], edx
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x50], eax
je 0x100829a9
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
add edx, 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x54]
cmp byte [ecx], bl
je 0x10082991
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x10082967
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1008298d
mov ecx, dword [esi + 4]
add dword [esi + 0x20], 1
mov edx, dword [esp + 0x78]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x3a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov ecx, 1
add dword [esp + 0x54], ecx
add dword [esp + 0x78], ecx
cmp eax, ebx
mov dword [esp + 0x50], eax
jne 0x10082947
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x74]
jge 0x100829f1
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x100829cb
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x100829f1
mov eax, dword [esi + 4]
add dword [esi + 0x20], 1
mov ecx, dword [esp + 0x1c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x3a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [ebp + 8]
cmp byte [edi + 0x12], bl
jne 0x10082a0a
cmp dword [edi + 0x19c], ebx
jne 0x10082a0a
push edi
call fcn.100527e0
add esp, 4
mov edx, dword [esp + 0x6c]
test byte [edx + 0x18], 0x80
je 0x10082aa0
cmp dword [edi + 0x19c], 0
jne 0x10082aa0
cmp byte [edi + 0x12], 0
jne 0x10082aa0
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10082a43
push esi
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x10082a74
mov eax, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x20], ecx
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x90]
xor ebx, ebx
mov byte [eax], 0x23
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x10082a76
xor ebx, ebx
push 1
mov edi, esi
call fcn.100301b0
mov eax, dword [esi]
add esp, 4
cmp byte [eax + 0x40], bl
jne 0x10082aa0
mov edx, dword [esi + 0x10]
push 1
push str.rows_updated
xor eax, eax
or ecx, 0xffffffff
call fcn.1003a940
add esp, 8
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x10082ab8
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1ec], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
mov esi, dword [esp + 0x6c]
je 0x10082b36
test esi, esi
je 0x10082b2d
cmp dword [esi + 0x200], 0
je 0x10082b06
cmp eax, dword [esi + 0x10c]
jb 0x10082af2
cmp eax, dword [esi + 0x110]
jae 0x10082af2
movzx eax, word [esi + 0xf0]
mov ecx, dword [esi + 0x200]
add dword [ecx], eax
jmp 0x10082b36
push eax
call dword [0x100c6480]
mov ecx, dword [esi + 0x200]
add esp, 4
add dword [ecx], eax
jmp 0x10082b36
cmp eax, dword [esi + 0x10c]
jb 0x10082b2d
cmp eax, dword [esi + 0x110]
jae 0x10082b2d
mov edx, dword [esi + 0x108]
mov dword [eax], edx
add dword [esi + 0xf4], 0xffffffff
mov dword [esi + 0x108], eax
jmp 0x10082b36
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call fcn.100267c0
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push esi
call fcn.1002f840
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.1002cb00
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret