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

Disassembly:
sub esp, 0x1c
mov eax, dword [ebx]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x8c]
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
lea ebp, [ebx + 0x78]
mov dword [esp + 0xc], eax
test eax, eax
jle 0x1008fc4e
movzx eax, word [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.10105350
add esp, 0xc
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x9c]
add esi, 0xb4
add edi, 0x120
cmp byte [esp + 0x2c], 0
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
je 0x1008fcab
mov ecx, dword [ebx + 0x9c]
mov eax, 0x10000
mov dword [ecx + 0xe0], eax
mov edx, dword [ebx + 0x9c]
mov dword [edx + 0xe4], eax
movzx eax, word [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.10105350
add esp, 0xc
jmp 0x1008fcd5
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0x9c]
mov dword [edx + 0xe0], eax
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x2c]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [edx + 8]
mov dword [eax + 0xe4], ecx
movzx edx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*8 - 0x20]
lea eax, [eax + edx*8 - 0x20]
add ecx, 0x20
and ecx, 0xffffffc0
mov dword [eax], ecx
movzx edx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*8 - 0x18]
lea eax, [eax + edx*8 - 0x18]
add ecx, 0x20
and ecx, 0xffffffc0
mov dword [eax], ecx
movzx edx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*8 - 0xc]
lea eax, [eax + edx*8 - 0xc]
add ecx, 0x20
and ecx, 0xffffffc0
mov dword [eax], ecx
movzx edx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*8 - 4]
lea eax, [eax + edx*8 - 4]
add ecx, 0x20
and ecx, 0xffffffc0
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x1008fdda
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x18c]
mov dword [eax + 0x1d4], ecx
mov cl, byte [esp + 0x2c]
mov dword [eax + 0x1d0], edx
mov eax, dword [ebx + 0x9c]
mov byte [eax + 0x234], cl
mov edi, dword [ebx + 0x9c]
add edi, 0x90
mov ecx, 9
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x9c]
call fcn.10089a10
test eax, eax
je 0x1008fdc2
mov edx, dword [ebx + 0x9c]
cmp byte [edx + 0x235], 0
jne 0x1008fe55
mov eax, dword [ebx + 0x9c]
mov cl, byte [eax + 0x158]
mov eax, dword [esp + 0x1c]
shl cl, 5
or cl, 4
or byte [eax], cl
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x40], 0x28
jne 0x1008fdf3
mov eax, dword [ebx + 0x9c]
cmp byte [eax + 0x267], 0
jne 0x1008fe53
movzx ecx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + ecx*8 - 0x20]
mov dword [ebx + 0x44], edx
mov eax, dword [eax + ecx*8 - 0x1c]
mov dword [ebx + 0x48], eax
movzx ecx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + ecx*8 - 0x18]
mov dword [ebx + 0x4c], edx
mov eax, dword [eax + ecx*8 - 0x14]
mov dword [ebx + 0x50], eax
movzx ecx, word [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + ecx*8 - 0x10]
mov dword [ebx + 0xb4], edx
mov eax, dword [eax + ecx*8 - 0xc]
mov dword [ebx + 0xb8], eax
movzx eax, word [ebp + 8]
mov ebp, dword [ebp + 0x10]
mov ecx, dword [ebp + eax*8 - 8]
mov dword [ebx + 0xbc], ecx
mov edx, dword [ebp + eax*8 - 4]
mov dword [ebx + 0xc0], edx
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x1c
ret