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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x34], ebx
mov esi, dword [ebx + 0xc]
mov ecx, esi
mov edi, dword [ebx]
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call fcn.00635ac0
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00635ac0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov al, byte [ecx + 4]
mov byte [esp + 0x1b], al
cmp byte [esp + 0x1b], 0x70
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], eax
mov edx, dword [eax]
mov dword [esp + 0x48], edx
je 0x660ecd
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x660ecb
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x660ec5
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x660e38
mov ebx, dword [esp + 0x48]
lea edx, [eax + 0xe]
movzx eax, word [edx]
cmp eax, edi
je 0x660e30
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x660e21
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x660ea5
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
push 0
push eax
mov edx, 0x81
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.00641d50
add esp, 8
test eax, eax
je 0x660eb9
mov edx, dword [esp + 0x20]
mov ecx, 0x800
or word [eax + 2], cx
mov ecx, ebx
push eax
mov dword [eax + 4], edi
call fcn.00642f70
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x24], ecx
inc edx
add esp, 4
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x30]
mov word [eax + ecx + 0xe], di
add ecx, 0x14
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
inc edi
cmp byte [eax + 0x1e], 0
jne 0x660ecb
mov ecx, dword [esp + 0x24]
jmp 0x660e03
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x38]
jmp 0x660ecd
mov edi, eax
lea ecx, [edx*4]
test edi, edi
je 0x660f71
cmp byte [edi + 0x1e], 0
je 0x660f2a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, eax
push 0
mov dword [ecx + 0x18], eax
mov ecx, dword [ebx]
call fcn.00642820
mov ecx, dword [esp + 0x54]
add esp, 4
cmp byte [esp + 0x1b], 0x70
mov dword [ecx + 0x18], eax
jne 0x66114e
mov dword [esp + 0x4c], 0
jmp 0x661397
cmp byte [edi + 0xe2], 0
je 0x660f71
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x660f71
mov eax, dword [edi + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x660f71
mov eax, dword [eax]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x660f96
mov dword [edi + 0xe8], eax
jmp 0x660f96
push ecx
call fcn.00624a60
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x660f92
test edi, edi
je 0x660f8a
mov byte [edi + 0x1e], 1
test eax, eax
je 0x660eea
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x660fc7
mov esi, dword [esp + 0x6c]
lea ebx, [eax + 0xe]
nop word [eax + eax]
movzx eax, word [ebx]
lea ebx, [ebx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x660fb0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + 4]
lea ecx, [edx + ecx*4]
test edi, edi
je 0x661024
cmp byte [edi + 0x1e], 0
jne 0x660eea
cmp byte [edi + 0xe2], 0
je 0x661024
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x661024
mov eax, dword [edi + 0xec]
mov dword [esp + 0x64], eax
test eax, eax
je 0x661024
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x66104b
mov dword [edi + 0xe8], eax
jmp 0x66104b
push ecx
call fcn.00624a60
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x661047
test edi, edi
je 0x66103f
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x660ef2
mov edx, dword [esp + 0x48]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x660ef2
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
add eax, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
nop dword [eax]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov eax, dword [ebx + eax]
mov ebx, 0x100
mov dword [esp + 0x30], eax
test word [eax + 2], bx
mov ebx, dword [esp + 0x34]
je 0x6610b2
mov eax, dword [eax + 0x14]
jmp 0x661105
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x6610d9
push ecx
mov ecx, ebx
call fcn.0065ecb0
add esp, 4
test eax, eax
jne 0x6610f1
mov ecx, dword [esp + 0x14]
jmp 0x6610db
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x6610f1
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.00641900
mov ecx, dword [esp + 0x30]
mov edx, 0x100
or word [ecx + 2], dx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x40], 4
add dword [esp + 0x1c], 0x14
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x64]
mov al, byte [ebx + eax + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov byte [ebx + ecx], al
mov ecx, ebx
mov ebx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, edx
jl 0x661090
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x660ef2
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x6611c4
xor edx, edx
lea ecx, [ebx + 0x70]
nop dword [eax + eax]
mov edi, dword [esp + 0x4c]
cmp dword [ecx], edi
mov edi, dword [esp + 0x38]
jl 0x66119f
mov esi, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x3c]
cmp dword [ecx], eax
jle 0x6611c0
mov eax, dword [esp + 0x30]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x661180
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
jmp 0x6611d3
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x4c], edx
mov dword [ebx + 0x48], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x6611f3
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x66122c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x40]
lea edx, [eax + 4]
lea edx, [eax + edx*4]
mov dword [esp + 0x14], edx
test edi, edi
je 0x66129c
cmp byte [edi + 0x1e], 0
je 0x661251
mov dword [esp + 0x2c], 0
jmp 0x661393
cmp byte [edi + 0xe2], 0
je 0x66129c
movzx eax, word [edi + 0xe0]
cmp edx, eax
jg 0x66129c
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x66129c
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x661296
mov dword [edi + 0xe8], eax
mov dword [esp + 0x2c], ecx
jmp 0x6612c7
push edx
call fcn.00624a60
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x6612b5
test edi, edi
je 0x6612b5
mov byte [edi + 0x1e], 1
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
je 0x66138f
mov edx, dword [esp + 0x14]
push edx
push 0
push ecx
call fcn.006783e0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
test edx, edx
jle 0x661393
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 0xc]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
nop dword [eax]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x661342
push edi
mov edx, eax
mov ecx, ebx
call fcn.0065ecb0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x661369
jmp 0x661344
xor eax, eax
mov ebx, dword [esi]
cmp edi, dword [ebx]
mov ebx, dword [esp + 0x34]
jge 0x661369
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax]
call fcn.00641900
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 0x14
mov dword [edx], eax
add edx, 4
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x661320
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x661393
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, eax
push 0x201eb4
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, ebx
push dword [eax + 0x18]
call fcn.006411c0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x6613db
push 0x201eb4
push dword [eax + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.006411c0
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x30], 0
jne 0x6617a5
mov ecx, ebx
call fcn.00644f00
cmp dword [edx + 0x28], 0
je 0x6617a5
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebx + 0x48], eax
mov dword [edx + 0x30], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
test edi, edi
jne 0x66142b
mov ecx, dword [ebx]
call fcn.006358a0
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
test edi, edi
je 0x661795
mov edx, dword [edx + 0x28]
mov ecx, ebx
push eax
call fcn.00647250
mov ecx, dword [edi + 0xc]
add esp, 4
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x66145d
mov ecx, edi
call fcn.00635960
test eax, eax
jne 0x6615a9
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x6e]
mov byte [eax], 0
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x6614b7
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.00635960
test eax, eax
jne 0x6614f5
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x72
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x6e]
mov dword [esp + 0x10], eax
mov byte [eax], 0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2c], 0
je 0x66179f
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [eax + 0x34], ecx
inc dword [ebx + 0x48]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, ebx
call fcn.00647250
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x661548
mov ecx, edi
call fcn.00635960
test eax, eax
jne 0x661586
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x6e]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x6615b8
mov ecx, edi
call fcn.00635960
test eax, eax
je 0x6615b1
mov dword [esp + 0x10], 1
jmp 0x6615f1
lea eax, [edi + 0x6e]
jmp 0x661498
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x661611
mov ecx, edi
call fcn.00635960
test eax, eax
jne 0x66164a
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x66165f
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x66167f
mov ecx, edi
call fcn.00635960
test eax, eax
jne 0x6616dc
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
inc edx
mov word [eax + ecx*4], 0x56
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x30], edx
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x6616ee
mov ecx, edi
call fcn.00635960
test eax, eax
je 0x6616e7
mov dword [esp + 0x10], 1
jmp 0x661727
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], eax
jmp 0x6616b9
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x661747
mov ecx, edi
call fcn.00635960
test eax, eax
jne 0x661780
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0xffffffff
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x661795
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
jmp 0x6617a7
mov edi, dword [esp + 0x38]
jmp 0x6617a7
mov eax, edx
cmp dword [eax + 0x30], 0
je 0x66189f
cmp byte [esp + 0x1b], 0x70
jne 0x66189f
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [ebx + 0x48], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x6617e0
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x6617e7
mov eax, dword [eax + 0x30]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x661807
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661840
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x661860
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661899
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x24]
jmp 0x6618af
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x6618dc
mov edx, ecx
mov ecx, edi
call fcn.00642320
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x6618d8
push eax
push edi
call fcn.00624b50
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [eax + 0x28], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x66190c
mov edx, eax
mov ecx, edi
call fcn.00642320
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x66190c
push eax
push edi
call fcn.00624b50
add esp, 8
mov edi, dword [esp + 0x24]
mov word [esp + 0x88], 0xa
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [edi + 0x2c], 0
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x8c], ecx
mov word [esp + 0x78], 0xa
mov dword [esp + 0x80], 0
lea eax, [ecx + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov dword [esp + 0x44], ecx
lea eax, [edx + 1]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
inc eax
inc eax
mov dword [esp + 0x40], edx
mov dword [ebx + 0x48], eax
mov edi, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edi
cmp dword [esi + 0x10], edi
jg 0x6619a9
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x6619a6
mov dword [esp + 0x14], 1
jmp 0x6619e6
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0xc], eax
lea edx, [esi + 0x14]
mov eax, dword [edx]
lea ecx, [edi + edi*4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x50]
mov edx, ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.00664390
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x661a24
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661a62
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
lea edx, [ebx + 1]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x661a66
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x661a7e
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661ab3
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov dword [eax + 0x30], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x34], 0
call fcn.00664390
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edi
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x661b07
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661b42
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x58]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x661b46
mov ebx, dword [esp + 0x58]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x661b5e
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661b97
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push dword [esp + 0x68]
mov edi, dword [esp + 0x28]
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x38]
mov edx, edi
push 0xfffffffffffffff0
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push eax
push dword [ebp + 8]
lea eax, [esp + 0xa0]
push eax
call fcn.00660470
mov dword [esp + 0x44], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x70
je 0x661bd8
cmp al, 0x6f
jne 0x661c06
push dword [esp + 0x68]
lea eax, [esp + 0x7c]
mov edx, edi
push 0xffffffffffffffef
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x40]
push dword [ebp + 8]
push eax
call fcn.00660470
mov dword [esp + 0x70], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x71
je 0x661db7
cmp al, 0x72
je 0x661db7
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x10], edx
jg 0x661c43
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x661c3c
mov dword [esp + 0x2c], 1
lea edi, [esi + 0x14]
jmp 0x661c7e
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661c9e
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661cd6
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661cf6
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661d2e
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661d4e
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661d86
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x10], edx
jg 0x661e36
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x661e2f
mov dword [esp + 0x1c], 1
lea edi, [esi + 0x14]
jmp 0x661e72
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x661dde
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x661ddb
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x661e17
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x68]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x72
jne 0x661d86
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jmp 0x661f7f
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
lea ecx, [edx + edx*4]
inc eax
mov edx, dword [esp + 0x44]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661e92
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661ecf
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661eef
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661f27
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x661f47
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x661f7f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x3c], edx
cmp dword [esi + 0x10], edx
jg 0x661fac
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x661fa5
mov dword [esp + 0x3c], 1
lea edi, [esi + 0x14]
jmp 0x661fec
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
inc eax
inc edx
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x66200c
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662044
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x662064
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6620a1
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x6620c1
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6620f9
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov al, byte [esp + 0x1b]
cmp al, 0x70
jne 0x662119
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
jmp 0x662263
cmp al, 0x72
jne 0x662136
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
inc edx
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
jmp 0x6622b4
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x662160
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x662159
mov dword [esp + 0x20], 1
jmp 0x662198
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x6621b8
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6621f5
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x662219
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662623
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x6f
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ecx
jne 0x6622b4
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x66227c
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6622b4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x6622d4
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x66230c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x66232c
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662364
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x662384
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6623bc
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
cmp edx, eax
jle 0x6623d0
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x6623f0
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x66242d
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x66244d
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662485
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x6624a5
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6624dd
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x70], ecx
cmp dword [esi + 0x10], ecx
jg 0x6624fd
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662535
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x662555
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662592
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x6625b2
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x6625ea
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x662603
mov eax, dword [esp + 0x74]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x66263f
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x662638
mov edx, 1
jmp 0x662677
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x662251
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff1
push dword [esp + 0x70]
mov ecx, esi
call fcn.00635fc0
mov eax, dword [esp + 0x88]
add esp, 8
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x70], eax
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x6626c8
mov ecx, esi
call fcn.00635960
test eax, eax
je 0x6626c1
mov edi, dword [esp + 0x48]
mov edx, 1
jmp 0x662700
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x68]
mov ecx, esi
call fcn.00635fc0
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], eax
jg 0x66272b
mov ecx, esi
call fcn.00635960
test eax, eax
jne 0x662763
mov eax, dword [esp + 0x5c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x662777
inc edi
cmp edi, dword [ebx + 0x38]
jle 0x662777
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x662790
mov eax, dword [esp + 0x68]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x6627bc
mov eax, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x6627ae
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x6627a5
push dword [ecx]
xor edx, edx
mov ecx, ebx
call fcn.0065dba0
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x6627de
mov ebx, dword [esp + 0x38]
mov edx, edi
mov ecx, ebx
call fcn.0065bc70
push edi
push ebx
call fcn.00624b50
add esp, 8
mov eax, dword [esp + 0x50]
pop edi
mov dword [esi + 0x1c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret