Function at 0x4381f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493048
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x438386
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov ebx, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x24]
mov edi, eax
mov ecx, ebx
mov eax, dword [ebx]
add edi, edi
call dword [eax + 0x20]
mov ebx, dword [esi + 0x14]
add eax, edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], edi
cmp edi, eax
je 0x4382d2
test eax, eax
jne 0x43828b
xor ecx, ecx
jmp 0x438299
push eax
call fcn.00427ff0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x54]
cmp eax, edi
mov dword [ebp - 0x58], ecx
mov edx, edi
cmovb edx, eax
test ebx, ebx
je 0x4382cf
test ecx, ecx
je 0x4382ba
test edx, edx
je 0x4382ba
push edx
push ebx
push ecx
call fcn.0043c680
add esp, 0xc
mov ecx, dword [ebp - 0x64]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.00419480
mov eax, dword [ebp - 0x54]
add esp, 4
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x68]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0xffffffff
cmp edi, dword [ebp - 0x60]
ja 0x438303
test ebx, ebx
je 0x438322
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x438322
test edi, edi
je 0x438322
push edi
push eax
push ebx
call fcn.0043c680
add esp, 0xc
jmp 0x438322
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push edi
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
push dword [esi + 0x14]
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
mov ebx, dword [ebp - 0x60]
mov ecx, ebx
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x14]
add ecx, edi
push 0
push ecx
call fcn.0043c520
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x438368
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov ecx, dword [esi + 0x14]
lea edx, [ecx + eax]
mov al, byte [ecx + edi]
xor al, 0x5c
mov byte [edx + edi], al
mov eax, dword [esi + 0x14]
xor byte [eax + edi], 0x36
inc edi
cmp edi, ebx
jb 0x438340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419a47
mov esp, ebp
pop ebp
ret 0xc
push str.HMAC:_can_only_be_used_with_a_block_based_hash_function
lea ecx, [ebp - 0x28]
call fcn.004061e0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.00402690
push 0x4b4450
lea eax, [ebp - 0x50]
push eax
call fcn.0043c2ee
int3