Function at 0x496070
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0043c190
add esp, 4
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043c190
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0x40
jle 0x49610b
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495f00
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.00495db0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00495cf0
lea edx, [ebp - 0x24]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x168], 0x10
mov dword [ebp - 0x160], 0
jmp 0x496126
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x496158
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x16c], ecx
cmp dword [ebp - 0x16c], 0x41
jae 0x496146
jmp 0x49614b
call fcn.0042e95f
mov edx, dword [ebp - 0x16c]
mov byte [ebp + edx - 0x68], 0
jmp 0x496117
mov dword [ebp - 0x160], 0
jmp 0x496173
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x4961a8
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], ecx
cmp dword [ebp - 0x170], 0x41
jae 0x496193
jmp 0x496198
call fcn.0042e95f
mov edx, dword [ebp - 0x170]
mov byte [ebp + edx - 0xac], 0
jmp 0x496164
mov dword [ebp - 0x160], 0
jmp 0x4961c3
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [ebp - 0x168]
jge 0x496200
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 0x4961b4
mov dword [ebp - 0x160], 0
jmp 0x49621b
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 0x40
jge 0x49625c
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 0x49620c
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00495f00
push 0x40
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495db0
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.00495db0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00495cf0
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495f00
push 0x40
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00495db0
push 0x10
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00495db0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495cf0
mov dword [ebp - 0x160], 0
jmp 0x49632f
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x10
jge 0x496361
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ebp + ecx - 0x14]
push edx
push 0x4ce464
mov eax, dword [ebp - 0x160]
lea ecx, [eax*2 + 0x4edb94]
push ecx
call fcn.0041c540
add esp, 0xc
jmp 0x496320
push 0x4edb94
mov edx, dword [ebp + 8]
push edx
call fcn.0043e4e0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 8