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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e45ca
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0xb8e1a8759d9a99e1
mov qword [rsp + 0x1b], rdx
movabs rdx, 0xa97fa59643b8e1a8
mov qword [rsp + 0x20], rdx
movabs rdx, 0x57e0756caf7f5967
mov qword [rsp + 0x28], rdx
movabs rdx, 0xe090b00060f0213
mov qword [rsp + 0x30], rdx
movabs rdx, 0x510100908100103
mov qword [rsp + 0x38], rdx
movabs rdx, 0xa0c050f020b0709
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x4e456d
movzx r9d, byte [rsp + rsi + 0x1b]
sub r9d, edx
lea edx, [r9 - 0x24]
mov byte [rsp + rdi + 0x1b], dl
lea edx, [r8 - 0x24]
mov byte [rsp + rsi + 0x1b], dl
add rax, 2
cmp rax, 0x18
jge 0x4e459a
movzx edx, byte [rsp + rax + 0x30]
movzx esi, byte [rsp + rax + 0x31]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x15
jae 0x4e45bd
movzx r8d, byte [rsp + rdi + 0x1b]
sub r8d, edx
cmp rsi, 0x15
jb 0x4e4550
jmp 0x4e45b1
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 0x15
call fcn.00440c20
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x15
call fcn.00450f00
mov eax, edi
mov ecx, 0x15
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004e44e0

Function at 0x4e74e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e75cc
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rdx, 0xbe6edad72e74c2a2
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x6511b3c0be6edad7
mov qword [rsp + 0x30], rdx
movabs rdx, 0x6fb3f54979b5aa6d
mov qword [rsp + 0x38], rdx
movabs rdx, 0xa03080a04050608
mov qword [rsp + 0x18], rdx
movabs rdx, 0xa08120d0a03080a
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x709000009110e01
mov qword [rsp + 0x24], rdx
xor eax, eax
jmp 0x4e756a
movzx r9d, byte [rsp + rsi + 0x2c]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x6b]
mov byte [rsp + rdi + 0x2c], dl
mov byte [rsp + rsi + 0x2c], r8b
add rax, 2
cmp rax, 0x14
jge 0x4e759c
movzx edx, byte [rsp + rax + 0x18]
movzx esi, byte [rsp + rax + 0x19]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x14
jae 0x4e75bf
movzx r8d, byte [rsp + rdi + 0x2c]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x6b]
cmp rsi, 0x14
jb 0x4e7550
jmp 0x4e75b3
xor eax, eax
lea rbx, [rsp + 0x2c]
mov ecx, 0x14
call fcn.00440c20
add rsp, 0x40
pop rbp
ret
mov eax, esi
mov ecx, 0x14
call fcn.00450f00
mov eax, edi
mov ecx, 0x14
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004e74e0
Function at 0x4ea640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ea787
push rbp
mov rbp, rsp
sub rsp, 0x70
movabs rdx, 0x56703c50843d4630
mov qword [rsp + 0x19], rdx
movabs rdx, 0x66205356703c5084
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x2b57306e6576746f
mov qword [rsp + 0x24], rdx
movabs rdx, 0x207867664c5b750b
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x7217516c163c5051
mov qword [rsp + 0x34], rdx
movabs rdx, 0x2011210e021c0012
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x101011072011210e
mov qword [rsp + 0x40], rdx
movabs rdx, 0x10513041d1b1600
mov qword [rsp + 0x48], rdx
movabs rdx, 0x15010a20170a2219
mov qword [rsp + 0x50], rdx
movabs rdx, 0x31c0a100a08191c
mov qword [rsp + 0x58], rdx
movabs rdx, 0x180c0816121e0510
mov qword [rsp + 0x60], rdx
movabs rdx, 0x31d1c070d061613
mov qword [rsp + 0x68], rdx
xor eax, eax
jmp 0x4ea727
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 + 0x3c]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 + 0x3c]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 0x34
jge 0x4ea757
movzx edx, byte [rsp + rax + 0x3c]
movzx esi, byte [rsp + rax + 0x3d]
mov edi, edx
xor edx, esi
add edx, eax
nop dword [rax]
cmp rdi, 0x23
jae 0x4ea77a
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 0x23
jb 0x4ea70a
jmp 0x4ea76e
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x23
call fcn.00440c20
add rsp, 0x70
pop rbp
ret
mov eax, esi
mov ecx, 0x23
call fcn.00450f00
mov eax, edi
mov ecx, 0x23
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004ea640
Function at 0x4ee2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ee3cc
push rbp
mov rbp, rsp
sub rsp, 0x50
movabs rdx, 0x7369596e4a63092e
mov qword [rsp + 0x1b], rdx
movabs rdx, 0x4e6f035637716540
mov qword [rsp + 0x23], rdx
movabs rdx, 0x364e6f0356377165
mov qword [rsp + 0x24], rdx
movabs rdx, 0x2053746c624b4b45
mov qword [rsp + 0x2c], rdx
movabs rdx, 0xa081518000f1314
mov qword [rsp + 0x34], rdx
movabs rdx, 0x1015000c0b170100
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x17170a121015000c
mov qword [rsp + 0x40], rdx
movabs rdx, 0x315100f05010d11
mov qword [rsp + 0x48], rdx
xor eax, eax
jmp 0x4ee368
movzx r9d, byte [rsp + rsi + 0x1b]
lea edx, [r9 + rdx]
lea edx, [rdx - 5]
mov byte [rsp + rdi + 0x1b], dl
mov byte [rsp + rsi + 0x1b], r8b
add rax, 2
cmp rax, 0x1c
jge 0x4ee39c
movzx edx, byte [rsp + rax + 0x34]
movzx esi, byte [rsp + rax + 0x35]
mov edi, edx
xor edx, esi
add edx, eax
nop
cmp rdi, 0x19
jae 0x4ee3bf
movzx r8d, byte [rsp + rdi + 0x1b]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 5]
cmp rsi, 0x19
jb 0x4ee34e
jmp 0x4ee3b3
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 0x19
call fcn.00440c20
add rsp, 0x50
pop rbp
ret
mov eax, esi
mov ecx, 0x19
call fcn.00450f00
mov eax, edi
mov ecx, 0x19
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004ee2c0

Function at 0x4efa40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4efb9b
push rbp
mov rbp, rsp
sub rsp, 0xb8
movabs rdx, 0xfb53616daf90ff3c
mov qword [rsp + 0x19], rdx
movabs rdx, 0xf975836e356331fb
mov qword [rsp + 0x20], rdx
movabs rdx, 0xbb709139744916f2
mov qword [rsp + 0x28], rdx
movabs rdx, 0x97736e69695bc9bb
mov qword [rsp + 0x30], rdx
movabs rdx, 0xa86977d28d796e00
mov qword [rsp + 0x38], rdx
movabs rdx, 0xa86c6966e465c54a
mov qword [rsp + 0x40], rdx
movabs rdx, 0x94639e7dfd72b787
mov qword [rsp + 0x48], rdx
movabs rdx, 0xa83814de28207410
mov qword [rsp + 0x50], rdx
movabs rdx, 0x32df37b9583491d0
mov qword [rsp + 0x58], rdx
movabs rdx, 0x1f3f083c0c14430c
mov qword [rsp + 0x60], rdx
lea rdi, [rsp + 0x68]
lea rsi, [0x00545ca0]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0045153a
mov rbp, qword [rbp]
xor eax, eax
jmp 0x4efb31
movzx r9d, byte [rsp + rsi + 0x19]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x63]
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0x58
jge 0x4efb68
movzx edx, byte [rsp + rax + 0x60]
movzx esi, byte [rsp + rax + 0x61]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x47
jae 0x4efb8e
movzx r8d, byte [rsp + rdi + 0x19]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x63]
nop dword [rax + rax]
cmp rsi, 0x47
jb 0x4efb17
jmp 0x4efb82
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x47
call fcn.00440c20
add rsp, 0xb8
pop rbp
ret
mov eax, esi
mov ecx, 0x47
call fcn.00450f00
mov eax, edi
mov ecx, 0x47
call fcn.00450f00
nop
nop dword [rax + rax]
call fcn.0044ec80
jmp fcn.004efa40
Function at 0x4f07a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f08ac
push rbp
mov rbp, rsp
sub rsp, 0x58
movabs rdx, 0x636fe032b1c073c2
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x6572bfdf3173c395
mov qword [rsp + 0x26], rdx
movabs rdx, 0xdccd64616572bfdf
mov qword [rsp + 0x2a], rdx
movabs rdx, 0x9720eec31cc669b2
mov qword [rsp + 0x32], rdx
movabs rdx, 0xc0b05040c131b0b
mov qword [rsp + 0x3a], rdx
movabs rdx, 0x1605171213131b1a
mov qword [rsp + 0x42], rdx
movabs rdx, 0x1809190302081605
mov qword [rsp + 0x48], rdx
movabs rdx, 0x1a030012141b0c0d
mov qword [rsp + 0x50], rdx
xor eax, eax
jmp 0x4f0848
movzx r9d, byte [rsp + rsi + 0x1e]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x75]
mov byte [rsp + rdi + 0x1e], dl
mov byte [rsp + rsi + 0x1e], r8b
add rax, 2
cmp rax, 0x1e
jge 0x4f087c
movzx edx, byte [rsp + rax + 0x3a]
movzx esi, byte [rsp + rax + 0x3b]
mov edi, edx
xor edx, esi
add edx, eax
nop
cmp rdi, 0x1c
jae 0x4f089f
movzx r8d, byte [rsp + rdi + 0x1e]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x75]
cmp rsi, 0x1c
jb 0x4f082e
jmp 0x4f0893
xor eax, eax
lea rbx, [rsp + 0x1e]
mov ecx, 0x1c
call fcn.00440c20
add rsp, 0x58
pop rbp
ret
mov eax, esi
mov ecx, 0x1c
call fcn.00450f00
mov eax, edi
mov ecx, 0x1c
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004f07a0

Function at 0x4f13a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f146c
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x8033a00761b6448
mov qword [rsp + 0x19], rdx
movabs rdx, 0x74753108033a0076
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x600040704040202
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x8020507
xor eax, eax
jmp 0x4f1405
movzx r9d, byte [rsp + rsi + 0x19]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x20]
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0xc
jge 0x4f143c
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
nop dword [rax + rax]
cmp rdi, 0xb
jae 0x4f145f
movzx r8d, byte [rsp + rdi + 0x19]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x20]
cmp rsi, 0xb
jb 0x4f13eb
jmp 0x4f1453
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0xb
call fcn.00440c20
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xb
call fcn.00450f00
mov eax, edi
mov ecx, 0xb
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004f13a0
Function at 0x4fb540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4fb62c
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x3b36643e336931be
mov qword [rsp + 0x1f], rdx
movabs rdx, 0x383b36643e336931
mov qword [rsp + 0x20], rdx
movabs rdx, 0xc566cc643021dc68
mov qword [rsp + 0x28], rdx
movabs rdx, 0x709010e090905
mov qword [rsp + 0x30], rdx
movabs rdx, 0xe050c0402010204
mov qword [rsp + 0x38], rdx
movabs rdx, 0x100a05090b050004
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x4fb5ca
movzx r9d, byte [rsp + rsi + 0x1f]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x6c]
mov byte [rsp + rdi + 0x1f], dl
mov byte [rsp + rsi + 0x1f], r8b
add rax, 2
cmp rax, 0x18
jge 0x4fb5fc
movzx edx, byte [rsp + rax + 0x30]
movzx esi, byte [rsp + rax + 0x31]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x4fb61f
movzx r8d, byte [rsp + rdi + 0x1f]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x6c]
cmp rsi, 0x11
jb 0x4fb5b0
jmp 0x4fb613
xor eax, eax
lea rbx, [rsp + 0x1f]
mov ecx, 0x11
call fcn.00440c20
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x11
call fcn.00450f00
mov eax, edi
mov ecx, 0x11
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004fb540

Function at 0x4fb840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4fb92c
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rdx, 0x15dbe4e133dc79de
mov qword [rsp + 0x1b], rdx
movabs rdx, 0x3815dbe4e133dc79
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x58ead444d22c6ecb
mov qword [rsp + 0x24], rdx
movabs rdx, 0x50e0f0b00020107
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x40c0f0a050e0f0b
mov qword [rsp + 0x30], rdx
movabs rdx, 0xf060a0a07090107
mov qword [rsp + 0x38], rdx
xor eax, eax
jmp 0x4fb8ca
movzx r9d, byte [rsp + rsi + 0x1b]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x50]
mov byte [rsp + rdi + 0x1b], dl
mov byte [rsp + rsi + 0x1b], r8b
add rax, 2
cmp rax, 0x14
jge 0x4fb8fc
movzx edx, byte [rsp + rax + 0x2c]
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x4fb91f
movzx r8d, byte [rsp + rdi + 0x1b]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x50]
cmp rsi, 0x11
jb 0x4fb8b0
jmp 0x4fb913
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 0x11
call fcn.00440c20
add rsp, 0x40
pop rbp
ret
mov eax, esi
mov ecx, 0x11
call fcn.00450f00
mov eax, edi
mov ecx, 0x11
call fcn.00450f00
nop
call fcn.0044ec80
jmp fcn.004fb840
Function at 0x140006460
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140021410]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [r11 - 0x20], 7
xor ebx, ebx
mov qword [r11 - 0x28], rbx
mov word [rsp + 0x70], bx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ebx
lea rcx, str.rdev
call fcn.1400021c0
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140004030
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140006170
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x140006510
lea rcx, str.Device_removed_succesfully
call fcn.1400060a0
mov edx, ebx
cmp dword [rsp + 0x50], ebx
setne dl
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareIntelDifx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Code
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Reboot
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x88], 8
jb 0x1400065c5
mov rcx, qword [rsp + 0x70]
call fcn.14000872c
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140007d20
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14000c94f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140021410]
jne 0x140007d3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007d36
repz ret
ror rcx, 0x10
jmp 0x14000c8a8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140023110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140023208]
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 0x14000c92d
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, [0x140023110]
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 0x14000c94f
mov rax, qword [rsp + 0x88]
mov qword [0x140023208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400231a8], rax
mov rax, qword [0x140023208]
mov qword [0x140023080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023190], rax
mov dword [0x140023070], 0xc0000409
mov dword [0x140023074], 1
mov rax, qword [0x140021410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140021418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140023108], eax
mov ecx, 1
call fcn.14001420c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400191b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140023108], 0
jne 0x14000c9d6
mov ecx, 1
call fcn.14001420c
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 0x140015590
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 [0x140021410]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000d5b8
xor ebx, ebx
cmp qword [0x1400241c0], rbx
mov rdi, rax
jne 0x1400156a3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001577a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001577a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400241c0], 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 [0x1400241c8], 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 [0x1400241d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400241e0], rax
test rax, rax
je 0x14001569a
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 [0x1400241d8], rax
jmp 0x1400156aa
mov rax, qword [0x1400241d8]
jmp 0x1400156b1
mov rax, qword [0x1400241d8]
mov r11, qword [0x1400241e0]
cmp rax, rdi
je 0x140015718
cmp r11, rdi
je 0x140015718
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400241e0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140015718
test rax, rax
je 0x140015718
call rsi
test rax, rax
je 0x140015712
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140015712
test byte [rsp + 0x40], 1
jne 0x140015718
bts ebp, 0x15
jmp 0x140015758
mov rcx, qword [0x1400241c8]
cmp rcx, rdi
je 0x140015758
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140015758
call rax
mov rbx, rax
test rax, rax
je 0x140015758
mov rcx, qword [0x1400241d0]
cmp rcx, rdi
je 0x140015758
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140015758
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400241c0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001577a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001577c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007d20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140005650], rbx
je 0x14000118c
cmp rax, rbx
jne 0x14000117f
mov ebx, 1
mov esi, ebx
jmp 0x140001191
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001164
mov ebx, 1
mov eax, dword [0x140005658]
cmp eax, ebx
jne 0x1400011a7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140001216
mov eax, dword [0x140005658]
test eax, eax
jne 0x140001210
mov dword [0x140005658], ebx
lea r15, [0x140003408]
lea rdi, [0x1400033f0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001202
test eax, eax
jne 0x140001206
cmp qword [rdi], 0
je 0x1400011f7
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [vtable.LI_IsIUIkH.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400011ce
test eax, eax
je 0x140001216
mov eax, 0xff
jmp 0x1400012fc
mov dword [0x140005064], ebx
mov eax, dword [0x140005658]
cmp eax, ebx
jne 0x14000123d
lea rdx, [0x1400033e8]
lea rcx, [0x1400033d8]
call sub.msvcrt.dll__initterm
mov dword [0x140005658], 2
test esi, esi
jne 0x14000124a
xor eax, eax
xchg qword [0x140005650], rax
cmp qword [0x140005660], 0
je 0x140001288
lea rcx, [0x140005660]
call fcn.140001510
test eax, eax
je 0x140001288
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140005660]
mov r9, qword [vtable.LI_IsIUIkH.0]
call r9
mov r8, qword [0x140005078]
mov rdx, qword [0x140005070]
mov ecx, dword [0x140005068]
call fcn.140001b00
mov dword [0x140005060], eax
cmp dword [0x140005080], 0
jne 0x1400012b8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005064], 0
jne 0x1400012cd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005060]
jmp 0x1400012fc
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140096000
add rsp, 0x28
jmp 0x140001140

Function at 0x1400013fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001448
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001440
cmp dword [rcx + 0x3c], edx
jl 0x140001440
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001440
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001448
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001570
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001598
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140001598
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001a580
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r8, [0x1400061f0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 0x64
mov dword [rsp + 0x28], 1
mov r8d, edx
mov dword [rsp + 0x20], 0x2ee
mov r9d, 0x5dc
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r9d, 2
mov r8b, 0xf0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call fcn.140019a00
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14001aa90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14001aab1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001aade
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001aae0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001ab39
test ecx, ecx
jle 0x14001ab19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001ab39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001ab39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret