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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0x4c]
mov ebx, dword [eax + 0x44]
mov edi, dword [eax + 0x48]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x30], esi
cmp ebx, esi
mov esi, dword [ecx]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 4]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ecx
je 0x100106d9
movzx ecx, byte [eax + 0x14]
movsd xmm0, qword [eax]
imul edi, esi, 0x58
mov edx, dword [eax + 0x10]
mov byte [esp + 7], cl
movzx ecx, byte [eax + 0x24]
movaps xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [eax + 0x28]
mov dword [esp + 8], edx
mov byte [esp + 6], cl
mov ecx, dword [ebp + 0xc]
movaps xmmword [esp + 0xa0], xmm0
add edi, dword [ecx + 8]
movzx ecx, byte [eax + 0x38]
mov ch, byte [eax + 0x39]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], eax
mov eax, edi
mov byte [esp + 5], cl
mov byte [esp + 4], ch
nop word [eax + eax]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov dword [esp + 0x44], esi
mov esi, dword [ebx + 8]
test edx, edx
mov edi, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, 1
je 0x100105bb
js 0x1001073f
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push edx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x1001074b
mov edx, dword [esp + 8]
mov dword [esp + 0x38], ebx
push edx
push dword [esp + 0x18]
mov dword [esp + 0x3c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x10010600
js 0x1001075a
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push ebx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10010766
mov ebx, dword [esp + 0xc]
mov edi, eax
push ebx
push dword [esp + 0x14]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
sub eax, 1
jb 0x10010732
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
call fcn.10091010
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x34]
movaps xmm0, xmmword [esp + 0xb0]
mov ecx, 0x16
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
movzx eax, byte [esp + 7]
mov dword [esp + 0x98], esi
movlps qword [esp + 0x48], xmm0
movaps xmm0, xmmword [esp + 0xa0]
lea esi, [esp + 0x48]
mov byte [esp + 0x5c], al
movzx eax, byte [esp + 6]
mov byte [esp + 0x6c], al
movzx eax, byte [esp + 5]
movups xmmword [esp + 0x80], xmm0
mov byte [esp + 0x9c], al
movzx eax, byte [esp + 4]
mov byte [esp + 0x9d], al
mov eax, dword [esp + 0x40]
mov edi, eax
add eax, 0x58
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
add ebx, 0xc
inc esi
cmp ebx, dword [esp + 0x30]
jne 0x10010570
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100106f6
push 1
push eax
push dword [esp + 0x1c]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1001070d
push 1
push eax
push dword [esp + 0x18]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1001072a
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x24]
call fcn.1000d080
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10691e14
push 0
push eax
call fcn.100e1b70
xor eax, eax
push dword [esp + 8]
push eax
call fcn.100d0890
mov eax, 1
push dword [esp + 8]
push eax
call fcn.100d0890
xor eax, eax
push dword [esp + 0xc]
push eax
call fcn.100d0890
mov eax, 1
push dword [esp + 0xc]
push eax
call fcn.100d0890
nop word cs:[eax + eax]
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, eax
mov dword [ebp - 0x18], eax
je 0x1001082d
sub eax, ebx
add ebx, 0x58
lea edi, [ebp - 0x70]
add eax, 0xffffffa8
mov dword [ebp - 0x10], eax
nop
mov eax, dword [ebx - 0x58]
lea esi, [ebx - 0x54]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
cmp eax, 3
je 0x1001082a
mov dword [ebp - 0x14], ebx
mov ebx, dword [edx + 8]
mov esi, eax
cmp ebx, dword [edx]
je 0x10010806
mov eax, dword [edx + 4]
imul ecx, ebx, 0x58
inc ebx
mov dword [eax + ecx], esi
lea edi, [eax + ecx + 4]
lea eax, [ebp - 0x70]
mov ecx, 0x15
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [edx + 8], ebx
mov ecx, dword [ebp + 0x14]
mov edi, eax
mov ebx, dword [ebp - 0x14]
add dword [ebp - 0x10], 0xffffffa8
lea eax, [ebx - 0x58]
add ebx, 0x58
add eax, 0x58
cmp eax, ecx
jne 0x100107b0
jmp 0x10010826
mov eax, dword [ebp - 0x10]
mov ecx, 0xba2e8ba3
mul ecx
shr edx, 6
inc edx
push edx
push ebx
push dword [ebp + 0xc]
call fcn.10023c90
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x100107ce
mov ebx, ecx
mov eax, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call fcn.10011a40
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret