Function at 0x496790
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0043c8d0
add esp, 4
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043c8d0
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0x40
jle 0x49682b
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00496620
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.004964d0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00496410
lea edx, [ebp - 0x24]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x168], 0x10
mov dword [ebp - 0x160], 0
jmp 0x496846
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x496878
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x16c], ecx
cmp dword [ebp - 0x16c], 0x41
jae 0x496866
jmp 0x49686b
call fcn.0042f09f
mov edx, dword [ebp - 0x16c]
mov byte [ebp + edx - 0x68], 0
jmp 0x496837
mov dword [ebp - 0x160], 0
jmp 0x496893
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x4968c8
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], ecx
cmp dword [ebp - 0x170], 0x41
jae 0x4968b3
jmp 0x4968b8
call fcn.0042f09f
mov edx, dword [ebp - 0x170]
mov byte [ebp + edx - 0xac], 0
jmp 0x496884
mov dword [ebp - 0x160], 0
jmp 0x4968e3
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [ebp - 0x168]
jge 0x496920
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x160]
mov cl, byte [edx]
mov byte [ebp + eax - 0x68], cl
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x160]
mov cl, byte [edx]
mov byte [ebp + eax - 0xac], cl
jmp 0x4968d4
mov dword [ebp - 0x160], 0
jmp 0x49693b
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 0x40
jge 0x49697c
mov eax, dword [ebp - 0x160]
movzx ecx, byte [ebp + eax - 0x68]
xor ecx, 0x36
mov edx, dword [ebp - 0x160]
mov byte [ebp + edx - 0x68], cl
mov eax, dword [ebp - 0x160]
movzx ecx, byte [ebp + eax - 0xac]
xor ecx, 0x5c
mov edx, dword [ebp - 0x160]
mov byte [ebp + edx - 0xac], cl
jmp 0x49692c
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00496620
push 0x40
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.004964d0
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.004964d0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00496410
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00496620
push 0x40
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.004964d0
push 0x10
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.004964d0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00496410
mov dword [ebp - 0x160], 0
jmp 0x496a4f
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x10
jge 0x496a81
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ebp + ecx - 0x14]
push edx
push 0x4ce484
mov eax, dword [ebp - 0x160]
lea ecx, [eax*2 + 0x4eeb7c]
push ecx
call fcn.0041cc80
add esp, 0xc
jmp 0x496a40
push 0x4eeb7c
mov edx, dword [ebp + 8]
push edx
call fcn.0043ec20
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 8