joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x1400094fe
mov word [rbp + 0x50], 0x6749
mov word [rbp + 0x58], 0x6749
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x140009384
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x140009370
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x1400093b5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x1400093a0
cmp rdi, rbx
jne 0x1400094d2
mov r13, rsi
mov word [rbp - 0x50], 0x6749
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x1400093f6
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x1400093e2
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x1400094f8
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x670028
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x140009468
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x670033
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x140009468
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x670028
mov dword [rbp - 0x42], 0x670008
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x670028
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x1400094c5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x670033
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x1400094c5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x670028
mov dword [rbp - 0x32], 0x670008
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x1400094d2
inc r14
jmp 0x1400093d0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x1400094fe
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x140009340
mov rax, qword [rbp - 8]
jmp 0x140009500
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a760
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a7c2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a340
test al, al
jne 0x14000a7d4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a790
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6f
mov dword [rbp - 0x20], 0x220002
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f0027
mov dword [rbp - 0x18], 0x2d002b
mov dword [rbp - 0x14], 0x20004b
mov dword [rbp - 0x10], 0x290037
call fcn.140004fd0
mov rcx, rax
call 0x14000a760
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x64
mov dword [rbp - 0x20], 0x220002
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2f0027
mov dword [rbp - 0x18], 0x2d002b
mov dword [rbp - 0x14], 0x53003a
call fcn.1400022a0
mov rcx, rax
call 0x14000a760
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x130027
mov dword [rbp - 0x1c], 0xd0011
mov dword [rbp - 0x18], 0x610002
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a760
Function at 0x14000cce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a7c2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a340
test al, al
jne 0x14000a7d4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a790
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6f
mov dword [rbp - 0x20], 0x220002
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f0027
mov dword [rbp - 0x18], 0x2d002b
mov dword [rbp - 0x14], 0x20004b
mov dword [rbp - 0x10], 0x290037
call fcn.140004fd0
mov rcx, rax
call 0x14000a760
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x64
mov dword [rbp - 0x20], 0x220002
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2f0027
mov dword [rbp - 0x18], 0x2d002b
mov dword [rbp - 0x14], 0x53003a
call fcn.1400022a0
mov rcx, rax
call 0x14000a760
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x130027
mov dword [rbp - 0x1c], 0xd0011
mov dword [rbp - 0x18], 0x610002
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a760
Function at 0x14000e150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xf001a
mov dword [rbp - 0x1c], 0xd0010
mov dword [rbp - 0x18], 0x520002
mov qword [rbp - 0x14], 0x4f003b
mov dword [rbp - 0xc], 0x670003
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400151a0], rax
mov dword [rbp - 0x20], 0xe001e
mov dword [rbp - 0x1c], 0x8001b
mov dword [rbp - 0x18], 0x40000
mov qword [rbp - 0x14], 0x4f007d
mov dword [rbp - 0xc], 0x670003
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140013e90]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400151b0], rax
mov word [rbp - 0x10], 0x2212
mov byte [rbp - 0xe], 0x6d
call fcn.140004620
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd100f1a
mov dword [rbp - 0x1c], 0x4712402
mov dword [rbp - 0x18], 0x21b1907
mov word [rbp - 0x14], 0x924
call fcn.140001180
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4010900
mov dword [rbp - 0x1c], 0x156c0f1c
mov dword [rbp - 0x18], 0x90a1c2b
mov word [rbp - 0x14], 0x932
call fcn.140001180
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013fa0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e8], rax
mov byte [rbp - 0x10], 0x64
call fcn.140004330
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013ee0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150f0], rax
mov dword [rbp - 0x10], 0x70081900
call fcn.140002660
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013eb0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e0], rax
mov byte [rbp - 0x10], 0x64
call fcn.140004330
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013f70]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150d8], rax
mov dword [rbp - 0x10], 0x31031a0d
mov byte [rbp - 0xc], 0x73
call fcn.140003130
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013f00]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x340a
mov byte [rbp - 0xe], 0x6d
call fcn.140004620
mov rcx, qword [0x1400151b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x1800024d0
Capabilities:
Create process on windows
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov r8, rcx
jb 0x1800024ea
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.180001020
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.180001020
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.180001020
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.180001020
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.180001020
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.180001020
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x18000666c]
call fcn.180001020
movzx ecx, word [0x18000666e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.180001020
movzx ecx, word [str..exe]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.180001020
movzx ecx, word [0x180006672]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.180001020
movzx ecx, word [0x180006674]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.180001020
mov word [rsp + 0x44], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor edi, edi
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x1800025d0
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov word [rsp + 0x46], di
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180002643
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000263e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000265d
mov rcx, r8
call fcn.180004ffc
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180002670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180009010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1800026a1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x180002742
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180002714
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000270f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800027ca
mov rcx, r8
call fcn.180004ffc
mov al, 1
mov qword [rdi + 0x10], rbp
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180004c20
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x180002787
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180002783
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000277e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800027ca
mov rcx, r8
call fcn.180004ffc
xor al, al
jmp 0x180002716
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x29c00
mov qword [rsp + 0x20], rbp
lea rdx, [0x180009040]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1800026d9
jmp 0x18000274c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180003610
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
mov rbp, rcx
mov rsi, r8
sub rbp, qword [r8 + 0x30]
je 0x180003797
test byte [r8 + 0x5e], 0x40
jne 0x18000362f
xor eax, eax
pop rsi
pop rbp
ret
movzx edx, word [rsi + 0x14]
movzx eax, word [rsi + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x180003797
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180003668
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180003679
add rdx, 0x28
cmp rdx, r9
jb 0x180003656
mov eax, 1
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r14
mov r14d, dword [rsi + 0xb4]
add rbx, r8
mov qword [rsp + 0x30], r15
lea r15, [0x180032c40]
add rbx, r15
add r14, rbx
test rbx, rbx
je 0x180003788
cmp rbx, r14
jae 0x180003788
mov qword [rsp + 0x20], rdi
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, eax
je 0x180003783
add eax, 0xfffffff8
shr eax, 1
je 0x180003774
lea r11, [rbx + 8]
mov edi, eax
nop dword [rax]
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x180003702
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x18000370e
cmp ax, 0xa
jne 0x180003766
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x18000375b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x180003742
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x18000374d
add rax, 0x28
cmp rax, r10
jb 0x180003730
jmp 0x18000375b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, r15
jne 0x18000375e
mov rcx, r15
movzx eax, r8w
add qword [rax + rcx], rbp
add r11, 2
sub rdi, 1
jne 0x1800036e0
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r14
jb 0x1800036c0
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x30]
mov eax, 1
pop rsi
pop rbp
ret
Function at 0x1800041a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800041d1
xor eax, eax
lea r8, [0x180003fa0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180004950
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.180001020
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.180001020
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.180001020
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.180001020
lea ecx, [rdx + 0x56]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x55]
call fcn.180001020
lea ecx, [rdx + 0x48]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x47]
call fcn.180001020
lea ecx, [rdx + 0x50]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4f]
call fcn.180001020
lea ecx, [rdx + 0x47]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x46]
call fcn.180001020
lea ecx, [rdx + 0x3c]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x3b]
call fcn.180001020
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.180001020
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x180006744]
call fcn.180001020
movzx ecx, word [0x180006746]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.180001020
movzx ecx, word [0x180006748]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.180001020
movzx ecx, word [0x18000674a]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.180001020
movzx ecx, word [0x18000674c]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.180001020
movzx ecx, word [0x18000674e]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.180001020
movzx ecx, word [0x180006750]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.180001020
movzx ecx, word [0x180006752]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.180001020
movzx ecx, word [0x180006754]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.180001020
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x180004ad0
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
add rsp, 0x70
pop rbx
ret
Function at 0x140003450
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14018e2d0]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140004330
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x1400043a7
movsxd rdx, ecx
lea rcx, [0x14000428c]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x140190b10]
test rbx, rbx
je 0x14000441a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000439d
cmp byte [rbx + 0x20], 0
je 0x14000439d
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140004363
jmp 0x14000441a
mov rbx, qword [0x140190b10]
test rbx, rbx
je 0x14000441a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140004412
cmp byte [rbx + 0x21], 0
je 0x1400043d6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140004402
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140190b10]
call fcn.1400150ec
mov rbx, rdi
test rdi, rdi
jne 0x1400043b3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140004b50
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140190b28], 0
jne 0x140004b75
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140190b28], 1
mov dword [0x140190b2c], eax
mov rcx, qword [0x1401909c0]
xor edx, edx
mov r8d, 0x90
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x140190b2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, eax
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp 0x140004d30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140190b28], 0
mov ebx, ecx
jne 0x140004d54
call fcn.140004b50
mov ecx, dword [0x140190b2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x140004d7c
call fcn.140004b50
mov ecx, dword [0x140190b2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
lea rdx, [rdi + 8]
mov r8d, 0x11
nop word [rax + rax]
imul eax, ebx, 0x53a9b4fb
mov ecx, 1
mov ebx, 1
sub ecx, eax
lea rdx, [rdx + 4]
mov dword [rdx + 0x40], ecx
imul eax, ecx, 0x53a9b4fb
sub ebx, eax
mov dword [rdx - 4], ebx
dec r8
jne 0x140004d90
lea esi, [r8 + 0x1f]
mov dword [rdi], r8d
mov dword [rdi + 4], 0xa
lea ebp, [rsi - 0xf]
nop word [rax + rax]
movsxd r11, dword [rdi]
movsxd rbx, dword [rdi + 4]
mov r10d, dword [rdi + rbx*4 + 8]
mov r9d, dword [rdi + r11*4 + 8]
mov eax, dword [rdi + r11*4 + 0x4c]
ror r9d, 5
lea rcx, [rdi + r11*4]
lea r8, [rdi + r11*4]
ror eax, 0xd
add r9d, r10d
add eax, dword [rdi + rbx*4 + 0x4c]
dec r11d
mov dword [r8 + 0x4c], r9d
cmovs r11d, ebp
dec ebx
mov dword [rcx + 8], eax
cmovs ebx, ebp
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
dec rsi
jne 0x140004dd0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret