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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6cb79b
push eax
mov eax, 0x28bc
mov dword fs:[0], esp
call fcn.00698650
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.006675c0
xor esi, esi
lea ecx, [esp + 0x5ac]
mov dword [esp + 0x5c], esi
call fcn.00652890
mov eax, dword [ebp + 0x44]
mov edi, dword [ebp + 0x14]
cmp eax, esi
mov dword [esp + 0x28d4], esi
jne 0x665ab3
mov dword [esp + 0x18], esi
jmp 0x665acd
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 dword [esp + 0x18], edx
mov ebx, dword [esp + 0x28e8]
cmp ebx, esi
jne 0x665ae1
mov ebx, edi
mov dword [esp + 0x28e8], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x40], esi
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dl, byte [esp + 0x13]
mov dword [esp + 0x64], esi
mov byte [esp + 0x4c], dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xcc]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
mov byte [esp + 0x28dc], 2
call fcn.0063c730
mov eax, dword [esp + 0xcc]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0xcc]
push edx
push eax
call fcn.0063c730
mov eax, dword [esp + 0x100]
mov edi, dword [esp + 0x28e4]
cmp eax, esi
je 0x665da5
mov eax, dword [esp + 0xe0]
cmp eax, 0xffffffff
je 0x665da5
mov cl, byte [esp + 0x13]
mov dword [esp + 0x20], esi
mov byte [esp + 0x1c], cl
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x80]
push edx
push eax
mov byte [esp + 0x28dc], 3
mov dword [esp + 0x88], esi
call fcn.0063c3b0
cmp dword [esp + 0x80], 1
jne 0x665bbd
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x90]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
call fcn.0063c3e0
mov eax, dword [esp + 0x90]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0063c490
movsx eax, di
lea ecx, [edi + ebx]
mov dword [esp + 0x34], edi
cmp eax, ecx
mov dword [esp + 0x2c], ecx
jae 0x665d94
mov cl, byte [esp + 0x13]
xor esi, esi
mov byte [esp + 0x68], cl
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x34]
lea edi, [esp + 0x80]
mov byte [esp + 0x28d4], 4
mov eax, dword [ecx + eax*8 + 4]
push edi
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [edx + eax*4 + 0x10]
push ecx
mov ecx, dword [ebp + 0x2c]
call fcn.0063c3b0
cmp dword [esp + 0x80], 1
jne 0x665f1e
mov eax, dword [esp + 0x8c]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x90]
push edx
push eax
call fcn.0063c3e0
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
call fcn.0063c490
mov eax, dword [esp + 0x6c]
cmp eax, esi
jne 0x665c78
xor ebx, ebx
jmp 0x665c7e
mov ebx, dword [esp + 0x70]
sub ebx, eax
cmp ebx, esi
jbe 0x665ca2
lea ecx, [esp + 0x1c0]
sub eax, ecx
lea edi, [esp + esi + 0x1c0]
xor edx, edx
inc esi
mov dl, byte [edi + eax]
cmp esi, ebx
mov dh, dl
mov byte [edi], dl
jb 0x665c8b
xor esi, esi
mov edi, dword [esp + 0x40]
cmp edi, esi
jne 0x665cae
xor edx, edx
jmp 0x665cc5
mov ecx, dword [esp + 0x44]
mov eax, 0x4325c53f
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, esi
mov dword [esp + 0x38], edx
jle 0x665cfc
add edi, 4
mov dword [esp + 0x14], edi
mov ecx, ebx
lea esi, [esp + 0x1c0]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x665d58
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
add edi, 0xf4
cmp eax, ecx
mov dword [esp + 0x14], edi
jl 0x665cd6
mov ecx, ebx
lea esi, [esp + 0x1c0]
mov eax, ecx
lea edi, [esp + 0x2b4]
shr ecx, 2
mov dword [esp + 0x2b0], ebx
mov edx, dword [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2b0]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00669610
xor esi, esi
test ebx, ebx
jbe 0x665d58
mov ecx, dword [esp + 0x54]
lea eax, [esp + esi + 0x1c0]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00669420
inc esi
cmp esi, ebx
jb 0x665d3d
mov edx, dword [esp + 0x6c]
push edx
call fcn.00697880
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
add esp, 4
inc eax
mov dword [esp + 0x34], eax
movsx eax, ax
cmp eax, ecx
jb 0x665be8
mov ebx, dword [esp + 0x28e8]
xor esi, esi
push esi
mov byte [esp + 0x28d8], 2
call fcn.00697880
add esp, 4
push 2
call fcn.00697be2
mov ecx, dword [ebp + 0x18]
add esp, 4
lea eax, [esp + 0xcc]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
call fcn.0063c730
mov ecx, dword [ebp + 0x20]
call fcn.006413e0
cmp eax, 0x10
je 0x665dfd
mov ecx, dword [ebp + 0x20]
call fcn.006413e0
cmp eax, 9
je 0x665dfd
mov ecx, dword [ebp + 0x20]
call fcn.006413e0
cmp eax, 8
je 0x665dfd
mov ecx, dword [ebp + 0x20]
call fcn.006413e0
cmp eax, 3
jne 0x666491
xor esi, esi
cmp dword [esp + 0x100], esi
je 0x666491
lea ecx, [esp + 0x90]
call fcn.0060d180
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x28d4], 5
call fcn.006413e0
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x665e3a.6
xor edx, edx
mov dl, byte [eax + 0x6670e0]
jmp dword [edx*4 + 0x6670d0]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x180]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
call fcn.0063c730
mov eax, dword [esp + 0x180]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x140]
push edx
push eax
call fcn.0063c730
cmp dword [esp + 0x154], 0xffffffff
je 0x665fe3
lea ecx, [esp + 0x173c]
call fcn.00652890
push 0xff
mov byte [esp + 0x28d8], 6
call fcn.00697be2
mov ecx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x158]
add esp, 4
mov ebx, eax
push ecx
push edx
lea ecx, [esp + 0x1744]
call fcn.00653050
mov edi, eax
xor esi, esi
test edi, edi
jle 0x665ed0
push esi
lea ecx, [esp + 0x1740]
call fcn.00653190
inc esi
cmp esi, edi
jl 0x665ebe
mov eax, dword [esp + 0x18]
xor esi, esi
lea ecx, [esp + 0x90]
push esi
push ecx
mov ecx, dword [ebp + 0x20]
push 1
push esi
push esi
push esi
lea edx, [esp + 0x1754]
inc eax
push ebx
push edx
mov dword [esp + 0x1774], eax
call fcn.006462e0
cmp eax, esi
jne 0x665f88
lea ecx, [esp + 0x173c]
mov byte [esp + 0x28d4], 5
call fcn.006529a0
jmp 0x6661b9
mov eax, dword [esp + 0x6c]
push eax
call fcn.00697880
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call fcn.00697880
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00697880
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x5c], esi
push edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.00697880
add esp, 0x10
lea ecx, [esp + 0x5ac]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28d4], 0xffffffff
call fcn.006529a0
or eax, 0xffffffff
jmp 0x6670b3
cmp ebx, esi
je 0x665f95
push ebx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x173c]
mov byte [esp + 0x28d4], 5
call fcn.006529a0
xor esi, esi
lea ecx, [esp + 0x90]
call fcn.0060d760
movsx eax, ax
cmp eax, esi
jbe 0x666228
push esi
lea ecx, [esp + 0x94]
call fcn.0060d6a0
mov ecx, dword [eax + 4]
cmp ecx, esi
jne 0x66621a
mov dword [esp + 0x14], esi
jmp 0x66622c
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x90]
push edx
push ebx
push 1
push 5
push 0x71380c
call fcn.00646210
jmp case.0x665e3a.6
mov ecx, dword [esp + 0x100]
mov eax, 1
cmp ecx, eax
jne 0x66609b
mov cl, byte [ebp + 0x28]
mov dword [esp + 0x64], eax
cmp cl, al
jne 0x66603e
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x64]
lea ecx, [esp + 0x90]
add edx, 2
push ecx
mov cx, word [eax]
xor esi, esi
push edx
push esi
add eax, 4
push ecx
push eax
jmp 0x666057
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
add ecx, 2
push edx
push ecx
xor esi, esi
push esi
push eax
push 0x70425c
mov ecx, dword [ebp + 0x20]
call fcn.00646210
cmp eax, esi
jne 0x665fab
lea ecx, [esp + 0x90]
mov byte [esp + 0x28d4], 2
call fcn.0060d280
mov edx, dword [esp + 0x50]
push edx
call fcn.00697880
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
push eax
jmp 0x6661e8
mov edi, dword [esp + 0x50]
xor esi, esi
cmp edi, esi
je 0x66611a
mov ecx, dword [esp + 0x54]
sub ecx, edi
mov dword [esp + 0x30], ecx
je 0x66611a
cmp ecx, esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], ecx
jbe 0x6660d9
xor eax, eax
xor edx, edx
inc esi
mov dl, byte [eax + edi]
lea eax, [esp + eax + 0x1c0]
mov dh, dl
mov byte [eax], dl
movsx eax, si
cmp eax, ecx
jb 0x6660bf
xor esi, esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x6660e5
xor edx, edx
jmp 0x6660fc
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x90]
add edx, 2
push eax
push edx
push esi
push ecx
lea edx, [esp + 0x1d0]
jmp 0x6661a8
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
add ecx, 2
push edx
push ecx
jmp 0x666050
mov edi, dword [esp + 0x50]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x64], 1
jne 0x666145
xor ecx, ecx
jmp 0x66614b
mov ecx, dword [esp + 0x54]
sub ecx, edi
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jbe 0x66616f
xor eax, eax
xor edx, edx
inc esi
mov dl, byte [eax + edi]
lea eax, [esp + eax + 0x2b0]
mov dh, dl
mov byte [eax], dl
movsx eax, si
cmp eax, ecx
jb 0x666155
xor esi, esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x66617b
xor edx, edx
jmp 0x666192
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x90]
push eax
push edx
push esi
push ecx
lea edx, [esp + 0x2c0]
mov ecx, dword [ebp + 0x20]
push edx
call fcn.00646210
cmp eax, esi
jne 0x665fab
lea ecx, [esp + 0x90]
mov byte [esp + 0x28d4], 2
call fcn.0060d280
mov eax, dword [esp + 0x50]
push eax
call fcn.00697880
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
push ecx
call fcn.00697880
add esp, 8
lea ecx, [esp + 0x5ac]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28d4], 0xffffffff
call fcn.006529a0
xor eax, eax
jmp 0x6670b3
mov esi, dword [eax + 8]
sub esi, ecx
sar esi, 2
mov dword [esp + 0x14], esi
jmp 0x66622c
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.0060fe70
mov edi, dword [esp + 0x18]
mov byte [esp + 0x28d4], 7
lea edx, [edi*4]
push edx
call fcn.00697be2
mov ecx, edi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
and ecx, 3
mov byte [esp + 0x38], 0
test esi, esi
rep stosb byte es:[edi], al
jle 0x666458
xor eax, eax
push eax
push 0
lea ecx, [esp + 0x98]
call fcn.0060d6a0
mov ecx, eax
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x38]
call fcn.006101a0
lea ecx, [esp + 0x34]
call fcn.00610350
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x78], 0
jle 0x666435
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebp + 0x44]
xor esi, esi
xor edi, edi
lea ebx, [ecx + ecx*2]
shl ebx, 7
add ebx, ecx
shl ebx, 2
mov si, word [eax + ebx + 0xe]
mov di, word [eax + ebx + 0xc]
lea ecx, [eax + ebx + 0x14]
mov dword [esp + 0x30], ecx
call fcn.00626110
test al, al
je 0x66637b
lea ecx, [esp + 0x34]
call fcn.00610340
mov edx, dword [esp + 0x60]
mov byte [esp + 0x5a7], al
mov ecx, dword [esp + 0x5a7]
mov eax, dword [esp + 0x64]
and ecx, 0xff
lea edi, [esp + 0x4a8]
sub ecx, eax
lea esi, [edx + eax]
mov eax, ecx
mov edx, dword [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x44]
and ecx, 3
push 0x64
rep movsb byte es:[edi], byte [esi]
lea edi, [eax + ebx + 0x104]
mov ecx, 0x40
lea esi, [esp + 0x4ac]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword [eax + ebx + 0x10], 1
mov dword [ecx + edx*4], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x66638d
mov eax, dword [esp + 0x60]
mov ecx, edi
mov edi, dword [esp + 0x30]
add esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x6663ae
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x78], eax
movsx eax, ax
cmp eax, ecx
mov dword [esp + 0x7c], eax
jl 0x6662cf
jmp 0x666435
movsx ebx, word [esp + 0x78]
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 1
je 0x666435
lea ecx, [esp + 0x34]
call fcn.00610340
mov edx, dword [esp + 0x60]
mov byte [esp + 0x4a3], al
mov ecx, dword [esp + 0x4a3]
mov eax, dword [esp + 0x64]
and ecx, 0xff
lea edi, [esp + 0x3a4]
sub ecx, eax
lea esi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + ebx*2]
and ecx, 3
shl eax, 7
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x44]
add eax, ebx
shl eax, 2
lea esi, [esp + 0x3a4]
lea edi, [ecx + eax + 0x104]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x44]
mov dword [ecx + eax + 0x10], 1
mov ecx, dword [esp + 0x2c]
mov dword [ecx + ebx*4], 1
mov bl, byte [esp + 0x38]
mov ecx, dword [esp + 0x14]
inc bl
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x38]
and eax, 0xff
cmp eax, ecx
jl 0x66627a
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x666465
push edx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x28d4], 5
call fcn.0060ffb0
lea ecx, [esp + 0x90]
mov byte [esp + 0x28d4], 2
call fcn.0060d280
mov ebx, dword [esp + 0x28e8]
mov eax, dword [esp + 0x28e4]
mov dword [esp + 0x34], eax
lea ecx, [eax + ebx]
movsx ebx, ax
cmp ebx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], ebx
jae 0x667017
mov esi, dword [esp + 0x28dc]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
call fcn.004138a0
mov ecx, 0x71b930
mov byte [esp + 0x28d4], 8
call fcn.006121b0
test ax, ax
jne 0x666f98
mov eax, dword [esp + 0x28e0]
test eax, eax
jne 0x666f98
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x34]
mov eax, dword [ecx + ebx*8 + 4]
lea edi, [eax*8]
sub edi, eax
lea eax, [eax + edi*4]
or edi, 0xffffffff
cmp dword [edx + eax*4 + 0x30], edi
je 0x66656f
mov eax, dword [ecx + ebx*8 + 4]
push 0
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [edx + eax*4 + 0x30]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.006421c0
test eax, eax
jne 0x66656f
mov edi, 0x70386c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x70386c
lea ecx, [esp + 0x24]
call fcn.00414030
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov ecx, esi
call fcn.004bda90
jmp 0x666769
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x34]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
cmp dword [ecx + eax*4 + 0x1c], edi
je 0x6666b8
lea ecx, [esp + 0x173c]
call fcn.00652890
push 0xff
mov byte [esp + 0x28d8], 9
call fcn.00697be2
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp + 0x34]
mov eax, dword [eax + ebx*8 + 4]
push edx
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov ecx, dword [ecx + eax*4 + 0x1c]
push ecx
lea ecx, [esp + 0x1744]
call fcn.00653050
mov edi, eax
xor esi, esi
test edi, edi
jle 0x6665f9
push esi
lea ecx, [esp + 0x1740]
call fcn.00653190
inc esi
cmp esi, edi
jl 0x6665e7
mov esi, dword [esp + 0x30]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push 1
push 0
push 0
push 1
lea edx, [esp + 0x1754]
push esi
push edx
call fcn.006462e0
test eax, eax
jne 0x666690
mov edi, 0x70386c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00414210
test al, al
je 0x666660
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov eax, ecx
mov esi, 0x70386c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004141f0
mov ecx, dword [esp + 0x28dc]
lea edx, [esp + 0x1c]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.004bda90
lea ecx, [esp + 0x173c]
mov byte [esp + 0x28d4], 8
call fcn.006529a0
jmp 0x666ac4
test esi, esi
je 0x66669d
push esi
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x173c]
mov byte [esp + 0x28d4], 8
call fcn.006529a0
mov esi, dword [esp + 0x28dc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x34]
mov eax, dword [ecx + ebx*8 + 4]
lea edi, [eax*8]
sub edi, eax
lea eax, [eax + edi*4]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + ebx*8 + 4]
lea edi, [eax*8]
sub edi, eax
lea eax, [eax + edi*4]
mov edi, dword [edx + eax*4 + 0x68]
test edi, edi
je 0x666781
mov edi, str.Not_supported
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x34], ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00414210
test al, al
je 0x666743
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov esi, str.Not_supported
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004141f0
mov esi, dword [esp + 0x28dc]
mov ecx, dword [0x6ce1fc]
mov eax, dword [esi + 4]
push ecx
mov ecx, ebx
mov ebx, dword [esp + 0x28e8]
lea edx, [esp + 0x20]
sub ecx, ebx
push 0
shl ecx, 4
push edx
add ecx, eax
call fcn.004136a0
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x28d8], 2
call fcn.004138a0
jmp 0x666f7a
mov ebx, dword [ecx + ebx*8 + 4]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [ebx + eax*4]
cmp dword [edx + eax*4 + 0x24], 0xffffffff
je 0x666adc
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + eax*8 + 4]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x68]
mov edx, dword [edx + ecx*4 + 0x24]
mov ecx, dword [ebp + 0x2c]
push edx
push eax
call fcn.0066b150
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x44]
mov byte [esp + 0x28d4], 0xa
lea ebx, [edi + edi*2]
shl ebx, 7
add ebx, edi
shl ebx, 2
mov ecx, dword [eax + ebx + 0x10]
test ecx, ecx
jbe 0x66689a
cmp ecx, 0xffffffff
je 0x6668a3
mov cl, byte [esp + 0x68]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x40], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.004138a0
mov edx, dword [0x6ce1fc]
lea eax, [esp + 0x78]
push edx
push 0
push eax
mov ecx, esi
call fcn.004136a0
push edi
lea ecx, [ebp + 0x40]
mov byte [esp + 0x28e8], 0xa
call fcn.006693d0
mov ecx, dword [esp + 0x28]
add eax, 0x104
push eax
push ecx
lea ecx, [ebp + 4]
call fcn.00669370
mov edx, dword [eax + 4]
lea ecx, [ebp + 0x30]
push edx
call fcn.00669380
mov eax, dword [eax + 4]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, 0x71bed0
call fcn.00636b30
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
mov byte [esp + 0x28e0], 0xc
call fcn.004136a0
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x28d8], 0xa
call fcn.004138a0
jmp 0x666a8b
cmp ecx, 0xffffffff
jne 0x666a3d
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xc0]
mov dword [esp + 0x34], 0
mov byte [esp + 0xc0], al
call fcn.004138a0
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x30]
push 0
lea edx, [esp + 0x94]
mov eax, dword [eax + ebx + 4]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x2c]
push eax
push ecx
push edx
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x28ec], 0xd
call fcn.006537c0
cmp eax, 1
je 0x66694f
mov edi, 0x712a14
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00414210
test al, al
je 0x666a1a
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov esi, 0x712a14
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004141f0
jmp 0x666a1a
mov eax, dword [ebp + 0x44]
mov esi, dword [esp + 0x90]
mov ecx, 0x40
sub esp, 0x10
lea edi, [eax + ebx + 0x104]
mov dword [esp + 0x88], esp
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x78]
mov esi, esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.004138a0
mov ecx, dword [0x6ce1fc]
lea edx, [esp + 0x78]
push ecx
push 0
push edx
mov ecx, esi
call fcn.004136a0
mov eax, dword [esp + 0x24]
lea ecx, [ebp + 0x40]
push eax
mov byte [esp + 0x28e8], 0xd
call fcn.006693d0
mov ecx, dword [esp + 0x28]
add eax, 0x104
push eax
push ecx
lea ecx, [ebp + 4]
call fcn.00669370
mov edx, dword [eax + 4]
lea ecx, [ebp + 0x30]
push edx
call fcn.00669380
mov eax, dword [eax + 4]
lea ecx, [esp + 0x120]
push eax
push ecx
mov ecx, 0x71bed0
call fcn.00636b30
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
mov byte [esp + 0x28e0], 0xf
call fcn.004136a0
push 1
lea ecx, [esp + 0x110]
mov byte [esp + 0x28d8], 0xd
call fcn.004138a0
mov dword [esp + 0x5c], 1
mov eax, dword [ebp + 0x44]
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x28d8], 0xa
mov dword [eax + ebx + 0x10], 1
call fcn.004138a0
jmp 0x666a8b
mov ecx, dword [eax + ebx + 0x10]
test ecx, ecx
jne 0x666a8b
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00414210
test al, al
je 0x666a8b
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov eax, ecx
mov esi, 0x71b8d8
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 + 0x20]
mov dword [esp + 0x24], ebx
mov byte [ebx + ecx], 0
mov ecx, dword [0x6ce1fc]
mov edx, dword [esp + 0x28dc]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea edx, [esp + 0x20]
shl ecx, 4
push 0
push edx
add ecx, eax
call fcn.004136a0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x28d8], 8
call fcn.004138a0
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x28d8], 2
call fcn.004138a0
jmp 0x666f73
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x44]
lea ebx, [esi + esi*2]
shl ebx, 7
add ebx, esi
xor esi, esi
shl ebx, 2
cmp dword [eax + ebx + 8], esi
jne 0x666cef
mov edi, dword [eax + ebx + 0x10]
cmp edi, esi
jbe 0x666b33
cmp edi, 0xffffffff
je 0x666b33
lea esi, [esp + 0x1c]
add eax, ebx
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*8 + 4]
lea esi, [ecx*8]
sub esi, ecx
lea ecx, [ecx + esi*4]
lea edx, [edx + ecx*4]
mov ecx, ebp
push edx
push eax
call fcn.006670f0
jmp 0x666dcd
cmp dword [eax + ebx + 0x10], 0xffffffff
jne 0x666c96
mov cl, byte [esp + 0x13]
mov dword [esp + 0x38], esi
mov byte [esp + 0x80], cl
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
lea edx, [esp + 0x38]
push esi
push edx
mov edx, dword [eax + ebx + 4]
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
push eax
push ecx
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x28ec], 0x10
call fcn.006537c0
cmp eax, 1
je 0x666bf0
mov edi, 0x712a14
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x34], ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00414210
test al, al
je 0x666be4
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov esi, 0x712a14
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 ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
xor esi, esi
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0x44]
mov dword [eax + ebx + 0x10], esi
jmp 0x666c74
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x666c32
mov edx, ebx
lea eax, [esp + 0x12c]
mov ecx, dword [ebp + 0x44]
mov esi, dword [eax]
add eax, 4
lea edi, [ecx + edx + 0x104]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
inc ecx
add edx, 0x100
cmp ecx, esi
mov dword [esp + 0x14], ecx
jb 0x666c05
mov eax, dword [ebp + 8]
lea esi, [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x44]
mov eax, dword [eax + esi*8 + 4]
add edx, ebx
lea esi, [eax*8]
sub esi, eax
lea eax, [eax + esi*4]
lea ecx, [ecx + eax*4]
push ecx
push edx
mov ecx, ebp
call fcn.006670f0
mov eax, dword [ebp + 0x44]
mov ecx, 1
mov dword [esp + 0x5c], ecx
xor esi, esi
mov dword [eax + ebx + 0x10], ecx
mov byte [esp + 0x28d4], 8
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
jmp 0x666dcd
cmp dword [eax + ebx + 0x10], esi
jne 0x666dcd
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00414210
test al, al
je 0x666dcd
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, 0x71b8d8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [ebx + eax], 0
jmp 0x666dcd
mov edi, 1
cmp dword [eax + ebx + 8], edi
jne 0x666dcd
cmp dword [eax + ebx + 0x10], esi
jbe 0x666d14
cmp dword [eax + ebx + 0x10], 0xffffffff
je 0x666d14
mov dword [esp + 0x5c], edi
jmp 0x666b07
cmp dword [eax + ebx + 0x10], 0xffffffff
jne 0x666d28
mov dword [eax + ebx + 0x10], edi
mov dword [esp + 0x5c], edi
jmp 0x666dcd
cmp dword [eax + ebx + 0x10], esi
jne 0x666dcd
mov edi, 0x712a14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x666d4d
call fcn.0069788b
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x666d75
mov al, byte [edi - 1]
test al, al
je 0x666d75
cmp al, 0xff
je 0x666d75
cmp ebx, esi
jne 0x666d9e
dec al
push esi
lea ecx, [esp + 0x20]
mov byte [edi - 1], al
call fcn.004138a0
jmp 0x666dcd
cmp ebx, esi
jne 0x666d86
push 1
lea ecx, [esp + 0x20]
call fcn.004138a0
jmp 0x666dcd
mov eax, dword [esp + 0x28]
cmp eax, 0x1f
ja 0x666d93
cmp eax, ebx
jae 0x666dac
push 1
lea ecx, [esp + 0x20]
call fcn.004138a0
push ebx
lea ecx, [esp + 0x20]
call fcn.00414870
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov esi, 0x712a14
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 + 0x20]
mov dword [esp + 0x24], ebx
mov byte [ebx + ecx], 0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
mov dword [esp + 0x30], ecx
jae 0x666dea
mov ecx, edx
mov esi, dword [esp + 0x20]
mov edi, 0x71b8d8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x666dfe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x666e1b
mov eax, dword [esp + 0x30]
cmp edx, eax
jb 0x666e1b
xor ecx, ecx
cmp edx, eax
setne cl
mov eax, ecx
test eax, eax
je 0x666f3a
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28e4]
mov eax, dword [esp + 0x28dc]
mov esi, dword [0x6ce1fc]
sub ebx, edi
mov edi, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edi
shl ebx, 4
add ebx, eax
cmp esi, edi
jae 0x666e4d
mov dword [esp + 0x14], esi
mov edi, esi
lea ecx, [esp + 0x1c]
cmp ebx, ecx
jne 0x666eb2
cmp dword [ebx + 8], edi
jae 0x666e5f
call fcn.00697ab7
mov ecx, ebx
call fcn.00414980
mov eax, dword [ebx + 8]
sub eax, edi
cmp eax, esi
jae 0x666e71
mov esi, eax
test esi, esi
jbe 0x666ea6
mov edx, dword [ebx + 4]
sub eax, esi
push eax
lea ecx, [edx + edi]
lea edx, [ecx + esi]
push edx
push ecx
call fcn.00698020
mov edi, dword [ebx + 8]
add esp, 0xc
sub edi, esi
mov ecx, ebx
push 0
push edi
call fcn.00414210
test al, al
je 0x666ea6
push edi
mov ecx, ebx
call fcn.004141f0
mov ecx, ebx
call fcn.00414980
jmp 0x666f3a
test edi, edi
jbe 0x666efe
cmp edi, edx
jne 0x666efe
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x666ec7
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x666efe
push 1
mov ecx, ebx
call fcn.004138a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x666ee3
mov eax, 0x6ce1f8
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x24]
mov dword [ebx + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x666f3a
push 1
push edi
mov ecx, ebx
call fcn.00414210
test al, al
je 0x666f3a
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x666f19
mov esi, 0x6ce1f8
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
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 + 0x14]
push ecx
mov ecx, ebx
call fcn.004141f0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x28d4], 2
test ecx, ecx
je 0x666f65
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x666f5c
cmp al, 0xff
je 0x666f5c
dec al
mov byte [ecx], al
jmp 0x666f65
push ecx
call fcn.00697880
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x28dc]
mov eax, dword [esp + 0x34]
inc eax
movsx ebx, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
cmp ebx, eax
mov dword [esp + 0x18], ebx
jb 0x6664bd
jmp 0x66700f
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0063a0e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x28e4]
cmp eax, edx
jae 0x666ffc
mov dword [esp + 0x5c], 1
mov edi, 0x70386c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x70386c
lea ecx, [esp + 0x24]
call fcn.00414030
mov eax, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.00639f50
mov eax, dword [esp + 0x2c]
inc ebx
movsx edx, bx
cmp edx, eax
jb 0x666fc2
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x28d8], 2
call fcn.004138a0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x667066
mov eax, dword [esp + 0x50]
push eax
call fcn.00697880
mov ecx, dword [esp + 0x44]
xor esi, esi
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00697880
add esp, 8
lea ecx, [esp + 0x5ac]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28d4], 0xffffffff
call fcn.006529a0
mov eax, 0xaa
jmp 0x6670b3
mov edx, dword [esp + 0x50]
push edx
call fcn.00697880
mov eax, dword [esp + 0x44]
xor esi, esi
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00697880
add esp, 8
lea ecx, [esp + 0x5ac]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28d4], 0xffffffff
call fcn.006529a0
mov eax, 1
mov ecx, dword [esp + 0x28cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28c8
ret 0x10