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

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
movzx ecx, byte [ebx + 0x6d660]
mov eax, dword [ebx]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push esi
mov al, byte [ecx + eax + 0x100]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [edx], eax
mov eax, dword [ebx]
add eax, 0xc5cc
shl ecx, 6
add eax, ecx
mov dword [edx + 4], eax
lea eax, [edi + 0x110]
mov dword [edx + 8], eax
lea eax, [edi + 0x18]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov eax, dword [edi + 0x3188]
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x318c]
mov dword [edx + 0x24], eax
mov al, byte [esp + 0x38]
mov byte [edx + 0x28], al
movzx eax, al
movzx eax, byte [eax + 0x106cd58c]
imul eax, eax, 0xc68
add eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
lea eax, [ebx + 0x5cdfc]
mov dword [edx + 0x50], eax
lea eax, [ebx + 0x5ce1c]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 0x5cdf8]
mov dword [edx + 0x4c], eax
xor eax, eax
cmp dword [ebx + 0x5ce40], 2
mov dword [edx + 0x48], 4
sete al
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], 0
mov eax, dword [ebx + 0x5ce48]
mov dword [edx + 0x60], eax
lea eax, [edx + 0x30]
movups xmm0, xmmword [edi + 0x1e460]
push eax
movups xmmword [eax], xmm0
call fcn.10101650
mov edx, dword [esp + 0x20]
add esp, 8
mov eax, dword [edi + 0xa97c]
mov ebp, dword [edi + 0x141d8]
mov ebx, dword [edi + 0x141d4]
mov dword [esp + 0x34], eax
mov dword [edx + 0x64], esi
movzx edx, word [esi + 2]
movzx edi, word [esi]
mov eax, edx
not eax
movzx ecx, ax
movsx eax, dx
add eax, 3
shr ecx, 0xf
add eax, ecx
sar eax, 3
movzx edx, ax
shl edx, 0x10
mov esi, dword [esp + 0x18]
mov eax, edi
not eax
movzx ecx, ax
shr ecx, 0xf
movsx eax, di
add eax, 3
mov byte [esi + 0x6c], 0
add eax, ecx
mov dword [esi + 0x7c], ebx
mov ecx, dword [esp + 0x34]
sar eax, 3
movzx eax, ax
or edx, eax
mov dword [esi + 0x80], ebp
mov dword [esi + 0x68], edx
test ecx, ecx
je 0x101008d0
mov dword [esi + 0x70], ecx
mov eax, dword [ecx + 0x80010]
mov eax, dword [eax]
mov dword [esi + 0x74], eax
mov eax, dword [ecx + 0x80010]
mov eax, dword [eax + 4]
mov dword [esi + 0x78], eax
mov ebp, dword [esi + 4]
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x5ce54]
cmp eax, 2
jne 0x1010092b
cmp byte [ecx + 0x106cd610], 0x10
jb 0x1010092b
mov eax, dword [ebp + 4]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x88], eax
mov eax, dword [ebp + 0x20]
pop edi
mov dword [esi + 0x8c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp eax, 1
jne 0x101009e1
cmp byte [ecx + 0x106cd610], 0x10
jb 0x101009e1
cmp byte [esp + 0x13], 0
je 0x101009e1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10101b20
mov ecx, dword [esi + 8]
movsx ebx, word [esp + 0x3c]
movsx eax, word [esp + 0x3e]
mov edx, dword [ecx + 0x10]
imul ebx, edx
push edx
mov dword [esp + 0x30], edx
add ebx, eax
mov eax, dword [esi + 0xc]
add ebx, dword [ecx]
push ebx
mov esi, dword [eax + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 4]
push esi
push edi
call eax
mov edx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x3c]
push eax
mov edx, dword [edx + 4]
lea ecx, [ebx + eax]
push ecx
lea ecx, [esi + edi]
push esi
push ecx
mov ecx, dword [edx + 4]
call ecx
mov ecx, ebp
add esp, 0x28
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
shl eax, 2
cmp eax, ebp
jge 0x101009e1
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
mov dword [edx + 0x84], eax
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x88], eax
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x8c], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret