Function at 0x140055f60
Capabilities:
Access peb ldr_data
Authenticate hmac
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400cf180]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140056017
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140056017
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x83c691a
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140056012
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140055ff0
cmp r8d, 0xe72b9fc3
je 0x14005601c
test r9d, r9d
jne 0x140055fd0
mov rax, qword [rax]
jmp 0x140055fa0
mov ecx, dword [rdi + 0x24]
add rcx, r10
mov qword [rsp + 0xc0], rsi
movaps xmmword [rsp + 0xa0], xmm6
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [0x1400b99ec]
add rax, r10
call rax
xor ebx, ebx
lea rcx, str..LSI_3ware_RAIDController
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14010f568], rax
dec rax
cmp rax, 0xfffffffffffffffd
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
ja 0x140056460
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140056117
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140056117
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd2123ec
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140056112
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400560f0
cmp r8d, 0xa7153de5
je 0x14005611c
test r9d, r9d
jne 0x1400560d0
mov rax, qword [rax]
jmp 0x1400560a0
mov edx, dword [rsi + 0x24]
lea rcx, [0x1400b99ec]
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rsi + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
call rax
cmp dword [0x1400cf1d0], 2
movups xmm0, xmmword [0x1400b89b0]
movzx eax, byte [0x1400b89e8]
movups xmm1, xmmword [str._a_r3_f]
mov byte [rbp + 0x1f], al
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1400b89d0]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1400b89e0]
movsd qword [rbp + 0x17], xmm0
jl 0x1400562a4
movdqa xmm0, xmmword [0x1400bb390]
lea rcx, [rbp - 0x15]
movdqa xmm4, xmmword [0x1400bb210]
movdqa xmm3, xmmword [0x1400bb6a0]
movdqa xmm5, xmmword [str.44445555]
movdqa xmm6, xmmword [0x1400bb340]
movdqa xmmword [rbp + 0x27], xmm0
mov edx, dword [rbp + 0x27]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x38
jl 0x1400561c0
cmp ebx, 0x39
jge 0x1400562dd
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x39
jl 0x1400562b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x19]
call fcn.14000aca0
cmp qword [0x14010f610], 0
jne 0x14005639f
mov qword [rsp + 0xc8], r14
mov cl, 0x5c
mov dl, 0x46
movzx ebx, cl
xor dl, 0x34
xor cl, 0x33
mov byte [rbp + 0x29], dl
mov al, 0x74
mov byte [rbp + 0x28], cl
mov r8b, 0x41
lea rdx, [rbp + 0x27]
mov r9b, 0x58
mov r10b, 0x5e
mov r11b, 0x4c
xor al, 0x32
xor r8b, 0x35
mov byte [rbp + 0x27], al
xor r9b, 0x36
mov byte [rbp + 0x2a], r8b
xor r10b, 0x37
mov byte [rbp + 0x2b], r9b
xor r11b, 0x38
mov byte [rbp + 0x2c], r10b
mov dil, 0x1a
mov byte [rbp + 0x2d], r11b
mov sil, 0x1b
xor r14d, r14d
xor bl, 0x39
mov byte [rbp + 0x31], r14b
xor dil, 0x3a
mov byte [rbp + 0x2e], bl
xor sil, 0x3b
mov byte [rbp + 0x2f], dil
xor ecx, ecx
mov byte [rbp + 0x30], sil
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0x64
mov qword [0x14010f610], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x14010f610], r14
je 0x140056303
mov r14, qword [rsp + 0xc8]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140056427
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140056427
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x70cb0db0
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140056422
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140056400
cmp r8d, 0x9642efc
je 0x14005642c
test r9d, r9d
jne 0x1400563e0
mov rax, qword [rax]
jmp 0x1400563b0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 0xc8
add rax, r10
mov ecx, 0x1f4
call rax
call fcn.140052910
jmp 0x14005669d
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x1400564d7
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x1400564d7
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x3313ac59
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400564d2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400564b0
cmp r8d, 0x5e3accf8
je 0x1400564dc
test r9d, r9d
jne 0x140056490
mov rax, qword [rax]
jmp 0x140056460
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, str.color_4
add rax, r10
call rax
cmp dword [0x1400cf1d0], 2
movzx eax, word [0x1400b88b8]
movups xmm0, xmmword [0x1400b8898]
mov word [rbp + 7], ax
movups xmm1, xmmword [0x1400b88a8]
movzx eax, byte [0x1400b88ba]
mov byte [rbp + 9], al
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm1
jl 0x140056654
movdqa xmm0, xmmword [0x1400bb390]
lea rcx, [rbp - 0x15]
movdqa xmm4, xmmword [0x1400bb210]
movdqa xmm3, xmmword [0x1400bb6a0]
movdqa xmm5, xmmword [str.44445555]
movdqa xmm6, xmmword [0x1400bb340]
movdqa xmmword [rbp + 0x27], xmm0
mov edx, dword [rbp + 0x27]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x20
jl 0x140056570
cmp ebx, 0x23
jge 0x14005668d
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x23
jl 0x140056660
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x19]
call fcn.14000aca0
movaps xmm6, xmmword [rsp + 0xa0]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140083e40
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret