Function at 0x815c30
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 [0x1006044]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, 1
jle 0x815f21
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 [0xe9f2a0]
vpsllvd xmm0, xmm0, xmmword [0xe9f2e0]
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 [0xe9f2c0]
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 0x815fbf
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 0x815e53
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 0x815f74
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x3c]
test eax, eax
jne 0x815f7d
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
test eax, eax
jne 0x815f83
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
test eax, eax
jne 0x815f40
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
test eax, eax
jne 0x815f39
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x815f40
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x815f8b
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
test eax, eax
jne 0x815f93
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
test eax, eax
jne 0x815f39
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
test eax, eax
jne 0x815f40
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x815f99
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x815fa1
mov eax, dword [ebx + 8]
test eax, eax
jne 0x815fab
mov eax, dword [ebx + 4]
test eax, eax
jne 0x815fb5
sub esi, 1
cmp esi, 0x8000
jne 0x815e50
mov eax, dword [esp + 0x4c]
sub eax, dword [0x1006044]
jne 0x815fc7
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 0x815f12
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0x3c]
jmp 0x815f40
mov edx, dword [esp + 0x30]
jmp 0x815f40
mov edi, edx
mov edx, dword [esp + 0x3c]
jmp 0x815f40
mov edx, edi
mov edi, dword [esp + 0x2c]
jmp 0x815f40
mov edx, dword [esp + 0x2c]
jmp 0x815f40
mov edx, edi
mov edi, dword [esp + 0x24]
jmp 0x815f40
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x815f40
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x815f40
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x815f40
vzeroupper
jmp 0x815f21
call fcn.00401690
nop
nop
nop
nop