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

Disassembly:
push 0xffffffffffffffff
push 0x6cb829
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
lea ecx, [ebp + 0x40]
xor ebx, ebx
push eax
push edx
mov dword [esp + 0xb08], ebx
call fcn.006695c0
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp + 0x54]
lea ecx, [ebp + 0x50]
push eax
push edx
call fcn.00669850
mov eax, dword [ebp + 0x68]
mov edx, dword [ebp + 0x64]
lea ecx, [ebp + 0x60]
push eax
push edx
call fcn.00669850
mov eax, dword [esp + 0xb14]
cmp eax, ebx
jne 0x66787d
xor ecx, ecx
jmp 0x667889
mov ecx, dword [esp + 0xb18]
sub ecx, eax
sar ecx, 3
mov edi, dword [esp + 0xb0c]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0xb08]
mov eax, dword [eax]
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebp + 0x24]
push edi
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x2c], edi
call fcn.0063e470
lea esi, [ebp + 4]
lea edx, [esp + 0xb10]
cmp esi, edx
je 0x6679db
mov eax, dword [esp + 0xb14]
cmp eax, ebx
jne 0x6678cf
xor edi, edi
jmp 0x6678db
mov edi, dword [esp + 0xb18]
sub edi, eax
sar edi, 3
mov ecx, esi
call fcn.0061c770
cmp edi, eax
ja 0x667910
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xb18]
mov edx, dword [esp + 0xb14]
push eax
push ecx
push edx
call fcn.00518980
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, esi
call fcn.0057e9e0
jmp 0x667963
mov ecx, esi
call fcn.00665640
lea ecx, [esp + 0xb10]
mov edi, eax
call fcn.0061c770
cmp eax, edi
ja 0x66797a
mov edi, dword [esp + 0xb14]
mov ecx, esi
call fcn.0061c770
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xb14]
lea edi, [edi + eax*8]
push ecx
push edi
push edx
call fcn.00518980
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xb24]
add esp, 0xc
push eax
push ecx
push edi
mov ecx, esi
call fcn.0057e9f0
lea ecx, [esp + 0xb10]
call fcn.0061c770
mov edx, dword [esi + 4]
lea eax, [edx + eax*8]
mov dword [esi + 8], eax
jmp 0x6679d4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0057e9e0
mov eax, dword [esi + 4]
push eax
call fcn.00697880
add esp, 4
lea ecx, [esp + 0xb10]
call fcn.0061c770
cmp eax, ebx
jge 0x6679a7
xor eax, eax
shl eax, 3
push eax
call fcn.00697be2
mov ecx, dword [esp + 0xb1c]
mov edx, dword [esp + 0xb18]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.0057e9f0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0xb0c]
mov al, byte [esp + 0x12]
mov dword [esp + 0x24], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xdc], ebx
mov byte [esp + 0x5c], al
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov cl, byte [esp + 0x12]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dl, byte [esp + 0x12]
mov dword [esp + 0x88], ebx
mov byte [esp + 0x84], dl
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov ecx, dword [esp + 0xb14]
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0xb04], 3
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [ecx + eax*4 + 0x70]
mov ecx, dword [ebp + 0x2c]
push edx
call fcn.0063c730
mov eax, dword [esp + 0x100]
mov esi, 1
cmp eax, 0xffffffff
je 0x667ac1
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, edi
call fcn.0063c3b0
cmp dword [esp + 0xa0], esi
jne 0x667aad
mov eax, dword [esp + 0xac]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0xb0]
push edx
push eax
call fcn.0063c3e0
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.0063c490
mov eax, dword [esp + 0x10c]
cmp eax, 0xffffffff
je 0x667b15
lea ecx, [esp + 0xdc]
push ecx
push eax
mov ecx, edi
call fcn.0063c3b0
cmp dword [esp + 0xdc], esi
jne 0x667afe
mov eax, dword [esp + 0xe8]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0xb0]
push edx
push eax
call fcn.0063c3e0
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x84]
push ecx
push edx
mov ecx, edi
call fcn.0063c490
mov ecx, dword [esp + 0xb14]
lea eax, [esp + 0xec]
push eax
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x2c]
push edx
call fcn.0063c730
cmp dword [esp + 0x120], ebx
je case.0x667b58.6
mov ecx, dword [ebp + 0x20]
call fcn.006413e0
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x667b58.6
xor ecx, ecx
mov cl, byte [eax + 0x668da8]
jmp dword [ecx*4 + 0x668d98]
mov eax, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov eax, 5
mov dword [esp + 0x34], 0xffff0000
mov dword [esp + 0x24], eax
mov dword [esp + 0x94], eax
mov eax, 3
mov dword [esp + 0x30], 0xfe
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], 7
cmp eax, ebx
mov dword [esp + 0x98], 6
mov dword [esp + 0x74], ebx
mov dword [esp + 0x28], ebx
je 0x667bc6
mov edx, ecx
sub edx, eax
jne 0x667bda
lea eax, [esp + 0x11]
mov byte [esp + 0x11], 0x2c
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00669420
mov esi, 2
mov byte [esp + 0x13], 0x2a
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x11], 0x14
jmp case.0x667b58.6
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x34], 0xffff0000
mov dword [esp + 0x30], 0xfe
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], ebx
call fcn.006413e0
cmp eax, 8
jne 0x667c1f
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov esi, 2
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x94], 5
mov dword [esp + 0x70], ebx
mov dword [esp + 0x98], 6
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x28], ebx
je 0x667c64
mov edx, ecx
sub edx, eax
jne 0x667c78
lea eax, [esp + 0x12]
mov byte [esp + 0x12], 0x2c
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00669420
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], esi
cmp eax, ebx
mov dword [esp + 0x38], esi
je 0x667c96
mov ecx, dword [esp + 0x8c]
sub ecx, eax
jne 0x667ca6
mov al, 3
mov byte [esp + 0x13], 0xaa
mov byte [esp + 0x11], al
mov byte [ebp + 0x28], al
jmp case.0x667b58.6
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x13], dl
mov byte [esp + 0x11], al
mov byte [ebp + 0x28], al
jmp case.0x667b58.6
mov esi, dword [esp + 0x40]
mov dword [esp + 0x20], ebx
cmp esi, ebx
jne 0x667cc8
xor ecx, ecx
jmp 0x667cce
mov ecx, dword [esp + 0x44]
sub ecx, esi
cmp ecx, ebx
jle 0x667ce7
mov eax, ecx
lea edi, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0xb20]
mov ecx, dword [esp + 0xb24]
add ecx, eax
mov dword [esp + 0x7c], ebx
cmp eax, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x9c], eax
mov edx, eax
mov dword [esp + 0x50], ecx
jae 0x667d54
mov ecx, dword [esp + 0xb14]
lea esi, [ecx + eax*8 + 4]
mov ecx, dword [esi]
lea edi, [ecx*8]
sub edi, ecx
lea edi, [ecx + edi*4]
mov ecx, dword [ebp + 0x34]
cmp dword [ecx + edi*4 + 0x68], ebx
jne 0x667d48
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x50]
inc edx
add esi, 8
cmp edx, ecx
jb 0x667d26
mov ecx, dword [esp + 0x50]
mov ebx, eax
cmp eax, ecx
jae 0x6689c5
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*4]
mov eax, dword [eax + edx*4 + 0x68]
test eax, eax
jne 0x6689af
mov eax, dword [ecx + 0x60]
dec eax
je 0x6682cb
dec eax
je 0x668055
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x667da7
xor edx, edx
jmp 0x667dbd
mov edx, dword [ebp + 0x48]
sub edx, eax
mov eax, 0x551c979b
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
test edx, edx
jle 0x667ddc
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x44]
cmp dword [esi], edi
je 0x667e83
inc eax
add esi, 0x604
cmp eax, edx
jl 0x667dc9
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0xb14]
mov ecx, dword [esi + 0x34]
add esi, 0x40
mov eax, dword [edx + ebx*8 + 4]
lea edi, [eax*8]
sub edi, eax
lea eax, [eax + edi*4]
mov eax, dword [ecx + eax*4 + 8]
mov dword [esp + 0x4f4], eax
mov eax, dword [edx + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [esi + 0xc]
mov ecx, dword [ecx + eax*4 + 0x10]
mov eax, 0x551c979b
mov dword [esp + 0x4f8], ecx
mov ecx, dword [esi + 8]
sub edx, ecx
mov dword [esp + 0x4fc], 0
imul edx
sar edx, 9
mov eax, edx
mov ebp, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x667f49
mov eax, dword [esi + 4]
test eax, eax
je 0x667e8b
sub ecx, eax
mov eax, 0x551c979b
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jbe 0x667e8b
mov ecx, esi
call fcn.006693a0
mov edi, eax
jmp 0x667e90
mov dword [ecx + 0xc], eax
jmp 0x6689af
mov edi, 1
mov ecx, esi
call fcn.006693a0
add eax, edi
mov dword [esp + 0x4c], eax
jns 0x667ea1
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 7
add edx, eax
shl edx, 2
push edx
call fcn.00697be2
add esp, 4
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, esi
push edi
push ebp
push eax
call fcn.0066a250
lea ecx, [esp + 0x4f4]
mov dword [esp + 0x6c], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.0066a290
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 8]
add edx, 0x604
mov ecx, esi
push edx
push eax
push ebp
call fcn.0066a250
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0057e9e0
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov eax, dword [esp + 0x50]
add esp, 4
lea ecx, [eax + eax*2]
shl ecx, 7
add ecx, eax
lea edx, [edi + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.006693a0
inc eax
mov ebp, dword [esp + 0x1c]
mov dword [esi + 4], edi
lea ecx, [eax + eax*2]
shl ecx, 7
add ecx, eax
mov eax, dword [esp + 0x18]
inc eax
lea edx, [edi + ecx*4]
mov dword [esp + 0x18], eax
mov dword [esi + 8], edx
jmp 0x6689af
mov edx, ecx
mov eax, 0x551c979b
sub edx, ebp
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x667fcd
lea edx, [ebp + 0x604]
push edx
push ecx
push ebp
mov ecx, esi
call fcn.0066a250
mov edi, dword [esi + 8]
lea eax, [esp + 0x4f4]
mov ecx, edi
push eax
sub ecx, ebp
mov eax, 0x551c979b
imul ecx
sar edx, 9
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push edi
call fcn.0066a290
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x667fc4
mov edi, ebp
add ebp, 0x604
mov ecx, 0x181
lea esi, [esp + 0x4f4]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x667faa
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + 0x40]
jmp 0x668037
lea eax, [ecx - 0x604]
push ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x84], eax
call fcn.0066a250
mov edx, dword [esi + 8]
lea eax, [edx - 0x604]
cmp ebp, eax
je 0x66800b
sub eax, 0x604
sub edx, 0x604
mov ecx, 0x181
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x667ff1
lea edx, [ebp + 0x604]
mov eax, ebp
cmp ebp, edx
je 0x668030
mov edi, eax
add eax, 0x604
mov ecx, 0x181
lea esi, [esp + 0x4f4]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x668017
mov edx, dword [esp + 0x1c]
lea eax, [edx + 0x40]
mov ecx, dword [eax + 8]
mov ebp, dword [esp + 0x1c]
add ecx, 0x604
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x6689af
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0xb0c]
lea eax, [esp + 0xa0]
push eax
push ecx
mov ecx, esi
call fcn.0063c3b0
cmp dword [esp + 0xa0], 1
jne 0x6689da
mov eax, dword [esp + 0xac]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0xb0]
push edx
push eax
call fcn.0063c3e0
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.0063c490
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x6680b5
xor edi, edi
jmp 0x6680bb
mov edi, dword [esp + 0x64]
sub edi, eax
mov eax, dword [esp + 0xb14]
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov dword [eax + edx*4 + 0x34], 0xffffffff
mov eax, dword [esp + 0xb14]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + ebx*8 + 4]
add ecx, edx
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x34]
mov dword [edx + eax*4 + 0x40], ecx
mov eax, dword [esp + 0xc4]
test eax, 0xfffffff8
jne 0x668162
mov eax, dword [esp + 0xb14]
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0xc0]
mov dword [eax + edx*4 + 0x44], ecx
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0xc4]
mov dword [eax + edx*4 + 0x48], ecx
jmp 0x6681a9
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov dword [eax + edx*4 + 0x44], 7
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
mov ecx, dword [ebp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xc4]
mov dword [ecx + eax*4 + 0x48], edx
mov eax, dword [esp + 0x34]
mov ecx, 1
mov dword [esp + 0x4f4], eax
mov dword [esp + 0x4fc], ecx
mov word [esp + 0x500], cx
mov cx, word [esp + 0x58]
or eax, 0xffffffff
xor esi, esi
test edi, edi
mov dword [esp + 0x4f8], eax
mov word [esp + 0x502], cx
mov dword [esp + 0x504], eax
jbe 0x668205
mov eax, dword [esp + 0x60]
xor edx, edx
mov dl, byte [eax + esi]
lea eax, [esp + esi + 0x508]
inc esi
mov dh, dl
cmp esi, edi
mov byte [eax], dl
jb 0x6681ec
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x668210
xor edi, edi
jmp 0x668228
mov ecx, dword [ebp + 0x48]
sub ecx, eax
mov eax, 0x551c979b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
xor esi, esi
test edi, edi
jle 0x668249
mov eax, dword [ebp + 0x44]
mov cl, byte [esp + 0x508]
add eax, 0x14
cmp byte [eax], cl
je 0x66829f
inc esi
add eax, 0x604
cmp esi, edi
jl 0x66823b
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x40]
lea edx, [esp + 0x4f4]
mov dword [esp + 0x4fc], 1
push edx
push 1
push eax
call fcn.00669bd0
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
mov edx, dword [ebp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4 + 0xc], eax
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
jmp 0x6689af
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
mov ecx, dword [ebp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov dword [ecx + eax*4 + 0xc], esi
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
jmp 0x6689af
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0xb0c]
lea eax, [esp + 0xa0]
push eax
push ecx
mov ecx, esi
call fcn.0063c3b0
cmp dword [esp + 0xa0], 1
jne 0x668a41
mov eax, dword [esp + 0xac]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0xb0]
push edx
push eax
call fcn.0063c3e0
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.0063c490
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x66832d
mov dword [esp + 0x4c], ecx
jmp 0x668337
mov eax, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb14]
mov cl, byte [ecx]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x34]
mov byte [edx + eax*4 + 0x64], cl
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 0x34]
mov cl, byte [ecx + 1]
mov byte [eax + edx*4 + 0x65], cl
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov dword [eax + edx*4 + 0x34], 0xffffffff
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
mov ecx, dword [ebp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x40], edx
mov eax, dword [esp + 0xc4]
mov edx, eax
shr edx, 3
jne 0x6683fa
mov eax, dword [esp + 0xb14]
mov esi, dword [esp + 0xc0]
mov edx, 1
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x34]
mov dword [ecx + eax*4 + 0x44], esi
jmp 0x668421
test al, 7
je 0x6683ff
inc edx
mov eax, dword [esp + 0xb14]
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x34]
mov dword [ecx + eax*4 + 0x44], 7
mov eax, dword [esp + 0xb14]
mov esi, dword [esp + 0xc4]
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x34]
mov dword [ecx + eax*4 + 0x48], esi
mov esi, dword [esp + 0x9c]
cmp esi, ebx
jae 0x6684ca
mov eax, dword [esp + 0xb14]
mov edi, dword [ebp + 0x34]
mov eax, dword [eax + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov cl, byte [edi + eax*4 + 0x64]
mov byte [esp + 0x12], cl
mov ecx, esi
lea eax, [edi + eax*4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xb14]
lea eax, [eax + ecx*8 + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x12]
cmp byte [edi + eax*4 + 0x64], cl
lea eax, [edi + eax*4]
jne 0x6684ba
mov ecx, dword [esp + 0x78]
mov al, byte [eax + 0x65]
cmp al, byte [ecx + 0x65]
je 0x668569
mov ecx, dword [esp + 0x6c]
inc esi
add ecx, 8
cmp esi, ebx
mov dword [esp + 0x6c], ecx
jb 0x66848b
mov eax, dword [esp + 0x4c]
test eax, eax
jbe 0x6684f3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x60]
lea edi, [esp + eax + 0x12c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edi, ecx
mov ecx, dword [esp + 0x74]
add esi, edx
add ecx, edx
add eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x98]
cmp edx, eax
jge 0x668697
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
je 0x668697
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jl 0x668670
test eax, eax
je 0x668670
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x6685be
xor eax, eax
jmp 0x6685c4
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + esi*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [edi + eax*4 + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0xb14]
mov edx, dword [ebp + 0x34]
mov eax, dword [ecx + esi*8 + 4]
lea esi, [eax*8]
sub esi, eax
lea esi, [eax + esi*4]
mov eax, dword [ecx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [edx + esi*4 + 0x40]
mov dword [edx + eax*4 + 0x40], ecx
jmp 0x66851f
mov eax, dword [esp + 0x44]
sub eax, esi
test eax, eax
jle 0x6685df
mov ecx, eax
lea edi, [esp + 0x12c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x30]
mov byte [esp + eax + 0x12c], cl
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x66860b
mov dl, byte [esp + 0x94]
add dl, cl
mov cl, byte [esp + 0x28]
shl dl, 3
or dl, cl
mov byte [esp + eax + 0x12d], dl
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x12c]
mov ecx, eax
lea edi, [esp + 0x404]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x400], eax
lea ecx, [ebp + 0x50]
lea eax, [esp + 0x400]
push eax
push 1
push edx
call fcn.00669f20
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x668660
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xb14]
mov eax, dword [edx + ebx*8 + 4]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4 + 0xc], ecx
jmp 0x6689af
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x6686a3
xor eax, eax
jmp 0x6686a9
mov eax, dword [esp + 0x44]
sub eax, esi
test eax, eax
jle 0x6686c4
mov ecx, eax
lea edi, [esp + 0x12c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x70]
mov cl, byte [esp + 0x30]
test esi, esi
mov byte [esp + eax + 0x12c], cl
je 0x66871e
mov dl, byte [esp + 0x94]
mov cl, byte [esp + 0x2c]
add dl, cl
mov cl, byte [esp + 0x28]
shl dl, 3
or dl, cl
mov byte [esp + eax + 0x12d], dl
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x66871e
mov ecx, esi
mov edx, eax
sub ecx, edx
or eax, 0xffffffff
lea edi, [esp + edx + 0x12c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x14], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x12c]
mov ecx, eax
lea edi, [esp + 0x404]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x400], eax
lea ecx, [ebp + 0x50]
lea eax, [esp + 0x400]
push eax
push 1
push edx
call fcn.00669f20
mov eax, dword [esp + 0x34]
mov dx, word [esp + 0x58]
mov dword [esp + 0x4f4], eax
mov eax, 1
or ecx, 0xffffffff
mov dword [esp + 0x4fc], eax
mov word [esp + 0x500], ax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x4f8], ecx
mov dword [esp + 0x504], ecx
mov cl, byte [esp + 0x30]
mov word [esp + 0x502], dx
test eax, eax
mov ch, cl
mov byte [esp + 0x508], cl
jne 0x6687b2
xor edx, edx
jmp 0x6687c8
mov edx, dword [ebp + 0x48]
sub edx, eax
mov eax, 0x551c979b
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
xor esi, esi
test edx, edx
jle 0x6687e6
mov eax, dword [ebp + 0x44]
add eax, 0x14
cmp byte [eax], cl
je 0x6688f1
inc esi
add eax, 0x604
cmp esi, edx
jl 0x6687d4
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x40]
lea edx, [esp + 0x4f4]
push edx
push 1
push eax
call fcn.00669bd0
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
mov edx, dword [ebp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4 + 0xc], eax
inc eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x30]
mov byte [esp + edx + 0x21c], al
mov eax, dword [esp + 0x70]
inc edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x668914
mov esi, dword [esp + 0x98]
cmp edx, esi
jge 0x668861
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp eax, ecx
jne 0x668978
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x11]
cmp edx, esi
mov byte [esp + 0x21c], al
mov byte [esp + 0x21d], cl
jge 0x66889b
mov ecx, esi
lea edi, [esp + edx + 0x21c]
sub ecx, edx
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x20], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x21c]
mov ecx, eax
lea edi, [esp + 0x310]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x68]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x30c], eax
lea ecx, [ebp + 0x60]
lea eax, [esp + 0x30c]
push eax
push 1
push edx
call fcn.00669f20
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x11]
add al, 0x10
mov byte [esp + 0x11], al
jmp 0x668978
mov ecx, dword [esp + 0xb14]
mov eax, dword [ecx + ebx*8 + 4]
mov ecx, dword [ebp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov dword [ecx + eax*4 + 0xc], esi
jmp 0x668823
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp eax, ecx
jne 0x668978
mov al, byte [esp + 0x11]
mov dl, byte [esp + 0x13]
mov byte [esp + 0x21d], al
mov eax, dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0x21c], dl
mov edx, ecx
lea esi, [esp + 0x21c]
lea edi, [esp + 0x310]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x68]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x30c], eax
lea ecx, [ebp + 0x60]
lea eax, [esp + 0x30c]
push eax
push 1
push edx
call fcn.00669f20
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
inc ecx
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
inc edx
inc ebx
cmp ebx, eax
mov dword [esp + 0x7c], edx
jb 0x667d62
mov eax, dword [ebp + 0x64]
add ebp, 0x60
test eax, eax
jne 0x668aa8
xor edx, edx
jmp 0x668abe
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00697880
mov edx, dword [esp + 0x44]
xor esi, esi
push edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.00697880
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], esi
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.00697880
mov ecx, dword [esp + 0xb20]
mov dword [esp + 0x6c], esi
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.00697880
add esp, 0x10
xor eax, eax
jmp 0x668d7d
mov edx, dword [esp + 0x88]
push edx
call fcn.00697880
mov eax, dword [esp + 0x44]
xor esi, esi
push eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.00697880
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], esi
push ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.00697880
mov edx, dword [esp + 0xb20]
mov dword [esp + 0x6c], esi
push edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.00697880
add esp, 0x10
xor eax, eax
jmp 0x668d7d
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x668d10
xor ebx, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ebx
mov esi, dword [esp + 0x1c]
mov eax, 0x4325c53f
mov ebp, dword [esi + 0x64]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
add esi, 0x50
sub edx, ecx
add ebx, ebp
imul edx
sar edx, 6
mov eax, edx
mov ebp, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x668c10
mov edi, dword [esi + 4]
test edi, edi
je 0x668b25
mov edx, ecx
mov eax, 0x4325c53f
sub edx, edi
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov dword [esp + 0x38], edx
ja 0x668b2d
mov dword [esp + 0x38], 1
test edi, edi
jne 0x668b35
xor edx, edx
jmp 0x668b48
sub ecx, edi
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [esp + 0x38]
add eax, edx
test eax, eax
mov dword [esp + 0x78], eax
jge 0x668b58
xor eax, eax
mov ecx, eax
shl ecx, 5
sub ecx, eax
shl ecx, 1
sub ecx, eax
shl ecx, 2
push ecx
call fcn.00697be2
mov esi, dword [esi + 4]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x38], eax
mov edi, eax
je 0x668b96
push esi
push edi
call fcn.0066a410
add esi, 0xf4
add esp, 8
add edi, 0xf4
cmp esi, ebp
jne 0x668b7c
mov edx, dword [esp + 0x1c]
push ebx
push 1
push edi
lea esi, [edx + 0x50]
mov ecx, esi
call fcn.0066a310
mov eax, dword [esi + 8]
add edi, 0xf4
push edi
push eax
push ebp
mov ecx, esi
call fcn.0066a2d0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0057e9e0
mov eax, dword [esi + 4]
push eax
call fcn.00697880
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x3c]
mov ecx, eax
add esp, 4
shl ecx, 5
sub ecx, eax
shl ecx, 1
sub ecx, eax
lea edx, [edi + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.006693f0
inc eax
mov dword [esi + 4], edi
mov ecx, eax
shl ecx, 5
sub ecx, eax
shl ecx, 1
sub ecx, eax
lea edx, [edi + ecx*4]
mov dword [esi + 8], edx
jmp 0x668cf3
mov edx, ecx
mov eax, 0x4325c53f
sub edx, ebp
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x668c88
lea edx, [ebp + 0xf4]
push edx
push ecx
push ebp
mov ecx, esi
call fcn.0066a2d0
mov edi, dword [esi + 8]
mov eax, 0x4325c53f
mov ecx, edi
push ebx
sub ecx, ebp
imul ecx
sar edx, 6
mov eax, edx
mov ecx, 1
shr eax, 0x1f
add edx, eax
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.0066a310
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x668c7f
mov edi, ebp
add ebp, 0xf4
mov ecx, 0x3d
mov esi, ebx
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x668c6a
mov edx, dword [esp + 0x1c]
lea eax, [edx + 0x50]
jmp 0x668cec
lea eax, [ecx - 0xf4]
push ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x84], eax
call fcn.0066a2d0
mov edx, dword [esi + 8]
lea eax, [edx - 0xf4]
cmp ebp, eax
je 0x668cc6
sub eax, 0xf4
sub edx, 0xf4
mov ecx, 0x3d
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x668cac
lea eax, [ebp + 0xf4]
cmp ebp, eax
je 0x668ce5
mov edi, ebp
add ebp, 0xf4
mov ecx, 0x3d
mov esi, ebx
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x668cd0
mov eax, dword [esp + 0x1c]
add eax, 0x50
add dword [eax + 8], 0xf4
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add ebx, 0xf4
dec eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
jne 0x668ad0
mov ecx, dword [esp + 0x1c]
call fcn.00668dc0
mov ecx, dword [esp + 0x88]
mov edi, eax
push ecx
call fcn.00697880
mov edx, dword [esp + 0x44]
xor esi, esi
push edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.00697880
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], esi
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.00697880
mov ecx, dword [esp + 0xb20]
mov dword [esp + 0x6c], esi
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.00697880
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0xaf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xaf4
ret 0x20