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

Disassembly:
sub esp, 0x58c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push ebp
mov ebp, dword [esp + 0x59c]
push esi
push edi
mov edi, dword [esp + 0x5a0]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edi
mov dword [esi], edi
movzx eax, byte [edi + 0xb4]
shl eax, 3
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [esi + 0x18c]
push eax
call fcn.1050a090
mov cl, byte [edi + 0xb4]
add esp, 0xc
mov byte [esi + 0x24c], cl
test ebp, ebp
je 0x104a9933
mov dword [esi + 4], ebp
movzx eax, byte [ebp + 0xb4]
shl eax, 3
push eax
lea eax, [ebp + 0x14]
push eax
movzx eax, cl
lea eax, [eax*8 + 0x18c]
add eax, esi
push eax
call fcn.1050a090
mov al, byte [ebp + 0xb4]
add esp, 0xc
add byte [esi + 0x24c], al
xor edx, edx
mov byte [esi + 0x188], 0
mov ecx, 0xffff
lea ebx, [edx + 0x10]
mov eax, dword [esi]
cmp cx, word [edx + eax + 0xb8]
jne 0x104a9963
mov eax, dword [esi + 4]
test eax, eax
je 0x104a99b3
cmp cx, word [edx + eax + 0xb8]
je 0x104a99b3
mov edi, ebp
test edi, edi
je 0x104a99af
movups xmm0, xmmword [edx + edi + 0xb8]
movups xmmword [esi + edx + 8], xmm0
mov eax, dword [edx + edi + 0xc8]
mov dword [esi + edx + 0x18], eax
cmp eax, 0xffffffff
je 0x104a99af
movzx ecx, byte [esi + 0x188]
mov eax, dword [edi + eax*4 + 0x1f8]
mov dword [esi + ecx*4 + 0x148], eax
mov ecx, 0xffff
movzx eax, byte [esi + 0x188]
mov dword [esi + edx + 0x18], eax
inc byte [esi + 0x188]
mov edi, dword [esp + 0x10]
add edx, 0x14
sub ebx, 1
jne 0x104a9944
mov eax, dword [esi + 4]
lea ebx, [esi + 0x250]
mov dword [esp + 0x20], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
test eax, eax
je 0x104a99e2
movzx eax, word [eax + 0x240]
jmp 0x104a99e4
xor eax, eax
mov edx, dword [esi]
movzx ecx, word [edx + 0x240]
add eax, ecx
je 0x104a9ba4
lea eax, [ecx + ecx*4]
mov dword [esp + 0x60], 0
shl eax, 2
lea ecx, [esp + 0x60]
push eax
lea eax, [edx + 0x244]
mov dword [esp + 0x68], 0
push eax
mov byte [esp + 0x74], 0
call fcn.105093d0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x104a9a46
movzx eax, word [ecx + 0x240]
lea eax, [eax + eax*4]
shl eax, 2
push eax
lea eax, [ecx + 0x244]
push eax
lea ecx, [esp + 0x68]
call fcn.105093d0
lea ecx, [esp + 0x60]
call fcn.10509840
mov edi, dword [0x10b23318]
push 0
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [edi + 0x1edec8]
call fcn.104b8550
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
test ecx, ecx
jne 0x104a9baa
test eax, eax
jne 0x104a9baa
mov ecx, dword [esi]
movzx eax, word [ecx + 0x240]
lea eax, [eax + eax*4]
shl eax, 2
push eax
lea eax, [ecx + 0x244]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1050a090
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
movzx eax, word [edx + 0x240]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x104a9b4a
xor edi, edi
xor ebp, ebp
cmp di, word [ecx + 0x240]
jae 0x104a9b4a
lea eax, [eax + eax*4]
lea esi, [esp + 0x70]
lea esi, [esi + eax*4]
movzx edi, word [edx + 0x240]
movzx eax, bp
add eax, 0x1d
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
xor eax, eax
xor ecx, ecx
cmp ax, di
jae 0x104a9b18
nop dword [eax]
movzx eax, cx
lea edx, [eax + eax*4]
mov eax, dword [ebx]
cmp eax, dword [esp + edx*4 + 0x70]
je 0x104a9c2a
inc ecx
cmp cx, di
jb 0x104a9b00
movups xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x14
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
inc ebp
mov edx, dword [esp + 0x18]
cmp bp, word [ecx + 0x240]
jb 0x104a9ae1
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x44]
lea eax, [esp + 0x70]
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x54], eax
mov eax, dword [0x10b23318]
push ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push dword [eax + 4]
push ecx
push dword [eax + 0x1904]
call dword [0x10ac2d5c]
push dword [ebx + 4]
mov ecx, dword [0x10b23318]
push dword [ebx]
push 0
push dword [esp + 0x30]
lea ecx, [ecx + 0x1edec8]
call fcn.104a1730
mov edi, dword [0x10b23318]
mov eax, dword [esi + 0x250]
or eax, dword [esi + 0x254]
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
je 0x104a9bf0
mov dword [esp + 0x34], 1
lea eax, [esi + 0x258]
mov dword [esp + 0x38], ebx
push eax
push dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push dword [edi + 0x1904]
call dword [0x10ac2d4c]
mov ecx, dword [esp + 0x598]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x58c
ret 8
mov eax, 0xffff
cmp ax, cx
je 0x104a9b18
mov eax, dword [ebx + 0xc]
or dword [esp + edx*4 + 0x7c], eax
mov eax, dword [esp + 0x10]
jmp 0x104a9b30