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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xd18
sub esp, 0x2c
mov eax, dword [ebp + 0x18]
cmp eax, 6
je 0x48c7ee
cmp eax, 5
je 0x48c7ee
mov eax, 0x40
jmp 0x48c7f3
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x10], eax
push dword [ebp + 0x18]
call fcn.0048c4d7
mov dword [ebp - 0x18], eax
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x48c834
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0048ceda
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x10]
call fcn.00424c9c
mov dword [ebp - 0x20], eax
push dword [ebp - 0x10]
call fcn.00424c9c
mov dword [ebp - 0x24], eax
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x24]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x24]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x48c906
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
dec edi
mov al, byte [eax + edi]
xor eax, 0x36
mov edx, eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
dec edi
mov byte [eax + edi], dl
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
dec edi
mov al, byte [eax + edi]
xor eax, 0x5c
mov edx, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
dec edi
mov byte [eax + edi], dl
mov eax, dword [ebp - 0x38]
sub eax, 1
jg 0x48c8be
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add eax, edx
push eax
call fcn.00424c9c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add eax, edx
push eax
push 0
push dword [ebp - 0x28]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
add eax, edx
push eax
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add eax, edx
push eax
push dword [ebp - 0x28]
call fcn.0048ceda
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add eax, edx
push eax
call fcn.00424c9c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add eax, edx
push eax
push 0
push dword [ebp - 0x2c]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x18]
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
add eax, edx
push eax
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add eax, edx
push eax
push dword [ebp - 0x2c]
call fcn.0048ceda
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
je 0x48ca0e
push dword [ebp - 0x1c]
call fcn.00424d80
push dword [ebp - 0x20]
call fcn.00424d80
push dword [ebp - 0x24]
call fcn.00424d80
push dword [ebp - 0x28]
call fcn.00424d80
push dword [ebp - 0x2c]
call fcn.00424d80
push dword [ebp - 0x30]
call fcn.00424d80
mov eax, dword [ebp - 0x34]
leave
ret 0x14