Function at 0x4c1800
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 4], 0x30
mov dword [ebp - 0xc], 0x2a
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x34], 0x5a
mov dword [ebp - 0x48], 0x36
mov dword [ebp - 0x10], 0x1b
mov dword [ebp - 8], 0x5c
mov dword [ebp - 0x24], 0x54
mov dword [ebp - 0x3c], 0x2e
mov dword [ebp - 0x2c], 0x53
mov dword [ebp - 0x5c], 0x4c
mov dword [ebp - 0x50], 0x39
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x28], 0x35
mov dword [ebp - 0x30], 0x2f
mov dword [ebp - 0x38], 0x5c
mov dword [ebp - 0x4c], 0x3f
mov dword [ebp - 0x44], 0x57
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x64], 0x56
mov dword [ebp - 0x40], 0x39
mov dword [ebp - 0x18], 0x62
mov dword [ebp - 0x68], 0x63
mov dword [ebp - 0x54], 0x54
mov dword [ebp - 0x6c], 0x13
mov dword [ebp - 0x20], 0x49
mov eax, dword [ebp - 4]
and eax, dword [0x4ff914]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x60]
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x4c]
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x64]
and edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x6c]
and ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x20]
and edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov dword [0x4ff8ec], 6
cmp dword [0x4ff8ec], 0x47
jge 0x4c19ee
mov dword [0x4ff8f0], 0x1e
cmp dword [0x4ff8f0], 0x4d
jne 0x4c19ee
cmp dword [ebp - 0x20], 0x3b
je 0x4c19ee
mov eax, dword [ebp - 0x2c]
or eax, 0x1b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 8], 0x35
jle 0x4c19fd
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 4
jge 0x4c1a1b
cmp dword [ebp - 0x40], 0x39
je 0x4c1a1b
mov eax, dword [ebp - 4]
sub eax, 0x58
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0x21
jl 0x4c19ee
mov ecx, dword [ebp - 0x4c]
add ecx, 0x3d
push ecx
call fcn.00416670
add esp, 4
mov edx, dword [ebp - 0x40]
add edx, 0x15
push edx
mov eax, dword [ebp - 0x50]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 9
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x2a
push edx
mov eax, dword [ebp - 0xc]
sub eax, 0xe
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0xd7
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x72
push edx
mov eax, dword [0x4ff914]
sub eax, 0xb
push eax
call fcn.00417fe0
add esp, 0x20
mov ecx, dword [0x4ff8ec]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0x38]
sub edx, 0x3b
push edx
mov eax, dword [ebp - 0x10]
sub eax, 0x1c
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 9
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x1e
push edx
mov eax, dword [0x4ff8ec]
add eax, 0x30
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x73
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x2e
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x69
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x26
push ecx
call fcn.00421c80
add esp, 0x28
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
push 0xffffffffffffffff
call dword [0x505b64]
mov dword [ebp - 0x74], eax
mov dword [0x4ff914], 0x64
mov eax, dword [0x4ff914]
add eax, 1
mov dword [0x4ff914], eax
mov dword [0x4ff914], 0x36
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [0x4ff914]
add edx, 1
mov dword [0x4ff914], edx
cmp dword [ebp - 0x10], 0x2c
jle 0x4c1b43
cmp dword [ebp - 0x20], 3
jne 0x4c1b43
cmp dword [ebp - 0x14], 0xc
jne 0x4c1b43
cmp dword [ebp - 0x20], 0x20
jge 0x4c1b43
cmp dword [ebp - 0x58], 0x3f
jle 0x4c1b43
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [0x4ff914], 0x37
jl 0x4c1b04
cmp dword [ebp - 0x44], 0x5b
jne 0x4c1b74
cmp dword [ebp - 0x30], 0x19
jge 0x4c1b74
mov dword [0x4ff8e8], 0x3e
cmp dword [0x4ff8e8], 0x2a
jle 0x4c1b74
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x74], 0
jl 0x4c1b83
mov dword [ebp - 0x70], 1
jmp 0x4c1b8a
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
jmp 0x4c1bc7
mov esp, ebp
pop ebp
ret