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

Disassembly:
push 0xffffffffffffffff
push 0x6cbdab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov al, byte [esp + 7]
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0x94], 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 + 0x98]
call fcn.00414030
mov si, word [ebp + 0xf8]
mov dword [esp + 0x174], ebx
cmp si, bx
je 0x66d1ea
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, 2
jne 0x66d7cc
and dword [esp + 0x17c], esi
mov eax, dword [esp + 0x17c]
xor edx, edx
and eax, 0xffff
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x34], edx
push str._04x
push ecx
mov byte [esp + 0x40], dl
call fcn.00698355
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.0060fbe0
lea eax, [esp + 0x17]
lea ecx, [esp + 0x44]
push eax
call fcn.0064dca0
lea ecx, [esp + 0x2f]
mov byte [esp + 0x174], 1
push ecx
lea ecx, [esp + 0x58]
call fcn.0064dca0
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x2e]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6a], eax
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 2
mov word [esp + 0x6c], dx
mov word [esp + 0x72], ax
call fcn.0064dca0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x80]
push edx
mov byte [esp + 0x178], 3
call fcn.0064dca0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x174], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x4c]
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 + 0x5c]
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 + 0x78]
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 + 0x88]
call fcn.00414030
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x174], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x71b8d8
lea ecx, [esp + 0x5c]
call fcn.00414030
mov eax, dword [0x6ce1fc]
lea ecx, [esp + 0x90]
push eax
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.004136a0
mov esi, dword [esp + 0x180]
mov edi, dword [esp + 0x184]
push esi
lea edx, [esp + 0x74]
push edi
push edx
mov ecx, ebp
call fcn.006711d0
mov al, byte [esp + 0x13]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 6
call fcn.0063a0e0
push esi
lea ecx, [esp + 0x1c]
push edi
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebp
call fcn.00671a90
mov edx, dword [esp + 0x1c]
cmp edx, ebx
je 0x66d3ca
mov edi, dword [esp + 0x20]
mov eax, edi
sub eax, edx
test eax, 0xfffffff0
jne 0x66d43f
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa4]
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 + 0xa8]
call fcn.00414030
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xa0]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 7
call fcn.00639f50
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 6
call fcn.004138a0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
cmp edx, ebx
je 0x66d7ec
mov eax, dword [esp + 0x38]
mov ecx, edi
sub ecx, edx
sar ecx, 4
cmp eax, ecx
jae 0x66d7ec
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x3c], bl
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x6ce1fc]
add edx, ecx
push eax
push ebx
push edx
lea ecx, [esp + 0x60]
call fcn.004136a0
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jbe 0x66d4d2
shr eax, 1
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x58]
cmp eax, ebx
jne 0x66d4b2
mov eax, 0x6ce1f8
mov esi, dword [esp + 0x3c]
mov edx, esi
and edx, 0xff
push edx
push eax
lea eax, [esp + 0x110]
push eax
call fcn.00685dc0
add esp, 0xc
jmp 0x66d4d6
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x17c]
xor ecx, ecx
mov byte [esp + 0x15], bl
mov cl, ah
mov byte [esp + 0x15], al
lea edx, [esp + 0x54]
mov byte [esp + 0x14], cl
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00624ea0
add esp, 0xc
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x80]
push edx
push ebx
push eax
mov byte [esp + 0x180], 8
call fcn.004136a0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 6
call fcn.004138a0
lea ecx, [esp + 0xc0]
call fcn.006873f0
mov eax, dword [ebp + 0xcc]
lea ecx, [esp + 0xc0]
push eax
mov byte [esp + 0x178], 9
call fcn.0063e470
test eax, eax
je 0x66d72e
mov eax, dword [ebp + 0x9c]
cmp eax, 0xffffffff
je 0x66d5a2
lea ecx, [esp + 0x80]
and esi, 0xff
push ecx
push eax
shl esi, 3
lea edx, [esp + 0x110]
push esi
push edx
lea eax, [esp + 0x24]
push 0x10
push eax
lea ecx, [esp + 0xd8]
call fcn.006879f0
mov eax, dword [esp + 0x88]
lea esi, [eax - 1]
cmp eax, esi
ja 0x66d5b5
call fcn.00697ab7
lea ecx, [esp + 0x80]
call fcn.0060fa80
mov ecx, dword [esp + 0x84]
cmp byte [ecx + esi], 0x2d
jne 0x66d61f
mov edx, dword [esp + 0x88]
lea eax, [esp + 0xb0]
dec edx
lea ecx, [esp + 0x80]
push edx
push ebx
push eax
call fcn.0060f850
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0x174], 0xd
push ecx
push ebx
push eax
lea ecx, [esp + 0x8c]
call fcn.004136a0
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x178], 9
call fcn.004138a0
mov dword [esp + 0x40], ebx
lea edi, [ebp + 0x34]
xor esi, esi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x66d6e7
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
mov eax, dword [esp + 0x40]
cmp eax, edx
jae 0x66d6e7
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
cmp eax, ebx
jne 0x66d669
mov eax, 0x6ce1f8
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
lea ecx, [esp + 0x54]
call fcn.0041a790
cmp eax, ebx
jne 0x66d6a7
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 0x18]
mov eax, dword [eax + esi + 0x14]
cmp eax, ebx
jne 0x66d692
mov eax, 0x6ce1f8
mov edx, dword [esp + 0x5c]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x64]
call fcn.0041a790
cmp eax, ebx
je 0x66d6f9
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
cmp eax, ebx
jne 0x66d6bb
mov eax, 0x6ce1f8
push ecx
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push eax
push ebx
call fcn.0041a790
cmp eax, ebx
jne 0x66d6d6
cmp dword [esp + 0x5c], ebx
je 0x66d6f9
mov ecx, dword [esp + 0x40]
inc ecx
add esi, 0x4c
mov dword [esp + 0x40], ecx
jmp 0x66d628
mov eax, dword [edi + 8]
lea ecx, [esp + 0x44]
push ecx
push 1
push eax
mov ecx, edi
call fcn.00673040
lea ecx, [esp + 0xc0]
mov byte [esp + 0x174], 6
call fcn.00687550
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc ecx
add eax, 0x10
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jmp 0x66d447
lea ecx, [esp + 0xc0]
mov byte [esp + 0x174], 6
call fcn.00687550
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x174], 5
je 0x66d769
push ebx
mov ecx, esi
call fcn.004bdec0
add esi, 0x10
cmp esi, edi
jne 0x66d756
mov esi, dword [esp + 0x1c]
push esi
call fcn.00697880
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x178], 0xc
call fcn.004138a0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 0xb
call fcn.004138a0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x178], 0xa
call fcn.004138a0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x178], bl
call fcn.004138a0
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x178], 0xffffffff
call fcn.004138a0
xor eax, eax
jmp 0x66d8bb
cmp edx, edi
mov byte [esp + 0x174], 5
mov esi, edx
je 0x66d80e
push 1
mov ecx, esi
call fcn.004138a0
add esi, 0x10
cmp esi, edi
jne 0x66d7fa
mov edx, dword [esp + 0x1c]
push edx
call fcn.00697880
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x178], 0x10
call fcn.004138a0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 0xf
call fcn.004138a0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x178], 0xe
call fcn.004138a0
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x66d883
mov al, byte [ecx - 1]
cmp al, bl
je 0x66d879
cmp al, 0xff
je 0x66d879
dec al
mov byte [ecx - 1], al
jmp 0x66d883
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x48], ebx
cmp ecx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
je 0x66d8b6
mov al, byte [ecx - 1]
cmp al, bl
je 0x66d8ac
cmp al, 0xff
je 0x66d8ac
dec al
mov byte [ecx - 1], al
jmp 0x66d8b6
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 0xc