Function at 0x140056d50
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor edx, edx
lea rcx, [0x1400513e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_30
xor r10d, r10d
mov byte [rsp + 0x31], 0x40
movabs rbx, 0x76ff865cc5370036
mov byte [rsp + 0x32], 0x5d
mov r11, rbx
mov byte [rsp + 0x33], 0x41
mov byte [rsp + 0x34], 0x49
lea edi, [r10 + 0xf]
mov byte [rsp + 0x35], Ordinal_60
movzx eax, byte [rsp + 0x30]
lea rax, [rsp + 0x30]
sub r11, rax
nop dword [rax + rax]
mov rcx, r10
lea r8, [rsp + 0x30]
add r8, r10
and ecx, edi
cmp rcx, rdi
mov rdx, rbx
cmovae rcx, rdi
movzx r9d, byte [r8]
lea eax, [r8 + r11]
shl cl, 2
shr rdx, cl
and dl, dil
xor dl, al
xor dl, r9b
mov byte [rsp + r10 + 0x30], dl
inc r10
cmp r10, 6
jb 0x140056db0
lea rcx, [rsp + 0x30]
call fcn.140051190
test al, al
je 0x140057015
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140056e87
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140056e87
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140056e82
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140056e60
cmp r8d, 0xcded1a85
je 0x140056e8c
test r9d, r9d
jne 0x140056e40
mov rax, qword [rax]
jmp 0x140056e10
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140056f37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140056f37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140056f32
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140056f10
cmp r8d, 0xe80fd3a
je 0x140056f3c
test r9d, r9d
jne 0x140056ef0
mov rax, qword [rax]
jmp 0x140056ec0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140056fe7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140056fe7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140056fe2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140056fc0
cmp r8d, 0xa52bcaf9
je 0x140056fec
test r9d, r9d
jne 0x140056fa0
mov rax, qword [rax]
jmp 0x140056f70
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
call fcn.14004f050
mov dword [0], 0xdead
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret