joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0480
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e0438
test byte [rbx + 0x40], 0xc
jne 0x1400e03ef
mov eax, dword [0x140292b68]
test eax, eax
jne 0x1400e0400
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400de310
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1400e0423
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1400e0423
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400e044c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400de5e0
call fcn.1400df110
mov rbx, rax
test rax, rax
jne 0x1400e03df
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400e046a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400de5e0
call fcn.1400e02e0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400e04e8
call fcn.1400ddfd0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e0530
test rsi, rsi
je 0x1400e04fe
call fcn.1400e03c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400e0520
mov edx, edi
call fcn.1400de0a0
call fcn.1400e03c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e0540
call fcn.1400e03c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400e03c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400e04d6
call fcn.1400df110
mov rbx, rax
jmp 0x1400e04bc
call fcn.1400df110
jmp 0x1400e04fe

Function at 0x1400e0550
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e05c0
test esi, esi
je 0x1400e05a0
call fcn.1400e03c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400e05d0
mov edx, esi
call fcn.1400de0a0
call fcn.1400e03c0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400e03c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400e03c0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400df110
mov rbx, rax
jmp 0x1400e0571
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400e058a
Function at 0x1400e7bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
xor r8d, r8d
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
mov rcx, 0xffffffff80000001
lea rdi, [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e7cb8
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400e7cb8
lea r13, [rsp + 0x4c]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea rbp, str.AppsUseLightTheme
mov qword [rsp + 0x28], r13
mov r12, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x4c], 0
mov rdx, rbp
mov qword [rsp + 0x20], 0
call r12
cmp eax, 0xea
setne bl
test eax, eax
setne al
and bl, al
jne 0x1400e7cd8
mov r15d, dword [rsp + 0x4c]
test r15, r15
jne 0x1400e7ce0
mov qword [rsp + 0x38], 0
xor r14d, r14d
xor edi, edi
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call r12
test eax, eax
jne 0x1400e7cd0
sub r14, rdi
cmp r14, 3
jbe 0x1400e7cd0
mov eax, dword [rdi]
test eax, eax
sete bl
mov rdx, r15
mov rcx, rdi
call fcn.1400fd3a0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400e7cba
xor ebx, ebx
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test rdi, rdi
jne 0x1400e7c9f
nop dword [rax]
xor ebx, ebx
jmp 0x1400e7caa
pxor xmm0, xmm0
mov rdx, r15
mov rcx, rdi
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x50], xmm0
call fcn.1400f2c20
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, rax
mov qword [rsp + 0x38], rax
sub r15, rdi
jmp 0x1400e7c72
Function at 0x140001150
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
xor ebx, ebx
xor ecx, ecx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14000118f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400012ce
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
lea r8, [0x14000fdf8]
mov edx, 0x65
mov rcx, rax
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x1400011ce
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400011f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400012c9
mov rsi, qword [rsp + 0x70]
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
mov rcx, rax
mov qword [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
jne 0x140001229
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400012c4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400012c4
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str.brbconfig.tmp
lea r8d, [r9 + 1]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001278
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400012bf
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400012bf
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea r9, [rsp + 0x60]
mov rdx, r12
mov rcx, rbp
mov r8d, eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400012b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400012b6
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x140001770
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0xfe
mov byte [rsp + 0x20], 0
call fcn.1400044b0
lea rcx, [rsp + 0x20]
mov edx, 0xff
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140001815
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rdx, [0x14000fe5c]
mov rcx, rdi
mov r8, rax
call fcn.140003884
mov qword [rsi], rdi
xor eax, eax
jmp 0x14000181a
mov eax, 0x8000ffff
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140003590
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140001fb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
xor r15d, r15d
mov rdi, rcx
lea rcx, [rsp + 0x70]
lea r8d, [r15 + 0x68]
xor edx, edx
mov esi, r15d
mov r12d, r15d
call fcn.1400044b0
mov ecx, dword [rdi]
xor eax, eax
dec ecx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
je 0x1400021cd
dec ecx
je 0x1400021bb
dec ecx
je 0x140002105
dec ecx
je 0x140002024
mov eax, 0x80070057
jmp 0x1400020ea
mov rbx, qword [rdi + 8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x120], r15d
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
shr r13, 1
mov ebp, r13d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r13d
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14000206c
mov edi, 0x8007000e
jmp 0x1400020b7
test r13d, r13d
je 0x1400020ae
mov rdi, rax
nop word [rax + rax]
lea r8, [rsp + 0x120]
lea rdx, [0x14000fe50]
mov rcx, rbx
call fcn.140003658
movzx edx, byte [rsp + 0x120]
inc rdi
mov byte [rdi - 1], dl
add rbx, 2
dec rbp
jne 0x140002080
mov r12d, r13d
mov rsi, r14
mov edi, r15d
test edi, edi
js 0x1400020cf
mov edx, r12d
mov rcx, rsi
call fcn.140003100
mov edi, eax
test eax, eax
js 0x1400020cf
mov edi, r15d
test rsi, rsi
je 0x1400020e8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rdi + 8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x128], r15d
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
shr r13, 1
mov ebp, r13d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r13d
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14000214d
mov edi, 0x8007000e
jmp 0x140002197
test r13d, r13d
je 0x14000218e
mov rdi, rax
nop word [rax + rax]
lea r8, [rsp + 0x128]
lea rdx, [0x14000fe50]
mov rcx, rbx
call fcn.140003658
movzx edx, byte [rsp + 0x128]
inc rdi
mov byte [rdi - 1], dl
add rbx, 2
dec rbp
jne 0x140002160
mov r12d, r13d
mov rsi, r14
mov edi, r15d
test edi, edi
js 0x1400020cf
mov edx, r12d
mov rcx, rsi
call fcn.140002940
lea rcx, [0x140014560]
call fcn.1400012e0
jmp 0x1400020c6
mov rcx, qword [0x140014558]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1400020cc
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400020cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400020ea
movzx eax, ax
or eax, 0x80070000
jmp 0x1400020ea
Function at 0x1400027c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetDC]
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.140002230
call fcn.140001150
mov ebx, eax
test eax, eax
js 0x140002907
lea rcx, [0x140014560]
call fcn.1400012e0
mov ebx, eax
test eax, eax
js 0x140002907
lea edx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140014558], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [0x140014560]
call fcn.140001c10
mov rbx, qword [rsp + 0x28]
test eax, eax
js 0x14000288a
lea r8, [0x140014560]
lea rdx, [0x140014540]
mov rcx, rbx
call fcn.140001840
test eax, eax
js 0x14000288a
lea rcx, [0x140014540]
call fcn.140001fb0
test rbx, rbx
je 0x14000289d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400028b2
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x20], rdi
cmp qword [0x140014548], rdi
je 0x1400028d3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [0x140014548]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [0x140014a78]
mov rcx, qword [0x140014558]
xor eax, eax
mov qword [0x140014540], rax
mov qword [0x140014548], rax
mov qword [0x140014550], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140002845
mov ebx, edi
call fcn.140002550
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140003590
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
Function at 0x140002f50
Capabilities:
Connect to http server
Create http request

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x40
xor r13d, r13d
mov r12, rcx
lea rcx, str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
lea edx, [r13 + 1]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x140003018
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
lea rdi, [0x1400133d0]
lea rsi, [0x1400133d4]
lea ebp, [r13 + 3]
nop dword [rax]
mov edx, dword [rdi]
mov r9d, 4
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
add rsi, 8
add rdi, 8
dec rbp
jne 0x140002fb0
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
lea r8d, [rbp + 0x50]
xor r9d, r9d
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
test rax, rax
jne 0x14000301a
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
add rsp, 0x40
pop r13
pop r12
pop rbx
ret

Function at 0x140003030
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
lea rax, [0x1400133c0]
mov r8, rdx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x8404f700
mov qword [rsp + 0x28], rax
lea r9, str.HTTP_1.1
lea rdx, [0x14000ff7c]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x1400030e6
lea r8d, [rdi + 0x13]
lea rdx, str.Connection:_close_r_n
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1400030dd
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
mov edx, 0x20000013
mov rcx, rbx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1400030dd
cmp dword [rsp + 0x60], 0xc8
jne 0x1400030dd
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140003100
Capabilities:
Create process on windows
Get common file path
Move file
Write and execute a file
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x310
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rsi, rcx
mov ebp, edx
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x1f0], 0
call fcn.1400044b0
lea rcx, [rsp + 0xe1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xe0], 0
call fcn.1400044b0
xor ebx, ebx
lea rcx, [rsp + 0x70]
lea r8d, [rbx + 0x68]
xor edx, edx
mov dword [rsp + 0x50], ebx
call fcn.1400044b0
xor eax, eax
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1400031bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400032df
movzx eax, ax
or eax, 0x80070000
jmp 0x1400032df
lea r9, [rsp + 0xe0]
lea rdx, [0x14000ff94]
lea rcx, [rsp + 0x1f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1400031a2
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0xe0]
lea r8d, [r9 + 1]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x340], rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140003238
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400032d7
movzx eax, ax
or eax, 0x80070000
jmp 0x1400032d7
lea r9, [rsp + 0x50]
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000326c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400032cc
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400032cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140003255
xor edx, edx
lea rcx, [rsp + 0xe0]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140003590
add rsp, 0x310
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000404f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140012008]
jne 0x1400035aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400035a6
repz ret
ror rcx, 0x10
jmp 0x140003fa8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400134c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400135b8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000402d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400134c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000404f
mov rax, qword [rsp + 0x88]
mov qword [0x1400135b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140013558], rax
mov rax, qword [0x1400135b8]
mov qword [0x140013430], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140013540], rax
mov dword [0x140013420], 0xc0000409
mov dword [0x140013424], 1
mov rax, qword [0x140012008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140012010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400134b8], eax
mov ecx, 1
call fcn.140008a48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000e430]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400134b8], 0
jne 0x1400040d6
mov ecx, 1
call fcn.140008a48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140007a58
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400078c8
Function at 0x14000b784
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140007268
xor ebx, ebx
cmp qword [0x140014500], rbx
mov rdi, rax
jne 0x14000b897
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000b96e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000b96e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140014500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140014508], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140014510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140014520], rax
test rax, rax
je 0x14000b88e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140014518], rax
jmp 0x14000b89e
mov rax, qword [0x140014518]
jmp 0x14000b8a5
mov rax, qword [0x140014518]
mov r11, qword [0x140014520]
cmp rax, rdi
je 0x14000b90c
cmp r11, rdi
je 0x14000b90c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140014520]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000b90c
test rax, rax
je 0x14000b90c
call rsi
test rax, rax
je 0x14000b906
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000b906
test byte [rsp + 0x40], 1
jne 0x14000b90c
bts ebp, 0x15
jmp 0x14000b94c
mov rcx, qword [0x140014508]
cmp rcx, rdi
je 0x14000b94c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000b94c
call rax
mov rbx, rax
test rax, rax
je 0x14000b94c
mov rcx, qword [0x140014510]
cmp rcx, rdi
je 0x14000b94c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000b94c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140014500]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000b96e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000b970
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003590
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x416e80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417026
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433680
xorps xmm15, xmm15
mov r14, qword [0x00707a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416eeb
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416f00
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x416f25
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416f39
cmp rbx, 0x1000
jae 0x416ef5
nop dword [rax]
jmp 0x416fa9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416f4d
xor edx, edx
jmp 0x416fa0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433680
xorps xmm15, xmm15
mov r14, qword [0x00707a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x416f2f
jmp 0x416f14
call fcn.00465ac0
xorps xmm15, xmm15
mov r14, qword [0x00707a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437dc0
lea rax, [0x00573b57]
mov ebx, 0x18
call fcn.004386c0
mov rax, qword [rsp + 0x38]
call fcn.004383c0
lea rax, [0x00573c5f]
mov ebx, 0x19
call fcn.004386c0
mov rax, qword [rsp + 0x30]
nop
call fcn.004383c0
call fcn.00438020
call fcn.00437e40
lea rax, [0x00576970]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00436480
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416e80