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

Disassembly:
push 0xffffffffffffffff
push 0x6cbe2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov al, byte [esp + 0xb]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x8c], al
call fcn.004138a0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x90]
call fcn.00414030
lea ecx, [esp + 0x1b]
mov dword [esp + 0x15c], esi
push ecx
lea ecx, [esp + 0x40]
call fcn.0064dca0
lea edx, [esp + 0x33]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x160], 1
call fcn.0064dca0
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x62], ecx
lea edx, [esp + 0x3b]
mov dword [esp + 0x5c], eax
mov word [esp + 0x66], cx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x160], 2
mov word [esp + 0x64], ax
call fcn.0064dca0
lea eax, [esp + 0x13]
lea ecx, [esp + 0x78]
push eax
mov byte [esp + 0x160], 3
call fcn.0064dca0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x15c], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x44]
call fcn.00414030
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x54]
call fcn.00414030
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x70]
call fcn.00414030
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x80]
call fcn.00414030
cmp word [ebp + 0xf8], si
mov byte [esp + 0x15c], 5
je 0x66da70
xor ecx, ecx
mov eax, 0x38e38e39
mov cx, word [ebp + 0xfa]
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
cmp eax, 1
jne 0x66dcd6
mov eax, dword [esp + 0x164]
mov dl, byte [ebp + 0xf8]
and byte [eax], dl
mov ebx, dword [esp + 0x168]
cmp ebx, 1
jne 0x66da9d
mov edi, 0x713834
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x713834
lea ecx, [esp + 0x90]
call fcn.00414030
test ebx, ebx
jbe 0x66db1c
mov edx, dword [esp + 0x164]
xor ecx, ecx
mov word [esp + 0x14], cx
mov al, byte [esi + edx]
mov byte [esp + 0x16], cl
mov byte [esp + 0x1c], al
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x1c]
and edx, 0xff
push edx
push str._02x
push eax
call fcn.00698355
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
call fcn.0060fbe0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.0060fbe0
inc esi
cmp esi, ebx
jb 0x66daa1
mov eax, dword [0x6ce1fc]
lea ecx, [esp + 0x88]
push eax
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.004136a0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x54]
call fcn.00414030
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x170]
push esi
lea edx, [esp + 0x6c]
push edi
push edx
mov ecx, ebp
call fcn.006711d0
mov al, byte [esp + 0x13]
mov byte [esp + 0x20], al
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push eax
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 6
call fcn.0063a0e0
push esi
lea ecx, [esp + 0x24]
push edi
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
call fcn.00671a90
mov edx, dword [esp + 0x24]
xor esi, esi
cmp edx, esi
je 0x66dbc4
mov edi, dword [esp + 0x28]
mov eax, edi
sub eax, edx
test eax, 0xfffffff0
jne 0x66dc39
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x9c], cl
lea ecx, [esp + 0x9c]
call fcn.004138a0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0xa0]
call fcn.00414030
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x98]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 7
call fcn.00639f50
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 6
call fcn.004138a0
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
test edx, edx
je 0x66e022
mov eax, dword [esp + 0x34]
mov ecx, edi
sub ecx, edx
sar ecx, 4
cmp eax, ecx
jae 0x66e022
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xf1]
mov byte [esp + 0xf0], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x14], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x6ce1fc]
add edx, ecx
push eax
push 0
push edx
lea ecx, [esp + 0x58]
call fcn.004136a0
mov eax, dword [esp + 0x54]
test eax, eax
jbe 0x66dd6d
shr eax, 1
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x66dcb3
mov eax, 0x6ce1f8
mov esi, dword [esp + 0x14]
mov edx, esi
and edx, 0xff
push edx
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00685dc0
add esp, 0xc
jmp 0x66dd71
cmp eax, 2
jne 0x66da70
mov eax, dword [esp + 0x164]
mov ebx, dword [esp + 0x168]
xor ecx, ecx
cmp ebx, 2
mov ch, byte [eax]
mov cl, byte [eax + 1]
mov eax, ecx
jne 0x66da77
mov edx, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.0066d150
push 1
lea ecx, [esp + 0x7c]
mov esi, eax
mov byte [esp + 0x160], 0
call fcn.004138a0
push 1
lea ecx, [esp + 0x6c]
call fcn.004138a0
push 1
lea ecx, [esp + 0x50]
call fcn.004138a0
push 1
lea ecx, [esp + 0x40]
call fcn.004138a0
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x160], 0xffffffff
call fcn.004138a0
mov eax, esi
jmp 0x66e0e0
mov esi, dword [esp + 0x14]
mov ecx, dword [0x6ce1fc]
lea edx, [esp + 0x4c]
push ecx
push 0
push edx
lea ecx, [esp + 0x84]
call fcn.0060fb00
lea ecx, [esp + 0xa8]
call fcn.006873f0
mov eax, dword [ebp + 0xcc]
lea ecx, [esp + 0xa8]
push eax
mov byte [esp + 0x160], 8
call fcn.0063e470
test eax, eax
je 0x66df7c
mov eax, dword [ebp + 0x9c]
cmp eax, 0xffffffff
je 0x66ddf9
lea ecx, [esp + 0x78]
and esi, 0xff
push ecx
mov ecx, dword [esp + 0x168]
shl esi, 3
push eax
lea edx, [esp + 0xf8]
push esi
lea eax, [ebx*8]
push edx
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.006879f0
mov eax, dword [esp + 0x80]
lea esi, [eax - 1]
cmp eax, esi
ja 0x66de0c
call fcn.00697ab7
lea ecx, [esp + 0x78]
call fcn.0060fa80
mov edx, dword [esp + 0x7c]
cmp byte [edx + esi], 0x2d
jne 0x66de6f
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x98]
dec eax
push eax
push 0
push ecx
lea ecx, [esp + 0x84]
call fcn.0060f850
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x78]
push edx
push 0
push eax
mov byte [esp + 0x168], 9
call fcn.004136a0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 8
call fcn.004138a0
xor ebx, ebx
lea edi, [ebp + 0x34]
xor esi, esi
mov eax, dword [edi + 4]
test eax, eax
je 0x66df2e
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, edx
jae 0x66df2e
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
test eax, eax
jne 0x66deb3
mov eax, 0x6ce1f8
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push 0
lea ecx, [esp + 0x4c]
call fcn.0041a790
test eax, eax
jne 0x66def3
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 0x18]
mov eax, dword [eax + esi + 0x14]
test eax, eax
jne 0x66dedd
mov eax, 0x6ce1f8
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
push 0
lea ecx, [esp + 0x5c]
call fcn.0041a790
test eax, eax
je 0x66df40
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
test eax, eax
jne 0x66df07
mov eax, 0x6ce1f8
push ecx
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push eax
push 0
call fcn.0041a790
test eax, eax
jne 0x66df25
mov eax, dword [esp + 0x54]
test eax, eax
je 0x66df40
inc ebx
add esi, 0x4c
jmp 0x66de76
mov eax, dword [edi + 8]
lea ecx, [esp + 0x3c]
push ecx
push 1
push eax
mov ecx, edi
call fcn.00673040
lea ecx, [esp + 0xa8]
mov byte [esp + 0x15c], 6
call fcn.00687550
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x168]
inc ecx
add eax, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
jmp 0x66dc41
lea ecx, [esp + 0xa8]
mov byte [esp + 0x15c], 6
call fcn.00687550
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x15c], 5
je 0x66dfb8
push 0
mov ecx, esi
call fcn.004bdec0
add esi, 0x10
cmp esi, edi
jne 0x66dfa4
mov esi, dword [esp + 0x24]
push esi
call fcn.00697880
add esp, 4
xor eax, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], eax
push 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x160], al
call fcn.004138a0
push 1
lea ecx, [esp + 0x6c]
call fcn.004138a0
push 1
lea ecx, [esp + 0x50]
call fcn.004138a0
push 1
lea ecx, [esp + 0x40]
call fcn.004138a0
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x160], 0xffffffff
call fcn.004138a0
xor eax, eax
jmp 0x66e0e0
cmp edx, edi
mov byte [esp + 0x15c], 5
mov esi, edx
je 0x66e044
push 1
mov ecx, esi
call fcn.004138a0
add esi, 0x10
cmp esi, edi
jne 0x66e030
mov edx, dword [esp + 0x24]
push edx
call fcn.00697880
add esp, 4
xor esi, esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], esi
push 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x160], 0
call fcn.004138a0
push 1
lea ecx, [esp + 0x6c]
call fcn.004138a0
push 1
lea ecx, [esp + 0x50]
call fcn.004138a0
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x66e0a8
mov al, byte [ecx - 1]
test al, al
je 0x66e09e
cmp al, 0xff
je 0x66e09e
dec al
mov byte [ecx - 1], al
jmp 0x66e0a8
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x40], esi
cmp ecx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x66e0db
mov al, byte [ecx - 1]
test al, al
je 0x66e0d1
cmp al, 0xff
je 0x66e0d1
dec al
mov byte [ecx - 1], al
jmp 0x66e0db
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0x10