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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
xor ecx, ecx
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x40], ecx
jne 0x10089285
cmp byte [eax + 0x41], cl
jne 0x10089285
mov eax, dword [ebp + 0xc]
call fcn.10042fa0
mov edi, eax
mov dword [esp + 0x3c], edi
test edi, edi
je 0x10087f18
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.10012bc0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
push eax
push ecx
push 0x6e
mov edx, edi
mov eax, ebx
call fcn.10024910
xor edx, edx
add esp, 0xc
cmp dword [edi + 0xc], edx
mov dword [esp + 0x74], eax
setne dl
push edi
mov eax, ebx
mov dword [esp + 0x60], edx
call fcn.10056c00
add esp, 4
test eax, eax
jne 0x10087f18
mov eax, dword [esp + 0x6c]
push eax
mov ecx, edi
mov eax, ebx
call fcn.100351a0
add esp, 4
test eax, eax
jne 0x10087f18
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x44]
mov esi, dword [ebx + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
inc eax
test byte [edi + 0x2c], 0x20
mov dword [esp + 0x70], eax
jne 0x10087bf8
mov dword [esp + 0x34], 0
jmp 0x10087c03
mov eax, edi
call fcn.10013030
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x10087c3e
mov edx, dword [eax + 0x34]
and dl, 3
cmp dl, 2
jne 0x10087c2c
cmp dword [esp + 0x34], 0
je 0x10087c2c
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
mov dword [edx + 0x38], esi
inc dword [ebx + 0x44]
mov eax, dword [eax + 0x14]
mov esi, dword [ebx + 0x44]
inc ecx
test eax, eax
jne 0x10087c10
mov dword [esp + 0x18], ecx
movsx ecx, word [edi + 0x26]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
add ecx, eax
lea edx, [eax + ecx*4 + 2]
push 0
push edx
call fcn.10028800
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x1008927e
movsx eax, word [edi + 0x26]
mov ecx, dword [esp + 0x40]
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], esi
lea esi, [esi + eax*4]
inc eax
push eax
push 1
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
call fcn.10004b00
mov edx, dword [esp + 0x24]
xor eax, eax
mov byte [esi + edx + 1], al
xor edx, edx
add esp, 0xc
xor ecx, ecx
cmp dx, word [edi + 0x26]
jge 0x10087cc0
mov edx, dword [esp + 0x40]
lea ecx, [ecx]
mov dword [edx + ecx*4], 0xffffffff
movsx esi, word [edi + 0x26]
inc ecx
cmp ecx, esi
jl 0x10087cb0
mov edx, dword [ebp + 0x10]
cmp dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
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 + 0xa0], ebx
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x2b], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x30], eax
jle 0x10087eab
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
mov ebx, dword [ecx + edx]
lea esi, [esp + 0xa0]
call fcn.10048610
test eax, eax
jne 0x10087f18
movsx eax, word [edi + 0x26]
xor esi, esi
test eax, eax
jle 0x10087dcf
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
mov ebx, dword [edi + 4]
lea eax, [ecx + edx]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
push ecx
push edx
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x10087d92
movsx eax, word [edi + 0x26]
inc esi
add ebx, 0x18
cmp esi, eax
jl 0x10087d70
jmp 0x10087dcf
movsx eax, word [edi + 0x24]
cmp esi, eax
jne 0x10087dab
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov byte [esp + 0xf], 1
mov dword [esp + 0x64], edx
jmp 0x10087dc4
cmp dword [esp + 0x34], 0
je 0x10087dc4
mov eax, dword [edi + 4]
lea ecx, [esi + esi*2]
test byte [eax + ecx*8 + 0x17], 1
je 0x10087dc4
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov dword [edx + esi*4], eax
movsx ecx, word [edi + 0x26]
cmp esi, ecx
jl 0x10087e42
cmp dword [esp + 0x34], 0
jne 0x10087ef2
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx + 4]
lea ebx, [eax + ecx]
push str._ROWID_
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x10087e2d
push str.ROWID
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x10087e2d
push 0x100b6050
push esi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x10087ef2
mov edx, dword [ebx]
or esi, 0xffffffff
mov byte [esp + 0xf], 1
mov dword [esp + 0x64], edx
mov eax, str.ROWID
jmp 0x10087e56
test esi, esi
jge 0x10087e4d
mov eax, str.ROWID
jmp 0x10087e56
mov ecx, dword [edi + 4]
lea eax, [esi + esi*2]
mov eax, dword [ecx + eax*8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x10]
shl edx, 4
mov edx, dword [edx + ecx]
push edx
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebp + 8]
push 0x17
call fcn.100396f0
add esp, 0x10
cmp eax, 1
je 0x10087f1c
cmp eax, 2
jne 0x10087e92
mov ecx, dword [esp + 0x40]
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
add dword [esp + 0x18], 0x18
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x30], eax
jl 0x10087d26
mov eax, dword [ebp + 0xc]
mov cl, byte [esp + 0x2b]
mov ebx, dword [ebp + 8]
add cl, byte [esp + 0xf]
mov esi, dword [esp + 0x40]
xor edx, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov eax, dword [ebx]
test dword [eax + 0x18], 0x80000
mov byte [esp + 0x58], cl
je 0x10087f61
movzx ecx, cl
push ecx
push esi
push edi
call fcn.10026eb0
mov cl, byte [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x50], eax
xor edx, edx
jmp 0x10087f65
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edi, dword [ebp + 8]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
push eax
push str.no_such_column:__s
call fcn.100320c0
add esp, 8
mov byte [edi + 0x11], 1
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x94]
test eax, eax
je 0x10087f34
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x1ec], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100892bb
test ebx, ebx
je 0x100892b2
cmp dword [ebx + 0x208], 0
je 0x1008928c
mov ecx, ebx
call fcn.10022ca0
jmp 0x100892bb
mov dword [esp + 0x50], edx
mov edi, dword [edi + 8]
mov dword [esp + 0x18], edx
cmp edi, edx
je 0x10087ff2
jmp 0x10087f7a
mov cl, byte [esp + 0x58]
test cl, cl
jne 0x10087fc1
cmp dword [esp + 0x50], 0
jne 0x10087fc1
cmp dword [edi + 0x24], 0
jne 0x10087fc1
cmp edi, dword [esp + 0x34]
je 0x10087fc1
movzx eax, word [edi + 0x2e]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
test eax, eax
jle 0x10087fcb
mov edx, dword [edi + 4]
movsx ebx, word [edx]
cmp dword [esi + ebx*4], 0
jge 0x10087fbe
inc ecx
add edx, 2
cmp ecx, eax
jl 0x10087fa4
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
jmp 0x10087fcb
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
test edx, edx
jne 0x10087fd8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax + 1], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
mov dword [ecx + eax*4], edx
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x18], eax
test edi, edi
jne 0x10087f76
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
test edi, edi
jne 0x100880ba
mov esi, dword [ebx]
push edi
push 0xd0
call fcn.10028800
mov edi, eax
add esp, 8
test edi, edi
je 0x10088167
push 0xd0
push 0
push edi
call fcn.10004b00
mov dword [edi], esi
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x10088036
mov dword [eax + 0x30], edi
mov edx, dword [esi + 4]
mov dword [edi + 0x34], edx
mov dword [edi + 0x30], 0
mov dword [esi + 4], edi
mov dword [edi + 0x28], 0x26bceaa5
mov dword [edi + 0x18], ebx
xor ecx, ecx
mov dword [ebx + 8], edi
cmp edi, ecx
je 0x1008809e
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x1c], eax
jg 0x1008807b
push edi
call fcn.100318e0
add esp, 4
xor ecx, ecx
test eax, eax
jne 0x1008809e
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x99
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], 0
cmp dword [ebx + 0x198], ecx
jne 0x100880b2
mov eax, dword [ebx]
test byte [eax + 0x3c], 8
jne 0x100880b2
mov byte [ebx + 0x17], 1
cmp edi, ecx
je 0x10087f18
cmp byte [ebx + 0x12], 0
jne 0x100880c4
or dword [edi + 0x58], 0x10
mov eax, dword [ebx + 0x198]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100880d8
mov dword [esp + 0x1c], ebx
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x14c]
mov esi, 1
shl esi, cl
test edx, esi
jne 0x1008811e
mov ecx, esi
or ecx, edx
mov edx, dword [eax]
mov dword [eax + 0x14c], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [edx + ecx + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x150], edx
cmp ecx, 1
jne 0x1008811e
call fcn.10070a70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
or dword [eax + 0x148], esi
or byte [eax + 0x14], 1
test byte [ecx + 0x2c], 0x10
je 0x1008816e
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call fcn.1007b940
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x10087f18
xor edi, edi
jmp 0x10088050
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x30], eax
inc eax
cmp byte [esp + 0x2b], 0
mov dword [ebx + 0x48], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], eax
jne 0x10088197
cmp dword [esp + 0x74], 0
jne 0x10088197
cmp dword [esp + 0x50], 0
je 0x100881a7
lea edx, [eax + 1]
mov dword [esp + 0x7c], edx
movsx edx, word [ecx + 0x26]
add edx, eax
mov dword [ebx + 0x48], edx
cmp byte [esp + 0x58], 0
jne 0x100881bc
cmp dword [esp + 0x74], 0
jne 0x100881bc
cmp dword [esp + 0x50], 0
je 0x100881c6
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
movsx edx, word [ecx + 0x26]
add edx, eax
cmp dword [esp + 0x5c], 0
mov dword [ebx + 0x48], edx
je 0x1008820f
mov eax, dword [ebx + 0x1ec]
mov edx, dword [ecx]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [ebx + 0x1ec], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push ebx
mov dword [esp + 0xa4], ebx
call fcn.10077e60
add esp, 0x10
mov ebx, dword [ebp + 0x14]
lea esi, [esp + 0xa0]
call fcn.10048610
test eax, eax
jne 0x10087f18
mov eax, dword [esp + 0x3c]
test byte [eax + 0x2c], 0x20
jne 0x10088307
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1008824c
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088279
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ebx, ebx
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1008827b
xor ebx, ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 4
push ebx
push ebx
push ecx
push edx
push eax
call fcn.10074990
add esp, 0x1c
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x10087f18
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x67
mov esi, edi
mov dword [esp + 0x24], eax
call fcn.1003a180
xor ebx, ebx
add esp, 0xc
cmp dword [esp + 0x18], ebx
jne 0x100882f5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x80
call fcn.1003a180
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
call fcn.1003b2a0
add esp, 4
jmp 0x100884f6
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x2e]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
movsx ecx, cx
lea eax, [ecx + eax + 1]
mov dword [ebx + 0x48], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x78], eax
inc eax
mov dword [ebx + 0x44], eax
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
jg 0x10088351
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088378
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
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 + 0x10]
mov ecx, dword [esp + 0x78]
push eax
push ecx
push 0x39
mov esi, edi
call fcn.1003a180
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, ebx
call fcn.100527a0
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
push 4
push 0
push 0
push eax
push ecx
push ebx
call fcn.10074990
add esp, 0x1c
mov dword [esp + 0x24], eax
test eax, eax
je 0x10087f18
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x98], edx
movzx edx, byte [eax + 0x26]
xor esi, esi
cmp dword [esp + 0x10], esi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x18], edx
jle 0x1008841c
lea esp, [esp]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
movsx ebx, word [edx + esi*2]
add eax, esi
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edi
call fcn.10059890
inc esi
add esp, 0x10
cmp esi, dword [esp + 0x10]
jl 0x100883f0
cmp dword [esp + 0x18], 0
je 0x10088477
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edi + 0x20]
jge 0x10088462
mov eax, dword [edi + 4]
lea edx, [ebx + ebx*4]
mov ecx, dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx eax, byte [esi + 1]
mov edx, dword [edi]
call fcn.1003a090
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], 0x9a
mov eax, dword [edi + 0x20]
dec eax
cmp ebx, eax
jne 0x10088462
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x54], edx
jmp 0x100884e7
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
push ebx
push ecx
mov eax, edi
call fcn.1002adb0
mov ecx, dword [esp + 0x34]
add esp, 4
push eax
mov eax, dword [esp + 0x5c]
push eax
push ebx
push ecx
push 0x31
mov esi, edi
call fcn.1003f5a0
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
add esp, 0x18
cmp dword [edx + 0x54], esi
jg 0x100884bb
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100884e7
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6e
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 + 0x24]
push edx
call fcn.1003b2a0
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x10088528
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], ebx
jne 0x10088528
mov eax, ecx
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
push ebx
push 0x19
mov esi, edi
mov dword [esp + 0x98], eax
call fcn.1003a180
add esp, 0xc
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
test eax, edx
jne 0x1008856a
lea ecx, [eax*8 + 4]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.100322e0
mov edx, dword [esp + 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
cmp ecx, ebx
je 0x10088578
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x5c], ebx
jne 0x10088611
mov ecx, 5
cmp dword [ebp + 0x18], ecx
jne 0x100885ab
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
push eax
push 1
push esi
call fcn.10004b00
add esp, 0xc
jmp 0x100885c6
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x100885c2
cmp byte [eax + 0x32], cl
je 0x10088595
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x100885b6
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x18], ebx
je 0x100885f0
mov eax, dword [esp + 0x98]
cmp eax, ebx
jl 0x100885de
sub eax, dword [esp + 0x48]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x9c]
cmp eax, ebx
jl 0x100885f0
sub eax, dword [esp + 0x48]
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
push ebx
push ebx
push esi
push ecx
push 0x37
push edx
push eax
call fcn.10056380
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
jmp 0x10088615
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x18], ebx
je 0x100886b2
sub esi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
cmp byte [esi + eax], bl
je 0x10088655
cmp dword [esp + 0x5c], ebx
jne 0x10088655
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
push 0x44
mov eax, edi
call fcn.1003f420
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], ebx
je 0x10088669
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
jmp 0x10088671
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1008868d
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x1008885e
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x4c
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
jmp 0x10088855
cmp dword [esp + 0x34], ebx
je 0x100887c6
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
test eax, edx
jne 0x100886fe
lea ecx, [eax*8 + 4]
push ebx
push ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.100322e0
mov edx, dword [esp + 0x50]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
cmp ecx, ebx
je 0x1008870c
mov dword [ecx + eax*4], 0xffffffff
mov esi, dword [edi + 0x20]
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], ecx
jg 0x1008872d
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088756
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x6c
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
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10088775
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x10088775
mov esi, 1
jmp 0x1008879e
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov byte [eax], 0x65
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
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push ebx
push eax
push ecx
push edx
push 0x44
mov eax, edi
mov dword [esp + 0x94], esi
call fcn.1003f420
add esp, 0x14
jmp 0x1008885e
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x100887e8
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x100887e8
mov dword [esp + 0x2c], 1
jmp 0x10088819
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x81
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10088831
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x1008885e
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 3], bl
cmp byte [esp + 0xf], bl
je 0x100888f5
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x10088888
cmp byte [eax], 0x9f
jne 0x10088888
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
push ecx
push edx
push 0x21
jmp 0x100888b0
mov esi, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.10084150
add esp, 0xc
cmp eax, esi
je 0x100888b8
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
cmp esi, ebx
je 0x100888b8
mov ecx, dword [esp + 0x60]
push ecx
push eax
push 0x22
call fcn.1003a180
add esp, 0xc
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x100888d0
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100888f5
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x26
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 byte [esp + 0x2b], bl
jne 0x10088951
cmp dword [esp + 0x50], ebx
jne 0x10088957
cmp dword [esp + 0x74], ebx
je 0x10088a5d
mov dword [esp + 0x64], ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
push edx
push 3
push ebx
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ebx, esi
call fcn.10024890
mov edx, dword [esp + 0x78]
or edx, eax
xor eax, eax
add esp, 0x14
xor ebx, ebx
cmp ax, word [esi + 0x26]
mov dword [esp + 0x64], edx
jge 0x10088a0c
mov dword [esp + 0x48], ebx
jmp 0x10088976
cmp dword [esp + 0x50], ebx
je 0x1008890b
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.10038bf0
add esp, 8
mov dword [esp + 0x64], eax
jmp 0x1008890f
mov edx, dword [esp + 0x64]
mov esi, eax
cmp edx, 0xffffffff
je 0x100889df
cmp ebx, 0x20
jge 0x1008898d
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x100889df
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x48]
test byte [ecx + edx + 0x17], 1
jne 0x100889df
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x100889b3
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100889f6
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x7c]
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 0x100889f6
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
lea ecx, [ebx + eax]
push ecx
push edx
push esi
push edi
call fcn.10059890
add esp, 0x10
mov eax, dword [esp + 0x3c]
movsx ecx, word [eax + 0x26]
add dword [esp + 0x48], 0x18
inc ebx
cmp ebx, ecx
jl 0x10088970
cmp byte [esp + 0xf], 0
jne 0x10088a5d
cmp dword [esp + 0x34], 0
jne 0x10088a5d
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10088a32
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088a5d
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
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 edx, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x78]
push 1
push 1
push ecx
push edx
mov ebx, esi
call fcn.10024890
mov dword [esp + 0x90], eax
xor ebx, ebx
xor eax, eax
add esp, 0x14
cmp ax, word [esi + 0x26]
mov dword [esp + 0x30], ebx
jge 0x10088c46
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x3c]
movsx eax, word [edx + 0x24]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x10088bd0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
cmp eax, ebx
jl 0x10088bb2
mov edx, dword [ebp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*8]
cmp eax, ebx
je 0x10088b37
cmp byte [eax], 0x9f
jne 0x10088b37
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10088b09
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088c27
mov eax, dword [esp + 0x14]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x21
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 0x10088c27
mov esi, dword [esp + 0x24]
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10084150
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp eax, esi
je 0x10088c27
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
cmp esi, ebx
je 0x10088c27
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10088b87
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088c27
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x22
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 0x10088c27
test dword [esp + 0x6c], 1
je 0x10088c0f
cmp ecx, 0x1f
jg 0x10088c0f
mov esi, dword [esp + 0x7c]
mov eax, 1
shl eax, cl
test esi, eax
jne 0x10088c0f
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x10088be8
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088c27
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
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 0x10088c27
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
push edx
push edi
mov ebx, ecx
call fcn.10059890
add esp, 0x10
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
movsx edx, word [ecx + 0x26]
inc dword [esp + 0x24]
inc eax
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x10088aa0
mov esi, ecx
test byte [esp + 0x6c], 1
je 0x10088d4e
mov eax, dword [esp + 0x1c]
push eax
mov eax, esi
mov ecx, edi
call fcn.10042e50
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x48]
add esp, 4
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push ecx
push 0x6e
push edx
push eax
call fcn.1008b8f0
add esp, 0x24
cmp dword [esp + 0x34], ebx
je 0x10088cb5
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push 0x44
mov eax, edi
call fcn.1003f420
add esp, 0x14
jmp 0x10088d02
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10088cd5
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088d02
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
xor eax, eax
xor ecx, ecx
cmp cx, word [esi + 0x26]
mov dword [esp + 0x30], eax
jge 0x10088d4e
mov edx, dword [esp + 0x40]
cmp dword [edx + eax*4], ebx
jge 0x10088d41
movsx ecx, word [esi + 0x24]
cmp eax, ecx
je 0x10088d41
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, ebx
push edx
push eax
push esi
push edi
call fcn.10059890
mov eax, dword [esp + 0x40]
add esp, 0x10
xor ebx, ebx
movsx ecx, word [esi + 0x26]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x10088d10
cmp dword [esp + 0x5c], ebx
jne 0x10088f70
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x48], ebx
call fcn.10086050
add esp, 0x2c
cmp dword [esp + 0x50], ebx
je 0x10088dc6
movzx eax, byte [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push esi
push eax
call fcn.1007c510
add esp, 0x18
cmp dword [esp + 0x1c], ebx
jne 0x10088dd6
cmp byte [esp + 0x58], bl
je 0x10088e58
cmp dword [esp + 0x34], ebx
je 0x10088e01
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
push ecx
push edx
push ebx
push eax
push 0x44
mov eax, edi
call fcn.1003f420
add esp, 0x14
mov dword [esp + 0x5c], eax
jmp 0x10088e58
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], ecx
mov dword [esp + 0x14], ecx
jg 0x10088e2b
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x10088e27
mov dword [esp + 0x5c], 1
jmp 0x10088e58
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov eax, esi
call fcn.1005c010
add esp, 0x10
cmp dword [esp + 0x50], ebx
jne 0x10088e8a
cmp byte [esp + 0x58], bl
jne 0x10088e8a
cmp dword [esp + 0x34], ebx
je 0x10088ecf
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10088ea6
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088ecf
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x5f
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
cmp dword [esp + 0x1c], ebx
jne 0x10088edb
cmp byte [esp + 0x58], bl
je 0x10088efa
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jbe 0x10088ef0
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
dec ecx
mov dword [edx + 0x58], ecx
cmp dword [esp + 0x50], ebx
je 0x10088f1e
movzx eax, byte [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push esi
push eax
call fcn.1007c510
add esp, 0x18
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
push ebx
push ebx
push 1
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.10047b40
add esp, 0x24
cmp dword [esp + 0x50], ebx
je 0x10088f70
movzx eax, byte [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.10042f10
add esp, 0x14
mov edx, dword [esp + 0x38]
test byte [edx + 0x18], 0x80
je 0x10088fd2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x19c], ebx
jne 0x10088fd2
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10088fa5
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10088fd2
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x8c]
mov ecx, 1
add dword [edi + 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 + 0x44]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [ebp + 8]
push esi
push 2
push eax
push 0x6e
push ecx
push edx
call fcn.1008b8f0
add esp, 0x24
cmp dword [esp + 0x18], ebx
jne 0x100890b6
mov ecx, dword [edi + 0x18]
cmp dword [esp + 0x34], ebx
je 0x10089074
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
js 0x1008902b
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x1008902b
mov ecx, dword [edi + 0x20]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x20]
dec edx
mov dword [ecx + 0x58], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10089052
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100890b6
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x78]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x80]
mov byte [eax], 9
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x100890aa
mov eax, dword [edi + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x10089091
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100890b6
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
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 [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
js 0x100890d7
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x100890d7
mov ecx, dword [edi + 0x20]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
mov edx, 1
sub eax, edx
mov dword [ecx + 0x58], eax
mov esi, dword [esi + 8]
mov dword [esp + 0x80], esi
cmp esi, ebx
je 0x1008916e
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], bl
je 0x10089151
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1008912c
push edi
call fcn.100318e0
add esp, 4
mov edx, 1
test eax, eax
jne 0x10089151
mov eax, dword [edi + 4]
add dword [edi + 0x20], edx
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x6c]
mov byte [eax], 0x3d
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 eax, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
add dword [esp + 0x1c], edx
add dword [esp + 0x6c], edx
mov dword [esp + 0x80], eax
cmp eax, ebx
jne 0x10089107
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x70]
jge 0x100891ba
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10089195
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100891ba
mov edx, 1
add dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x3d
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 eax, dword [ebp + 8]
cmp byte [eax + 0x12], bl
jne 0x100891d8
cmp dword [eax + 0x19c], ebx
jne 0x100891d8
mov edx, eax
push edx
call fcn.10056560
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x18], 0x80
je 0x10089277
cmp dword [eax + 0x19c], 0
jne 0x10089277
cmp byte [eax + 0x12], 0
jne 0x10089277
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x10089215
push edi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10089244
mov ecx, dword [edi + 4]
mov edx, 1
add dword [edi + 0x20], edx
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x8c]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x23
mov byte [eax + 3], cl
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
push 1
mov ebx, edi
call fcn.10039fd0
mov edx, dword [edi]
add esp, 4
cmp byte [edx + 0x41], 0
jne 0x10087f18
mov ecx, dword [edi + 0x10]
push 1
push 0xffffffffffffffff
xor eax, eax
mov ebx, str.rows_updated
call fcn.1003f610
add esp, 8
jmp 0x10087f18
mov ebx, ecx
jmp 0x10087f1c
mov ebx, esi
jmp 0x10087f1c
mov ebx, eax
jmp 0x10087f1c
cmp eax, dword [ebx + 0x114]
jb 0x100892b2
cmp eax, dword [ebx + 0x118]
jae 0x100892b2
mov edx, dword [ebx + 0x110]
mov dword [eax], edx
dec dword [ebx + 0xfc]
mov dword [ebx + 0x110], eax
jmp 0x100892bb
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, ebx
call fcn.1002b050
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push ebx
call fcn.10036490
mov edx, dword [ebp + 0x14]
push edx
push ebx
call fcn.100316b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret