Function at 0x495670
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00439720
add esp, 4
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00439720
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0x40
jle 0x49570b
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495500
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.004953b0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.004952f0
lea edx, [ebp - 0x24]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x168], 0x10
mov dword [ebp - 0x160], 0
jmp 0x495726
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x495758
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x16c], ecx
cmp dword [ebp - 0x16c], 0x41
jae 0x495746
jmp 0x49574b
call fcn.0042f1df
mov edx, dword [ebp - 0x16c]
mov byte [ebp + edx - 0x68], 0
jmp 0x495717
mov dword [ebp - 0x160], 0
jmp 0x495773
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x41
jge 0x4957a8
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], ecx
cmp dword [ebp - 0x170], 0x41
jae 0x495793
jmp 0x495798
call fcn.0042f1df
mov edx, dword [ebp - 0x170]
mov byte [ebp + edx - 0xac], 0
jmp 0x495764
mov dword [ebp - 0x160], 0
jmp 0x4957c3
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [ebp - 0x168]
jge 0x495800
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 0x4957b4
mov dword [ebp - 0x160], 0
jmp 0x49581b
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 0x40
jge 0x49585c
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 0x49580c
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00495500
push 0x40
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.004953b0
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.004953b0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.004952f0
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00495500
push 0x40
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.004953b0
push 0x10
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.004953b0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.004952f0
mov dword [ebp - 0x160], 0
jmp 0x49592f
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x10
jge 0x495961
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ebp + ecx - 0x14]
push edx
push str._02X
mov eax, dword [ebp - 0x160]
lea ecx, [eax*2 + 0x4e4b14]
push ecx
call fcn.0041d2d0
add esp, 0xc
jmp 0x495920
push 0x4e4b14
mov edx, dword [ebp + 8]
push edx
call fcn.0043ba70
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 8