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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
and esp, 0xffffffe0
sub esp, 0x50
mov eax, dword [0xd3f044]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, 1
jle 0x5a17d1
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x44]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x48]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x4c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x50]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x54]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x58]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x64]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x68]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x6c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x70]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x78]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
mov edx, dword [ebx + 0x80]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402690
vpshufd xmm0, xmmword [ebx + 0x10], 0x1b
mov ecx, 0xc
vmovdqu ymm1, ymmword [0xd3a320]
vpsllvd xmm0, xmm0, xmmword [0xd3a360]
mov dword [ebx + 0x3c], eax
shlx esi, dword [ebx + 0xc], ecx
mov ecx, 0xd
vpermd ymm1, ymm1, ymmword [ebx + 0x20]
shlx edx, dword [ebx + 8], ecx
add esi, edx
mov ecx, 0xe
vpsllvd ymm1, ymm1, ymmword [0xd3a340]
shlx edx, dword [ebx + 4], ecx
add esi, edx
vmovdqu xmm2, xmm1
vextracti128 xmm1, ymm1, 1
vpaddd xmm1, xmm2, xmm1
vpaddd xmm0, xmm0, xmm1
vpsrldq xmm1, xmm0, 8
vpaddd xmm0, xmm0, xmm1
vpsrldq xmm1, xmm0, 4
vpaddd xmm0, xmm0, xmm1
vmovd edx, xmm0
add esi, edx
cmp esi, 0x8000
je 0x5a186f
lea ecx, [ebx + 0x20]
mov dword [esp + 0x2c], ecx
lea ecx, [ebx + 0x10]
mov dword [esp + 0x24], ecx
lea ecx, [ebx + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [ebx + 8]
mov dword [esp + 0x20], ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x1c], ecx
lea ecx, [ebx + 0x38]
mov dword [esp + 0x30], ecx
lea ecx, [ebx + 0x34]
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + 0x30]
mov dword [esp + 0x38], ecx
vzeroupper
jmp 0x5a1703
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.00402690
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x5a1824
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x3c]
test eax, eax
jne 0x5a182d
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
test eax, eax
jne 0x5a1833
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
test eax, eax
jne 0x5a17f0
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
test eax, eax
jne 0x5a17e9
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x5a17f0
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x5a183b
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
test eax, eax
jne 0x5a1843
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
test eax, eax
jne 0x5a17e9
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
test eax, eax
jne 0x5a17f0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5a1849
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x5a1851
mov eax, dword [ebx + 8]
test eax, eax
jne 0x5a185b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5a1865
sub esi, 1
cmp esi, 0x8000
jne 0x5a1700
mov eax, dword [esp + 0x4c]
sub eax, dword [0xd3f044]
jne 0x5a1877
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, edi
mov edi, edx
mov edx, ecx
nop
mov dword [esp + 0x34], edx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.00402690
mov edx, dword [esp + 0x34]
mov dword [edi], eax
mov dword [esp + 4], 2
mov eax, dword [edx]
mov dword [esp], eax
call fcn.00402690
mov edx, dword [esp + 0x34]
mov dword [edx], eax
jmp 0x5a17c2
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0x3c]
jmp 0x5a17f0
mov edx, dword [esp + 0x30]
jmp 0x5a17f0
mov edi, edx
mov edx, dword [esp + 0x3c]
jmp 0x5a17f0
mov edx, edi
mov edi, dword [esp + 0x2c]
jmp 0x5a17f0
mov edx, dword [esp + 0x2c]
jmp 0x5a17f0
mov edx, edi
mov edi, dword [esp + 0x24]
jmp 0x5a17f0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x5a17f0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x5a17f0
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x5a17f0
vzeroupper
jmp 0x5a17d1
call fcn.00401690
nop
nop
nop
nop