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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x44], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x48], edx
mov dword [eax], esi
mov dword [ebp - 0x50], eax
mov dword [edi], esi
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x4c], edi
test ecx, ecx
jne 0x66fe8e
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0xc]
je 0x66fe87
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], esi
push eax
push dword [ebp + 0x14]
mov ecx, ebx
push edx
call fcn.0066ee53
mov byte [ebp - 0x25], al
cmp al, 0xe
je 0x66fe87
test al, al
jne 0x670025
lea ecx, [ebx + 0x40]
call fcn.0066d413
mov ecx, dword [ebp - 0x30]
lea esi, [ebx + 0x88]
mov dword [ebp - 0x3c], eax
mov dword [eax], ecx
mov ecx, esi
call fcn.006ad216
cmp byte [ebx + 0x3c], 0
je 0x66fe36
lea ecx, [ebx + 0xe8]
call fcn.006ad216
lea ecx, [ebx + 0x50]
call fcn.00663680
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
and dword [ebx + 0x80], 0
and dword [ebx + 0x84], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x24]
push eax
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
lea eax, [ebx + 0x7c]
push eax
lea eax, [ebp - 0x25]
push eax
call fcn.0066eae9
mov dword [ebx + 4], eax
add esp, 0x20
mov al, byte [ebp - 0x25]
test al, al
jne 0x670025
mov ecx, dword [ebx + 4]
jmp 0x66fe94
xor al, al
jmp 0x670025
lea esi, [ebx + 0x88]
imul eax, dword [ebx + 0x7c], 0x18
lea edi, [ebp - 0x38]
push edi
lea edi, [ebp - 0x40]
push edi
mov edi, dword [ebp + 0x14]
add eax, dword [ebx + 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
and dword [ebp - 0x40], 0
and dword [ebp - 0x38], 0
mov edx, dword [ecx]
mov dword [ebp - 0x2c], eax
sub eax, dword [ebx + 0x80]
cmp eax, dword [ebp + 0x14]
cmovb edi, eax
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x3c], edi
push dword [ebp + 0xc]
push dword [ebp - 0x44]
call dword [edx + 4]
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 0x25], al
test al, al
jne 0x670025
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
add dword [ebx + 0x84], ecx
mov eax, dword [ebp - 0x38]
add dword [ebx + 0x80], eax
add dword [edx], ecx
mov ecx, esi
add dword [edi], eax
push dword [edx]
push dword [ebp - 0x44]
call fcn.006ad108
cmp byte [ebx + 0x3c], 0
je 0x66ff1d
push dword [edi]
lea ecx, [ebx + 0xe8]
push dword [ebp - 0x48]
call fcn.006ad108
mov eax, dword [ebp - 0x2c]
cmp dword [ebx + 0x80], eax
jne 0x670020
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.006ad190
mov edi, dword [ebp - 0x30]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x84]
mov dword [edi + 4], eax
add edi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x3c], 0
je 0x66ff7e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0xe8]
call fcn.006ad190
mov eax, dword [ebx + 0x7c]
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x60]
shl eax, 4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x54]
lea esi, [ebp - 0x60]
add edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x7c]
push dword [ebx + 4]
inc dword [ebx + 0x78]
call fcn.0061ea40
mov ecx, eax
call fcn.0061855e
mov eax, dword [ebx + 0x6c]
add eax, dword [ebp - 0x38]
and dword [ebx + 4], 0
cmp eax, dword [ebx + 0xc]
jne 0x670020
cmp dword [ebx + 0x18], 0
je 0x670020
lea ecx, [ebx + 0x40]
push dword [ecx + 8]
call fcn.0066e6ef
mov esi, dword [ebx + 0x64]
test esi, esi
jne 0x66ffce
movzx eax, byte [ebx + 0x3c]
push eax
push dword [ebx + 0x48]
call fcn.006401e0
pop ecx
pop ecx
mov dword [ebx + 0x64], eax
mov esi, eax
cmp byte [ebx + 0x3c], 0
je 0x66ffd9
mov edi, dword [ebx + 0x54]
jmp 0x66ffdb
xor edi, edi
call fcn.0061ea40
xor ecx, ecx
push ecx
push 0x7dbcd8
push ecx
push 8
push esi
push ecx
push dword [eax + 8]
call dword [eax + 4]
push edi
push dword [ebx + 0x48]
mov esi, eax
push dword [ebx + 0x44]
push esi
call fcn.00640251
push dword [ebx + 0x64]
push esi
push dword [ebx + 0x1c]
call dword [ebx + 0x18]
add esp, 0x38
mov bl, al
push esi
call fcn.0061ea40
mov ecx, eax
call fcn.00619856
jmp 0x670023
mov bl, byte [ebp - 0x25]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007207bc
leave
ret 0x18