joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092050
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x140092133
mov eax, dword [rbx]
test eax, eax
je 0x140092133
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x14009208f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400920ad
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400920ad
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400920c6
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x140092104
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140092104
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.1400604c0
test eax, eax
jne 0x140092104
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x140092133
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400929a0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400c1030
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140092a5a
xor r9d, r9d
mov byte [rsp + 0x18a0], dl
lea rcx, [0x1400cfffc]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov byte [rsp + 0x1871], r9b
lea rcx, [0x1400932a0]
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
movdqa xmmword [rsp + 0x1880], xmm0
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x140092a5a
mov rax, qword [0x140101a58]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x140092a5a
mov edx, 1
call fcn.140001720
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x140092a70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rbx, rcx
jne 0x140092a9a
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140101a58]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.140093040
cmp byte [rbx], 0
mov rbp, rax
je 0x140092ad1
test rax, rax
jne 0x140092ada
jmp 0x140092b72
test rbp, rbp
jne 0x140092b6d
test rdi, rdi
je 0x140092b6d
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001720
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140092b4f
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x140092b4f
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001720
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140092b20
mov rax, qword [0x140101a58]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x140092b6d
mov edx, 1
call fcn.140001720
cmp byte [rbx], 0
je 0x140092b86
xor r9d, r9d
mov r8, rbp
movzx edx, r14b
mov rcx, rbx
call fcn.140092bb0
jmp 0x140092b92
movzx edx, r14b
mov rcx, rbx
call fcn.140092da0
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140092da0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400c1030
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x140092f64
xor edx, edx
call fcn.140092f80
test eax, eax
jne 0x140092de0
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140101a58]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.140093040
mov ecx, dword [0x1401082d4]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x1400cfffc]
mov dword [rsp + 0x1884], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x1401082d4], ecx
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x140092e6a
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x140092e72
mov byte [rsp + 0x1881], 1
mov rax, qword [0x1401082e0]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a0], ecx
lea rcx, [0x140093160]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x140092f28
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400918d0]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x140092ef0
mov rcx, qword [rsp + 0x1888]
call fcn.1400926b0
mov qword [rsp + 0x1888], r10
jmp 0x140092ef8
mov r10, qword [rsp + 0x1888]
mov rcx, r10
call fcn.1400905b0
mov rcx, qword [rsp + 0x1888]
call fcn.1400926b0
mov rcx, qword [0x140101a58]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x140092f54
mov edx, 1
call fcn.140001720
jmp 0x140092f54
mov eax, dword [0x1401082d4]
test eax, eax
je 0x140092f54
cmp eax, 1
mov dword [0x1401082d4], ebp
setg al
test al, al
je 0x140092f54
mov rcx, rsi
call fcn.1400926b0
xor edx, edx
mov rcx, rbx
call fcn.140092da0
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400afc8c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400afa60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400afa60
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400afa60
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400afa60
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400afa60
cmp dword [rcx + 0x84], 0xe
jbe 0x1400afa60
cmp dword [rcx + 0xf8], esi
je 0x1400afa60
mov ecx, r14d
call fcn.1400afba8
mov ecx, 2
call fcn.1400b8e20
nop
cmp byte [0x140104b60], 0
jne 0x1400afb2a
mov r15d, 1
mov eax, r15d
xchg dword [0x140104b54], eax
test ebx, ebx
jne 0x1400afad3
mov rdi, qword [0x140101018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140104b58]
cmp rcx, rax
je 0x1400afaca
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140017ee0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140104da0]
jmp 0x1400afadf
cmp ebx, r15d
jne 0x1400afae5
lea rcx, [0x140104db8]
call fcn.1400b5a40
nop
test ebx, ebx
jne 0x1400afafc
lea rdx, [0x1400c7f78]
lea rcx, [0x1400c7f58]
call fcn.1400b5dd4
lea rdx, [0x1400c7f88]
lea rcx, [0x1400c7f80]
call fcn.1400b5dd4
movzx eax, byte [0x140104b60]
test esi, esi
cmove eax, r15d
mov byte [0x140104b60], al
jmp 0x1400afb2a
mov ecx, 2
call fcn.1400b8e74
test esi, esi
jne 0x1400afb41
mov ecx, r14d
call fcn.1400afb5c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400af9f0
Function at 0x1400024d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1400019b8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140002588
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x1400019e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140002571
cmp dword [rsp + 0x34], 4
jne 0x14000256f
cmp dword [rsp + 0x44], 0
jne 0x14000256f
mov byte [rsp + 0x48], 1
jmp 0x14000257d
cmp dword [rsp + 0x30], 2
jne 0x14000257d
mov byte [rsp + 0x48], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x1400025b8
lea rcx, [0x140001a08]
call qword [sym.imp.msvcrt.dll_printf]
lea rcx, [0x140001a40]
call qword [sym.imp.msvcrt.dll_printf]
lea rcx, [0x140001a78]
call qword [sym.imp.msvcrt.dll_printf]
movzx eax, byte [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x140002c60
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x140002c99
movzx eax, byte [0x1400079d6]
test eax, eax
jne 0x140002c95
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140001b04]
call qword [sym.imp.msvcrt.dll_printf]
mov al, 1
jmp 0x140002cbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x20]
lea rcx, [0x140001b08]
call qword [sym.imp.msvcrt.dll_printf]
xor al, al
add rsp, 0x38
ret
Function at 0x140003dc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x170]
movsx eax, byte [rax]
test eax, eax
jne 0x140003e04
lea rdx, [rsp + 0x40]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x140003e1b
mov r8, qword [rsp + 0x170]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140004c20
mov r8, qword [rsp + 0x170]
mov edx, 0x30d
lea rcx, [0x140007b10]
call fcn.140004c20
mov qword [rsp + 0x28], 0
lea rax, [0x140003530]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.dbghelp.dll_EnumDirTree]
movzx eax, byte [0x1400079d3]
test eax, eax
je 0x140003e80
lea rax, [0x140001c78]
mov qword [rsp + 0x150], rax
jmp 0x140003e8f
lea rax, [0x140001c88]
mov qword [rsp + 0x150], rax
mov r9, qword [0x140007ae8]
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x150]
lea rcx, [0x140001c98]
call qword [sym.imp.msvcrt.dll_printf]
mov al, 1
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140004680
add rsp, 0x168
ret
Function at 0x140003ed0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8, qword [rsp + 0x2a0]
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140004c20
mov rax, qword [rsp + 0x2a0]
movsx eax, byte [rax]
test eax, eax
je 0x140003f3b
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140003170
movzx eax, al
test eax, eax
jne 0x140003f3b
xor al, al
jmp 0x1400040d9
lea r8, [0x140001ac8]
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140004b90
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140003f92
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [0x140001b90]
call qword [sym.imp.msvcrt.dll_printf]
xor al, al
jmp 0x1400040d9
lea rax, [rsp + 0x16c]
lea rcx, [0x140001bac]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003fb7
inc rax
test dl, dl
jne 0x140003fa4
xor eax, eax
jmp 0x140003fbc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140003fee
lea rax, [rsp + 0x16c]
lea rcx, [0x140001bb0]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003fe5
inc rax
test dl, dl
jne 0x140003fd2
xor eax, eax
jmp 0x140003fea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x140003ff3
jmp 0x1400040b1
mov r8, qword [rsp + 0x2a0]
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140004c20
mov rax, qword [rsp + 0x2a0]
movsx eax, byte [rax]
test eax, eax
je 0x140004034
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140003170
movzx eax, al
test eax, eax
jne 0x140004034
jmp 0x1400040cc
lea r8, [rsp + 0x16c]
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140004b90
mov eax, dword [rsp + 0x140]
and eax, 0x10
test eax, eax
je 0x140004082
movzx eax, byte [0x1400079d3]
test eax, eax
jne 0x140004066
jmp 0x1400040b1
mov r8, qword [rsp + 0x2b0]
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x30]
call fcn.140003ed0
jmp 0x1400040b1
xor r8d, r8d
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x16c]
call qword [sym.imp.dbghelp.dll_SymMatchString]
test eax, eax
je 0x1400040b1
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x30]
call fcn.140002e20
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140003f92
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140004680
add rsp, 0x298
ret
Function at 0x1400043c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140007e38], rbx
je 0x140004414
cmp rax, rbx
jne 0x140004407
mov ebx, 1
mov esi, ebx
jmp 0x140004419
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400043ec
mov ebx, 1
mov eax, dword [0x140007e30]
cmp eax, ebx
jne 0x14000442f
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000448c
mov eax, dword [0x140007e30]
test eax, eax
jne 0x140004486
mov dword [0x140007e30], ebx
lea r13, [0x1400012d8]
lea rdi, [0x1400012c0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r13
jae 0x140004478
test eax, eax
jne 0x14000447c
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000446d
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140004456
test eax, eax
je 0x14000448c
mov eax, 0xff
jmp 0x14000455d
mov dword [0x14000744c], ebx
mov eax, dword [0x140007e30]
cmp eax, ebx
jne 0x1400044b3
lea rdx, [0x1400012b8]
lea rcx, [0x1400012a8]
call sub.msvcrt.dll__initterm
mov dword [0x140007e30], 2
test esi, esi
jne 0x1400044c0
xor eax, eax
xchg qword [0x140007e38], rax
cmp qword [0x140007e40], 0
je 0x1400044e9
lea rcx, [0x140007e40]
call fcn.140004e8c
test eax, eax
je 0x1400044e9
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140007e40]
mov r8, qword [0x140007430]
mov rdx, qword [0x140007438]
mov ecx, dword [0x140007428]
call fcn.140004240
mov dword [0x140007448], eax
cmp dword [0x14000742c], 0
jne 0x140004519
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000744c], 0
jne 0x14000452e
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140007448]
jmp 0x14000455d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.140004fa0
add rsp, 0x28
jmp 0x1400043c8
Function at 0x140004680
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140007100]
jne 0x14000469b
rol rcx, 0x10
test cx, 0xffff
jne 0x140004697
ret 0
ror rcx, 0x10
jmp 0x14000505c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140007500]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400075f8]
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 0x1400050e1
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, [0x140007500]
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 0x140005103
mov rax, qword [rsp + 0x88]
mov qword [0x1400075f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140007598], rax
mov rax, qword [0x1400075f8]
mov qword [0x140007470], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140007580], rax
mov dword [0x140007460], 0xc0000409
mov dword [0x140007464], 1
mov rax, qword [0x140007100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140007108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140001338]
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, 0x88
ret

Function at 0x1400046a8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140004725
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x140004745
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x140001300]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140004680
add rsp, 0x540
pop rbx
ret

Function at 0x140004ef8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
test rcx, rcx
je 0x140004f45
cmp rcx, 0xffffffffffffffff
je 0x140004f45
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140004f3d
cmp dword [rcx + 0x3c], edx
jl 0x140004f3d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140004f3d
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 0x140004f45
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001ca0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0x104
lea rdx, [rsp + 0x30]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
test eax, eax
je 0x140001e1a
mov qword [rsp + 0x168], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x170], rbp
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140001d10
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x140001e2a
cmp rbx, 0xf
ja 0x140001d57
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x140001de6
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x140001d8c
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002c28
test rax, rax
je 0x140001db8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001dc7
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x140001dc7
cmp rcx, 0x1000
jb 0x140001dbf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e30
jmp 0x140001d71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c28
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x168]
mov rax, rdi
mov rbp, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002c00
mov rsi, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret
mov qword [rdi + 0x18], 0xf
mov rax, rdi
mov byte [rdi], sil
jmp 0x140001df9
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x140001e40
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
lea rcx, [rsp + 0x78]
call fcn.140001ca0
mov rdi, rax
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140001e89
mov r9, qword [rsi]
mov rsi, qword [rsi + 0x10]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140001ecc
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001eb4
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140001edf
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.1400028d0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140001f4f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c20
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
cmp qword [r14 + 0x18], 0xf
jbe 0x140001f6a
mov r14, qword [r14]
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x140001ff0
mov dword [rbp - 0x60], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov bl, 1
jmp 0x140001ff2
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002032
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000202d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000202d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c20
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140002c00
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400035e8
Capabilities:
Parse pe header

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