Function at 0x5a2c50
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 [0xd41044]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, 1
jle 0x5a2f41
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 [0xd3c2c0]
vpsllvd xmm0, xmm0, xmmword [0xd3c300]
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 [0xd3c2e0]
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 0x5a2fdf
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 0x5a2e73
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 0x5a2f94
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x3c]
test eax, eax
jne 0x5a2f9d
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
test eax, eax
jne 0x5a2fa3
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
test eax, eax
jne 0x5a2f60
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
test eax, eax
jne 0x5a2f59
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x5a2f60
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x5a2fab
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
test eax, eax
jne 0x5a2fb3
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
test eax, eax
jne 0x5a2f59
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
test eax, eax
jne 0x5a2f60
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5a2fb9
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x5a2fc1
mov eax, dword [ebx + 8]
test eax, eax
jne 0x5a2fcb
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5a2fd5
sub esi, 1
cmp esi, 0x8000
jne 0x5a2e70
mov eax, dword [esp + 0x4c]
sub eax, dword [0xd41044]
jne 0x5a2fe7
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 0x5a2f32
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0x3c]
jmp 0x5a2f60
mov edx, dword [esp + 0x30]
jmp 0x5a2f60
mov edi, edx
mov edx, dword [esp + 0x3c]
jmp 0x5a2f60
mov edx, edi
mov edi, dword [esp + 0x2c]
jmp 0x5a2f60
mov edx, dword [esp + 0x2c]
jmp 0x5a2f60
mov edx, edi
mov edi, dword [esp + 0x24]
jmp 0x5a2f60
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x5a2f60
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x5a2f60
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x5a2f60
vzeroupper
jmp 0x5a2f41
call fcn.00401690
nop
nop
nop
nop