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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 8]
push edi
xor edi, edi
cmp dword [ebp + 0x20], edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0xc]
movsx ebx, word [ecx + 0x22]
mov eax, dword [ecx + 0x1c]
setne byte [esp + 0x13]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x24], ebx
test al, al
js 0x1006a7f8
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], 1
jmp 0x1006a81e
mov ecx, dword [ecx + 8]
cmp ecx, edi
je 0x1006a812
nop
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
je 0x1006a812
mov ecx, dword [ecx + 0x14]
cmp ecx, edi
jne 0x1006a800
mov dword [esp + 0x40], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x5c], ecx
test eax, 0x800
je 0x1006ab49
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
jmp 0x1006a840
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x1006ab04
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
mov edi, dword [ebx + edx + 4]
and edi, 0xf
mov dword [esp + 0x78], ebx
mov dword [esp + 0x14], edi
je 0x1006aae0
movsx eax, word [eax + 0x20]
cmp dword [esp + 0x1c], eax
je 0x1006aae0
movzx eax, word [ebx + edx + 0xe]
and eax, 0x60
je 0x1006a899
cmp dword [esp + 0x30], 0
jne 0x1006a899
inc dword [esp + 0x3c]
jmp 0x1006aae0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1006a8b6
mov edi, dword [esp + 0x1c]
cmp dword [ecx + edi*4], 0
jge 0x1006a8b2
test eax, eax
je 0x1006aae0
mov edi, dword [esp + 0x14]
mov cl, byte [ebp + 0x28]
cmp cl, 0xb
je 0x1006a8e3
movzx edi, cl
mov dword [esp + 0x14], edi
cmp edi, 5
jne 0x1006a8f0
cmp dword [esp + 0x30], 0
jne 0x1006a8d9
cmp word [ebx + edx + 0xc], 0
jne 0x1006a8ff
mov dword [esp + 0x14], 2
jmp 0x1006a8ff
cmp edi, 0xb
jne 0x1006a8c5
mov dword [esp + 0x14], 2
cmp dword [esp + 0x30], 0
je 0x1006a8ff
test eax, eax
je 0x1006aae0
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x1c], 0x20
je 0x1006a94e
movzx eax, word [esp + 0x1c]
test ax, ax
js 0x1006a94e
cwde
xor edx, edx
xor edi, edi
test eax, eax
jle 0x1006a92c
lea ecx, [ebx + 0xe]
mov edx, eax
test byte [ecx], 0x20
jne 0x1006a926
inc edi
add ecx, 0x10
dec eax
jne 0x1006a920
mov eax, edx
add eax, eax
test byte [ebx + eax*8 + 0xe], 0x20
je 0x1006a949
mov ecx, dword [ebp + 0xc]
mov ax, word [ecx + 0x24]
sub ax, di
add ax, dx
movzx eax, ax
jmp 0x1006a953
movzx eax, di
jmp 0x1006a953
movzx eax, word [esp + 0x1c]
mov edx, dword [ebp + 0x1c]
movsx ecx, ax
mov eax, dword [esp + 0x14]
dec eax
lea edi, [ecx + edx + 1]
cmp eax, 4
ja case.0x1006a96b.4
jmp dword [eax*4 + 0x1006cb70]
mov ecx, dword [esp + 0x84]
mov esi, edi
mov ebx, 0x33
call fcn.1002f820
mov ecx, dword [esp + 0x44]
inc dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x78]
movzx eax, word [eax + ecx + 0xc]
test ax, ax
jne 0x1006a9a1
xor eax, eax
jmp 0x1006a9c8
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x2b], 0
je 0x1006a9ae
xor eax, eax
jmp 0x1006a9c8
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jne 0x1006a9b9
xor eax, eax
jmp 0x1006a9c8
cmp dword [ecx], eax
jge 0x1006a9c1
xor eax, eax
jmp 0x1006a9c8
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0xc]
mov ebx, dword [ebp + 8]
push edi
call fcn.1004e400
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
mov ecx, dword [eax + 0x6c]
add esp, 4
cmp byte [edx + 0x57], 0
je 0x1006a9fa
mov esi, dword [esp + 0x84]
mov eax, 0x1013ace8
mov dword [eax + 8], ecx
jmp 0x1006aae0
mov eax, dword [eax + 0x68]
lea edx, [esi + esi*4]
mov esi, dword [esp + 0x84]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
jmp 0x1006aae0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x7c]
test eax, eax
jne 0x1006aa1e
mov eax, ecx
mov byte [eax + 0x15], 1
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x30]
push ecx
push str._s._s
push edx
call fcn.1000ced0
push edi
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
push 0x513
push 0x45
push esi
call fcn.1002f870
mov ecx, dword [esi]
add esp, 0x24
cmp byte [ecx + 0x57], 0
je 0x1006aa6d
mov eax, ebx
mov edx, 0xfffffffa
call fcn.100304a0
jmp 0x1006aa81
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov byte [eax + 1], 0xfa
mov dword [eax + 0x10], ebx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006aae0
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov edx, 1
mov word [ecx + eax*4 - 0x12], dx
jmp 0x1006aae0
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006aab7
mov eax, dword [ebp + 0x2c]
push 0
push eax
push edi
push 0x32
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006aae0
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x2c]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x32
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
inc eax
add edx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edx
cmp eax, ebx
jl 0x1006a856
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x3c], 0
jne 0x1006ab0f
test edi, edi
je 0x1006ab49
cmp dword [esp + 0x30], 0
jne 0x1006ab49
mov dword [esp + 0x30], 1
test edi, edi
jle 0x1006a840
mov eax, dword [ebp + 0xc]
test byte [eax + 0x1c], 0x60
je 0x1006a840
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
inc ecx
push ecx
push edx
call fcn.10068d60
add esp, 8
jmp 0x1006a840
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x10]
xor edx, edx
mov dword [esp + 0x24], ebx
cmp ebx, edx
je 0x1006ad81
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x20]
and eax, 0x200
xor ecx, ecx
or eax, ecx
jne 0x1006ad81
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
sub eax, dword [ebp + 0x1c]
mov dword [ecx + 0x34], eax
mov al, byte [ebp + 0x28]
cmp al, 0xb
je 0x1006ab8f
movzx eax, al
mov dword [esp + 0x14], eax
jmp 0x1006ab97
mov dword [esp + 0x14], 2
mov dword [esp + 0x1c], edx
cmp dword [ebx], edx
jle 0x1006ad7b
lea ecx, [ebx + 0xc]
mov dword [esp + 0x30], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x34]
mov edi, dword [eax - 4]
mov dword [esp + 0x78], edi
cmp ecx, edx
je 0x1006ac47
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov word [esp + 0xb0], ax
mov dword [esp + 0xa0], 0x1006a740
mov dword [esp + 0xb4], ecx
cmp edi, edx
je 0x1006ac30
lea ecx, [esp + 0x9c]
push edi
push ecx
call fcn.10043470
mov ax, word [esp + 0xb8]
add esp, 8
cmp byte [ebp + 0x24], 0
jne 0x1006ac3e
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x1006ad63
cmp byte [esp + 0x23], 0
jne 0x1006ac65
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
inc ebx
mov edi, esi
call fcn.10068a80
mov edi, dword [esp + 0x78]
mov byte [esp + 0x23], 1
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x28], ebx
test edi, edi
je 0x1006ac8c
mov eax, dword [esp + 0x2c]
push 0
push 0
push edi
push eax
call fcn.10047ff0
add esp, 0x10
mov edi, eax
jmp 0x1006ac8e
xor edi, edi
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x57], 0
jne 0x1006aca8
mov edx, dword [ebp + 8]
push 0x10
push ebx
push edi
push edx
call fcn.1004e810
add esp, 0x10
test edi, edi
je 0x1006acba
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.10047e40
add esp, 8
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jne 0x1006ad0b
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006acde
mov ecx, dword [ebp + 0x2c]
push 0
push ecx
push 0
push 9
mov eax, esi
call fcn.1002f760
jmp 0x1006ad38
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor edx, edx
xor ecx, ecx
mov word [eax + 2], dx
mov edx, dword [ebp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 9
jmp 0x1006ad3b
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp ecx, 5
jne 0x1006ad1e
mov dword [esp + 0x14], 2
mov ebx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push 3
push 0
push eax
push 0x113
call fcn.1005f540
mov ebx, dword [esp + 0x38]
add esp, 0x10
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
not ebx
mov eax, ebx
jns 0x1006ad56
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006ad5f
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [edx + eax*4], ecx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x30], 0x14
inc eax
xor edx, edx
mov dword [esp + 0x1c], eax
cmp eax, dword [ebx]
jl 0x1006abb0
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
cmp ecx, edx
je 0x1006af2a
cmp dword [ecx], edx
jne 0x1006add2
mov ebx, dword [ebp + 8]
xor edi, edi
cmp byte [ecx + 0x14], 0
jne 0x1006adc9
mov byte [ebp + 0x28], 4
mov dword [ebp + 0x38], edx
jmp 0x1006af2f
mov byte [ebp + 0x28], 6
jmp 0x1006af2f
cmp eax, edx
je 0x1006af2a
xor edi, edi
lea esp, [esp]
mov eax, dword [eax + 0x14]
inc edi
cmp eax, edx
jne 0x1006ade0
mov dword [esp + 0x78], edi
mov dword [esp + 0x90], edi
lea edi, [edi + edi*4]
add edi, edi
xor eax, eax
mov dword [esp + 0x88], 1
cmp dword [esp + 0x2c], edx
je 0x1006ae1b
mov ecx, dword [esp + 0x2c]
push eax
push edi
call fcn.1000ab60
add esp, 8
jmp 0x1006ae80
mov ecx, edi
or ecx, eax
je 0x1006af66
cmp eax, edx
ja 0x1006af66
jb 0x1006ae3b
cmp edi, 0x7ffffeff
ja 0x1006af66
cmp dword [0x1012c3e8], edx
je 0x1006af57
mov eax, dword [0x1013afb8]
cmp eax, edx
je 0x1006ae5a
push eax
call dword [0x1012c438]
add esp, 4
lea edx, [esp + 0x24]
push edx
mov eax, edi
call fcn.1000a480
mov eax, dword [0x1013afb8]
add esp, 4
test eax, eax
je 0x1006ae7c
push eax
call dword [0x1012c440]
add esp, 4
mov eax, dword [esp + 0x24]
mov ebx, eax
test ebx, ebx
je 0x1006ae92
push edi
push 0
push ebx
call fcn.100ff5c0
add esp, 0xc
mov dword [esp + 0x94], ebx
test ebx, ebx
je 0x1006cb66
mov eax, dword [esp + 0x78]
lea ecx, [ebx + eax*8]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x24], ecx
mov dword [eax + 0x18], ebx
xor edx, edx
mov dword [esp + 0x38], eax
cmp dword [eax], 0
je 0x1006af01
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1006aef6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
je 0x1006aedc
cmp eax, edi
je 0x1006aedc
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x1006aed0
mov edi, dword [esp + 0x24]
cmp byte [ecx + edi], 0
jne 0x1006aef2
mov byte [ecx + edi], 1
mov dword [ebx + edx*8], eax
mov dword [ebx + edx*8 + 4], ecx
inc edx
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1006aeb8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
je 0x1006af2a
lea ebx, [ebx + edx*8]
mov edx, dword [esp + 0x24]
cmp byte [ecx + edx], 0
jne 0x1006af22
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x1006af14
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
mov eax, ecx
mov dword [esp + 0x7c], edx
and eax, 0x6000
xor edx, edx
or eax, edx
jne 0x1006af6d
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
jmp 0x1006b0ba
push edi
call dword [0x1012c408]
add esp, 4
jmp 0x1006ae80
xor eax, eax
jmp 0x1006ae80
and ecx, 0x2000
xor eax, eax
or ecx, eax
je 0x1006b013
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x38], edi
jne 0x1006af96
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x1c]
cmp eax, edi
je 0x1006af9e
cmp dword [eax + 0x30], edi
je 0x1006af9e
cmp byte [ebx + 0x9d], dl
je 0x1006afa4
mov dword [esp + 0x44], edi
jmp 0x1006afc4
mov edx, dword [ebp + 0xc]
push edi
push edi
push pe_nt_image_headers32
push edx
push ebx
call fcn.10083670
add esp, 0x14
mov dword [esp + 0x44], eax
cmp eax, edi
jne 0x1006b068
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
xor ecx, ecx
xor edx, edx
or eax, ecx
je 0x1006b006
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x2b], cl
jne 0x1006b006
mov ecx, dword [eax]
mov eax, dword [eax + 0x3c]
push edi
add eax, 0x38
push ecx
call fcn.10010500
add esp, 8
cmp dword [eax + 8], edi
jne 0x1006b001
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], edi
jne 0x1006b001
xor edx, edx
jmp 0x1006b006
mov edx, 1
cmp edx, edi
jne 0x1006b068
mov dword [esp + 0x3c], edi
jmp 0x1006b0ba
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
xor ecx, ecx
xor edx, edx
or eax, ecx
mov dword [esp + 0x44], edi
je 0x1006b059
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x2b], cl
jne 0x1006b059
mov ecx, dword [eax]
mov eax, dword [eax + 0x3c]
push edi
add eax, 0x38
push ecx
call fcn.10010500
add esp, 8
cmp dword [eax + 8], edi
jne 0x1006b054
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], edi
jne 0x1006b054
xor edx, edx
jmp 0x1006b059
mov edx, 1
xor eax, eax
cmp edx, edi
setne al
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x1006b0ba
inc dword [ebx + 0x2c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], eax
jg 0x1006b08b
push edi
push ecx
push edi
push 0x47
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b0ac
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x47
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
cmp byte [ebp + 0x24], 0
je 0x1006b5c2
cmp dword [esp + 0x40], edi
jne 0x1006b5c2
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx + 0x2a]
mov dword [esp + 0x28], eax
mov al, byte [ebp + 0x28]
mov dword [esp + 0x14], ecx
cmp al, 0xb
je 0x1006b0ef
movzx ecx, al
jmp 0x1006b0f9
cmp ecx, 0xb
jne 0x1006b0fd
mov ecx, 2
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 0x38]
cmp edx, edi
je 0x1006b179
mov eax, edx
cmp dword [eax], edi
je 0x1006b116
cmp dword [eax + 0x1c], edi
je 0x1006b116
mov eax, dword [eax + 0x10]
cmp eax, edi
jne 0x1006b106
mov dword [esp + 0x60], eax
cmp eax, edi
je 0x1006b12e
xor ecx, ecx
cmp byte [eax + 0x14], cl
setne cl
lea ecx, [ecx + ecx + 4]
mov dword [esp + 0x14], ecx
cmp eax, edx
je 0x1006b179
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006b14b
push edi
push edi
push edi
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b16e
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 9
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
cmp ecx, 5
jne 0x1006b1d5
cmp byte [ebp + 0x28], cl
je 0x1006b1d5
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], edi
je 0x1006b1d5
cmp dword [esp + 0x80], edi
jne 0x1006b1d5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006b1ad
push edi
push edi
push edi
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b1d0
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 9
mov eax, ecx
inc eax
mov dword [esp + 0x54], eax
cmp byte [esp + 0x13], 0
je 0x1006b246
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006b1ff
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
push 0x35
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b22f
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x1c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov word [eax], 0x35
mov eax, dword [esi + 0x6c]
cmp eax, edi
jle 0x1006b246
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov edx, 0x90
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esi + 0x6c]
mov edi, dword [ebp + 0x14]
cmp dword [esi + 0x70], eax
jg 0x1006b26b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
xor edx, edx
jmp 0x1006b29d
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x1f
mov eax, dword [esp + 0x14]
dec eax
cmp eax, 5
ja case.default.0x1006b2ab
jmp dword [eax*4 + 0x1006cb84]
cmp dword [esp + 0x3c], edx
je 0x1006b363
mov eax, dword [ebx + 0x7c]
cmp eax, edx
jne 0x1006b2c5
mov eax, ebx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push edx
mov edx, dword [ebp + 0xc]
mov byte [eax + 0x14], 1
mov eax, dword [ebp + 0x18]
push eax
push edi
push ecx
push edx
push ebx
call fcn.10061a20
mov eax, dword [esi + 0x6c]
add esp, 0x2c
cmp dword [esi + 0x70], eax
jg 0x1006b320
mov eax, dword [esp + 0x3c]
push 0
push 1
push eax
push 0x56
mov eax, esi
call fcn.1002f760
add esp, 0x10
mov dword [esp + 0x4c], 1
mov dword [esp + 0x64], 1
jmp 0x1006b4db
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x56
mov dword [esp + 0x4c], 1
mov dword [esp + 0x64], 1
jmp 0x1006b4db
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006b383
push 0
push 0x40
push edi
push 0x82
mov eax, esi
call fcn.1002f760
add esp, 0x10
xor edx, edx
jmp 0x1006b3a8
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], 0x40
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x82
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006b3c1
mov eax, dword [ebp + 0xc]
mov edx, 0xfffffffb
call fcn.100304a0
xor edx, edx
jmp 0x1006b3d8
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4 - 0x14]
mov ecx, dword [ebp + 0xc]
mov byte [eax + 1], 0xfb
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], edx
je 0x1006b402
mov eax, dword [ebx + 0x7c]
cmp eax, edx
jne 0x1006b3e9
mov eax, ebx
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push ebx
mov byte [eax + 0x14], 1
call fcn.10061fa0
add esp, 0x14
mov dword [esp + 0x64], 1
jmp 0x1006b4db
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x38]
push edi
push 0
push edx
push eax
push ebx
call fcn.10088570
add esp, 0x14
xor edx, edx
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006b443
mov ecx, dword [ebp + 0x2c]
push 0
push ecx
push 0
push 9
mov eax, esi
call fcn.1002f760
jmp 0x1006b4d8
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp + 0x2c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 9
jmp 0x1006b4db
mov dword [esp + 0x14], 2
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x20]
cmp ax, dx
jl 0x1006b4ab
movsx ecx, ax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
add ecx, ecx
mov ecx, dword [edx + ecx*8]
mov edx, dword [eax]
mov eax, dword [ebx]
push ecx
push edx
push str._s._s
push eax
call fcn.1000ced0
add esp, 0x10
mov ecx, 0x613
jmp 0x1006b4c6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebx]
push edx
push str._s.rowid
push eax
call fcn.1000ced0
add esp, 0xc
mov ecx, 0xa13
mov ebx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push 2
push 0xfffffffffffffffa
push eax
push ecx
call fcn.1005f540
add esp, 0x10
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x28]
not eax
jns 0x1006b4f8
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006b501
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp + 0x38]
xor edx, edx
cmp eax, edx
je 0x1006b559
cmp dword [esp + 0x60], eax
je 0x1006b559
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006b530
push edx
push edx
push edx
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
mov dword [esp + 0x74], eax
jmp 0x1006b5c0
mov edi, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 9
mov eax, ecx
mov dword [esp + 0x74], eax
jmp 0x1006b5c0
mov edi, dword [esp + 0x54]
cmp edi, edx
je 0x1006b5c0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006b57a
push edx
push edx
push edx
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b59d
mov ebx, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 9
mov eax, ecx
mov edx, dword [esi]
cmp byte [edx + 0x57], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x70], eax
je 0x1006b5b3
mov eax, 0x1013ace8
jmp 0x1006b5bd
mov edx, dword [esi + 0x68]
lea eax, [edi + edi*4]
lea eax, [edx + eax*4 - 0x14]
mov dword [eax + 8], ecx
xor edi, edi
cmp dword [esp + 0x88], edi
je 0x1006b5e1
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x1006b5f2
mov edx, dword [esp + 0x90]
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], edx
mov ecx, edx
cmp ecx, edi
je 0x1006c571
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x48]
mov edx, dword [ebp + 0x38]
cmp dword [eax + ebx*4], edi
je 0x1006c511
cmp edx, edi
je 0x1006b654
mov eax, edx
cmp dword [eax], edi
je 0x1006b623
cmp dword [eax + 0x1c], ecx
je 0x1006b623
mov eax, dword [eax + 0x10]
cmp eax, edi
jne 0x1006b613
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x60], eax
cmp ebx, edi
je 0x1006b654
cmp eax, edx
jne 0x1006b654
mov edx, dword [esi]
cmp byte [edx + 0x57], 0
mov ecx, dword [esi + 0x6c]
je 0x1006b648
mov eax, 0x1013ace8
jmp 0x1006b651
mov edx, dword [esi + 0x68]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
cmp byte [esp + 0x23], 0
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x28], ebx
jne 0x1006b67f
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
inc ebx
mov edi, esi
call fcn.10068a80
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x23], 1
mov edi, dword [esp + 0x48]
add edi, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x30], edi
cmp dword [eax + 0x24], edx
je 0x1006b746
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006b6bc
push edx
push ecx
push edx
push 0x4b
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b6dd
lea edi, [eax + 1]
mov dword [esi + 0x6c], edi
mov edi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x4b
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov ebx, dword [ecx]
or edx, 0xffffffff
sub edx, dword [ebp + 0x1c]
mov dword [ecx + 0x34], edx
mov eax, dword [eax + 0x24]
test eax, eax
je 0x1006b708
push 0
push 0
push eax
push ebx
call fcn.10047ff0
add esp, 0x10
mov edi, eax
jmp 0x1006b70a
xor edi, edi
cmp byte [ebx + 0x57], 0
jne 0x1006b724
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 8]
push 0x10
push ecx
push edi
push edx
call fcn.1004ebd0
add esp, 0x10
test edi, edi
je 0x1006b732
push edi
push ebx
call fcn.10047e40
add esp, 8
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x34], 0
xor edx, edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
inc eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
cmp cx, word [edx + 0x34]
jae 0x1006b9b1
mov edi, dword [ebp + 0x1c]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ecx
jmp 0x1006b780
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
movsx eax, word [edx + eax*2]
mov ecx, dword [ebp + 8]
cmp eax, 0xfffffffe
jne 0x1006b898
mov eax, dword [esp + 0x18]
or edx, 0xffffffff
sub edx, edi
mov edi, dword [ecx]
mov dword [ecx + 0x34], edx
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x38]
mov eax, dword [edx + eax + 8]
mov dword [esp + 0x50], edi
test eax, eax
je 0x1006b7d0
push 0
push 0
push eax
push edi
call fcn.10047ff0
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006b7d8
mov dword [esp + 0x34], 0
cmp byte [edi + 0x57], 0
jne 0x1006b870
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x1006b870
mov edx, dword [esp + 0x34]
push ebx
push edx
mov eax, ecx
push eax
call fcn.1004cb20
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x1006b870
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006b820
test dword [eax + 4], 0x400000
jne 0x1006b81c
cmp byte [eax], 0xb0
jne 0x1006b820
mov al, 0x50
jmp 0x1006b822
mov al, 0x51
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x6c]
movzx eax, al
cmp dword [ecx + 0x70], edx
jg 0x1006b844
push 0
push ebx
push edi
push eax
mov eax, ecx
call fcn.1002f760
add esp, 0x10
jmp 0x1006b870
lea ebx, [edx + 1]
mov dword [ecx + 0x6c], ebx
mov ecx, dword [ecx + 0x68]
mov ebx, dword [esp + 0x24]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
xor edx, edx
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], dx
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006b886
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.10047e40
add esp, 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ecx + 0x34], 0
jmp 0x1006b986
cmp eax, 0xffffffff
je 0x1006b944
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x20]
cmp eax, edx
je 0x1006b944
test byte [ecx + 0x1c], 0x20
je 0x1006b8fe
test ax, ax
js 0x1006b8fe
movsx ecx, ax
xor edx, edx
xor edi, edi
test ecx, ecx
jle 0x1006b8dd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add eax, 0xe
mov edx, ecx
test byte [eax], 0x20
jne 0x1006b8d7
inc edi
add eax, 0x10
dec ecx
jne 0x1006b8d1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov ecx, edx
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x20
je 0x1006b922
mov ecx, dword [ebp + 0xc]
mov ax, word [ecx + 0x24]
sub ax, di
mov edi, dword [ebp + 0x1c]
add ax, dx
movzx eax, ax
movsx ecx, ax
mov eax, dword [esi + 0x6c]
lea ecx, [ecx + edi + 1]
cmp dword [esi + 0x70], eax
jg 0x1006b92a
push 0
push ebx
push ecx
push 0x51
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b986
movzx eax, di
mov edi, dword [ebp + 0x1c]
jmp 0x1006b901
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax], 0x51
jmp 0x1006b97b
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006b95e
push 0
push ebx
push edi
push 0x52
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006b986
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov word [eax], 0x52
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movzx ecx, word [edx + 0x34]
add dword [esp + 0x38], 0x14
inc eax
inc ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
cmp eax, ecx
jl 0x1006b780
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [edx + eax*4]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 0x34]
cmp dword [esi + 0x70], eax
jg 0x1006b9e0
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push 0x61
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006ba12
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov word [eax + 2], bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x61
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x18]
je 0x1006ba55
cmp dword [esp + 0x40], ecx
jne 0x1006ba55
cmp byte [ebp + 0x24], 0
jne 0x1006ba55
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
not ebx
mov eax, ebx
jns 0x1006ba47
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006c511
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [edx + eax*4], ecx
jmp 0x1006c511
movzx eax, byte [ecx + 0x36]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1006ba8d
mov edi, dword [esi + 0xc]
mov edx, dword [edi + 0x3c]
add edx, dword [edi + 0x38]
not ebx
mov eax, ebx
jns 0x1006ba7f
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006c511
mov ecx, dword [edi + 0x40]
mov edx, dword [esi + 0x6c]
mov dword [ecx + eax*4], edx
jmp 0x1006c511
mov dl, byte [ebp + 0x28]
cmp dl, 0xb
je 0x1006ba9e
movzx eax, dl
mov dword [esp + 0x14], eax
jmp 0x1006baab
cmp eax, 0xb
jne 0x1006baab
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1006bac3
xor edx, edx
cmp byte [eax + 0x14], dl
setne dl
lea edx, [edx + edx + 4]
mov dword [esp + 0x14], edx
movzx edx, word [ecx + 0x32]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006baef
mov eax, dword [esp + 0x2c]
push edx
push 0x1b
mov ecx, ebx
mov edx, edi
call fcn.1002f7a0
mov esi, dword [esp + 0x8c]
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x1006bb21
mov ebx, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov word [eax + 2], bx
mov ebx, dword [esp + 0x28]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov word [eax], 0xfd1b
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x40]
jne 0x1006bb3c
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 8]
jmp 0x1006bb95
mov edx, dword [ebp + 8]
cmp ebx, 1
jne 0x1006bb6c
mov al, byte [edx + 0x13]
test al, al
jne 0x1006bb57
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x1006bb95
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0xa0]
mov dword [esp + 0x34], eax
jmp 0x1006bb95
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
cmp ebx, eax
jg 0x1006bb86
add ebx, ecx
mov dword [edx + 0x20], ebx
mov ebx, dword [esp + 0x5c]
sub eax, ebx
mov dword [edx + 0x1c], eax
jmp 0x1006bb91
mov eax, dword [edx + 0x2c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [edx + 0x2c], eax
mov dword [esp + 0x34], ecx
cmp byte [esp + 0x13], 0
jne 0x1006bba7
cmp dword [esp + 0x14], 5
jne 0x1006bf91
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x1c], 0x80
jne 0x1006bc8d
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006bbda
mov edx, dword [esp + 0x34]
push 0
push edx
push edi
push 0x8e
mov eax, esi
call fcn.1002f760
mov edx, dword [ebp + 8]
add esp, 0x10
xor ecx, ecx
jmp 0x1006bc06
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x8e
cmp byte [esp + 0x13], 0
je 0x1006bf9e
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006bc3a
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push 0x35
mov eax, esi
call fcn.1002f760
mov edx, dword [ebp + 8]
add esp, 0x10
xor ecx, ecx
jmp 0x1006bc6d
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x35
mov eax, dword [esi + 0x6c]
cmp eax, ecx
jle 0x1006bf9e
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov ecx, 0x90
mov word [eax + edx*4 - 0x12], cx
jmp 0x1006bf99
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x18], edx
je 0x1006bd5d
xor eax, eax
mov ecx, edx
mov dword [esp + 0x1c], 0
cmp ax, word [ecx + 0x32]
jae 0x1006bd5d
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 0x34]
xor eax, eax
test edx, edx
jle 0x1006bced
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x1c]
movzx edi, word [ecx + edi*2]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
lea esp, [esp]
cmp di, word [ecx]
je 0x1006bd10
inc eax
add ecx, 2
cmp eax, edx
jl 0x1006bce0
or eax, 0xffffffff
movsx ecx, ax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006bd15
mov edx, dword [esp + 0x30]
push ebx
push ecx
push edx
push 0x5e
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006bd43
movzx eax, ax
jmp 0x1006bcf0
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x5e
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
movzx edx, word [ecx + 0x32]
inc eax
inc ebx
mov dword [esp + 0x1c], eax
cmp eax, edx
jl 0x1006bcb5
cmp byte [esp + 0x13], 0
je 0x1006bf91
mov eax, dword [esp + 0x40]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x38]
and al, 3
mov dword [esp + 0x98], 0x34
cmp al, 2
jne 0x1006bd9b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
jmp 0x1006bda3
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], 0
test ecx, ecx
jle 0x1006bf91
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x1c]
mov edi, dword [edx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dl, byte [eax + 0x54]
mov bl, byte [eax + 0xb1]
mov byte [esp + 0x78], dl
test edi, edi
je 0x1006bdf7
movzx ecx, bl
push ecx
push edi
push eax
call fcn.10060290
add esp, 0xc
test eax, eax
je 0x1006bdfa
movzx ecx, byte [esp + 0x78]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
jmp 0x1006bdfa
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
test bl, bl
jne 0x1006be23
test eax, eax
je 0x1006be0c
cmp dword [eax + 0xc], 0
jne 0x1006be23
mov ecx, dword [esp + 0x78]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ebx, edi
call fcn.100603f0
add esp, 8
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
movzx edx, word [edx + 0x32]
mov ecx, dword [esp + 0x1c]
movsx eax, word [eax + ecx*2]
dec edx
cmp ecx, edx
jne 0x1006be4e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x98], 0x35
mov ebx, dword [ebp + 0xc]
test byte [ebx + 0x1c], 0x20
je 0x1006be94
test ax, ax
js 0x1006be94
movsx ecx, ax
xor edx, edx
xor edi, edi
test ecx, ecx
jle 0x1006be7c
mov eax, dword [ebx + 4]
add eax, 0xe
mov edx, ecx
nop
test byte [eax], 0x20
jne 0x1006be76
inc edi
add eax, 0x10
dec ecx
jne 0x1006be70
mov ecx, dword [ebx + 4]
mov eax, edx
add eax, eax
test byte [ecx + eax*8 + 0xe], 0x20
je 0x1006bece
mov ax, word [ebx + 0x24]
sub ax, di
add ax, dx
movzx eax, ax
mov edx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x1c]
movsx ecx, ax
lea edi, [ecx + edx + 1]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006bed3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x98]
add eax, ebx
push eax
push ecx
push edi
push edx
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006bf11
movzx eax, di
jmp 0x1006be97
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov dl, byte [esp + 0x98]
mov byte [eax], dl
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x50]
add edx, ebx
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006bf29
mov eax, dword [esp + 0x38]
mov edx, 0xfffffffe
call fcn.100304a0
jmp 0x1006bf65
test eax, eax
jns 0x1006bf31
mov eax, dword [esi + 0x6c]
dec eax
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x1006bf56
mov edx, dword [esp + 0x38]
push edx
push esi
mov eax, 0xfffffffe
call fcn.100305a0
add esp, 8
jmp 0x1006bf65
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006bf65
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfe
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006bf7c
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov edx, 0x90
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esp + 0x40]
movzx ecx, word [eax + 0x32]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, ecx
jl 0x1006bdb3
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esp + 0x14]
dec eax
cmp eax, 5
ja case.0x1006bfac.5
jmp dword [eax*4 + 0x1006cb9c]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.1005f600
add esp, 8
jmp 0x1006c417
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x38]
push edi
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.10088570
mov edx, dword [ebp + 8]
add esp, 0x14
xor ecx, ecx
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c00d
mov edx, dword [ebp + 0x2c]
push 0
push edx
push 0
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c417
lea edi, [eax + 1]
mov dword [esi + 0x6c], edi
mov edi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [ebp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 9
jmp 0x1006c41a
mov eax, dword [esi + 0x6c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x3c], ecx
je 0x1006c05d
mov eax, dword [edx + 0x7c]
cmp eax, ecx
jne 0x1006c055
mov eax, edx
inc dword [esp + 0x4c]
mov byte [eax + 0x14], 1
cmp dword [esp + 0x44], ecx
je 0x1006c0b4
cmp byte [esp + 0x13], 0
je 0x1006c0b4
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c08b
mov ecx, dword [ebp + 0x14]
push 0
push 0
push ecx
push 0xa7
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c0b4
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xa7
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
push edi
sete cl
movzx edx, cl
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push 5
push 0
push ebx
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.10061a20
add esp, 0x2c
cmp dword [esp + 0x44], 0
je 0x1006c140
cmp byte [esp + 0x13], 0
je 0x1006c140
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp dword [esi + 0x70], eax
jg 0x1006c11a
mov eax, dword [ebp + 0x14]
push edi
push edi
push eax
push 0xa8
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c142
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0xa8
jmp 0x1006c142
xor edi, edi
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
je 0x1006c40f
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c168
push edi
push 1
push ecx
push 0x56
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c18d
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x56
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1006c1aa
push edi
push edi
push edi
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
mov dword [esp + 0x64], eax
jmp 0x1006c1cf
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 9
mov dword [esp + 0x64], ecx
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x58]
not eax
jns 0x1006c1ec
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006c1f5
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x58], edx
cmp dword [eax + 0x24], edi
je 0x1006c24c
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x6c]
dec ecx
cmp dword [esi + 0x70], eax
jg 0x1006c22b
push edi
push edx
push ecx
push 0x32
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c24c
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x32
cmp dword [esp + 0x50], edi
jle 0x1006c3d7
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006c274
mov eax, 0x1013ace8
jmp 0x1006c27b
mov eax, dword [esi + 0x68]
add eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
cmp cl, 0x8e
je 0x1006c3c1
movzx edx, cl
test byte [edx + 0x10113138], 1
je 0x1006c2be
mov edi, dword [esp + 0x58]
shr ecx, 8
movsx ebx, cl
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x6c], ebx
cmp dword [esi + 0x70], ecx
jg 0x1006c2ee
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
push ecx
push edi
push eax
push edx
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c32d
mov ebx, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x6c]
mov byte [eax], dl
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa8]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006c34a
cmp ebx, 0xfffffff5
je 0x1006c3a7
mov eax, dword [esp + 0xac]
mov edx, ebx
call fcn.100304a0
jmp 0x1006c3a7
test eax, eax
jns 0x1006c352
mov eax, dword [esi + 0x6c]
dec eax
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
test ebx, ebx
jns 0x1006c394
cmp byte [ecx + 1], 0
jne 0x1006c394
cmp ebx, 0xfffffffd
jne 0x1006c379
mov edx, dword [esp + 0xac]
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], bl
jmp 0x1006c3a7
mov eax, dword [esp + 0xac]
test eax, eax
je 0x1006c3a7
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], bl
cmp ebx, 0xfffffff5
jne 0x1006c3a7
inc dword [eax + 0xc]
jmp 0x1006c3a7
mov eax, dword [esp + 0xac]
push eax
push esi
mov eax, ebx
call fcn.100305a0
add esp, 8
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006c3c1
mov edx, dword [esi + 0x68]
lea ecx, [eax + eax*4]
mov ax, word [esp + 0x9e]
mov word [edx + ecx*4 - 0x12], ax
mov eax, dword [esp + 0x50]
add dword [esp + 0x24], 0x14
dec eax
mov dword [esp + 0x50], eax
test eax, eax
jg 0x1006c265
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
push 2
push ecx
call fcn.1005f600
mov edx, dword [esi]
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp byte [edx + 0x57], 0
je 0x1006c3fb
mov eax, 0x1013ace8
jmp 0x1006c408
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x64], 1
mov edx, dword [ebp + 8]
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x28]
not eax
jns 0x1006c43a
push eax
push esi
call fcn.10030010
mov edx, dword [ebp + 8]
add esp, 8
jmp 0x1006c443
mov ecx, dword [edi + 0x40]
mov edi, dword [esi + 0x6c]
mov dword [ecx + eax*4], edi
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x2c]
je 0x1006c477
cmp ebx, 1
jne 0x1006c46c
test ecx, ecx
je 0x1006c477
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x1006c477
movzx eax, al
mov dword [edx + eax*4 + 0xa0], ecx
inc byte [edx + 0x13]
jmp 0x1006c477
cmp ebx, dword [edx + 0x1c]
jle 0x1006c477
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], ecx
cmp dword [esp + 0x60], 0
je 0x1006c511
cmp dword [esp + 0x74], 0
je 0x1006c511
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x10]
xor edx, edx
cmp eax, edx
je 0x1006c4a3
cmp dword [eax], edx
je 0x1006c4a3
cmp dword [eax + 0x1c], edx
jne 0x1006c511
mov ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x6c]
inc ecx
cmp dword [esi + 0x70], eax
jg 0x1006c4c6
push 0
push ecx
push 0
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c4e7
lea edi, [eax + 1]
mov dword [esi + 0x6c], edi
mov edi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 9
mov edx, dword [esi]
cmp byte [edx + 0x57], 0
mov ecx, dword [esi + 0x6c]
je 0x1006c4f9
mov eax, 0x1013ace8
jmp 0x1006c506
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov dword [esp + 0x74], 0
cmp dword [esp + 0x88], 0
je 0x1006c547
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x8c], eax
cmp eax, dword [esp + 0x90]
jge 0x1006c56d
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
mov dword [esp + 0x48], edx
jmp 0x1006c55c
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 0x14]
inc dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006c571
xor edi, edi
mov ecx, eax
jmp 0x1006b5fa
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x54]
xor edi, edi
cmp ecx, edi
je 0x1006c5d7
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c594
push edi
push ecx
push edi
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c5b5
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 9
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
mov ecx, dword [esi + 0x6c]
je 0x1006c5c7
mov eax, 0x1013ace8
jmp 0x1006c5d4
mov eax, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
cmp dword [esp + 0x4c], edi
je 0x1006c89c
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c604
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
xor edi, edi
push edi
push ecx
push edx
push 0x11
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c636
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x11
xor edi, edi
cmp dword [esp + 0x40], edi
jne 0x1006c834
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x68]
mov ebx, dword [ebp + 0x1c]
je 0x1006c6a9
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c66a
mov edx, dword [ebp + 0x20]
push edx
push edi
push ebx
push 0x35
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c692
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov dword [eax], 0x35
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1006c6a9
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov edx, 0x90
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c6c5
mov eax, dword [ebp + 0x14]
push ebx
push edi
push eax
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c6ed
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov dword [eax], 0x1f
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x20]
test ax, ax
js 0x1006c725
mov edi, dword [ebp + 8]
movsx ecx, ax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
add ecx, ecx
mov ecx, dword [edx + ecx*8]
mov edx, dword [eax]
mov eax, dword [edi]
push ecx
push edx
push str._s._s
push eax
call fcn.1000ced0
add esp, 0x10
mov ebx, 0x613
jmp 0x1006c746
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push str._s.rowid
push ecx
call fcn.1000ced0
mov edi, dword [ebp + 8]
add esp, 0xc
mov ebx, 0xa13
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x1006c76e
cmp dword [edi + 0x7c], eax
jne 0x1006c762
mov edx, dword [edi]
test byte [edx + 0x50], 8
jne 0x1006c762
mov byte [edi + 0x17], 1
mov eax, dword [ebp + 8]
push eax
call fcn.1002f4f0
add esp, 4
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ecx + 0x7c]
test eax, eax
jne 0x1006c77c
mov eax, ecx
mov byte [eax + 0x15], 1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1006c79b
push 0
push 2
push ebx
push 0x46
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c7c7
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], 2
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x46
mov eax, ecx
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x1006c7df
mov eax, dword [esp + 0x4c]
mov edx, 0xfffffffa
call fcn.100304a0
jmp 0x1006c81b
test eax, eax
jns 0x1006c7e7
mov eax, dword [edi + 0x6c]
dec eax
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
jne 0x1006c808
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1006c81b
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfa
jmp 0x1006c81b
mov edx, dword [esp + 0x4c]
push edx
push edi
mov eax, 0xfffffffa
call fcn.100305a0
add esp, 8
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1006c876
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov edx, 2
mov word [ecx + eax*4 - 0x12], dx
jmp 0x1006c876
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c851
mov eax, dword [esp + 0x68]
push edi
push eax
push edi
push 9
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c876
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 9
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x58]
not eax
jns 0x1006c893
push eax
push esi
call fcn.10030010
add esp, 8
jmp 0x1006c89c
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [edx + eax*4], ecx
mov ebx, dword [ebp + 0xc]
test byte [ebx + 0x1c], 0x80
jne 0x1006cb5d
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [edx + eax*4]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 0x6c]
movsx edx, word [ebx + 0x24]
inc edi
cmp dword [esi + 0x70], eax
jg 0x1006c8d4
push ecx
push edx
push edi
push 0x61
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1006c8fc
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov ebx, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov dword [eax], 0x61
cmp byte [esp + 0x23], 0
jne 0x1006cb5d
test dword [ebx + 0x1c], 0x10000
je 0x1006c9c2
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006c92a
mov eax, ebx
mov edx, 0xfffffffb
call fcn.100304a0
jmp 0x1006c93e
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov byte [eax + 1], 0xfb
mov dword [eax + 0x10], ebx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x1006c94d
mov eax, 0x1013ace8
jmp 0x1006c95a
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov byte [eax], 0x5f
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1006c98d
push ecx
push edx
push edi
push 0x61
mov eax, esi
call fcn.1002f760
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x74]
add esp, 0x10
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov esi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x30]
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov dword [eax], 0x61
mov eax, dword [esp + 0x64]
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1006cab8
movsx eax, word [ebx + 0x22]
inc eax
cdq
mov edi, eax
mov ecx, edi
or ecx, edx
je 0x1006cab1
test edx, edx
ja 0x1006cab1
jb 0x1006c9f5
cmp edi, 0x7ffffeff
ja 0x1006cab1
cmp dword [0x1012c3e8], 0
je 0x1006caa5
mov eax, dword [0x1013afb8]
test eax, eax
je 0x1006ca15
push eax
call dword [0x1012c438]
add esp, 4
lea edx, [esp + 0x70]
push edx
mov eax, edi
call fcn.1000a480
mov eax, dword [0x1013afb8]
add esp, 4
test eax, eax
je 0x1006ca37
push eax
call dword [0x1012c440]
add esp, 4
mov eax, dword [esp + 0x70]
xor ecx, ecx
cmp eax, ecx
je 0x1006ca86
xor edx, edx
mov dword [esp + 0x54], ecx
cmp dx, word [ebx + 0x22]
jge 0x1006ca75
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov edx, dword [ebx + 4]
test byte [edx + edi + 0xe], 0x20
jne 0x1006ca64
mov dl, byte [edx + edi + 8]
mov byte [eax + ecx], dl
inc ecx
movsx edx, word [ebx + 0x22]
inc dword [esp + 0x54]
add edi, 0x10
cmp dword [esp + 0x54], edx
jl 0x1006ca52
dec ecx
mov byte [eax + ecx + 1], 0
js 0x1006ca83
cmp byte [eax + ecx], 0x41
jle 0x1006ca75
mov ebx, dword [ebp + 0xc]
test eax, eax
jne 0x1006cab5
mov eax, dword [esi]
push eax
call fcn.1000aee0
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x68]
add esp, 4
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x1012c408]
add esp, 4
jmp 0x1006ca3b
xor eax, eax
jmp 0x1006ca86
mov dword [ebx + 0xc], eax
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1006cac0
sub ecx, edi
and ecx, 0x3fffffff
mov edx, ecx
je 0x1006cb5d
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x1006cafd
cmp edx, 0xfffffff5
je 0x1006cb5d
call fcn.100304a0
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x64]
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
lea ecx, [ecx + ecx*4 - 5]
lea ecx, [edi + ecx*4]
test edx, edx
jns 0x1006cb51
cmp byte [ecx + 1], 0
jne 0x1006cb51
cmp edx, 0xfffffffd
jne 0x1006cb2f
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x64]
mov byte [ecx + 1], dl
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1006cb5d
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], dl
cmp edx, 0xfffffff5
jne 0x1006cb5d
inc dword [eax + 0xc]
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x64]
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push esi
mov eax, edx
call fcn.100305a0
add esp, 8
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x64]
mov dword [edx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret