Function at 0x40cb81
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [0x4170a9]
or eax, 0xd
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0xffffffdf
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
or eax, 0x10
mov byte [0x4170a9], al
mov dword [ebp - 0xc], 0x9112bcd7
movzx eax, byte [0x4170a9]
sub eax, 0x13
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
and eax, 0x78
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
add eax, 0x13
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
or eax, 0x17
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
and eax, 0x73
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
mov edx, 0x2a
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
xor eax, 0xffffffd2
mov byte [0x4170a8], al
mov dword [ebp - 0x10], 0x91112cd7
movzx eax, byte [0x4170a9]
xor eax, 0xfffffffd
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
add eax, 0x38
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
or eax, 0xffffffc2
mov byte [0x4170a9], al
mov dword [ebp - 0x1c], 0xed12bcd7
movzx eax, byte [0x4170a8]
or eax, 0xffffff90
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
sub eax, 0xf
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
add eax, 0x2e
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
or eax, 0xffffffd7
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
sub eax, 0x2c
mov byte [0x4170aa], al
mov dword [ebp - 0x20], 0x9112b7d7
movzx eax, byte [0x4170a9]
mov edx, 0x67
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
sub eax, 0x69
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
add eax, 0x51
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
or eax, 0x25
mov byte [0x4170aa], al
mov dword [ebp - 0x24], 0x925abcd7
movzx eax, byte [0x4170a8]
sub eax, 0x55
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
xor eax, 0xffffffb7
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
not eax
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
mov edx, 0xffffffb4
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
or eax, 0xffffffee
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
mov ecx, eax
shl eax, 6
mov edx, eax
mov eax, ecx
sub eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
sub eax, 0x35
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0x2b
imul eax, edx
mov byte [0x4170a9], al
mov dword [ebp - 0x14], 0
movzx edx, byte [0x4170a8]
mov eax, edx
shl eax, 5
sub eax, edx
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
and eax, 0xffffffbc
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
mov edx, 0x5c
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0xffffff9e
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
xor eax, 4
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
or eax, 0xffffff80
mov byte [0x4170aa], al
mov dword [ebp - 0x18], 0x8296625d
movzx eax, byte [0x4170aa]
and eax, 0x74
mov byte [0x4170a9], al
mov dword [esp], 0x34
mov eax, dword [sym.imp.USER32.dll_GetSysColorBrush]
call eax
sub esp, 4
movzx eax, byte [0x4170a8]
and eax, 7
mov byte [0x4170a9], al
movzx eax, byte [0x4170a8]
add eax, 0x64
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
mov edx, 0xffffffbe
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
and eax, 0xffffff94
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
or eax, 0xfffffff4
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
xor eax, 0xffffff97
mov byte [0x4170a8], al
mov dword [ebp - 0x28], 0xbd063088
movzx eax, byte [0x4170aa]
or eax, 0xfffffff8
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
and eax, 0xffffffbb
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
and eax, 1
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0xffffffc7
imul eax, edx
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
add eax, 5
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
and eax, 0x4c
mov byte [0x4170a8], al
mov dword [ebp - 0x2c], 0x9b4a014c
movzx eax, byte [0x4170aa]
xor eax, 0x3c
mov byte [0x4170a9], al
movzx eax, byte [0x4170a8]
mov edx, 0x39
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a8]
add eax, 0x63
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
sub eax, 0x1b
mov byte [0x4170a8], al
mov dword [esp], 0x6e
mov eax, dword [sym.imp.USER32.dll_GetDC]
call eax
sub esp, 4
movzx eax, byte [0x4170a9]
or eax, 0xffffff80
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
or eax, 0x22
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
xor eax, 0x4e
mov byte [0x4170a8], al
mov dword [ebp - 0x30], 0x9112bcd7
movzx eax, byte [0x4170a8]
or eax, 0x47
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
or eax, 0xffffffbd
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
mov edx, 0xffffffb1
imul eax, edx
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
mov edx, 0xffffff99
imul eax, edx
mov byte [0x4170a8], al
mov dword [esp], 0x4c
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
movzx eax, byte [0x4170a9]
or eax, 0xb
mov byte [0x4170a8], al
mov dword [ebp - 0x34], 0x281319b1
movzx eax, byte [0x4170a8]
sub eax, 0x16
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0xffffffbe
imul eax, edx
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
or eax, 0x71
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
and eax, 0x7f
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
sub eax, 0x36
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
or eax, 0xffffffd5
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
add eax, 7
mov byte [0x4170aa], al
movzx edx, byte [0x4170aa]
mov eax, edx
shl edx, 2
sub eax, edx
shl eax, 4
mov byte [0x4170a9], al
mov dword [ebp - 0x38], 0x1de6784d
movzx eax, byte [0x4170a8]
xor eax, 0xffffffbd
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
and eax, 0xffffffd8
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
and eax, 0x54
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
sub eax, 0x78
mov byte [0x4170a8], al
movzx eax, byte [0x4170a9]
add eax, 0x7c
mov byte [0x4170a8], al
mov dword [ebp - 0x3c], 0x49ad9b91
movzx eax, byte [0x4170a8]
sub eax, 0x6b
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
sub eax, 0x7d
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
sub eax, 0x2e
mov byte [0x4170a9], al
movzx eax, byte [0x4170a8]
and eax, 0xb
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
xor eax, 0x6d
mov byte [0x4170aa], al
movzx eax, byte [0x4170a8]
sub eax, 0x69
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
or eax, 0xfffffff2
mov byte [0x4170a9], al
mov dword [esp + 4], 0
mov dword [esp], 0x9f
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
call eax
sub esp, 8
jmp 0x40d323
mov dword [esp], 0x3e
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
movzx eax, byte [0x4170a9]
and eax, 0x71
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
sub eax, 0x36
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0x55
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
and eax, 0xffffff8c
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
sub eax, 0x16
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
add eax, 0xe
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
and eax, 0x2d
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
mov edx, 0xffffffae
imul eax, edx
mov byte [0x4170a9], al
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, word [eax]
mov word [ebp - 0x3e], ax
movzx eax, byte [0x4170a8]
and eax, 0x26
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
sub eax, 0x49
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
and eax, 0x16
mov byte [0x4170a8], al
movzx edx, byte [0x4170a9]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 4
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
xor eax, 0xfffffff4
mov byte [0x4170aa], al
movzx eax, byte [0x4170a9]
sub eax, 0x5b
mov byte [0x4170a9], al
mov eax, dword [ebp - 0x20]
imul eax, eax, 0xa5101
mov ecx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add edx, eax
mov eax, dword [ebp - 0x20]
imul eax, edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x1c]
add eax, edx
sub eax, 0xa5101
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x3e]
mov edx, dword [ebp - 0x18]
ror edx, 8
add eax, edx
xor dword [ebp - 0x18], eax
movzx eax, byte [0x4170a9]
mov edx, 0x5a
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
or eax, 0xffffff99
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
xor eax, 0xffffffca
mov byte [0x4170a9], al
movzx eax, byte [0x4170a8]
or eax, 0xfffffffc
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
sub eax, 0x1e
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
and eax, 0x4a
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
or eax, 0x7b
mov byte [0x4170a8], al
mov eax, 0x64c12
sub eax, dword [ebp - 0x24]
imul eax, eax, 0x16252
mov edx, dword [ebp - 0x24]
sub edx, 1
imul edx, edx, 0x37cab
add edx, 0x16252
sub eax, edx
imul eax, dword [ebp - 0x24]
imul eax, eax, 0x90f5162e
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
test al, al
jne 0x40d145
movzx eax, byte [0x4170aa]
or eax, 0x50
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
or eax, 0x72
mov byte [0x4170a8], al
movzx eax, byte [0x4170a8]
mov edx, 0x64
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
mov edx, 0xffffffb4
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
mov edx, 0x70
imul eax, edx
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
and eax, 0x2a
mov byte [0x4170aa], al
movzx eax, byte [0x4170aa]
or eax, 0x5f
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
sub eax, 0x57
mov byte [0x4170a8], al
mov eax, dword [ebp - 0xc]
imul edx, eax, 0xfff0b67f
mov eax, dword [ebp - 0x24]
add eax, 1
imul eax, dword [ebp - 0xc]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
sub edx, eax
lea eax, [edx + 0xf4981]
mov dword [ebp - 0xc], eax
mov byte [0x4170a9], 0xff
movzx eax, byte [0x4170a8]
sub eax, 0x54
mov byte [0x4170a9], al
movzx eax, byte [0x4170a9]
or eax, 0x51
mov byte [0x4170a8], al
movzx eax, byte [0x4170aa]
sub eax, 0xb
mov byte [0x4170a9], al
movzx eax, byte [0x4170aa]
add eax, 0x14
mov byte [0x4170a8], al
mov dword [esp + 4], 0
mov dword [esp], 0xb0
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
call eax
sub esp, 8
movzx eax, byte [0x4170a9]
and eax, 0x46
mov byte [0x4170a8], al
mov eax, dword [ebp - 0x18]
leave
ret