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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x34], edi
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x58], 1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x48], ecx
inc ecx
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x28], ecx
inc ecx
mov dword [esp + 0x60], ecx
inc ecx
mov dword [esp + 0x10], ecx
inc ecx
mov dword [esp + 0x64], ecx
inc ecx
mov dword [esp + 0x3c], ecx
inc ecx
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [esp + 0x4c], ecx
inc ecx
mov esi, dword [ebx + 8]
cmp eax, ecx
mov edx, dword [ebx]
cmovle eax, ecx
mov dword [esp + 0x30], edx
mov dword [ebp + 0x10], ecx
mov dword [ebx + 0x2c], eax
test esi, esi
je 0x1006bd8e
mov dword [esp + 0x2c], esi
jmp 0x1006bdb3
cmp dword [ebx + 0x78], 0
jne 0x1006bd9e
test byte [edx + 0x50], 8
jne 0x1006bd9e
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10043ca0
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1006ccc5
test edi, edi
je 0x1006ccc5
cmp byte [edi + 0x2b], 0
jne 0x1006ccc5
mov edx, dword [edi]
test edx, edx
je 0x1006bde7
push 0x5c
push 0x1014de58
mov ecx, str.sqlite__
call fcn.1007cb10
add esp, 8
test eax, eax
je 0x1006ccc5
mov ecx, dword [edi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x1006be1c
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1006be1c
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1006be10
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x30]
mov edi, edx
add edi, edi
mov edx, 0x1c
mov ecx, ebx
mov eax, dword [eax + 0x10]
push dword [eax + edi*8]
mov eax, dword [esp + 0x38]
push 0
push dword [eax]
call fcn.1006e730
add esp, 0xc
test eax, eax
jne 0x1006ccc5
mov ecx, dword [esp + 0x20]
cmp ecx, 1
je 0x1006be7a
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*8 + 4]
mov edi, dword [esp + 0x34]
cmp byte [eax + 9], 0
je 0x1006be7e
push dword [edi]
mov edx, ecx
mov ecx, ebx
push 0
push dword [edi + 0x14]
call fcn.1006e7c0
add esp, 0xc
jmp 0x1006be7e
mov edi, dword [esp + 0x34]
mov eax, dword [ebp + 0x14]
mov edx, eax
inc eax
mov dword [esp + 0x6c], edx
mov dword [ebp + 0x14], eax
push 0x70
push edi
push dword [esp + 0x28]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, ebx
mov dword [ebx + 0x28], eax
call fcn.10083760
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.10044000
mov edx, dword [edi + 8]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edx
test edx, edx
je 0x1006ca4a
nop dword [eax]
test eax, eax
je 0x1006bedc
cmp eax, edx
jne 0x1006ca3b
mov eax, dword [esp + 0x58]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
movzx eax, al
cmove eax, ecx
test byte [edi + 0x1c], 0x80
mov dword [esp + 0x58], eax
je 0x1006bf08
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x1006bf08
movzx ebx, word [edx + 0x32]
mov eax, edi
mov ecx, ebx
jmp 0x1006bf1a
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x1006bf1a
movzx ecx, word [edx + 0x32]
push dword [eax]
mov edx, dword [esp + 0x60]
lea edi, [ecx - 1]
mov ecx, esi
mov dword [esp + 0x54], edi
call fcn.10044000
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [ebp + 0x10]
add ecx, edi
mov eax, dword [edx + 0x2c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x1006bf6d
push dword [esp + 0x20]
mov ecx, esi
push edx
push dword [ebp + 0x14]
mov edx, 0x70
call fcn.10043ee0
add esp, 0xc
jmp 0x1006bf9b
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x14]
mov edi, dword [eax + 8]
call fcn.100788a0
mov edx, eax
test edx, edx
je 0x1006bfdd
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x1006bfcb
push edx
mov edx, 0xfffffff8
call fcn.10044b40
add esp, 4
jmp 0x1006bfdd
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov edi, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
lea edx, [edi + 1]
cmp dword [esi + 0x70], ecx
jg 0x1006c001
push 0
push edx
push ebx
mov edx, 0x47
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c02c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
movzx edx, word [eax + 0x32]
cmp dword [esi + 0x70], ecx
jg 0x1006c054
push 0
push dword [esp + 0x64]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c083
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x68], ebx
cmp dword [esi + 0x70], ebx
jg 0x1006c0ae
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x24
mov ecx, esi
call fcn.10043ee0
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x1006c0e0
mov edx, dword [ebp + 0x14]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c100
push 1
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x62
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c12f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x1f0]
cmp dword [esi + 0x70], ecx
jg 0x1006c159
push 0
push dword [esp + 0x68]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c188
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
lea eax, [edi + 1]
push 0
push 0x10151a18
push 4
push edi
push eax
xor edx, edx
call fcn.100443f0
mov ecx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], ecx
jg 0x1006c1c5
push 0
push dword [esp + 0x2c]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c1f8
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x50]
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x38], ebx
test edi, edi
jle 0x1006c653
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push 0
dec dword [eax + 0x38]
mov ebx, dword [eax + 0x38]
lea eax, [edi*4]
push eax
mov dword [esp + 0x5c], ebx
call fcn.1001ec70
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x1006ca30
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c25a
push 0
push 0
push 0
mov edx, 9
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c28d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp edi, 1
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
jne 0x1006c2f4
cmp word [edi + 0x32], 1
jne 0x1006c2f4
cmp byte [edi + 0x36], 0
je 0x1006c2f4
cmp dword [esi + 0x70], ecx
jg 0x1006c2c6
push 0
push ebx
push dword [ebp + 0x10]
mov edx, 0x33
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c2f4
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor ebx, ebx
mov dword [esp + 0x24], ebx
nop word [eax + eax]
mov eax, dword [edi + 0x20]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov bl, byte [ecx + 0xb1]
mov bh, byte [ecx + 0x54]
movzx eax, bl
mov dl, bh
push eax
push edi
call fcn.10078d60
add esp, 8
mov dword [esp + 0x40], eax
test bl, bl
jne 0x1006c34a
test eax, eax
je 0x1006c336
cmp dword [eax + 0xc], 0
jne 0x1006c34a
mov ecx, dword [esp + 0x18]
mov dl, bh
push edi
push eax
call fcn.10078e70
add esp, 8
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x24]
cmp dword [esi + 0x70], ecx
jg 0x1006c36e
push 0
push dword [esp + 0x2c]
mov edx, 0x47
mov ecx, esi
push ebx
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c39d
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c3be
push dword [esp + 0x10]
mov edx, 0x5e
mov ecx, esi
push ebx
push dword [ebp + 0x14]
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c3ec
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x10]
mov edi, dword [esi + 0x6c]
add edx, ebx
cmp dword [esi + 0x70], edi
jg 0x1006c413
push edx
push 0
push dword [esp + 0x18]
mov edx, 0x34
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
mov edi, eax
jmp 0x1006c446
mov ebx, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov eax, edi
cmp byte [ecx + 0x57], 0
je 0x1006c464
mov edx, dword [esp + 0x40]
push edx
mov edx, 0xfffffffe
call fcn.10044b40
add esp, 4
jmp 0x1006c49c
test edi, edi
jns 0x1006c46c
mov eax, dword [esi + 0x6c]
dec eax
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1006c491
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, esi
call fcn.10044c30
add esp, 8
jmp 0x1006c49c
test edx, edx
je 0x1006c49c
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x44]
mov dword [eax + ebx*4], edi
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006c4ba
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x50]
inc ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
cmp ebx, edx
jl 0x1006c300
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c4ef
push 0
push dword [esp + 0x2c]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c51e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x70], ecx
jg 0x1006c540
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c56f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006c582
mov dword [0x10168a68], edx
jmp 0x1006c590
mov edi, dword [esp + 0x38]
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x2c], eax
nop word [eax + eax]
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x44]
cmp byte [eax + 0x57], 0
je 0x1006c5b6
mov eax, 0x10168a60
jmp 0x1006c5c2
mov eax, dword [ebx + edi*4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x6c]
add edx, edi
cmp dword [esi + 0x70], ecx
jg 0x1006c5e8
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x5e
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c616
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc edi
cmp edi, dword [esp + 0x50]
jl 0x1006c5a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1006c63b
push edx
mov edx, esi
call fcn.100447c0
add esp, 4
jmp 0x1006c644
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x30]
mov edx, ebx
call fcn.1001e7d0
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, 1
push 0
push 0x10155030
push 2
push dword [esp + 0x1c]
push dword [esp + 0x58]
call fcn.100443f0
mov eax, dword [esp + 0x40]
add esp, 0x14
mov ecx, dword [esp + 0x30]
mov edi, dword [eax + 0x6c]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax + 0x70]
je 0x1006c858
mov ebx, dword [esp + 0x10]
cmp eax, edi
jg 0x1006c6b0
push 0
push 0
push ebx
mov edx, 0x32
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
mov edi, eax
jmp 0x1006c6df
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x54], edx
cmp dword [esi + 0x70], edx
jg 0x1006c705
push 0
push 0
push ebx
mov edx, 0x10
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x1006c734
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x1006c757
push dword [ebp + 0x10]
mov edx, 0x18
mov ecx, esi
push 0
push dword [ebp + 0x14]
call fcn.10043ee0
add esp, 0xc
mov ebx, eax
jmp 0x1006c788
mov edx, dword [ebp + 0x14]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x18
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x1006c7a3
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006c7b5
mov eax, 0x10168a60
jmp 0x1006c7be
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x38]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c7e4
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x27
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c812
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006c824
mov eax, 0x10168a60
jmp 0x1006c831
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006c849
mov eax, 0x10168a60
mov dword [eax + 8], edx
jmp 0x1006c8a1
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1006c8a1
cmp eax, edi
jg 0x1006c873
push 0
push ebx
push dword [ebp + 0x14]
mov edx, 0x27
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c8a1
mov edx, dword [ebp + 0x14]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
xor edx, edx
push 0
push 0x101509f8
push 1
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.100443f0
mov edx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], edx
jg 0x1006c8e6
mov ebx, dword [esp + 0x10]
mov edx, 0x61
push ebx
push 3
push dword [esp + 0x44]
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
mov edx, eax
jmp 0x1006c919
mov ebx, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006c932
push 0x1015997c
xor edx, edx
call fcn.10044b40
add esp, 4
jmp 0x1006c954
test edx, edx
jns 0x1006c93a
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
push 0
push 0x1015997c
lea edx, [eax + ecx*4]
mov ecx, esi
call fcn.10044c30
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c97e
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov edi, dword [ebp + 0xc]
push 0
push edx
push edi
mov edx, 0x7f
call fcn.10043ee0
mov edx, edi
add esp, 0xc
mov edi, dword [esp + 0x1c]
jmp 0x1006c9b0
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c9cc
push edi
push ebx
push edx
mov edx, 0x80
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006c9f7
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006ca0e
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006ca20
mov eax, 0x10168a60
jmp 0x1006ca2d
mov eax, dword [esp + 0x68]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x1006bed0
test eax, eax
jne 0x1006ccc5
cmp byte [esp + 0x58], al
je 0x1006ccc5
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006ca81
push eax
push dword [esp + 0x50]
lea edx, [eax + 0x62]
mov ecx, esi
push edi
call fcn.10043ee0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x1006cab0
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x1006cad0
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
mov ebx, eax
jmp 0x1006caff
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006cb20
push 0
push dword [esp + 0x60]
mov edx, 0x4b
mov ecx, esi
push 0
call fcn.10043ee0
add esp, 0xc
jmp 0x1006cb53
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x1006cb78
push dword [esp + 0x10]
mov edx, 0x61
mov ecx, esi
push 3
push dword [esp + 0x44]
call fcn.10043ee0
add esp, 0xc
mov edi, eax
jmp 0x1006cbab
mov edx, dword [esp + 0x3c]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006cbc4
push 0x1015997c
xor edx, edx
call fcn.10044b40
add esp, 4
jmp 0x1006cbe6
test edi, edi
jns 0x1006cbcc
mov edi, dword [esi + 0x6c]
dec edi
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
push 0
push 0x1015997c
lea edx, [eax + ecx*4]
mov ecx, esi
call fcn.10044c30
add esp, 8
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x1006cc0e
push 0
push edx
push edi
mov edx, 0x7f
mov ecx, esi
call fcn.10043ee0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1006cc39
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006cc58
push edx
push dword [esp + 0x14]
mov edx, 0x80
mov ecx, esi
push edi
call fcn.10043ee0
add esp, 0xc
jmp 0x1006cc87
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006cc9e
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006ccb8
mov eax, 0x10168a60
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret