Function at 0x407970
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov esi, dword [0x44d078]
and esi, 0x141bf25e
mov dword [ebp - 0xc], ecx
push 0xf
pop ebx
mov dword [0x44d150], esi
xor eax, eax
mov dword [ebp - 0x24], 0x26
mov dword [ebp - 0x20], 0x41
mov dword [ebp - 0x1c], 0xffffff8b
add ebx, dword [ebp + eax*4 - 0x24]
inc eax
cmp eax, 3
jl 0x4079aa
push 0xe
mov dword [ebp - 0x2c], ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x24], 0x62
mov dword [ebp - 0x20], 0x2b
mov dword [ebp - 0x1c], 0xffffff69
add ecx, dword [ebp + eax*4 - 0x24]
inc eax
cmp eax, 3
jl 0x4079d1
movzx eax, bl
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jge 0x407dad
push edi
push 9
pop edi
and dword [ebp - 0x18], 0
mov ecx, 0x40136c
push 0x6f
mov dword [ebp - 0x40], 0x59
mov dword [ebp - 0x3c], 0x1b
mov dword [ebp - 0x38], 0x39
mov dword [ebp - 0x34], 0x15
mov dword [ebp - 0x30], 0xffffff3e
pop edx
lea eax, [edx - 0x30]
cmp ax, di
ja 0x407a36
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x407a1f
jmp 0x407a56
mov eax, dword [0x44d2fc]
xor eax, 0x59440358
push 0xacf
mov dword [0x44d150], eax
call dword [sym.imp.USER32.dll_IsZoomed]
mov esi, dword [0x44d150]
mov edi, esi
xor edi, 0x3f0b3072
mov dword [0x44d078], edi
call fcn.0040406a
mov ecx, dword [ebp - 0x18]
xor eax, eax
sub ecx, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, 5
jl 0x407a6e
cmp cl, bl
jae 0x407d95
push 0x1a
pop eax
push 0x5c
pop edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
push 0x21
pop eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov al, bl
sub al, cl
mov dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x9c], 0xffffffbf
movups xmm3, xmmword [ebp - 0xa8]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], 0xffffff62
movups xmm4, xmmword [ebp - 0xb8]
movzx eax, al
mov dword [ebp - 0x20], 0x34
mov dword [ebp - 0x1c], 0xffffffbd
mov dword [ebp - 0x74], 0xc
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], 0xffffff91
mov dword [ebp - 0x80], 0x64
mov dword [ebp - 0x7c], 0x55
mov dword [ebp - 0x78], 0xffffff63
mov dword [ebp - 0x8c], 0x36
mov dword [ebp - 0x88], 0x4a
mov dword [ebp - 0x84], 0xffffff80
mov dword [ebp - 0x18], eax
push 0x13
pop ecx
xor eax, eax
add ecx, dword [ebp + eax*4 - 0x20]
inc eax
cmp eax, 2
jl 0x407b34
mov dword [ebp - 0x14], ecx
mov esi, edi
xor esi, 0xab82c56f
mov dword [ebp - 0x60], esi
mov dword [0x44d150], esi
call fcn.0040406a
movups xmm1, xmm3
mov dword [ebp - 0x40], 0x23
movaps xmm0, xmm1
mov dword [ebp - 0x3c], 0xd
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x38], 9
movups xmm0, xmm1
mov dword [ebp - 0x34], 0x2f
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x30], 0xffffff9f
movd eax, xmm1
push 8
pop ecx
inc eax
mov dword [ebp - 8], eax
xor eax, eax
sub ecx, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, 5
jl 0x407ba2
push 0x3c
mov dword [ebp - 0x58], ecx
xor eax, eax
pop edx
mov dword [ebp - 0x54], 0x36
mov dword [ebp - 0x50], 0x54
mov dword [ebp - 0x4c], 0x1f
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], 0xffffff6e
sub edx, dword [ebp + eax*4 - 0x54]
inc eax
cmp eax, 5
jl 0x407bd7
push 8
pop ecx
xor eax, eax
add ecx, dword [ebp + eax*4 - 0x74]
inc eax
cmp eax, 3
jl 0x407be6
xorps xmm1, xmm1
xor eax, eax
psubd xmm1, xmm4
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
push 0x20
movd dword [ebp - 0x5c], xmm1
pop ebx
sub ebx, dword [ebp + eax*4 - 0x80]
inc eax
cmp eax, 3
jl 0x407c19
mov dword [ebp - 0x64], ebx
xor ebx, ebx
xor eax, eax
sub ebx, dword [ebp + eax*4 - 0x8c]
inc eax
cmp eax, 3
jl 0x407c2a
mov eax, dword [ebp - 0x10]
sub dl, cl
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 8]
mov dword [ebp - 8], edx
movzx edx, dl
mov dword [ebp - 0x14], edx
mov al, byte [eax + ebx]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 1], al
movd eax, xmm1
cmp edx, eax
jle 0x407d76
mov ebx, dword [ebp - 8]
mov eax, esi
mov esi, dword [ebp - 0x10]
and eax, 0x3ba08c7c
mov dword [ebp - 0xc8], 0x43
mov dword [ebp - 0xc4], 0x35
mov dword [ebp - 0xc0], 0x5e
mov dword [ebp - 0xbc], 0xfffffec8
movups xmm2, xmmword [ebp - 0xc8]
mov dword [ebp - 0x98], 0x4d
mov dword [ebp - 0x94], 0x57
mov dword [ebp - 0x90], 0xffffff78
mov dword [0x44d2fc], eax
push 0x20
sub edi, 0x350c13ce
xor eax, eax
pop ecx
sub ecx, dword [ebp + eax*4 - 0x98]
inc eax
cmp eax, 3
jl 0x407cd4
push 0x30
mov dword [ebp - 8], ecx
xor eax, eax
pop ecx
mov dword [ebp - 0x54], 0x4f
mov dword [ebp - 0x50], 0x4c
mov dword [ebp - 0x4c], 0x51
mov dword [ebp - 0x48], 0x2b
mov dword [ebp - 0x44], 0xffffff15
sub ecx, dword [ebp + eax*4 - 0x54]
inc eax
cmp eax, 5
jl 0x407d0c
movups xmm1, xmm2
mov edx, esi
movaps xmm0, xmm1
imul edx, ecx
psrldq xmm0, 8
mov ecx, esi
imul ecx, dword [ebp - 8]
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add ecx, dword [ebp - 0x14]
add eax, 0x63
sub edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
dec bl
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [ecx + edx], al
movzx eax, bl
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x5c]
jg 0x407cc9
mov esi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x28]
mov dword [0x44d078], edi
jmp 0x407d79
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x64]
mov cl, byte [ebp - 1]
add eax, ebx
sub dword [ebp - 0x18], 1
mov byte [eax + edx], cl
jne 0x407b2f
mov ebx, dword [ebp - 0x2c]
inc bl
movzx eax, bl
push 9
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], eax
pop edi
cmp eax, dword [ebp - 0x68]
jl 0x4079f0
pop edi
pop esi
pop ebx
leave
ret