joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800028c9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1800949c0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1802ed080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1802f03c8]
xor r11d, r11d
lea rdi, [0x1802d0065]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180094a30
mov rax, 0xfffffffffffffffe
jmp 0x180094b7d
cmp word [r10 + 6], r11w
jne 0x180094a9f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180094a5a
test r14, r14
je 0x180094a4b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x180094b7d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180094a68
mov r8b, 2
jmp 0x180094a86
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180094a76
mov r8b, 3
jmp 0x180094a86
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180094b72
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180094ac8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180094b72
cmp bl, bpl
jb 0x180094b72
cmp bl, r8b
jae 0x180094b72
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180094af5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180094b72
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x180094ad7
cmp r9, rbp
jae 0x180094b21
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180094a24
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180094b72
cmp edx, 0x110000
jae 0x180094b72
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180094b72
test r14, r14
je 0x180094b60
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.180004c19
jmp 0x180094b7d
mov rdx, rsi
mov rcx, r10
call fcn.18000557e
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180002f7c
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180002928
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180027114
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800271a1
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800271a1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800271a1
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180027188
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180027182
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18002718a
add rdx, 0x28
jmp 0x180027167
xor edx, edx
test rdx, rdx
jne 0x180027193
xor al, al
jmp 0x1800271a7
cmp dword [rdx + 0x24], 0
jge 0x18002719d
xor al, al
jmp 0x1800271a7
mov al, 1
jmp 0x1800271a7
xor al, al
jmp 0x1800271a7
add rsp, 0x18
ret
Function at 0x180002cd4
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x180016010
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1802ed080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov rsi, r8
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800160b1
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1800160a8
nop word [rax + rax]
lea rax, [rsp + 0x50]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180016093
inc rax
test ecx, ecx
jne 0x180016080
mov rcx, rbx
test edx, edx
je 0x1800160e8
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x180016070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, byte [0x1802cc230]
mov rcx, rdi
call fcn.1800045ac
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180002f7c
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.180004a48
jmp 0x1800160c0

Function at 0x180002d51
Capabilities:
Query environment variable

Disassembly:
jmp 0x18007f64c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18007f6d3
mov rsi, rbx
cmp word [rax], bp
je 0x18007f692
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18007f67c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18007f678
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18000105a
mov rdi, rax
test rax, rax
je 0x18007f6c0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180002f90
mov rbp, rdi
xor ecx, ecx
call fcn.180001208
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002e69
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180021320
push rbx
sub rsp, 0xa0
mov rax, qword [0x1802ed080]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rdx + 0xb]
mov r9, rdx
movzx r8d, byte [rdx + 0xa]
xorps xmm0, xmm0
shl r8, 8
mov rbx, rcx
or r8, rax
mov qword [rsp + 0x48], rcx
movzx eax, byte [rdx + 0xc]
movzx ecx, word [r9 + 4]
shl r8, 8
or r8, rax
movzx eax, byte [rdx + 0xd]
shl r8, 8
or r8, rax
movzx eax, byte [rdx + 0xe]
shl r8, 8
or r8, rax
movzx eax, byte [rdx + 0xf]
movzx edx, byte [rdx + 8]
shl r8, 8
or r8, rax
shl edx, 8
movzx eax, byte [r9 + 9]
mov qword [rsp + 0x38], r8
add edx, eax
movzx eax, word [r9 + 6]
lea r8, [0x1802d0328]
mov r9d, dword [r9]
mov dword [rsp + 0x30], edx
mov edx, 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.180003c9c
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
inc r8
cmp byte [rax + r8], 0
jne 0x180021400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180001569
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180002f7c
add rsp, 0xa0
pop rbx
ret

Function at 0x180002ebe
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18000bc00
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov ecx, 1
call fcn.18000353a
mov rbx, rax
test rax, rax
jne 0x18000bc44
mov eax, 0xc
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
cmp eax, 0xffffffff
jne 0x18000bc75
mov rcx, rbx
call fcn.180002720
mov eax, 0xb
mov qword [rdi], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
test rsi, rsi
je 0x18000bc84
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rsi
mov rsi, qword [rsp + 0x38]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003012
Capabilities:
Get common file path
Set thread local storage value

Disassembly:
jmp 0x180009f70
sub rsp, 0x28
test edx, edx
je 0x180009fb1
sub edx, 1
je 0x180009fa3
sub edx, 1
je 0x180009f9a
cmp edx, 1
jne 0x180009f90
add rsp, 0x28
jmp sym.pthreadVC3.dll_pthread_win32_thread_detach_np
mov eax, 1
add rsp, 0x28
ret
add rsp, 0x28
jmp sym.pthreadVC3.dll_pthread_win32_thread_attach_np
call fcn.180001eec
add rsp, 0x28
jmp sym.pthreadVC3.dll_pthread_win32_process_attach_np
call sym.pthreadVC3.dll_pthread_win32_thread_detach_np
add rsp, 0x28
jmp sym.pthreadVC3.dll_pthread_win32_process_detach_np
Function at 0x180003161
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18003ce78
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1802d3a78]
mov ecx, 2
lea r8, [0x1802d3a70]
lea rdx, str.FlsGetValue
call fcn.18003c948
mov ecx, ebx
test rax, rax
je 0x18003ceb2
add rsp, 0x20
pop rbx
jmp qword [0x1802fb020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x180003332
Capabilities:
Query environment variable

Disassembly:
jmp 0x18007f4f8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18007f528
xor eax, eax
jmp 0x18007f5eb
mov rbp, rbx
cmp word [rax], si
je 0x18007f54d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007f534
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18007f530
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800040a2
movsxd r14, eax
test eax, eax
jne 0x18007f58b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18007f521
mov rcx, r14
call fcn.18000105a
mov rdi, rax
test rax, rax
jne 0x18007f5a4
xor ecx, ecx
call fcn.180001208
jmp 0x18007f580
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800040a2
test eax, eax
jne 0x18007f5d5
mov rcx, rdi
call fcn.180001208
jmp 0x18007f5df
xor ecx, ecx
call fcn.180001208
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18000334b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18003cdc8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1802d3a38]
xor ecx, ecx
lea r8, [0x1802d3a30]
lea rdx, str.FlsAlloc
call fcn.18003c948
test rax, rax
je 0x18003ce01
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1802fb020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800033ff
Capabilities:
Get geographical location

Disassembly:
jmp 0x180073978
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1802d4b58]
mov rbp, rcx
lea r8, [0x1802d4b50]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.180072e98
test rax, rax
je 0x1800739d8
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1802fb030]
jmp 0x1800739f2
xor edx, edx
mov rcx, rbp
call fcn.180002996
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180003418
Capabilities:
Terminate process

Disassembly:
jmp 0x180026640
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180003607
Capabilities:
Parse pe header

Disassembly:
jmp 0x18003dbc0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18003d91c

Function at 0x1800037a6
Capabilities:
Parse pe header

Disassembly:
jmp 0x180024610
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
je 0x180024648
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180024648
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x180024648
mov rdx, rax
call fcn.180003f85
mov rax, rbx
add rsp, 0x30
pop rbx
ret
mov byte [rcx + 0x40], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180003828
Capabilities:
Parse pe header

Disassembly:
jmp 0x180098df0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180098e18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180098e18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180003864
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18000ba00
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x18000ba16
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180003f44
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x180025990
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.180001c12
sub rsp, rax
mov rax, qword [0x1802ed080]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Downloader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbp, rax
test rax, rax
je 0x180025a22
cmp qword [rsi + 0x18], 0xf
jbe 0x1800259f2
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x180025a2b
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbx + 0x18], dil
jmp 0x180025b08
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180025aa1
nop word [rax + rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x180025a9c
mov r9d, eax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.18000280b
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180025a60
mov rdi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
cmp rcx, rax
jne 0x180025af9
mov byte [rbx + 0x18], 0
test rcx, rcx
je 0x180025b08
sub rdi, rcx
mov rax, rcx
cmp rdi, 0x1000
jb 0x180025aef
add rdi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180025b2e
mov rdx, rdi
call fcn.18000452f
jmp 0x180025b08
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rdi
mov byte [rbx + 0x18], 1
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.180002f7c
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
call fcn.180002522
int3

Function at 0x180003fee
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180098d30
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x180098d71
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x180098d65
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x180098d73
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x180098d53
xor eax, eax
ret
Function at 0x1800042b9
Capabilities:
Terminate process

Disassembly:
jmp 0x18003ebc0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18003ebda
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.180004c2d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180004863
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18000ef00
sub rsp, 0x58
cmp dword [0x1802ee6b8], 0
je 0x18000effd
mov rcx, qword [0x1802ee6c0]
mov qword [rsp + 0x50], rdi
call sym.pthreadVC3.dll_pthread_getspecific
mov rdi, rax
test rax, rax
je 0x18000efee
movups xmm0, xmmword [rax + 0x10]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.180001816
lea rcx, [rdi + 0x38]
lea rdx, [rsp + 0x30]
call fcn.180005736
lea rcx, [rsp + 0x30]
mov dword [rdi + 0x28], 7
call fcn.180003611
mov rax, qword [rdi + 0x178]
test rax, rax
je 0x18000efbc
mov qword [rsp + 0x68], rbx
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rax]
lea rcx, [rsp + 0x60]
mov rdx, rdi
mov qword [rsp + 0x60], rbx
call fcn.180002419
mov rdx, qword [rbx + 0x28]
mov eax, 0xffffffff
xchg dword [rdx + 8], eax
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rdi + 0x178]
test rax, rax
jne 0x18000ef80
mov rbx, qword [rsp + 0x68]
cmp dword [rdi + 0x184], 1
jne 0x18000efee
movups xmm0, xmmword [rdi + 0x10]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.180002b1c
mov rcx, qword [0x1802ee6c0]
test rcx, rcx
je 0x18000efee
mov ecx, dword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rdi, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x58
ret
mov eax, 1
add rsp, 0x58
ret

Function at 0x180004b79
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18000e260
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x70
mov rbx, rcx
mov rbp, rdx
mov rcx, qword [0x1802ee6c0]
cmp rbx, rcx
je 0x18000e295
lea rcx, [rsp + 0x20]
call sym.pthreadVC3.dll_pthread_self
mov rsi, qword [rax]
test rsi, rsi
je 0x18000e2a4
jmp 0x18000e2c5
call sym.pthreadVC3.dll_pthread_getspecific
test rax, rax
jne 0x18000e2c1
test rbp, rbp
jne 0x18000e2bb
mov eax, 2
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
mov rsi, qword [rbp]
jmp 0x18000e2c5
mov rsi, qword [rax + 0x10]
mov qword [rsp + 0x88], rdi
xor edi, edi
test rbx, rbx
je 0x18000e359
test rsi, rsi
je 0x18000e344
cmp qword [rbx + 8], rdi
je 0x18000e344
test rbp, rbp
je 0x18000e344
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x50]
call fcn.180005736
lea rcx, [rsi + 0x30]
lea rdx, [rsp + 0x30]
call fcn.180005736
mov rax, qword [rsi + 0x58]
test rax, rax
je 0x18000e31f
nop dword [rax]
cmp qword [rax + 8], rbx
je 0x18000e375
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18000e310
mov rdx, rbx
mov rcx, rsi
call fcn.180001e88
lea rcx, [rsp + 0x30]
mov edi, eax
call fcn.180003611
lea rcx, [rsp + 0x50]
call fcn.180003611
test edi, edi
jne 0x18000e359
mov ecx, dword [rbx]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
mov ecx, 0xb
cmove edi, ecx
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x88]
mov rsp, r11
pop rsi
ret
lea rcx, [rsp + 0x30]
call fcn.180003611
lea rcx, [rsp + 0x50]
call fcn.180003611
jmp 0x18000e344
Function at 0x180004d8b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18003ced0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1802d3a98]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1802d3a90]
call fcn.18003c948
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18003cf10
call qword [0x1802fb020]
jmp 0x18003cf16
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180004e62
Capabilities:
Set environment variable

Disassembly:
jmp 0x18008fb04
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180002883
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18008fb8e
cmp byte [rbp - 0x21], r15b
je 0x18008fb89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18008fbc4
call fcn.1800053df
test eax, eax
jne 0x18008fbb0
cmp byte [rbp - 0x21], r15b
je 0x18008fba8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18008fbc4
cmp byte [rbp - 0x21], r15b
je 0x18008fbc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1800056c8
test eax, eax
jne 0x18008fc64
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180002883
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18008fc03
cmp byte [rbp - 0x21], r15b
je 0x18008fc38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18008fc38
call fcn.1800053df
test eax, eax
jne 0x18008fc24
cmp byte [rbp - 0x21], r15b
je 0x18008fc1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18008fc38
cmp byte [rbp - 0x21], r15b
je 0x18008fc35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1800056c8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18008fc64
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18008fc67
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18008fc75
mov rcx, rdi
call fcn.180001208
cmp byte [rbp + 0x3f], r15b
je 0x18008fc84
mov rcx, qword [rbp + 0x27]
call fcn.180001208
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x180004fca
Capabilities:
Parse pe header

Disassembly:
jmp 0x18003dbb0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18003d91c