Function at 0x613170
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 [0x7bb044]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, 1
jle 0x613461
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 [0x7b5f40]
vpsllvd xmm0, xmm0, xmmword [0x7b5f80]
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 [0x7b5f60]
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 0x6134ff
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 0x613393
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 0x6134b4
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x3c]
test eax, eax
jne 0x6134bd
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
test eax, eax
jne 0x6134c3
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
test eax, eax
jne 0x613480
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
test eax, eax
jne 0x613479
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x613480
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x6134cb
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
test eax, eax
jne 0x6134d3
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
test eax, eax
jne 0x613479
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
test eax, eax
jne 0x613480
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x6134d9
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x6134e1
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6134eb
mov eax, dword [ebx + 4]
test eax, eax
jne 0x6134f5
sub esi, 1
cmp esi, 0x8000
jne 0x613390
mov eax, dword [esp + 0x4c]
sub eax, dword [0x7bb044]
jne 0x613507
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 0x613452
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0x3c]
jmp 0x613480
mov edx, dword [esp + 0x30]
jmp 0x613480
mov edi, edx
mov edx, dword [esp + 0x3c]
jmp 0x613480
mov edx, edi
mov edi, dword [esp + 0x2c]
jmp 0x613480
mov edx, dword [esp + 0x2c]
jmp 0x613480
mov edx, edi
mov edi, dword [esp + 0x24]
jmp 0x613480
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
jmp 0x613480
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x613480
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x613480
vzeroupper
jmp 0x613461
call fcn.00401690
nop
nop
nop
nop