Function at 0x416a90
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x348
mov esi, esp
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [0x43ee94]
mov dword [esi + 0x2d4], eax
mov al, byte [esi + 0xd4]
mov byte [esi + 0xec], al
mov byte [esi + 0xd8], 0x59
mov byte [esi + 0xd9], 0xcb
mov byte [esi + 0xda], 0x51
mov byte [esi + 0xdb], 0xc9
mov byte [esi + 0xdc], 0x4f
mov byte [esi + 0xdd], 0xc7
mov byte [esi + 0xde], 0x8a
mov byte [esi + 0xdf], 0xc5
mov byte [esi + 0xe0], 0x96
mov byte [esi + 0xe1], 0xc3
mov byte [esi + 0xe2], 0x5e
mov byte [esi + 0xe3], 0xc1
mov byte [esi + 0xe4], 0x5e
mov byte [esi + 0xe5], 0xff
mov byte [esi + 0xe6], 0xfe
mov byte [esi + 0xe7], 0xfd
mov eax, 0x10
mov byte [esi + eax + 0xd8], 0
add eax, 1
cmp eax, 0x14
jne 0x416b34
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x2c]
cmp eax, 0x14
jae 0x416b86
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
movzx ecx, byte [esi + ecx + 0xd8]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00418990
add esp, 8
mov ecx, dword [esi + 0x2c]
mov byte [esi + ecx + 0xd8], al
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
jmp 0x416b4b
lea eax, [esi + 0xd8]
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004138f0
add esp, 0xc
and al, 1
movzx ebx, al
mov al, byte [esi + 0xd0]
mov byte [esi + 0xf0], al
mov byte [esi + 0x170], 0x11
mov byte [esi + 0x171], 0xfb
mov byte [esi + 0x172], 0x11
mov byte [esi + 0x173], 0xf9
mov byte [esi + 0x174], 0x66
mov byte [esi + 0x175], 0xe7
mov byte [esi + 0x176], 0x7a
mov byte [esi + 0x177], 0xe5
mov byte [esi + 0x178], 0x23
mov byte [esi + 0x179], 0xe3
mov byte [esi + 0x17a], 0x30
mov byte [esi + 0x17b], 0xe1
mov byte [esi + 0x17c], 0xc
mov byte [esi + 0x17d], 0xef
mov byte [esi + 0x17e], 0
mov byte [esi + 0x17f], 0xed
mov byte [esi + 0x180], 0xec
mov byte [esi + 0x181], 0xeb
mov eax, 0x12
mov byte [esi + eax + 0x170], 0
add eax, 1
cmp eax, 0x17
jne 0x416c36
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x30]
cmp eax, 0x17
jae 0x416c88
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x30]
movzx ecx, byte [esi + ecx + 0x170]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004189b0
add esp, 8
mov ecx, dword [esi + 0x30]
mov byte [esi + ecx + 0x170], al
mov eax, dword [esi + 0x30]
inc eax
mov dword [esi + 0x30], eax
jmp 0x416c4d
lea eax, [esi + 0x170]
sub esp, 0xc
mov dword [esp], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004138f0
add esp, 0xc
and al, 1
movzx ecx, al
xor ebx, 0xffffffff
xor ecx, 0xffffffff
mov eax, ebx
and eax, 0x258167d5
mov edx, ecx
and edx, 0x258167d5
or eax, 0
or edx, 0
xor eax, edx
or ebx, ecx
xor ebx, 0xffffffff
and ebx, 0xffffffff
or eax, ebx
cmp eax, 0
setne bl
mov al, byte [esi + 0xcc]
mov byte [esi + 0xf4], al
mov byte [esi + 0x120], 0xf2
mov byte [esi + 0x121], 9
mov byte [esi + 0x122], 0xfd
mov byte [esi + 0x123], 0xf
mov byte [esi + 0x124], 0xfa
mov byte [esi + 0x125], 0xd
mov byte [esi + 0x126], 0xff
mov byte [esi + 0x127], 3
mov byte [esi + 0x128], 0xf8
mov byte [esi + 0x129], 1
mov byte [esi + 0x12a], 0xff
mov byte [esi + 0x12b], 7
mov byte [esi + 0x12c], 0xf3
mov byte [esi + 0x12d], 5
mov byte [esi + 0x12e], 0xee
mov byte [esi + 0x12f], 0x1b
mov byte [esi + 0x130], 0xeb
mov byte [esi + 0x131], 0x19
mov byte [esi + 0x132], 0xe8
mov byte [esi + 0x133], 0x1f
mov byte [esi + 0x134], 0x95
mov byte [esi + 0x135], 0x1d
mov byte [esi + 0x136], 0x20
mov byte [esi + 0x137], 0x13
mov byte [esi + 0x138], 0xe7
mov byte [esi + 0x139], 0x11
mov byte [esi + 0x13a], 0xe7
mov byte [esi + 0x13b], 0x17
mov byte [esi + 0x13c], 0xe8
mov byte [esi + 0x13d], 0x15
mov byte [esi + 0x13e], 0xd3
mov byte [esi + 0x13f], 0x2b
mov byte [esi + 0x140], 0xdc
mov byte [esi + 0x141], 0x29
mov byte [esi + 0x142], 0xcb
mov byte [esi + 0x143], 0x2f
mov byte [esi + 0x144], 0x2c
mov byte [esi + 0x145], 0x2d
mov eax, 0x26
mov byte [esi + eax + 0x120], 0
add eax, 1
cmp eax, 0x29
jne 0x416df4
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x34]
cmp eax, 0x29
jae 0x416e46
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x34]
movzx ecx, byte [esi + ecx + 0x120]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004189d0
add esp, 8
mov ecx, dword [esi + 0x34]
mov byte [esi + ecx + 0x120], al
mov eax, dword [esi + 0x34]
inc eax
mov dword [esi + 0x34], eax
jmp 0x416e0b
lea eax, [esi + 0x120]
sub esp, 0xc
mov dword [esp], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004138f0
add esp, 0xc
and al, 1
movzx ecx, al
and bl, 1
movzx edx, bl
mov eax, edx
xor eax, 0xffffffff
mov ebx, ecx
xor ebx, 0xffffffff
and eax, ebx
xor edx, 0xffffffff
xor ecx, 0xffffffff
and edx, ecx
or eax, edx
xor eax, 0xffffffff
cmp eax, 0
setne bl
mov al, byte [esi + 0xc8]
mov byte [esi + 0xf8], al
mov byte [esi + 0x14c], 0x43
mov byte [esi + 0x14d], 0xe1
mov byte [esi + 0x14e], 0x7d
mov byte [esi + 0x14f], 0xe3
mov byte [esi + 0x150], 0x7b
mov byte [esi + 0x151], 0xe5
mov byte [esi + 0x152], 0x7d
mov byte [esi + 0x153], 0xe7
mov byte [esi + 0x154], 0x41
mov byte [esi + 0x155], 0xd9
mov byte [esi + 0x156], 0x7f
mov byte [esi + 0x157], 0xdb
mov byte [esi + 0x158], 0x4f
mov byte [esi + 0x159], 0xdd
mov byte [esi + 0x15a], 0x80
mov byte [esi + 0x15b], 0xdf
mov byte [esi + 0x15c], 0x43
mov byte [esi + 0x15d], 0xd1
mov byte [esi + 0x15e], 0x43
mov byte [esi + 0x15f], 0xd3
mov byte [esi + 0x160], 0x48
mov byte [esi + 0x161], 0xd5
mov byte [esi + 0x162], 0x4f
mov byte [esi + 0x163], 0xd7
mov byte [esi + 0x164], 0x5c
mov byte [esi + 0x165], 0xc9
mov byte [esi + 0x166], 0x6f
mov byte [esi + 0x167], 0xcb
mov byte [esi + 0x168], 0xcc
mov byte [esi + 0x169], 0xcd
mov eax, 0x1e
mov byte [esi + eax + 0x14c], 0
add eax, 1
cmp eax, 0x21
jne 0x416f72
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x38]
cmp eax, 0x21
jae 0x416fc4
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
movzx ecx, byte [esi + ecx + 0x14c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004189f0
add esp, 8
mov ecx, dword [esi + 0x38]
mov byte [esi + ecx + 0x14c], al
mov eax, dword [esi + 0x38]
inc eax
mov dword [esi + 0x38], eax
jmp 0x416f89
lea eax, [esi + 0x14c]
sub esp, 0xc
mov dword [esp], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004138f0
add esp, 0xc
and al, 1
movzx eax, al
and bl, 1
movzx ecx, bl
or ecx, eax
cmp ecx, 0
setne bl
mov al, byte [esi + 0xa8]
mov byte [esi + 0xfc], al
mov byte [esi + 0xac], 0x68
mov byte [esi + 0xad], 0x9b
mov byte [esi + 0xae], 0x6b
mov byte [esi + 0xaf], 0x99
mov byte [esi + 0xb0], 0x71
mov byte [esi + 0xb1], 0xa7
mov byte [esi + 0xb2], 0x51
mov byte [esi + 0xb3], 0xa5
mov byte [esi + 0xb4], 0x56
mov byte [esi + 0xb5], 0xa3
mov byte [esi + 0xb6], 0x5f
mov byte [esi + 0xb7], 0xa1
mov byte [esi + 0xb8], 0x92
mov byte [esi + 0xb9], 0xaf
mov byte [esi + 0xba], 0x58
mov byte [esi + 0xbb], 0xad
mov byte [esi + 0xbc], 0x51
mov byte [esi + 0xbd], 0xab
mov byte [esi + 0xbe], 0x5b
mov byte [esi + 0xbf], 0xa9
mov byte [esi + 0xc0], 0x5a
mov byte [esi + 0xc1], 0xb7
mov byte [esi + 0xc2], 0xb6
mov byte [esi + 0xc3], 0xb5
mov eax, 0x18
mov byte [esi + eax + 0xac], 0
add eax, 1
cmp eax, 0x19
jne 0x4170af
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x3c]
cmp eax, 0x19
jae 0x417101
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x3c]
movzx ecx, byte [esi + ecx + 0xac]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00418a10
add esp, 8
mov ecx, dword [esi + 0x3c]
mov byte [esi + ecx + 0xac], al
mov eax, dword [esi + 0x3c]
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4170c6
lea eax, [esi + 0xac]
sub esp, 0xc
mov dword [esp], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004138f0
add esp, 0xc
and al, 1
movzx ecx, al
and bl, 1
movzx eax, bl
xor eax, 0xffffffff
xor ecx, 0xffffffff
mov edx, eax
and edx, 0x466a2e6b
mov ebx, ecx
and ebx, 0x466a2e6b
or edx, 0
or ebx, 0
xor edx, ebx
or eax, ecx
xor eax, 0xffffffff
and eax, 0xffffffff
or edx, eax
cmp edx, 0
setne byte [esi + 3]
mov al, byte [esi + 0x84]
mov byte [esi + 0x100], al
mov byte [esi + 0x88], 0x40
mov byte [esi + 0x89], 0x31
mov byte [esi + 0x8a], 0x46
mov byte [esi + 0x8b], 0x33
mov byte [esi + 0x8c], 0x5d
mov byte [esi + 0x8d], 0x3d
mov byte [esi + 0x8e], 0x5d
mov byte [esi + 0x8f], 0x3f
mov byte [esi + 0x90], 0x55
mov byte [esi + 0x91], 0x39
mov byte [esi + 0x92], 0x49
mov byte [esi + 0x93], 0x3b
mov byte [esi + 0x94], 0x72
mov byte [esi + 0x95], 0x45
mov byte [esi + 0x96], 0x35
mov byte [esi + 0x97], 0x47
mov byte [esi + 0x98], 0x31
mov byte [esi + 0x99], 0x41
mov byte [esi + 0x9a], 0x36
mov byte [esi + 0x9b], 0x43
mov byte [esi + 0x9c], 0x25
mov byte [esi + 0x9d], 0x4d
mov byte [esi + 0x9e], 0x32
mov byte [esi + 0x9f], 0x4f
mov byte [esi + 0xa0], 0x25
mov byte [esi + 0xa1], 0x49
mov byte [esi + 0xa2], 0x4a
mov byte [esi + 0xa3], 0x4b
mov eax, 0x1c
mov byte [esi + eax + 0x88], 0
add eax, 1
cmp eax, 0x1d
jne 0x41722f
mov dword [esi + 0x40], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x40]
cmp eax, 0x1d
jae 0x417284
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x40]
movzx ecx, byte [esi + ecx + 0x88]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00418a30
add esp, 8
mov ecx, dword [esi + 0x40]
mov byte [esi + ecx + 0x88], al
mov eax, dword [esi + 0x40]
inc eax
mov dword [esi + 0x40], eax
jmp 0x417249
sub esp, 0xc
lea eax, [esi + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.004138f0
add esp, 0xc
mov cl, byte [esi + 3]
or cl, al
and cl, 1
mov byte [esi + 3], cl
xor eax, eax
cmp dword [ebp + 0x10], 0
sete al
mov dword [esi + 0x2d0], eax
mov eax, dword [esi + 0x2d4]
mov ecx, dword [esi + 0x2d0]
mov ecx, dword [eax + ecx*4]
push eax
mov eax, esp
mov dword [esi + 0x1c0], eax
mov dword [eax], 0x43ecf0
push eax
mov edx, esp
mov dword [edx], 0x3d
push eax
mov eax, esp
mov dword [esi + 0x1c8], eax
mov dword [eax], 0x43ee9c
push eax
mov dword [esi + 0x1c4], esp
push eax
mov eax, esp
mov dword [esi + 0x1d0], eax
mov dword [eax], 0x43eea4
push eax
mov dword [esi + 0x1cc], esp
push eax
mov eax, esp
mov dword [esi + 0x1e0], eax
mov dword [eax], 0x43eeac
push eax
mov dword [esi + 0x1d8], esp
push eax
mov eax, esp
mov dword [esi + 0x1dc], eax
mov dword [eax], 0x43eeb4
push eax
mov dword [esi + 0x1d4], esp
push eax
mov eax, esp
mov dword [esi + 0x220], eax
mov dword [eax], 0x43eebc
push eax
mov dword [esi + 0x218], esp
push eax
mov eax, esp
mov dword [esi + 0x20c], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x1ec], eax
mov dword [eax], 0x23
push eax
mov eax, esp
mov dword [esi + 0x214], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x1fc], eax
mov dword [eax], 0x24
push eax
mov eax, esp
mov dword [esi + 0x208], eax
mov dword [eax], 0x43eec4
push eax
mov dword [esi + 0x1f8], esp
push eax
mov eax, esp
mov dword [esi + 0x204], eax
mov dword [eax], 0x43eecc
push eax
mov dword [esi + 0x1f0], esp
push eax
mov eax, esp
mov dword [esi + 0x21c], eax
mov dword [eax], 0x43eed4
push eax
mov dword [esi + 0x210], esp
push eax
mov eax, esp
mov dword [esi + 0x200], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x1e8], eax
mov dword [eax], 0x28
push eax
mov edi, esp
mov dword [edi], 0x43eedc
push eax
mov dword [esi + 0x2c0], esp
push eax
mov ebx, esp
mov dword [esi + 0x2b4], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x298], ebx
mov dword [ebx], 0x31
push eax
mov ebx, esp
mov dword [esi + 0x290], ebx
mov dword [ebx], 0x43eee4
push eax
mov dword [esi + 0x28c], esp
push eax
mov ebx, esp
mov dword [esi + 0x288], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x284], ebx
mov dword [ebx], 0x30
push eax
mov ebx, esp
mov dword [esi + 0x280], ebx
mov dword [ebx], 0x43eeec
push eax
mov dword [esi + 0x27c], esp
push eax
mov ebx, esp
mov dword [esi + 0x278], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x274], ebx
mov dword [ebx], 0x2e
push eax
mov ebx, esp
mov dword [esi + 0x270], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x26c], ebx
mov dword [ebx], 0x2f
push eax
mov ebx, esp
mov dword [esi + 0x268], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x264], ebx
mov dword [ebx], 0x30
push eax
mov ebx, esp
mov dword [esi + 0x260], ebx
mov dword [ebx], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x250], eax
mov dword [eax], 0x28
push eax
mov eax, esp
mov dword [esi + 0x258], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x240], eax
mov dword [eax], 0x32
push eax
mov eax, esp
mov dword [esi + 0x24c], eax
mov dword [eax], 0x43eef4
push eax
mov dword [esi + 0x234], esp
push eax
mov eax, esp
mov dword [esi + 0x248], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x22c], eax
mov dword [eax], 0x34
push eax
mov eax, esp
mov dword [esi + 0x238], eax
mov dword [eax], 0x43eefc
push eax
mov dword [esi + 0x228], esp
push eax
mov eax, esp
mov dword [esi + 0x254], eax
mov dword [eax], 0x43ef04
push eax
mov dword [esi + 0x23c], esp
push eax
mov eax, esp
mov dword [esi + 0x230], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x224], eax
mov dword [eax], 0x37
push eax
mov ebx, esp
mov dword [esi + 0x2c4], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x2a4], ebx
mov dword [ebx], 0x38
push eax
mov ebx, esp
mov dword [esi + 0x2b8], ebx
mov dword [ebx], 0x43ef0c
push eax
mov dword [esi + 0x2a0], esp
push eax
mov ebx, esp
mov dword [esi + 0x5c], ebx
mov dword [ebx], 0x43ef14
push eax
mov dword [esi + 0x2bc], esp
push eax
mov ebx, esp
mov dword [esi + 0x2b0], ebx
mov dword [ebx], 0x43ef1c
push eax
mov dword [esi + 0x29c], esp
push eax
mov ebx, esp
mov dword [esi + 0x2ac], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x294], ebx
mov dword [ebx], 0x3c
push eax
mov ebx, esp
mov dword [esi + 0x2c8], ebx
mov dword [ebx], 0x43ecf0
push eax
mov ebx, esp
mov dword [esi + 0x2a8], ebx
mov dword [ebx], 0x3d
push eax
mov eax, esp
mov dword [esi + 0x1b4], eax
mov dword [eax], 0x43ecf0
push eax
mov ebx, dword [ebp + 0xc]
mov eax, esp
mov dword [esi + 0x1b0], eax
mov dword [eax], 0x21
push eax
mov eax, esp
mov dword [esi + 0x1bc], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x1b8], eax
mov dword [eax], 0x26
push eax
mov eax, esp
mov dword [esi + 0x1f4], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [esi + 0x1e4], eax
mov dword [eax], 0x35
push eax
mov eax, esp
mov dword [esi + 0x25c], eax
mov dword [eax], 0x43ecf0
push eax
mov eax, esp
mov dword [eax], 0x39
jmp ecx