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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
inc eax
push ebx
push esi
mov dword [ebp + 0x10], eax
mov esi, edx
inc eax
mov dword [esp + 0x40], esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], eax
mov ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], ecx
inc ecx
mov dword [esp + 0x6c], ecx
inc ecx
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 8]
mov edx, dword [edi]
mov dword [esp + 0x14], ecx
inc ecx
mov dword [esp + 0x70], ecx
inc ecx
mov dword [esp + 0x50], ecx
inc ecx
mov dword [esp + 0x68], ecx
inc ecx
mov dword [esp + 0x64], ecx
inc ecx
cmp eax, ecx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x2c], 1
cmovle eax, ecx
mov dword [esp + 0x24], ecx
mov dword [edi + 0x2c], eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x1006ba78
mov dword [esp + 0x30], ebx
jmp 0x1006baa1
cmp dword [edi + 0x78], 0
jne 0x1006ba88
test byte [edx + 0x50], 8
jne 0x1006ba88
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.10043ab0
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1006cab5
test esi, esi
je 0x1006cab5
cmp byte [esi + 0x2b], 0
jne 0x1006cab5
mov edx, dword [esi]
test edx, edx
je 0x1006bad5
push 0x5c
push 0x1014ed74
mov ecx, str.sqlite__
call fcn.1007cad0
add esp, 8
test eax, eax
je 0x1006cab5
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x1006bb0c
mov eax, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1006bb0c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1006bb00
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x3c]
mov esi, edx
add esi, esi
mov edx, 0x1c
mov ecx, edi
mov eax, dword [eax + 0x10]
push dword [eax + esi*8]
mov eax, dword [esp + 0x48]
push 0
push dword [eax]
call fcn.1006e520
add esp, 0xc
test eax, eax
jne 0x1006cab5
mov ecx, dword [esp + 0x34]
cmp ecx, 1
je 0x1006bb68
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x1006bb68
mov eax, dword [esp + 0x44]
mov edx, ecx
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.1006e5b0
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edx, eax
mov esi, dword [esp + 0x44]
inc eax
mov dword [ebp + 0x14], eax
push 0x70
push esi
push dword [esp + 0x3c]
lea ecx, [eax + 1]
mov dword [esp + 0x84], edx
mov eax, dword [edi + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.100837b0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, ebx
push dword [esi]
call fcn.10043e10
mov ecx, dword [ebp + 8]
mov edx, esi
add esp, 4
mov edi, dword [edx + 8]
mov dword [esp + 0x28], edi
test edi, edi
je 0x1006c832
mov eax, dword [esp + 0x2c]
test ecx, ecx
je 0x1006bbcf
cmp ecx, edi
jne 0x1006c81f
xor ecx, ecx
movzx eax, al
cmp dword [edi + 0x24], ecx
cmovne ecx, eax
test byte [edx + 0x1c], 0x80
mov dword [esp + 0x2c], ecx
je 0x1006bbfb
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
jne 0x1006bbfb
movzx esi, word [edi + 0x32]
mov eax, edx
mov dword [esp + 0x54], esi
mov ecx, esi
jmp 0x1006bc11
test byte [edi + 0x38], 8
movzx eax, word [edi + 0x34]
mov dword [esp + 0x54], eax
mov ecx, eax
mov eax, edi
je 0x1006bc11
movzx ecx, word [edi + 0x32]
mov eax, dword [eax]
lea esi, [ecx - 1]
mov edx, dword [esp + 0x68]
mov ecx, ebx
push eax
mov dword [esp + 0x5c], esi
call fcn.10043e10
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x24]
add ecx, esi
mov eax, dword [edx + 0x2c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx + 0x2c], eax
lea eax, [ebx + 0x70]
mov edx, dword [edi + 0x2c]
lea edi, [ebx + 0x6c]
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
cmp dword [eax], ecx
jg 0x1006bc75
push dword [esp + 0x34]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x70
call fcn.10043cf0
mov eax, dword [esp + 0x3c]
add esp, 0xc
add eax, 0x68
mov dword [esp + 0xc], eax
jmp 0x1006bca8
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
lea eax, [ebx + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, eax
mov edx, dword [esp + 0x28]
mov esi, dword [eax + 8]
call fcn.10078770
mov edx, eax
test edx, edx
je 0x1006bcea
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006bcd8
push edx
mov edx, 0xfffffff8
call fcn.100448a0
add esp, 4
jmp 0x1006bcea
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006bd15
mov edx, dword [esp + 0x5c]
mov ecx, ebx
push 0
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, 0x47
call fcn.10043cf0
mov esi, dword [esp + 0x18]
add esp, 0xc
jmp 0x1006bd4a
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x54]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
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 eax, dword [esp + 0x28]
mov ecx, dword [edi]
movzx edx, word [eax + 0x32]
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x1006bd74
push 0
push dword [esp + 0x70]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.10043cf0
add esp, 0xc
jmp 0x1006bda5
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x74], ecx
cmp dword [eax], ecx
jg 0x1006bdd2
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x24
mov ecx, ebx
call fcn.10043cf0
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x74], eax
jmp 0x1006be02
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006be24
push 1
push dword [esp + 0x18]
mov ecx, ebx
push edx
mov edx, 0x62
call fcn.10043cf0
add esp, 0xc
jmp 0x1006be55
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 + 0x3c]
mov ecx, dword [edi]
mov edx, dword [eax + 0x1f0]
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x1006be81
push 0
push dword [esp + 0x74]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.10043cf0
add esp, 0xc
jmp 0x1006beb2
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 + 0x20]
xor edx, edx
push 0
push 0x1015287c
push 4
push dword [ebp + 0x10]
push dword [esp + 0x6c]
call fcn.10044190
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006bef3
push 0
push dword [esp + 0x3c]
mov edx, 0x47
mov ecx, ebx
push 0
call fcn.10043cf0
add esp, 0xc
jmp 0x1006bf24
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
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 ecx, dword [esp + 0x58]
mov eax, dword [edi]
mov dword [esp + 0x40], eax
test ecx, ecx
jle 0x1006c3d3
mov eax, dword [esp + 0x20]
push 0
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x50], eax
lea eax, [ecx*4]
mov ecx, dword [esp + 0x40]
push eax
call fcn.1001e890
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x1006c814
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [edx], ecx
jg 0x1006bf8b
push 0
push 0
push 0
mov edx, 9
mov ecx, ebx
call fcn.10043cf0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1006bfc0
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
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
cmp dword [esp + 0x58], 1
mov ecx, dword [edi]
mov dword [esp + 0x40], ecx
jne 0x1006c02e
mov eax, dword [esp + 0x28]
cmp word [eax + 0x32], 1
jne 0x1006c02e
cmp byte [eax + 0x36], 0
je 0x1006c02e
cmp dword [edx], ecx
jg 0x1006bffd
push 0
push dword [esp + 0x50]
mov edx, 0x33
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c02e
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x33
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
xor eax, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
nop dword [eax + eax]
lea ecx, [eax*4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 0x20]
mov esi, dword [ecx + eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov bl, byte [ecx + 0xb1]
mov bh, byte [ecx + 0x54]
movzx eax, bl
mov dl, bh
push eax
push esi
call fcn.10078c20
add esp, 8
mov dword [esp + 0x54], eax
test bl, bl
jne 0x1006c099
test eax, eax
je 0x1006c085
cmp dword [eax + 0xc], 0
jne 0x1006c099
mov ecx, dword [esp + 0x20]
mov dl, bh
push esi
push eax
call fcn.10078d30
add esp, 8
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c0ca
mov ebx, dword [esp + 0x18]
mov edx, 0x47
push 0
push dword [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x24]
call fcn.10043cf0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0xc]
jmp 0x1006c103
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c12a
push dword [esp + 0x14]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x5e
call fcn.10043cf0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1006c156
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov esi, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [edi]
add edx, dword [esp + 0x24]
cmp dword [eax], esi
jg 0x1006c17e
push edx
push 0
push dword [esp + 0x1c]
mov edx, 0x34
mov ecx, ebx
call fcn.10043cf0
add esp, 0xc
mov esi, eax
jmp 0x1006c1b3
mov ebx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
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 [ebx]
mov eax, esi
cmp byte [ecx + 0x57], 0
je 0x1006c1d1
mov edx, dword [esp + 0x54]
push edx
mov edx, 0xfffffffe
call fcn.100448a0
add esp, 4
jmp 0x1006c20b
test esi, esi
jns 0x1006c1d8
mov eax, dword [edi]
dec eax
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1006c200
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, ebx
call fcn.10044990
add esp, 8
jmp 0x1006c20b
test edx, edx
je 0x1006c20b
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
mov dword [eax + ecx], esi
mov eax, dword [edi]
mov esi, dword [esp + 0xc]
test eax, eax
jle 0x1006c22f
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edx
jl 0x1006c040
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c266
push 0
push dword [esp + 0x3c]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c297
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c2ba
push 0
push dword [esp + 0x50]
mov edx, 9
mov ecx, ebx
push 0
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c2eb
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
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 [ebx]
mov edx, dword [edi]
mov dword [esp + 0x18], ebx
cmp byte [eax + 0x57], 0
je 0x1006c301
mov dword [0x10168a20], edx
jmp 0x1006c30e
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1006c329
mov eax, 0x10168a18
jmp 0x1006c33c
mov eax, dword [esp + 0x60]
mov eax, dword [eax + esi*4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [edi]
add edx, esi
cmp dword [eax], ecx
jg 0x1006c365
push edx
push esi
push dword [ebp + 0x14]
mov edx, 0x5e
mov ecx, ebx
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c395
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x58]
jl 0x1006c318
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1006c3be
push edx
mov edx, ebx
call fcn.10044540
add esp, 4
jmp 0x1006c3c6
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
call fcn.1001e3f0
mov ecx, dword [esp + 0x20]
mov edx, 1
push 0
push 0x10155f20
push 2
push dword [esp + 0x20]
push dword [ebp + 0x10]
call fcn.10044190
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov eax, dword [esp + 0x10]
mov esi, dword [edi]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax]
je 0x1006c610
cmp eax, esi
jg 0x1006c430
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x32
mov ecx, ebx
call fcn.10043cf0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov esi, eax
jmp 0x1006c469
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x60], ecx
cmp dword [eax], ecx
jg 0x1006c494
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x10
mov ecx, ebx
call fcn.10043cf0
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x1006c4c5
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x10
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 eax, dword [esp + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x58], edx
cmp dword [eax], edx
jg 0x1006c4f3
push dword [esp + 0x24]
mov edx, 0x18
mov ecx, ebx
push 0
push dword [ebp + 0x14]
call fcn.10043cf0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x58], edx
jmp 0x1006c52b
mov ebx, dword [ebp + 0x14]
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x18
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne 0x1006c549
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [eax]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1006c55e
mov esi, dword [esp + 0xc]
mov eax, 0x10168a18
jmp 0x1006c56a
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c592
mov edx, dword [esp + 0x40]
mov ecx, ebx
push 0
push edx
push dword [ebp + 0x14]
mov edx, 0x27
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c5c2
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1006c5d3
mov eax, 0x10168a18
jmp 0x1006c5df
mov eax, dword [esp + 0x60]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1006c5fa
mov esi, dword [esp + 0xc]
mov eax, 0x10168a18
mov dword [eax + 8], edx
jmp 0x1006c667
mov eax, dword [esp + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1006c667
cmp eax, esi
jg 0x1006c633
mov edx, dword [esp + 0x40]
mov ecx, ebx
push 0
push edx
push dword [ebp + 0x14]
mov edx, 0x27
call fcn.10043cf0
mov esi, dword [esp + 0x18]
add esp, 0xc
jmp 0x1006c667
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
lea eax, [esi + 1]
mov esi, dword [esp + 0xc]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x27
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 + 0x20]
xor edx, edx
push 0
push 0x10151908
push 1
push dword [esp + 0x70]
push dword [ebp + 0x10]
call fcn.10044190
mov eax, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [edi]
cmp dword [eax], edx
jg 0x1006c6ac
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, ebx
push 3
push dword [esp + 0x58]
call fcn.10043cf0
add esp, 0xc
mov edx, eax
jmp 0x1006c6e1
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x1006c6fa
push 0x1015a86c
xor edx, edx
call fcn.100448a0
add esp, 4
jmp 0x1006c71a
test edx, edx
jns 0x1006c701
mov edx, dword [edi]
dec edx
mov eax, dword [esi]
lea ecx, [edx + edx*4]
push 0
push 0x1015a86c
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.10044990
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c741
push 0
push dword [esp + 0x4c]
mov edx, 0x7f
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.10043cf0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x1006c775
mov ebx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov edx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006c799
push dword [esp + 0x48]
mov ecx, ebx
push dword [esp + 0x18]
push edx
mov edx, 0x80
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c7ca
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
test eax, eax
jle 0x1006c7df
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1006c7f0
mov eax, 0x10168a18
jmp 0x1006c7fc
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
jmp 0x1006c823
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x28], edi
test edi, edi
jne 0x1006bbc3
test ecx, ecx
jne 0x1006cab5
cmp byte [esp + 0x2c], cl
je 0x1006cab5
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
cmp dword [ebx + 0x70], ecx
jg 0x1006c870
push 0
push esi
push edx
mov edx, 0x62
mov ecx, ebx
call fcn.10043cf0
mov edi, dword [esp + 0x3c]
add esp, 0xc
add edi, 0x68
jmp 0x1006c89d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea edi, [ebx + 0x68]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x78], edx
cmp dword [ebx + 0x70], edx
jg 0x1006c8c3
push 0
push 0
push esi
mov edx, 0x11
mov ecx, ebx
call fcn.10043cf0
add esp, 0xc
mov dword [esp + 0x78], eax
jmp 0x1006c8f1
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1006c912
push 0
push dword [esp + 0x6c]
mov edx, 0x4b
mov ecx, ebx
push 0
call fcn.10043cf0
add esp, 0xc
jmp 0x1006c944
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
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 esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x1006c969
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, ebx
push 3
push dword [esp + 0x58]
call fcn.10043cf0
add esp, 0xc
mov esi, eax
jmp 0x1006c99b
mov edx, dword [esp + 0x50]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 [ebx]
cmp byte [ecx + 0x57], 0
je 0x1006c9b4
push 0x1015a86c
xor edx, edx
call fcn.100448a0
add esp, 4
jmp 0x1006c9d5
test esi, esi
jns 0x1006c9bc
mov esi, dword [ebx + 0x6c]
dec esi
mov eax, dword [edi]
lea ecx, [esi + esi*4]
push 0
push 0x1015a86c
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.10044990
add esp, 8
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x48]
cmp dword [ebx + 0x70], ecx
jg 0x1006c9fb
push 0
push esi
push dword [ebp + 0xc]
mov edx, 0x7f
mov ecx, ebx
call fcn.10043cf0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x1006ca28
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1006ca47
push esi
push dword [esp + 0x18]
mov ecx, ebx
push edx
mov edx, 0x80
call fcn.10043cf0
add esp, 0xc
jmp 0x1006ca75
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x1006ca8b
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006caa5
mov eax, 0x10168a18
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x78]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret