Function at 0x1006bc50
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 0x1006bcbe
mov dword [esp + 0x2c], esi
jmp 0x1006bce3
cmp dword [ebx + 0x78], 0
jne 0x1006bcce
test byte [edx + 0x50], 8
jne 0x1006bcce
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10043c70
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1006cbf5
test edi, edi
je 0x1006cbf5
cmp byte [edi + 0x2b], 0
jne 0x1006cbf5
mov edx, dword [edi]
test edx, edx
je 0x1006bd17
push 0x5c
push 0x1014de58
mov ecx, str.sqlite__
call fcn.1007ca40
add esp, 8
test eax, eax
je 0x1006cbf5
mov ecx, dword [edi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x1006bd4c
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 0x1006bd4c
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1006bd40
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.1006e640
add esp, 0xc
test eax, eax
jne 0x1006cbf5
mov ecx, dword [esp + 0x20]
cmp ecx, 1
je 0x1006bdaa
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 0x1006bdae
push dword [edi]
mov edx, ecx
mov ecx, ebx
push 0
push dword [edi + 0x14]
call fcn.1006e6d0
add esp, 0xc
jmp 0x1006bdae
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.10083690
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.10043fd0
mov edx, dword [edi + 8]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edx
test edx, edx
je 0x1006c97a
nop dword [eax]
test eax, eax
je 0x1006be0c
cmp eax, edx
jne 0x1006c96b
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 0x1006be38
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x1006be38
movzx ebx, word [edx + 0x32]
mov eax, edi
mov ecx, ebx
jmp 0x1006be4a
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x1006be4a
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.10043fd0
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 0x1006be9d
push dword [esp + 0x20]
mov ecx, esi
push edx
push dword [ebp + 0x14]
mov edx, 0x70
call fcn.10043eb0
add esp, 0xc
jmp 0x1006becb
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.100787d0
mov edx, eax
test edx, edx
je 0x1006bf0d
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x1006befb
push edx
mov edx, 0xfffffff8
call fcn.10044b10
add esp, 4
jmp 0x1006bf0d
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 0x1006bf31
push 0
push edx
push ebx
mov edx, 0x47
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006bf5c
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 0x1006bf84
push 0
push dword [esp + 0x64]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043eb0
add esp, 0xc
jmp 0x1006bfb3
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 0x1006bfde
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x24
mov ecx, esi
call fcn.10043eb0
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x1006c010
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 0x1006c030
push 1
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x62
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c05f
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 0x1006c089
push 0
push dword [esp + 0x68]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c0b8
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.100443c0
mov ecx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], ecx
jg 0x1006c0f5
push 0
push dword [esp + 0x2c]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c128
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 0x1006c583
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.1001ec50
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x1006c960
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c18a
push 0
push 0
push 0
mov edx, 9
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c1bd
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 0x1006c224
cmp word [edi + 0x32], 1
jne 0x1006c224
cmp byte [edi + 0x36], 0
je 0x1006c224
cmp dword [esi + 0x70], ecx
jg 0x1006c1f6
push 0
push ebx
push dword [ebp + 0x10]
mov edx, 0x33
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c224
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.10078c90
add esp, 8
mov dword [esp + 0x40], eax
test bl, bl
jne 0x1006c27a
test eax, eax
je 0x1006c266
cmp dword [eax + 0xc], 0
jne 0x1006c27a
mov ecx, dword [esp + 0x18]
mov dl, bh
push edi
push eax
call fcn.10078da0
add esp, 8
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x24]
cmp dword [esi + 0x70], ecx
jg 0x1006c29e
push 0
push dword [esp + 0x2c]
mov edx, 0x47
mov ecx, esi
push ebx
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c2cd
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 0x1006c2ee
push dword [esp + 0x10]
mov edx, 0x5e
mov ecx, esi
push ebx
push dword [ebp + 0x14]
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c31c
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 0x1006c343
push edx
push 0
push dword [esp + 0x18]
mov edx, 0x34
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov edi, eax
jmp 0x1006c376
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 0x1006c394
mov edx, dword [esp + 0x40]
push edx
mov edx, 0xfffffffe
call fcn.10044b10
add esp, 4
jmp 0x1006c3cc
test edi, edi
jns 0x1006c39c
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 0x1006c3c1
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, esi
call fcn.10044c00
add esp, 8
jmp 0x1006c3cc
test edx, edx
je 0x1006c3cc
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 0x1006c3ea
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 0x1006c230
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c41f
push 0
push dword [esp + 0x2c]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c44e
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 0x1006c470
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c49f
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 0x1006c4b2
mov dword [0x10168a68], edx
jmp 0x1006c4c0
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 0x1006c4e6
mov eax, 0x10168a60
jmp 0x1006c4f2
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 0x1006c518
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x5e
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c546
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 0x1006c4d0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1006c56b
push edx
mov edx, esi
call fcn.10044790
add esp, 4
jmp 0x1006c574
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.1001e7b0
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.100443c0
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 0x1006c788
mov ebx, dword [esp + 0x10]
cmp eax, edi
jg 0x1006c5e0
push 0
push 0
push ebx
mov edx, 0x32
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov edi, eax
jmp 0x1006c60f
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 0x1006c635
push 0
push 0
push ebx
mov edx, 0x10
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x1006c664
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 0x1006c687
push dword [ebp + 0x10]
mov edx, 0x18
mov ecx, esi
push 0
push dword [ebp + 0x14]
call fcn.10043eb0
add esp, 0xc
mov ebx, eax
jmp 0x1006c6b8
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 0x1006c6d3
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 0x1006c6e5
mov eax, 0x10168a60
jmp 0x1006c6ee
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 0x1006c714
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x27
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c742
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 0x1006c754
mov eax, 0x10168a60
jmp 0x1006c761
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 0x1006c779
mov eax, 0x10168a60
mov dword [eax + 8], edx
jmp 0x1006c7d1
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1006c7d1
cmp eax, edi
jg 0x1006c7a3
push 0
push ebx
push dword [ebp + 0x14]
mov edx, 0x27
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c7d1
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.100443c0
mov edx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], edx
jg 0x1006c816
mov ebx, dword [esp + 0x10]
mov edx, 0x61
push ebx
push 3
push dword [esp + 0x44]
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov edx, eax
jmp 0x1006c849
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 0x1006c862
push 0x10159974
xor edx, edx
call fcn.10044b10
add esp, 4
jmp 0x1006c884
test edx, edx
jns 0x1006c86a
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
push 0
push 0x10159974
lea edx, [eax + ecx*4]
mov ecx, esi
call fcn.10044c00
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c8ae
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov edi, dword [ebp + 0xc]
push 0
push edx
push edi
mov edx, 0x7f
call fcn.10043eb0
mov edx, edi
add esp, 0xc
mov edi, dword [esp + 0x1c]
jmp 0x1006c8e0
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 0x1006c8fc
push edi
push ebx
push edx
mov edx, 0x80
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006c927
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 0x1006c93e
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 0x1006c950
mov eax, 0x10168a60
jmp 0x1006c95d
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 0x1006be00
test eax, eax
jne 0x1006cbf5
cmp byte [esp + 0x58], al
je 0x1006cbf5
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c9b1
push eax
push dword [esp + 0x50]
lea edx, [eax + 0x62]
mov ecx, esi
push edi
call fcn.10043eb0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x1006c9e0
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 0x1006ca00
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov ebx, eax
jmp 0x1006ca2f
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 0x1006ca50
push 0
push dword [esp + 0x60]
mov edx, 0x4b
mov ecx, esi
push 0
call fcn.10043eb0
add esp, 0xc
jmp 0x1006ca83
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 0x1006caa8
push dword [esp + 0x10]
mov edx, 0x61
mov ecx, esi
push 3
push dword [esp + 0x44]
call fcn.10043eb0
add esp, 0xc
mov edi, eax
jmp 0x1006cadb
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 0x1006caf4
push 0x10159974
xor edx, edx
call fcn.10044b10
add esp, 4
jmp 0x1006cb16
test edi, edi
jns 0x1006cafc
mov edi, dword [esi + 0x6c]
dec edi
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
push 0
push 0x10159974
lea edx, [eax + ecx*4]
mov ecx, esi
call fcn.10044c00
add esp, 8
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x1006cb3e
push 0
push edx
push edi
mov edx, 0x7f
mov ecx, esi
call fcn.10043eb0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1006cb69
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 0x1006cb88
push edx
push dword [esp + 0x14]
mov edx, 0x80
mov ecx, esi
push edi
call fcn.10043eb0
add esp, 0xc
jmp 0x1006cbb7
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 0x1006cbce
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 0x1006cbe8
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