Function at 0x815c70
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 [0x1005044]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, 1
jle 0x815f61
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x44]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x48]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x4c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x50]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x54]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x58]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x64]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x68]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x6c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x70]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x78]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
mov edx, dword [ebx + 0x80]
mov dword [ebx + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007df250
vpshufd xmm0, xmmword [ebx + 0x10], 0x1b
mov ecx, 0xc
vmovdqu ymm1, ymmword [0xe9e280]
vpsllvd xmm0, xmm0, xmmword [0xe9e2c0]
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 [0xe9e2a0]
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 0x815fff
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 0x815e93
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.007df250
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x815fb4
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x3c]
test eax, eax
jne 0x815fbd
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
test eax, eax
jne 0x815fc3
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
test eax, eax
jne 0x815f80
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
test eax, eax
jne 0x815f79
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x815f80
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x815fcb
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
test eax, eax
jne 0x815fd3
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
test eax, eax
jne 0x815f79
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
test eax, eax
jne 0x815f80
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x815fd9
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x815fe1
mov eax, dword [ebx + 8]
test eax, eax
jne 0x815feb
mov eax, dword [ebx + 4]
test eax, eax
jne 0x815ff5
sub esi, 1
cmp esi, 0x8000
jne 0x815e90
mov eax, dword [esp + 0x4c]
sub eax, dword [0x1005044]
jne 0x816007
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.007df250
mov edx, dword [esp + 0x34]
mov dword [edi], eax
mov dword [esp + 4], 2
mov eax, dword [edx]
mov dword [esp], eax
call fcn.007df250
mov edx, dword [esp + 0x34]
mov dword [edx], eax
jmp 0x815f52
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0x3c]
jmp 0x815f80
mov edx, dword [esp + 0x30]
jmp 0x815f80
mov edi, edx
mov edx, dword [esp + 0x3c]
jmp 0x815f80
mov edx, edi
mov edi, dword [esp + 0x2c]
jmp 0x815f80
mov edx, dword [esp + 0x2c]
jmp 0x815f80
mov edx, edi
mov edi, dword [esp + 0x24]
jmp 0x815f80
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x815f80
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x815f80
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x815f80
vzeroupper
jmp 0x815f61
call fcn.00401690
nop
nop
nop
nop