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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push edi
xor edi, edi
push ecx
push edx
lea esi, [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.0065f920
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
push edx
lea esi, [esp + 0x28]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0065f920
push 8
lea eax, [esp + 0x1c]
push eax
call dword [0x100ef7e8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea esi, [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.0065f920
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea esi, [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.0065f920
mov edx, dword [esp + 0x40]
mov ax, word [edx + 0x40]
mov ecx, dword [esp + 0x30]
shr ax, 1
movzx eax, ax
push 0x50
add eax, eax
push 1
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x1c]
push ecx
mov dword [esp + 0x78], edx
push 0x80100000
lea edx, [ebx + 0x20]
push edx
mov dword [esp + 0x78], 0x18
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], 0x40
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call dword [0x100ef768]
mov esi, eax
mov eax, dword [esp + 0x38]
cmp eax, edi
jne 0x6643c9
cmp dword [esp + 0x3c], edi
je 0x6643db
mov ecx, dword [0x100ef540]
push dword [esp + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x48]
cmp eax, edi
jne 0x6643e9
cmp dword [esp + 0x4c], edi
je 0x6643fb
mov ecx, dword [0x100ef540]
push dword [esp + 0x4c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x28]
cmp eax, edi
jne 0x664409
cmp dword [esp + 0x2c], edi
je 0x66441b
mov ecx, dword [0x100ef540]
push dword [esp + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x58]
cmp eax, edi
jne 0x664429
cmp dword [esp + 0x5c], edi
je 0x66443b
mov ecx, dword [0x100ef540]
push dword [esp + 0x5c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
cmp esi, edi
je 0x66444d
mov eax, esi
or eax, 0x10000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea esi, [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.0065f920
mov ecx, dword [esp + 0x50]
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x18]
add edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x1c]
adc ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x58]
cmp eax, edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
jne 0x664498
cmp edx, edi
je 0x6644a7
mov ecx, dword [0x100ef540]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x24]
push eax
call edx
lea eax, [esp + 0x10]
call fcn.00664680
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret