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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edi
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x10], ebx
movsx esi, word [ebx + 0x3a]
mov eax, dword [ebx + 0x3c]
lea ebp, [esi*8]
mov dword [eax + ebp], ecx
mov dword [eax + ebp + 4], edx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esp + 0x28], ebp
mov dword [eax + ebp + 8], ecx
mov dword [eax + ebp + 0xc], edx
lea ebp, [edi + 0x80]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xb8]
mov dword [eax + esi*8 + 0x10], ecx
mov dword [eax + esi*8 + 0x14], edx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [edi + 0xbc]
mov edx, dword [edi + 0xc0]
mov dword [eax + esi*8 + 0x18], ecx
mov dword [eax + esi*8 + 0x1c], edx
mov eax, dword [ebx + 0x40]
mov byte [esi + eax], 0
mov eax, dword [ebx + 0x40]
mov byte [esi + eax + 1], 0
mov eax, dword [ebx + 0x40]
mov byte [esi + eax + 2], 0
mov eax, dword [ebx + 0x40]
mov byte [esi + eax + 3], 0
add esi, 4
test byte [edi + 0x10], 2
mov dword [esp + 0x14], esi
jne 0x10066e2f
movzx esi, word [ebx + 0x3a]
mov word [ebp], si
mov ax, word [ebx + 0x38]
mov word [edi + 0x82], ax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x84], eax
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x88], edx
mov ecx, dword [ebx + 0x50]
mov dword [edi + 0x8c], ecx
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x90], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x94], eax
xor eax, eax
mov word [edi + 0x98], ax
lea eax, [esi*8 + 0x20]
push eax
push edx
push ecx
call fcn.101214b0
add esp, 0xc
test byte [edi + 0x10], 1
mov esi, dword [ebx + 0x3c]
mov edx, dword [esp + 0x14]
lea ecx, [esi + edx*8]
jne 0x10066e91
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x10]
cmp esi, ecx
jae 0x10066e91
mov ebx, dword [esp + 0x1c]
mov ebp, ecx
mov edi, eax
nop
mov ecx, dword [esi]
mov edx, ebx
call fcn.100313d0
mov ecx, dword [esi + 4]
mov edx, edi
mov dword [esi], eax
call fcn.100313d0
mov dword [esi + 4], eax
add esi, 8
cmp esi, ebp
jb 0x10066e60
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ebp, [edi + 0x80]
test byte [edi + 0x10], 2
mov eax, dword [ebx + 0x3c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + eax]
mov eax, dword [esi + eax + 4]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edx*8 - 0x18]
mov eax, dword [eax + edx*8 - 0x14]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edx*8 - 0x10]
mov eax, dword [eax + edx*8 - 0xc]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edx*8 - 8]
mov eax, dword [eax + edx*8 - 4]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xc0], eax
jne 0x10066eff
add word [ebp], 4
mov ecx, edi
pop edi
pop esi
pop ebp
xor dl, dl
pop ebx
add esp, 0x1c
jmp fcn.100669c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret