joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002b0d
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c5030
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400c4e60
lea rcx, [rsp + 0x40]
call fcn.1400c4fe0
movzx eax, al
test eax, eax
jne 0x1400c5078
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400c4e90
mov rax, qword [rsp + 0x70]
jmp 0x1400c5249
lea rcx, [rsp + 0x40]
call fcn.1400c4fb0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400c4f50
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1400c4fb0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14000356c
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400c511e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400c4e90
mov rax, qword [rsp + 0x80]
jmp 0x1400c5249
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400028ce
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400027b1
lea rcx, [rsp + 0x48]
call fcn.14000245a
movzx eax, al
test eax, eax
jne 0x1400c5185
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400017cb
lea rcx, [rsp + 0x40]
call fcn.1400c4e90
mov rax, qword [rsp + 0x88]
jmp 0x1400c5249
lea rcx, [rsp + 0x48]
call fcn.140002de7
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1400c4fb0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14000356c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400c521b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400017cb
lea rcx, [rsp + 0x40]
call fcn.1400c4e90
mov rax, qword [rsp + 0xa0]
jmp 0x1400c5249
lea rcx, [rsp + 0x48]
call fcn.14000278e
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400017cb
lea rcx, [rsp + 0x40]
call fcn.1400c4e90
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140002b1c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400230b0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140022a80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400230f1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140147020]
jmp 0x1400230f7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140002b9e
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400acfb0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1400abee0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400ad017
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140147030]
jmp 0x1400ad039
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140002400
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140002bb2
Capabilities:
Terminate process

Disassembly:
jmp 0x140009840
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]
add rsp, 0x28
ret
Function at 0x140002d8d
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400e8390
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140136008]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1400e83b6
jmp 0x1400e8433
mov rcx, qword [rbp + 0x30]
call fcn.14000269e
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400e83cf
jmp 0x1400e8433
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400e83ec
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001910
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140001d07
test eax, eax
jne 0x1400e8433
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140002856
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140002eb9
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400f5f80
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400f5fa4
xor eax, eax
jmp 0x1400f5ff2
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x1400f5fcc
xor eax, eax
jmp 0x1400f5ff2
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x1400f5fed
xor eax, eax
jmp 0x1400f5ff2
mov eax, 1
add rsp, 0x28
ret

Function at 0x14000302b
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400c7190
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140003134
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
jmp 0x140008010
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x20]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x100]
mov rax, qword [0x140136008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, [0x1400fffd0]
lea rcx, str.dnp.log
call fcn.14000165e
mov qword [0x140137460], rax
lea r8, str.586997F4_D097_4836_A382_F3626FEAE6B5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140008111
xor ecx, ecx
call fcn.140007d30
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140007d10
mov r9, rax
lea r8, [0x140100008]
mov edx, 0x14
lea rcx, [rsp + 0x58]
call fcn.140003486
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xd0], eax
mov rax, qword [0x140137460]
mov qword [rsp + 0xd8], rax
mov r9d, dword [rsp + 0xd0]
lea r8, [rsp + 0x58]
lea rdx, str.__s_DEBUG:_CloseNetworkProperty:_CreateMutexA_failed___d_n
mov rcx, qword [rsp + 0xd8]
call fcn.140003b4d
mov rcx, qword [0x140137460]
call fcn.140003887
xor eax, eax
test eax, eax
jne 0x140008087
mov eax, 1
jmp 0x1400081ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000818a
xor ecx, ecx
call fcn.140007d30
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x88]
call fcn.140007d10
mov r9, rax
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x14
lea rcx, [rsp + 0xa8]
call fcn.140003486
lea r8, [rsp + 0xa8]
lea rdx, str.__s_DEBUG:_CloseNetworkProperty:_There_is_already_an_instance_of_the_application_running._n
mov rcx, qword [0x140137460]
call fcn.140003b4d
mov rcx, qword [0x140137460]
call fcn.140003887
xor eax, eax
test eax, eax
jne 0x14000811e
mov eax, 2
jmp 0x1400081ba
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, 1
je 0x1400081b8
xor edx, edx
lea rcx, [0x140007ea0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008195
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401003c0]
call fcn.1400038fa
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140002856
add rsp, 0xf0
pop rdi
ret
Function at 0x140003215
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000ab90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000abb0
xor al, al
jmp 0x14000ac31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000abc3
xor al, al
jmp 0x14000ac31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14000abed
xor al, al
jmp 0x14000ac31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14000ac01
xor al, al
jmp 0x14000ac31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14000ac13
xor al, al
jmp 0x14000ac31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000ac2f
xor al, al
jmp 0x14000ac31
mov al, 1
add rsp, 0x38
ret
Function at 0x1400034d6
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400f5df0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x1400f5e4e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1400f5e8d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x1400f5e8b
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x1400f5e8b
mov rax, qword [rsp + 8]
jmp 0x1400f5e8f
jmp 0x1400f5e38
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400036e3
Capabilities:
Terminate process

Disassembly:
jmp 0x14009d310
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14009d33e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140003e13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140003e77
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400bd940
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140003f21
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400231f0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022b40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140023239
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140147020]
jmp 0x140023248
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140003fc6
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400eb240
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400022d4
lea rcx, [rsp + 0x48]
call fcn.1400022d4
call fcn.140002ac2
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400020fe
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400eb2af
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400025cc
lea rcx, [rsp + 0x78]
call fcn.1400025cc
mov eax, dword [rsp + 0x24]
jmp 0x1400eb340
call fcn.140002ac2
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400020fe
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400eb2f6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400025cc
lea rcx, [rsp + 0x78]
call fcn.1400025cc
mov eax, dword [rsp + 0x2c]
jmp 0x1400eb340
lea rcx, [rsp + 0x48]
call fcn.14000225c
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14000225c
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400025cc
lea rcx, [rsp + 0x78]
call fcn.1400025cc
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140008010
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
jmp 0x140008010
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x20]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x100]
mov rax, qword [0x140136008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, [0x1400fffd0]
lea rcx, str.dnp.log
call fcn.14000165e
mov qword [0x140137460], rax
lea r8, str.586997F4_D097_4836_A382_F3626FEAE6B5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140008111
xor ecx, ecx
call fcn.140007d30
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140007d10
mov r9, rax
lea r8, [0x140100008]
mov edx, 0x14
lea rcx, [rsp + 0x58]
call fcn.140003486
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xd0], eax
mov rax, qword [0x140137460]
mov qword [rsp + 0xd8], rax
mov r9d, dword [rsp + 0xd0]
lea r8, [rsp + 0x58]
lea rdx, str.__s_DEBUG:_CloseNetworkProperty:_CreateMutexA_failed___d_n
mov rcx, qword [rsp + 0xd8]
call fcn.140003b4d
mov rcx, qword [0x140137460]
call fcn.140003887
xor eax, eax
test eax, eax
jne 0x140008087
mov eax, 1
jmp 0x1400081ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000818a
xor ecx, ecx
call fcn.140007d30
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x88]
call fcn.140007d10
mov r9, rax
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x14
lea rcx, [rsp + 0xa8]
call fcn.140003486
lea r8, [rsp + 0xa8]
lea rdx, str.__s_DEBUG:_CloseNetworkProperty:_There_is_already_an_instance_of_the_application_running._n
mov rcx, qword [0x140137460]
call fcn.140003b4d
mov rcx, qword [0x140137460]
call fcn.140003887
xor eax, eax
test eax, eax
jne 0x14000811e
mov eax, 2
jmp 0x1400081ba
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, 1
je 0x1400081b8
xor edx, edx
lea rcx, [0x140007ea0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008195
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401003c0]
call fcn.1400038fa
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140002856
add rsp, 0xf0
pop rdi
ret

Function at 0x140023180
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140023180
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022b00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400231bf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140147020]
jmp 0x1400231c9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400b0200
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001910
sub rsp, rax
mov rax, qword [0x140136008]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401390f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400b03f2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1400b0346
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400b0346
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1400b032b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400b02c8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b03b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b0411
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1400b03ed
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b0411
jmp 0x1400b029e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140002856
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400b04c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001910
sub rsp, rax
mov rax, qword [0x140136008]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401390f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400b06cd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1400b0619
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400b0619
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1400b05f9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1400b0588
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b068d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b06ec
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1400b06c8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b06ec
jmp 0x1400b055e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140002856
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140001688
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400016d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400016d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400016d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400016d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400016d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400016d4
xor al, al
add rsp, 0x28
ret
Function at 0x14014bbe1
Capabilities:
Encode data using xor

Disassembly:
lea r8, [0x140162bd0]
movzx r9d, byte [rax]
push 0xffffffffe1ac6ea5
xor r9d, edi
and r9d, 0xff
mov r9d, dword [r8 + r9*4]
push 0x8a6e9ae
shr edi, 8
xor edi, r9d
inc rax
shr word [rsp + 0xe], 9
xor edi, 0x74a7d2a3
dec rcx
lea rsp, [rsp + 0x10]
jne 0x14013f1ae
mov r8d, 0x76332ca5
pop r8
push 0xffffffffe637c509
not edi
not qword [rsp]
mov dword [rbx], edi
push 0xfffffffff7159525
lea rsp, [rsp + 0x10]
jmp fcn.1401328ac
mov dword [r10 + 8], ebx
push 0xffffffffe80485aa
mov dword [r10 + 4], ecx
pop rbx
call fcn.140140d1c
lea rsi, [rdi + rdi*4 - 0x76e3a86c]
mov rsi, rax
neg di
shr rdi, 0x8f
bswap edi
mov rdi, rdx
push 0x6b845214
cld
shl dword [rsp + 1], 0x27
rep movsb byte [rdi], byte [rsi]
call fcn.140157db8
mov ecx, 0x45ba943d
mov eax, 0x4f0859bc
mov rax, qword [rax + rbx - 0x4f0859bc]
mov rcx, qword [rcx + rbx - 0x45ba9435]
jmp 0x14016af33
add rbx, 0xc
push 0xffffffffeb362cae
xor edi, edi
test rcx, rcx
not dword [rsp + 3]
lea rsp, [rsp + 8]
je 0x14013f1f5
push r8
mov r8d, 0xd824691
jmp 0x14013f1a7
Function at 0x1400017f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001842
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001842
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001842
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001842
cmp dword [rcx + 0x84], 0xe
jbe 0x140001842
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001844
xor al, al
add rsp, 0x28
ret

Function at 0x140003b64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003990

Function at 0x14000ca90
Capabilities:
Parse pe header

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