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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x20
push 0
lea eax, [ebx + 0x7d68]
push eax
call fcn.1050a0a0
mov ecx, dword [ebx + 0x2dc]
add esp, 0xc
mov eax, dword [ecx]
push 2
push ecx
call dword [eax + 0x3c]
cmp dword [ebx + 0x1c0], 0
mov edx, 1
mov dword [esp + 0x2c], eax
je 0x104d1db0
mov eax, dword [ebx + 0xa5a8]
push ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
test eax, eax
je 0x104d1daf
xor esi, esi
lea edi, [ebx + 0x7d58]
mov dword [esp + 0x2c], esi
mov ecx, dword [ebx + 0x7d40]
lea edx, [esp + 0x34]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
push edi
push 0x10a2ff58
push ebp
add esi, dword [eax]
mov eax, dword [ebx + 0x1c0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test dword [ebx + 0xa580], 0x8000
mov eax, dword [ebx + 0xa574]
lea eax, [eax + eax*4]
je 0x104d1ca5
mov eax, dword [eax*4 + 0x10a2f41c]
jmp 0x104d1cac
mov eax, dword [eax*4 + 0x10a2f410]
mov ecx, dword [edi]
lea edx, [esp + 0xbc]
mov dword [esp + 0x10], eax
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x1c4]
mov edx, 1
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x58], xmm0
movq xmm0, qword [eax + 0x30]
pextrw eax, xmm1, 6
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x1c], 0
cmp dx, ax
jae 0x104d1d55
xor eax, eax
lea edx, [esp + 0xbc]
test ecx, ecx
mov ecx, dword [edi]
push edx
setne al
push ecx
lea eax, [eax*2 + 5]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 0x28]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x58], xmm0
movq xmm0, qword [eax + 0x30]
pextrw eax, xmm1, 6
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x24], 0
movzx eax, ax
mov dword [esp + 0x20], eax
jmp 0x104d1d67
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [ebx + 0x2dc]
mov dword [esp + 0x18], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
mov eax, dword [ebx + 0x1c4]
test eax, eax
jne 0x104d1d86
mov eax, dword [edi]
push esi
lea esi, [esp + 0x14]
push esi
push eax
push ecx
call edx
mov esi, dword [esp + 0x2c]
inc ebp
add esi, dword [esp + 0x30]
add edi, 4
mov dword [esp + 0x2c], esi
cmp ebp, dword [esp + 0x28]
jb 0x104d1c61
mov edx, 1
pop ebp
cmp edx, dword [ebx + 0xa59c]
mov ecx, edx
mov dword [esp + 0x6c], 3
sbb eax, eax
mov dword [esp + 0x78], 0
and eax, 0x400000
mov dword [esp + 0x80], 0
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xa578]
cmp eax, 1
mov dword [esp + 0x88], 0x10001
cmova ecx, eax
mov dword [esp + 0x8c], 0x2d
mov eax, dword [ebx + 0xa57c]
cmp eax, 1
mov dword [esp + 0x7c], ecx
mov ecx, edx
cmova ecx, eax
mov dword [esp + 0x98], 0
mov eax, dword [ebx + 0xa59c]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebx + 0xa5a0]
mov dword [esp + 0x94], ecx
lea ecx, [ebx + 0x7e80]
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa4], 0x2d
mov dword [esp + 0xa8], 0x3f800000
mov byte [esp + 0xac], 0
call fcn.104a1b80
lea edx, [esp + 0x24]
mov dword [ebx + 0xa570], eax
mov eax, dword [ebx + 0x2dc]
push edx
push 0x10a2ff58
lea edx, [esp + 0xac]
mov ecx, dword [eax]
push edx
push dword [0x10a76734]
lea edx, [esp + 0x7c]
push edx
push 0
push 0x10a76720
push eax
call dword [ecx + 0x6c]
mov edi, dword [ebx + 0x2dc]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x7d44]
mov dword [ebx + 0x7d88], eax
mov eax, dword [edi]
push edx
push ecx
mov esi, dword [eax + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [eax]
push 0
push dword [ebx + 0x7d88]
push edi
call esi
mov ecx, dword [ebx + 0xa570]
lea edx, [esp + 0xc]
mov eax, dword [ebx + 0x7d88]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push 1
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x10
call dword [eax + 0x68]
lea esi, [ebx + 0x1a01d8]
mov edi, 0x80
nop dword [eax + eax]
mov ecx, esi
call fcn.104d0ed0
add esi, 0xb0
sub edi, 1
jne 0x104d1f30
mov eax, dword [ebx + 0x1c4]
test eax, eax
je 0x104d1f7f
mov ecx, dword [ebx + 0xa570]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], eax
push 1
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x2000
call dword [eax + 0x68]
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0xe8
ret