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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x148]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
add ecx, ecx
push ebx
push esi
mov esi, dword [eax]
mov edx, dword [esi]
mov ebx, dword [esi + 8]
push edi
lea edi, [eax + ecx*8 + 0x2e0]
movzx ecx, byte [edi + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
add ecx, ecx
lea ecx, [edx + ecx*8 + 8]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x48], ecx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], 0
test edx, edx
jle 0x1006b3dc
add eax, 0x48
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x1006b525
inc dword [esp + 0x44]
add eax, 4
cmp dword [esp + 0x44], edx
jl 0x1006b3c3
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0xc]
call fcn.100ad420
mov edx, dword [esp + 0x28]
and eax, 1
test byte [edx + 0x24], 0x40
mov dword [esp + 0x24], eax
je 0x1006b423
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x6c], 1
je 0x1006b42b
mov dword [esp + 0x6c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x74]
lea edx, [ecx + 1]
mov dword [eax + 0x74], edx
lea edx, [ecx - 1]
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ecx
test ecx, edx
jne 0x1006b470
mov eax, ecx
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx]
call fcn.100045e0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov dword [edx + 0x78], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1006b47e
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x74]
lea edx, [eax + 1]
mov dword [ecx + 0x74], edx
lea edx, [eax - 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], eax
test eax, edx
jne 0x1006b4d0
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx]
call fcn.100045e0
mov edx, dword [esp + 0x60]
mov dword [edx + 0x78], eax
mov eax, dword [esp + 0x70]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x1006b4de
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
cmp byte [edi + 0x2c], 0
mov dword [esp + 0x58], ecx
mov dword [edi + 0x18], ecx
jbe 0x1006b560
mov eax, dword [esp + 0x48]
test byte [eax + 0x24], 8
je 0x1006b560
mov ecx, dword [esi + 0x4c]
inc ecx
mov dword [esi + 0x4c], ecx
mov dword [edi], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1006b53a
push 0
push ecx
push 0
push 0x16
mov esi, ebx
call fcn.10024290
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x1006b560
mov ecx, dword [esp + 0x44]
mov eax, 1
xor edx, edx
call fcn.100b0690
jmp 0x1006b3e0
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x16
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x7c], eax
test al, 0x10
je 0x1006b5eb
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push ecx
push 0
push esi
push 0x10
push ebx
call fcn.100242d0
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 0x14
cmp dword [edx + 0x58], ecx
jg 0x1006b5b3
mov eax, dword [esp + 0x44]
push 0
push eax
push esi
push 0x12
mov esi, ebx
call fcn.10024290
add esp, 0x10
mov dword [edi + 0x34], eax
mov byte [edi + 0x2d], 0xd
jmp 0x1006c9e2
lea edx, [ecx + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x12
mov eax, ecx
mov dword [edi + 0x34], eax
mov byte [edi + 0x2d], 0xd
jmp 0x1006c9e2
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
test eax, 0x400
je 0x1006ba64
movzx eax, word [edx + 0x28]
inc dword [esi + 0x6c]
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x44], eax
add eax, 2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [esi + 0x3c]
jg 0x1006b62a
add ecx, eax
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov dword [esi + 0x3c], ecx
jmp 0x1006b638
mov ecx, dword [esi + 0x4c]
inc ecx
add eax, dword [esi + 0x4c]
mov dword [esp + 0x30], ecx
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x44], eax
jle 0x1006b6bf
jmp 0x1006b650
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x1006b6b0
test byte [ecx + 0x12], 1
je 0x1006b690
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea edx, [edx + eax + 2]
push edx
mov edx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov esi, edi
call fcn.1006ab30
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x54], ecx
jmp 0x1006b6ac
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea edx, [eax + edx + 2]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x10]
push edx
push ecx
push esi
call fcn.1003cbd0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x44]
jl 0x1006b650
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
mov ecx, dword [edx + 0x18]
cmp dword [esi + 0x58], eax
jg 0x1006b6e7
mov edx, dword [esp + 0x30]
push 0
push edx
push ecx
push 0x16
mov esi, ebx
call fcn.10024290
mov edx, dword [esp + 0x38]
add esp, 0x10
jmp 0x1006b711
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x16
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
inc ecx
cmp dword [esi + 0x58], eax
jg 0x1006b73b
mov edx, dword [esp + 0x44]
push 0
push ecx
push edx
push 0x16
mov esi, ebx
call fcn.10024290
mov edx, dword [esp + 0x38]
add esp, 0x10
jmp 0x1006b765
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x44]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x16
movzx ecx, byte [edx + 0x1c]
mov edx, dword [edx + 0x20]
mov eax, dword [ebx + 0x18]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff7
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x20]
add ecx, 0xfffffffe
mov dword [esp + 0x74], ecx
cmp dword [eax + 0x58], edx
jg 0x1006b7ad
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push 0xb
mov esi, ebx
call fcn.10024290
mov ecx, dword [esp + 0x84]
add esp, 0x10
jmp 0x1006b7e3
mov esi, dword [ebx + 4]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea eax, [edx + edx*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x30]
mov byte [eax + 3], 0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov word [eax], 0xb
mov eax, edx
push ecx
mov ecx, dword [esp + 0x74]
push ecx
push eax
push ebx
call fcn.10024fa0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x54]
mov byte [ecx + 0x1c], 0
mov dword [edi + 0x30], edx
mov dl, byte [eax + 0x28]
add esp, 0x10
neg dl
sbb dl, dl
and dl, 6
add dl, 0x9a
mov byte [edi + 0x2d], dl
mov eax, dword [ebx + 0x20]
dec esi
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x20], esi
js 0x1006ba3c
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [esp + 0x68], eax
jmp 0x1006b844
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x24], eax
cmp esi, 0x10
jge 0x1006b870
mov dx, word [ecx + 0x1e]
mov cx, si
shr dx, cl
test dl, 1
je 0x1006b870
mov edi, dword [esp + 0x18]
call fcn.1006aa60
jmp 0x1006ba2d
test byte [eax + 0x12], 1
je 0x1006ba31
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x45], 0
jne 0x1006b922
mov eax, dword [esp + 0x68]
mov ecx, dword [edi + 0x3c]
sub eax, 0xc
mov dword [esp + 0x68], eax
mov eax, dword [ecx + eax + 4]
test eax, eax
jns 0x1006b8a2
mov eax, dword [ebx + 0x20]
dec eax
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x1006b8b1
mov eax, 0x100d87f0
jmp 0x1006b8ba
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x60], edx
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x20]
cmp dword [edx + 0x58], eax
jg 0x1006b8f1
mov eax, dword [esp + 0x60]
push esi
push ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1006b922
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dl, byte [esp + 0x64]
mov byte [eax], dl
mov edx, dword [esp + 0x60]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 0
push 0x30
call fcn.10004420
mov esi, eax
add esp, 8
test esi, esi
je 0x1006b958
push 0x30
push 0
push esi
call fcn.100a6a70
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x4f
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test esi, esi
jne 0x1006b97b
push esi
mov esi, eax
push esi
call fcn.10038a50
push 0
push esi
call fcn.10038a50
add esp, 0x10
jmp 0x1006ba2d
call fcn.100382f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
cmp dword [esi + 0x18], eax
jle 0x1006b99d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.10006e10
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x2c]
push 0
push 0x31
mov dword [esi + 0xc], edx
call fcn.10004420
mov edi, eax
add esp, 8
test edi, edi
je 0x1006b9e6
push 0x30
push 0
push edi
call fcn.100a6a70
add esp, 0xc
or eax, 0xffffffff
mov word [edi + 0x22], ax
lea eax, [edi + 0x30]
mov byte [edi], 0x9d
mov dword [edi + 8], eax
mov byte [eax], 0
mov dword [edi + 0x18], 1
mov dword [esi + 0x10], edi
test edi, edi
je 0x1006ba14
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx + 2]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x1c], eax
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
push 0
push edx
push esi
push eax
call fcn.1003d460
add esp, 0x10
mov ecx, dword [esp + 0x2c]
push esi
push ecx
mov dword [esi + 0xc], 0
call fcn.10038a50
mov edi, dword [esp + 0x20]
add esp, 8
mov esi, dword [esp + 0x20]
dec esi
mov dword [esp + 0x20], esi
jns 0x1006b840
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, esi
call fcn.1003b510
cmp esi, dword [eax + 0x3c]
jle 0x1006ba5a
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], edi
call fcn.1003b610
jmp 0x1006c9e2
mov ecx, eax
and ecx, 0x100
je 0x1006bb0c
test al, 5
je 0x1006bb0c
mov eax, dword [edx + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
inc dword [eax + 0x4c]
mov edx, dword [eax + 0x4c]
push edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
push edx
push 0
push ecx
push eax
mov esi, edi
call fcn.1006ab30
mov esi, dword [esp + 0x54]
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x1006bab4
mov edx, dword [esp + 0x10]
call fcn.1003dfb0
mov esi, dword [esp + 0x14]
mov eax, edi
mov edi, dword [eax + 0x10]
mov edx, 0x26
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x1c]
push ebx
push edi
push ecx
push 0x46
push esi
call fcn.100242d0
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, 1
mov edi, ebx
call fcn.1003b510
mov edx, dword [esp + 0x1c]
push ebx
push 0xffffffffffffffff
push edx
mov edx, eax
call fcn.1003b400
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [eax + 0x2d], 0xa0
mov ebx, esi
jmp 0x1006c9e2
test ecx, ecx
je 0x1006bcea
test al, 2
je 0x1006bcea
xor ecx, ecx
xor esi, esi
xor edi, edi
mov dword [esp + 0x38], 0xa0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], esi
test al, 0x20
je 0x1006bb46
mov esi, dword [edx + 0x30]
mov esi, dword [esi]
mov dword [esp + 0x3c], esi
lea edi, [ecx + 1]
test al, 0x10
je 0x1006bb54
mov edx, dword [edx + 0x30]
mov eax, dword [edx + edi*4]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x24], ecx
je 0x1006bb68
mov eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
cmp esi, ecx
je 0x1006bbd6
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx]
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], 0x413f4042
call fcn.1003ca30
movzx edx, byte [edi]
mov ecx, dword [esp + 0x20]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x44]
push esi
push eax
movzx eax, byte [esp + edx]
push ecx
push eax
push ebx
call fcn.100242d0
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, 1
mov edi, esi
call fcn.1003b510
mov esi, dword [esp + 0x74]
mov edx, eax
call fcn.1003dfb0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
call fcn.1006aa60
jmp 0x1006bbfd
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 0x6c
call fcn.10024400
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x40], 0
mov esi, dword [esp + 0x10]
je 0x1006bc6b
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov edx, dword [ecx + 0x10]
push eax
push edx
push esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], eax
call fcn.1003cbd0
mov eax, dword [esp + 0x80]
mov al, byte [eax]
add esp, 0xc
cmp al, 0x52
je 0x1006bc51
cmp al, 0x50
je 0x1006bc51
xor ecx, ecx
cmp dword [esp + 0x24], ecx
setne cl
lea ecx, [ecx + ecx + 0x50]
mov dword [esp + 0x38], ecx
jmp 0x1006bc62
xor edx, edx
cmp dword [esp + 0x24], edx
sete dl
lea edx, [edx + edx + 0x51]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x40]
call fcn.1006aa60
cmp dword [esp + 0x24], 0
mov eax, dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
sete cl
add cl, 6
cmp dword [esp + 0x38], 0xa0
mov byte [edi + 0x2d], cl
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
je 0x1006c9e2
inc dword [esi + 0x4c]
mov edi, dword [esi + 0x4c]
mov esi, dword [esp + 0x14]
mov ebx, edx
mov edx, 0x67
mov eax, esi
call fcn.10024400
mov edx, dword [esp + 0x10]
push edi
mov eax, ebx
push 0xffffffffffffffff
push eax
call fcn.1003b400
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
add esp, 0xc
push edi
push ecx
push edx
push eax
push esi
call fcn.100242d0
add esp, 0x14
push 0x53
mov ecx, esi
call fcn.10024c70
add esp, 4
mov ebx, esi
jmp 0x1006c9e2
test eax, 0x200
je 0x1006c2cb
movzx ecx, word [edx + 0x18]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0xe], al
mov byte [esp + 0xd], al
mov byte [esp + 0xf], al
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 1
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x44], ecx
je 0x1006bd4c
cmp byte [eax + 0x26], 0
jle 0x1006bd4c
mov ax, word [esp + 0x20]
cmp word [ecx + 0x32], ax
jbe 0x1006bd4c
mov byte [esp + 0xd], 1
mov dword [esp + 0x48], 1
test byte [edx + 0x24], 0x20
movzx eax, word [esp + 0x20]
mov dword [esp + 0x30], eax
je 0x1006bd72
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x48], 1
test byte [edx + 0x24], 0x10
je 0x1006be13
mov edx, dword [edx + 0x30]
mov eax, dword [edx + eax*4]
mov edx, 0x100
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 1
test word [eax + 0x14], dx
je 0x1006bde9
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x4c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
inc edi
mov dword [eax + 0x4c], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0x24], edi
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp byte [eax + edx], 1
mov edx, 0x16
sete bl
mov eax, esi
xor ebx, dword [esp + 0x24]
call fcn.10024400
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x28], ecx
mov ecx, dword [esp + 0x44]
mov ebx, esi
mov esi, dword [esp + 0x10]
mov edi, edx
cmp dword [esp + 0x34], 0
jne 0x1006be13
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x30]
movsx eax, word [eax + edx*2]
test eax, eax
js 0x1006be13
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 4]
add eax, eax
cmp byte [edx + eax*8 + 0xc], 0
jne 0x1006be13
mov byte [esp + 0xd], 1
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x20], ax
jae 0x1006be37
mov eax, dword [ecx + 0x1c]
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x24], ecx
je 0x1006be49
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x24], 0
je 0x1006be66
movzx eax, word [ecx + 0x32]
cmp ax, word [esp + 0x20]
jne 0x1006be66
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xd]
mov dword [esp + 0x38], ecx
mov byte [esp + 0xd], 0
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
push edi
push esi
call fcn.1006acf0
add esp, 0x14
cmp dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
je 0x1006be99
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov cl, byte [eax + edx]
mov byte [esp + 0xe], cl
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], edx
mov dl, 0x28
test eax, eax
je 0x1006beb7
mov dword [esp + 0x60], 0
test byte [eax + 0x12], dl
je 0x1006bebf
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1006bed4
mov dword [esp + 0x68], 0
test byte [ecx + 0x12], dl
je 0x1006bedc
mov dword [esp + 0x68], 1
test eax, eax
jne 0x1006beeb
mov dword [esp + 0x64], eax
cmp word [esp + 0x20], ax
jbe 0x1006bef3
mov dword [esp + 0x64], 1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x1006bf9a
mov edx, dword [esp + 0x34]
add ecx, dword [esp + 0x3c]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
push ecx
push eax
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], ecx
call fcn.1003cbd0
mov ecx, dword [esp + 0x40]
mov eax, 0x100
add esp, 0xc
test word [ecx + 0x14], ax
je 0x1006bf3d
push edi
mov ecx, ebx
call fcn.1006b1c0
add esp, 4
mov eax, dword [esp + 0x5c]
call fcn.10039cb0
test eax, eax
je 0x1006bf60
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov edx, 0x4c
call fcn.10024400
mov edi, dword [esp + 0x48]
test edi, edi
je 0x1006bf93
mov esi, dword [esp + 0x30]
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x5c]
call fcn.10037f80
cmp al, 0x41
jne 0x1006bf7f
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x5c]
call fcn.10039d60
test eax, eax
je 0x1006bf93
mov byte [esi + edi], 0x41
mov edi, dword [esp + 0x20]
inc edi
jmp 0x1006bfcd
cmp byte [esp + 0xd], 0
mov edi, ecx
je 0x1006bfd1
mov eax, dword [esp + 0x3c]
xor ebx, ebx
lea edi, [edi + eax]
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x19]
call fcn.10024400
mov eax, 1
add dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x10]
movzx edx, byte [esp + 0xd]
mov eax, dword [esp + 0x3c]
mov ecx, edi
push eax
mov eax, dword [esp + 0x4c]
sub ecx, edx
mov ebx, esi
call fcn.1006aad0
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + 0x2a]
add esp, 4
test ax, ax
je 0x1006bffe
cmp edi, eax
je 0x1006c034
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
push edi
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + eax*2 + 0x100b9de4]
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x60]
mov ecx, esi
call fcn.100247f0
add esp, 0xc
jmp 0x1006c038
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
je 0x1006c0f6
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov ebx, dword [edx + 0x10]
mov edi, eax
add edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x50], edi
call fcn.1003b510
push edi
push ebx
push eax
call fcn.1003cbd0
mov eax, dword [esp + 0x44]
mov edx, 0x100
add esp, 0xc
test word [eax + 0x14], dx
je 0x1006c099
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.1006b1c0
add esp, 4
mov eax, ebx
call fcn.10039cb0
test eax, eax
je 0x1006c0b8
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov edx, 0x4c
mov eax, esi
call fcn.10024400
mov edi, dword [esp + 0x74]
mov bl, byte [esp + 0xe]
mov eax, edi
call fcn.10037f80
cmp al, 0x41
je 0x1006c116
mov dl, byte [esp + 0xe]
mov ecx, edi
call fcn.10039d60
test eax, eax
jne 0x1006c116
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x12]
mov ecx, 1
call fcn.1006aad0
add esp, 4
jmp 0x1006c116
cmp byte [esp + 0xf], 0
je 0x1006c11a
mov ecx, dword [esp + 0x3c]
mov edi, eax
xor ebx, ebx
lea edi, [edi + ecx]
lea edx, [ebx + 0x19]
mov eax, esi
call fcn.10024400
mov dword [esp + 0x68], ebx
inc dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
call fcn.10004130
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1006c162
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x28]
push ecx
movzx ecx, byte [edx + eax*2 + 0x100b9dec]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.100247f0
add esp, 0xc
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
call fcn.1006aa60
mov eax, dword [esp + 0x38]
call fcn.1006aa60
cmp dword [esp + 0x6c], 0
jne 0x1006c27f
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0xc]
test byte [eax + 0x2a], 0x20
jne 0x1006c1f2
mov eax, dword [ebp + 8]
cmp byte [eax + 0x28], 0
je 0x1006c1db
mov eax, dword [esp + 0x10]
inc dword [eax + 0x4c]
mov edi, dword [eax + 0x4c]
mov ebx, dword [esp + 0x40]
mov edx, 0x71
mov eax, esi
call fcn.10024400
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push edi
push 0xffffffffffffffff
push ebx
call fcn.1003b400
add esp, 0xc
push edi
push 0
push ebx
push 0x46
push esi
call fcn.100242d0
add esp, 0x14
jmp 0x1006c27b
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x44]
push eax
call fcn.1006b200
add esp, 8
jmp 0x1006c27f
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x40]
je 0x1006c27f
call fcn.10042e10
mov ecx, dword [esp + 0x10]
mov ebx, eax
movzx esi, word [ebx + 0x32]
call fcn.1003dfe0
mov dword [esp + 0x6c], eax
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 0x32]
jae 0x1006c25b
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebx + 4]
mov si, word [eax + edi*2]
lea edx, [edi + ecx]
push edx
mov edx, dword [esp + 0x48]
call fcn.10042e30
mov edx, dword [esp + 0x44]
movsx ecx, ax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0x2f
push eax
call fcn.100242d0
movzx ecx, word [ebx + 0x32]
inc edi
add esp, 0x14
cmp edi, ecx
jl 0x1006c222
movzx edx, word [ebx + 0x32]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x74]
push 0x44
call fcn.100247f0
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
test dword [eax + 0x24], 0x1000
je 0x1006c292
mov byte [edi + 0x2d], 0xa0
jmp 0x1006c2a0
cmp dword [esp + 0x24], 0
sete cl
add cl, 6
mov byte [edi + 0x2d], cl
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov dword [edi + 0x30], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x2e], cl
test byte [eax + 0x24], 0xf
jne 0x1006c9e2
mov edx, dword [esp + 0x18]
mov byte [edx + 0x2f], 1
jmp 0x1006c9e2
test eax, 0x2000
je 0x1006c999
mov eax, dword [esi + 0x48]
inc dword [esi + 0x4c]
mov dword [esp + 0x70], eax
inc eax
xor ecx, ecx
mov dword [esi + 0x48], eax
mov esi, dword [esi + 0x4c]
mov eax, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], ecx
call fcn.10024930
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], eax
mov byte [edi + 0x2d], 0xf
mov dword [edi + 0x30], esi
mov al, byte [edx + 0x2b]
mov dword [esp + 0x5c], ecx
cmp al, 1
jbe 0x1006c3d7
movzx ebx, al
sub ebx, dword [ebp + 0xc]
push 0
dec ebx
lea eax, [ebx + ebx*4]
shl eax, 4
add eax, 0x58
push eax
mov eax, dword [esp + 0x34]
call fcn.100043f0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1006c376
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x48]
mov edx, dword [ebp + 8]
lea ecx, [ebx + 1]
movzx ecx, cl
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [edx + 4]
add edx, 8
cmp ebx, 1
jl 0x1006c3e0
add eax, 0x58
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
add eax, 0x7c
mov dword [esp + 0x6c], ebx
mov ebx, eax
movzx eax, byte [ebx]
mov edi, dword [esp + 0x68]
add dword [esp + 0x68], 0x50
lea esi, [eax + eax*4]
shl esi, 4
add esi, edx
mov ecx, 0x14
add ebx, 0x50
dec dword [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
jne 0x1006c3b1
jmp 0x1006c3e0
mov ecx, edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 8
jne 0x1006c458
mov eax, dword [esp + 0x3c]
test byte [eax + 0x2a], 0x20
jne 0x1006c417
mov eax, dword [esp + 0x10]
inc dword [eax + 0x4c]
mov eax, dword [eax + 0x4c]
xor ebx, ebx
mov dword [esp + 0x44], eax
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x19]
call fcn.10024400
mov esi, dword [esp + 0x10]
jmp 0x1006c44e
call fcn.10042e10
mov esi, eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x48]
lea ecx, [ebx + 1]
mov dword [eax + 0x48], ecx
movzx edi, word [esi + 0x32]
mov eax, dword [esp + 0x14]
mov edx, 0x39
mov dword [esp + 0x44], ebx
call fcn.10024400
mov ecx, esi
mov esi, dword [esp + 0x10]
mov eax, esi
call fcn.10025030
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
xor ebx, ebx
lea edx, [ebx + 0x16]
mov eax, esi
call fcn.10024400
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 1
jle 0x1006c51b
xor edi, edi
mov dword [esp + 0x6c], edi
cmp eax, edi
jle 0x1006c521
mov edi, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edi]
add eax, edi
cmp eax, dword [esp + 0x24]
je 0x1006c4e2
test byte [ecx + 4], 1
jne 0x1006c4e2
mov edx, dword [ebx + 0x14]
test byte [edi + edx + 0x14], 6
lea eax, [edi + edx]
jne 0x1006c4e2
mov edx, 0x1fff
test word [eax + 0x12], dx
je 0x1006c4e2
mov esi, dword [esp + 0x2c]
push 0
push 0
push ecx
push esi
call fcn.10038b90
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, esi
call fcn.10038690
mov esi, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
inc eax
add edi, 0x30
mov dword [esp + 0x6c], eax
cmp eax, dword [ebx + 0xc]
jl 0x1006c490
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x1006c515
push 0
push eax
push 0
mov eax, 0x148
call fcn.10038550
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
jmp 0x1006c527
mov ecx, dword [esp + 0x30]
jmp 0x1006c523
mov ecx, edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x64], 0xf0
mov dword [esp + 0x38], 0
jle 0x1006c865
mov dword [esp + 0x60], 0
lea ecx, [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x60]
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x1c]
je 0x1006c56f
mov edx, 0x400
test word [eax + 0x12], dx
je 0x1006c84a
mov eax, dword [eax]
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x1006c588
test byte [eax + 4], 1
jne 0x1006c588
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
push ecx
push edx
push 0
push 0
push eax
push ebx
push edi
call fcn.10073a40
add esp, 0x1c
mov dword [esp + 0x78], eax
test eax, eax
je 0x1006c846
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
lea edx, [eax + 0x2e0]
push ebx
mov ecx, edi
call fcn.1006a7c0
mov edx, dword [ebp + 8]
add esp, 0x10
test byte [edx + 0x24], 8
jne 0x1006c741
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x38]
dec ecx
cmp ebx, ecx
jne 0x1006c5f1
or ebx, 0xffffffff
mov eax, dword [esp + 0x3c]
test byte [eax + 0x2a], 0x20
mov dword [esp + 0x48], ebx
jne 0x1006c636
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.1003b8b0
mov edx, dword [esp + 0x58]
add esp, 0x14
push ebx
push edx
push 0x83
xor edx, edx
mov ecx, esi
call fcn.100247f0
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x1006c741
call fcn.10042e10
movzx esi, word [eax + 0x32]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x54], edx
cmp esi, eax
jg 0x1006c661
add edx, esi
sub eax, esi
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x3c], eax
jmp 0x1006c670
mov eax, dword [ecx + 0x4c]
lea edx, [eax + 1]
add eax, esi
mov dword [esp + 0x54], edx
mov dword [ecx + 0x4c], eax
xor edi, edi
test esi, esi
jle 0x1006c6ad
jmp 0x1006c680
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
movsx ecx, word [edx + edi*2]
mov edx, dword [esp + 0x10]
lea ebx, [edi + eax]
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x20]
push edx
call fcn.1003b960
inc edi
add esp, 8
cmp edi, esi
jl 0x1006c680
cmp dword [esp + 0x48], 0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
je 0x1006c6dd
mov eax, dword [esp + 0x44]
push esi
push eax
push 0x45
mov eax, ebx
xor edx, edx
mov ecx, edi
call fcn.100247f0
add esp, 0xc
cmp dword [esp + 0x48], 0
mov dword [esp + 0x68], eax
jl 0x1006c723
mov ecx, dword [esp + 0x50]
push ecx
push esi
push ebx
push 0x31
push edi
call fcn.100242d0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
add esp, 0x14
push 0
push edx
push eax
push 0x6e
push edi
call fcn.100242d0
add esp, 0x14
cmp dword [esp + 0x48], 0
je 0x1006c723
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x1006c723
mov eax, dword [edi + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + edx*4 - 0x11], 0x10
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edi, ebx
call fcn.1003b510
mov ecx, eax
cmp esi, dword [ecx + 0x3c]
jle 0x1006c73d
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], ebx
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1006c76a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
push 0
push eax
push ecx
push 0xe
call fcn.10024290
add esp, 0x10
mov eax, esi
jmp 0x1006c79c
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x1006c7d3
mov edx, dword [eax + 0x20]
mov esi, dword [eax + 0x18]
dec edx
mov dword [esi + 0x60], edx
mov edx, dword [eax + 0x20]
test ecx, ecx
jns 0x1006c7b8
lea ecx, [edx - 1]
mov esi, dword [eax]
cmp byte [esi + 0x45], 0
je 0x1006c7c7
mov eax, 0x100d87f0
jmp 0x1006c7d0
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x78]
cmp byte [ecx + 0x29], 0
je 0x1006c7e5
mov dword [esp + 0x74], 1
mov eax, dword [ecx + 0x320]
test dword [eax + 0x24], 0x200
je 0x1006c82d
cmp dword [esp + 0x38], 0
je 0x1006c804
mov edx, dword [esp + 0x34]
cmp dword [eax + 0x1c], edx
jne 0x1006c82d
mov edx, dword [esp + 0x3c]
test byte [edx + 0x2a], 0x20
je 0x1006c81c
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + 0x38]
and dl, 3
cmp dl, 2
je 0x1006c82d
mov eax, dword [eax + 0x1c]
or dword [esp + 0x64], 0x1000
mov dword [esp + 0x34], eax
jmp 0x1006c835
mov dword [esp + 0x34], 0
push ecx
call fcn.10074490
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x60], 0x30
inc edx
mov dword [esp + 0x38], edx
cmp edx, dword [eax + 0xc]
jl 0x1006c550
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
xor edi, edi
mov dword [edx + 0x38], eax
cmp eax, edi
je 0x1006c87d
mov eax, dword [esp + 0x70]
mov dword [edx + 8], eax
mov ebx, dword [esp + 0x2c]
cmp ecx, edi
je 0x1006c892
push ecx
push ebx
mov dword [ecx + 0xc], edi
call fcn.10038a50
add esp, 8
mov eax, dword [esp + 0x7c]
mov ecx, dword [esi + 0x20]
cmp eax, edi
jge 0x1006c8a0
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x1006c8af
mov eax, 0x100d87f0
jmp 0x1006c8b8
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1006c8e4
mov esi, dword [esp + 0x14]
push 0
push ecx
push 0
push 0xd
call fcn.10024290
add esp, 0x10
mov edx, esi
jmp 0x1006c90c
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x14]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0xd
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1006c928
mov esi, dword [esp + 0x20]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [edx + 0x20]
mov dword [eax], esi
mov eax, dword [edx + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x2b], 1
jbe 0x1006c984
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006c984
test ebx, ebx
je 0x1006c97b
cmp dword [ebx + 0x1c8], edi
je 0x1006c955
mov ecx, ebx
call fcn.100040f0
jmp 0x1006c984
cmp eax, dword [ebx + 0x120]
jb 0x1006c97b
cmp eax, dword [ebx + 0x124]
jae 0x1006c97b
mov edx, dword [ebx + 0x11c]
mov dword [eax], edx
dec dword [ebx + 0x108]
mov dword [ebx + 0x11c], eax
jmp 0x1006c984
push eax
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
cmp dword [esp + 0x74], edi
jne 0x1006c9de
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
call fcn.1006aa60
jmp 0x1006c9de
test byte [esp + 0x7c], 0x20
je 0x1006c9a6
mov byte [edi + 0x2d], 0xa0
jmp 0x1006c9e2
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 0x100b9df0]
mov ebx, dword [esp + 0x1c]
mov ecx, edi
mov edi, dword [esp + 0x44]
mov byte [ecx + 0x2d], dl
mov dword [ecx + 0x30], ebx
movzx edx, byte [eax + 0x100b9df4]
mov eax, dword [esp + 0x14]
call fcn.10024400
lea ecx, [eax + 1]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x34], ecx
mov byte [eax + 0x2f], 1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x1006cb0f
lea esp, [esp]
movzx edx, word [edi + 0x14]
xor esi, esi
test dl, 6
jne 0x1006caf3
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x18]
and eax, dword [ecx + 0x48]
mov ecx, dword [edi + 0x2c]
mov edi, dword [esp + 0x18]
and ecx, dword [edi + 0x4c]
mov edi, dword [esp + 0x24]
or eax, ecx
je 0x1006ca37
mov edx, dword [ebp + 8]
mov byte [edx + 0x29], 1
jmp 0x1006caf3
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
mov dword [esp + 0x7c], ecx
cmp dword [eax], esi
je 0x1006ca4f
test byte [ecx + 4], 1
je 0x1006caf3
test edx, 0x200
je 0x1006caa2
mov edx, dword [eax + 0x24]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1006ca78
push 0
push 0
push edx
push 0x2e
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1006caa0
mov esi, dword [ebx + 4]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x2e
mov eax, ecx
mov esi, eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push 0x10
push ecx
push edx
push eax
call fcn.1003d460
add esp, 0x10
test esi, esi
je 0x1006caee
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
dec ecx
mov dword [edx + 0x60], ecx
mov ecx, dword [ebx + 0x20]
test esi, esi
jns 0x1006cad3
lea esi, [ecx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x1006cae2
mov eax, 0x100d87f0
jmp 0x1006caeb
mov eax, dword [ebx + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
or word [edi + 0x14], 4
mov eax, dword [esp + 0x20]
dec eax
add edi, 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
test eax, eax
jg 0x1006ca00
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x1006ccc3
test byte [esi + 0x14], 6
jne 0x1006ccab
movzx eax, word [esi + 0x12]
test al, 0x82
je 0x1006ccab
test eax, 0x800
je 0x1006ccab
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 8], ecx
jne 0x1006ccab
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
jne 0x1006ccab
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0x83
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xc]
push eax
push ecx
xor ecx, ecx
call fcn.1006f1e0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x1006ccab
test byte [edi + 0x14], 4
jne 0x1006ccab
cmp dword [esp + 0x2c], 0
je 0x1006cbbe
mov eax, dword [esp + 0x2c]
push 0
push 0x30
call fcn.10004420
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x1006cc0f
cmp dword [0x100d33d0], 0
je 0x1006cc67
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x1006cbde
push eax
call dword [0x100d3428]
add esp, 4
lea ebx, [esp + 0x74]
mov eax, 0x30
call fcn.10003ca0
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x1006cbff
push eax
call dword [0x100d3430]
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x44], 0
je 0x1006ccab
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov edi, eax
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
push 0x10
push ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.1003d460
mov eax, dword [esp + 0x54]
add esp, 0x10
cmp dword [esp + 0x2c], 0
je 0x1006cc9e
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x1c8], 0
je 0x1006cc78
call fcn.100040f0
jmp 0x1006cca7
push 0x30
call dword [0x100d33f8]
add esp, 4
mov dword [esp + 0x74], eax
jmp 0x1006cc03
cmp eax, dword [ecx + 0x120]
jb 0x1006cc9e
cmp eax, dword [ecx + 0x124]
jae 0x1006cc9e
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], eax
jmp 0x1006cca7
push eax
call sym.SQLite3Encrypt.dll_sqlite3_free
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec eax
add esi, 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
test eax, eax
jg 0x1006cb25
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x1006cd7f
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1006ccf5
push 0
push ecx
push 1
push 0x16
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1006cd1f
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x16
mov eax, dword [esp + 0x10]
call fcn.1003b9d0
mov ebx, dword [esp + 0x4c]
mov esi, dword [ebx + 0x14]
xor edi, edi
cmp dword [ebx + 0xc], edi
jle 0x1006cd7f
mov edx, dword [esp + 0x18]
lea ebx, [ebx]
test byte [esi + 0x14], 6
jne 0x1006cd76
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x1006cd76
mov eax, dword [esp + 0x58]
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push 0x10
push eax
push ecx
push edx
call fcn.1003d460
mov edx, dword [esp + 0x28]
add esp, 0x10
or word [esi + 0x14], 4
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x1006cd40
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret