Function at 0x486610
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b44f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x96c
lea ecx, [ebp - 0x20]
call fcn.004017f3
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004017f3
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.00401fa0
add eax, 0x41
push eax
lea ecx, [ebp - 0x20]
call fcn.00401c8a
lea ecx, [ebp - 0x20]
call fcn.0040664f
push eax
mov ecx, dword [ebp + 8]
call fcn.0040664f
push eax
call fcn.00405916
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.0040652d
push 0x62a010
call fcn.0040606e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0x41
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c8a
lea ecx, [ebp - 0x20]
call fcn.0040664f
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x4866f0
push 0x22
lea ecx, [ebp - 0x20]
call fcn.0040664f
add eax, 1
push eax
call fcn.0040436d
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4866d3
mov edx, dword [ebp - 0x24]
mov byte [edx], 0
lea ecx, [ebp - 0x20]
call fcn.0040664f
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0040664f
push eax
call fcn.00403ee0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push 0x62a010
lea ecx, [ebp - 0x30]
call fcn.004014c4
jmp 0x48670c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x8000003f
jns 0x48671c
dec edx
or edx, 0xffffffc0
inc edx
test edx, edx
je 0x48672c
push 0
lea ecx, [ebp - 0x30]
call fcn.00405330
jmp 0x486703
cmp dword [ebp - 0x10], 0x40
jle 0x486790
lea eax, [ebp - 0x178]
push eax
call fcn.00402aea
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040664f
push eax
lea edx, [ebp - 0x178]
push edx
call fcn.00404ff7
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.00403071
add esp, 8
mov dword [ebp - 0x10], 0x10
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040664f
push eax
call fcn.0040567d
add esp, 0xc
push 0x40
push 0x36
lea ecx, [ebp - 0xdc]
push ecx
call fcn.00403099
add esp, 0xc
push 0x40
push 0x5c
lea edx, [ebp - 0x120]
push edx
call fcn.00403099
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x4867c8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jge 0x48681e
lea ecx, [ebp - 0x30]
call fcn.0040664f
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + ecx - 0xdc]
xor edx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0xdc], dl
lea ecx, [ebp - 0x30]
call fcn.0040664f
mov ecx, dword [ebp - 0x14]
movzx edx, byte [eax + ecx]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x120]
xor ecx, edx
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x120], cl
jmp 0x4867bf
lea eax, [ebp - 0x98]
push eax
call fcn.00402aea
add esp, 4
push 0x40
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00404ff7
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00401fa0
push eax
lea ecx, [ebp - 0x20]
call fcn.0040664f
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00404ff7
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00403071
add esp, 8
lea eax, [ebp - 0x98]
push eax
call fcn.00402aea
add esp, 4
push 0x40
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00404ff7
add esp, 0xc
push 0x10
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00404ff7
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00403071
add esp, 8
push 0x629f08
lea ecx, [ebp - 0x978]
push ecx
call fcn.00403ee0
add esp, 8
lea edx, [ebp - 0x978]
push edx
call fcn.0040606e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x978], 0x20
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
jmp 0x486914
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x10
jge 0x486946
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x40]
push ecx
push str._02x
mov edx, dword [ebp - 0x10]
lea eax, [ebp + edx - 0x978]
push eax
call fcn.00406465
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x48690b
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x978]
push ecx
call fcn.004027bb
add esp, 0x10
push 0x5bb82c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406596
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004017df
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004017df
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret