joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a2c4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rbp, rcx
mov rsi, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi]
lea rdx, str.CreateEncoder
mov qword [rsi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi]
lea rdx, str.GetMethodProperty
mov qword [rsi + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp rax, rbx
mov qword [rsi + 0x20], rax
je 0x42a3f6
mov rcx, qword [rsi]
lea rdx, str.GetNumberOfMethods
mov dword [rsp + 0xc0], 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x42a358
lea rcx, [rsp + 0xc0]
call rax
cmp eax, ebx
jne 0x42a456
cmp dword [rsp + 0xc0], ebx
mov edi, ebx
jbe 0x42a3f6
mov eax, dword [rbp + 0x20]
mov rcx, qword [rsi + 0x20]
lea r9, [rsp + 0x3c]
dec eax
mov r8d, 3
mov edx, edi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rax
call fcn.00429bd8
cmp eax, ebx
jne 0x42a456
mov rcx, qword [rsi + 0x20]
lea rax, [rsp + 0x39]
lea r9, [rsp + 0x4c]
mov r8d, 2
mov edx, edi
mov qword [rsp + 0x20], rax
call fcn.00429bd8
cmp eax, ebx
jne 0x42a456
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
lea rcx, [rbp + 0x50]
lea rdx, [rsp + 0x60]
call fcn.00429f50
inc edi
cmp edi, dword [rsp + 0xc0]
jb 0x42a367
mov rcx, qword [rsi]
lea rdx, str.GetHashers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x42a454
lea rcx, [rsi + 0x40]
call rax
cmp eax, ebx
jne 0x42a456
mov rcx, qword [rsi + 0x40]
cmp rcx, rbx
je 0x42a454
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, ebx
mov edi, eax
jbe 0x42a454
mov ecx, dword [rbp + 0x20]
mov dword [rsp + 0xc4], ebx
dec ecx
mov dword [rsp + 0xc0], ecx
mov rdx, qword [rsp + 0xc0]
lea rcx, [rbp + 0x60]
call fcn.00429fd0
inc ebx
cmp ebx, edi
jb 0x42a42a
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x440b38
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r13, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x88], 0
mov edi, dword [rdx]
cmp byte [rdx + 0x18], 0
je 0x440bc4
mov edi, 1
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.00412de8
mov rcx, qword [rsp + 0x28]
cmp word [rcx + 2], 0x3a
jne 0x440bbf
cmp word [rcx + 4], 0x5c
jne 0x440bbf
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x440bb1
cmp eax, 2
jne 0x440bba
mov edi, dword [rsi]
mov rcx, qword [rsp + 0x28]
jmp 0x440bbf
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rcx, rbp
call fcn.00403714
lea r12d, [rax + 1]
mov rax, qword [rbp]
lea rdx, [rax + r12*2]
mov rcx, r13
call fcn.00403344
dec edi
je 0x440c78
dec edi
je 0x440c42
lea rcx, [rsp + 0x28]
call fcn.004031b0
nop
lea rcx, [rsp + 0x28]
call fcn.004070f0
test al, al
jne 0x440c25
mov dword [rsp + 0x88], 0x22995
lea rdx, [0x0047e170]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.004032bc
nop
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rax, rbx
jmp 0x440c89
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x28]
call fcn.004032bc
nop
lea rcx, [rsp + 0x28]
call fcn.00409c6c
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.004032bc
nop
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rax, rbx
jmp 0x440c89
mov r8d, r12d
mov rdx, rbx
mov rcx, rbp
call fcn.00412de8
mov rax, rbx
add rsp, 0x48
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x445524
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
cmp bx, ax
jne 0x4456b0
movzx ecx, ax
and cx, 0x3ff
shr di, 0xa
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
movzx ecx, cx
lea rdx, [rsp + 0x28]
call fcn.004453b8
lea rcx, [rsp + 0x48]
call fcn.00445064
nop
xor esi, esi
movzx r12d, di
movsxd rbx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
xor eax, eax
test esi, esi
cmove eax, r12d
cmp eax, ebx
jae 0x44560b
mov rbp, qword [rdi + rax*8]
cmp dword [rbp + 8], 0
je 0x44560b
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.004032bc
nop
mov rdx, qword [rbp]
lea rcx, [rsp + 0x38]
call fcn.00403618
lea rdx, str..txt
lea rcx, [rsp + 0x38]
call fcn.00403618
lea r8, [0x004648e0]
mov rdx, qword [rsp + 0x38]
lea rcx, [0x00480ba8]
call fcn.00401f6c
test al, al
jne 0x445614
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
inc esi
cmp esi, 2
jb 0x4455a0
jmp 0x445671
mov rdx, qword [rbp]
lea rcx, [0x00480b98]
call fcn.004034c0
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
nop
test ebx, ebx
je 0x445667
lea rsi, [rdi + rbx*8]
add ebx, 0xffffffff
sub rsi, 8
mov rbp, qword [rsi]
test rbp, rbp
je 0x445663
mov rcx, qword [rbp]
call sub.msvcrt.dll_free
mov rcx, rbp
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x445643
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x4456b0
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
nop
test ebx, ebx
je 0x4456a8
lea rsi, [rdi + rbx*8]
add ebx, 0xffffffff
sub rsi, 8
mov rbp, qword [rsi]
test rbp, rbp
je 0x4456a4
mov rcx, qword [rbp]
call sub.msvcrt.dll_free
mov rcx, rbp
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x445684
mov rcx, rdi
call sub.msvcrt.dll_free
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x4461fc
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
jne 0x44622f
cmp dword [rbx + 0x54], 1
ja 0x44622f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
jmp 0x446237
mov rcx, rbx
call fcn.00445fb4
add rsp, 0x20
pop rbx
ret
Function at 0x446b94
Capabilities:
Get file system object information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x378
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rdi, r9
mov ebp, r8d
mov r12d, edx
mov rsi, rcx
lea rcx, [rsp + 0x50]
call fcn.004031b0
nop
cmp byte [rdi], 0
je 0x446c17
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x80]
call fcn.00444e94
nop
mov r8, rax
mov edx, 0xdb0
lea rcx, [rsp + 0x70]
call fcn.00444f84
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.004033ac
nop
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
lea rcx, [rdi + 0x18]
call fcn.00403714
lea ebx, [rax + 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x18]
call fcn.00412de8
nop
mov rax, qword [rdi + 0x18]
lea rdx, [rax + rbx*2]
lea rcx, [rsp + 0x60]
call fcn.0040321c
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.00446abc
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.00446abc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.004032bc
nop
lea rcx, [rsp + 0x30]
call fcn.0040353c
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.004035d4
lea rcx, [rsp + 0x30]
call fcn.0040353c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.004035d4
lea rcx, [rsp + 0x30]
call fcn.0040353c
cmp byte [rdi + 1], 0
je 0x446cfa
mov edx, 0x3f4
lea rcx, [rsp + 0x30]
call fcn.004452e4
lea rdx, [0x00464148]
lea rcx, [rsp + 0x30]
call fcn.00403618
lea rcx, [rdi + 0x10]
xor r8d, r8d
lea rdx, [rsp + 0x80]
call fcn.0040b2f8
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00403618
mov edx, r12d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rsp + 0x20], 0x110
mov r9d, 0x2b8
lea r8, [rsp + 0xb0]
mov edx, 0x80
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x446d65
mov edx, ebp
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
mov edx, 0x170
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_free
add rsp, 0x378
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x44da60
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
mov rbx, r8
lea r8, [rsp + 0x30]
bts edx, 7
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
add rsp, 0x2f0
pop rbx
ret
Function at 0x45c410
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45c447
cmp dword [rsp + 0x24], 6
jne 0x45c447
cmp dword [rsp + 0x28], 0
je 0x45c470
lea rcx, [0x0045ec88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x45c470
mov ecx, 0xc00
call rax
add rsp, 0x148
ret

Function at 0x45c4e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x45c51b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x45c980
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x198
mov rax, qword [0x00480650]
mov qword [rsp + 0x150], rax
mov rax, qword [0x00480c28]
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
test rax, rax
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov rdi, r9
mov esi, r8d
mov r12, rdx
mov rbp, rcx
mov r13d, 1
jne 0x45ca96
cmp dword [0x00480c20], eax
jne 0x45ca96
lea rax, [rsp + 0x38]
mov qword [r11 - 8], rbx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45ca69
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [0x0045f42a]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmove ebx, r13d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x45ca69
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x00480c28], rax
jmp 0x45ca70
mov rax, qword [0x00480c28]
test rax, rax
mov rbx, qword [rsp + 0x190]
jne 0x45ca96
lea rcx, str.hhctrl.ocx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [0x00480c28], rax
je 0x45cabe
mov r10, qword [0x00480c18]
test r10, r10
jne 0x45cac9
lea edx, [r10 + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov r10, rax
mov qword [0x00480c18], rax
jne 0x45cac9
mov dword [0x00480c20], r13d
xor eax, eax
jmp 0x45cad8
mov r9, rdi
mov r8d, esi
mov rdx, r12
mov rcx, rbp
call r10
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x180]
mov rbp, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
call fcn.0045d350
add rsp, 0x198
ret
Function at 0x45ce40
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x45ce7d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x45cf0b
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x45cea1
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x45cf0b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45cee8
cmp ecx, 0x20b
je 0x45cec0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x45cf0b
cmp dword [rax + 0x84], 0xe
ja 0x45ced4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x45cf0b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x45cf0b
cmp dword [rax + 0x74], 0xe
ja 0x45cef9
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x45cf0b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x004831c8], 0xffffffffffffffff
mov qword [0x004831d0], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x00480c3c]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x00480c38]
mov dword [rcx], eax
call fcn.0045d0f0
cmp dword [0x00480640], 0
jne 0x45cf65
lea rcx, [fcn.0045d0f0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x0045e6d0]
lea rcx, [0x0045e6c8]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x00480c34]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00480c30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x0045e6c0]
lea rcx, [0x0045e668]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x45d006
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x45cff6
cmp al, 0x22
je 0x45cff6
jmp 0x45cfe0
cmp byte [r8], 0x22
jne 0x45d016
inc r8
mov qword [rsp + 0x30], r8
jmp 0x45d016
cmp byte [r8], 0x20
jbe 0x45d016
inc r8
mov qword [rsp + 0x30], r8
jmp 0x45d006
movzx eax, byte [r8]
test al, al
je 0x45d02c
cmp al, 0x20
ja 0x45d02c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x45d016
test byte [rsp + 0x8c], 1
je 0x45d041
movzx r9d, word [rsp + 0x90]
jmp 0x45d047
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.004580c8
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x45d063
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x45d087
mov eax, edi
jmp 0x45d090
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x45d1c0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x00480ce0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x00480dd8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x45d241
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x00480dd8]
jmp 0x45d25d
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x00480dd8], r11
mov qword [0x00480d78], rax
mov rax, qword [0x00480650]
mov qword [0x00480c50], r11
mov qword [0x00480d60], rdi
mov dword [0x00480c40], 0xc0000409
mov dword [0x00480c44], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x00480648]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00467310]
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]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x00480650]
jne 0x45d369
rol rcx, 0x10
test cx, 0xffff
jne 0x45d365
ret
ror rcx, 0x10
jmp 0x45d1c0
Function at 0x140001000
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rax, qword gs:[0x30]
xor r9d, r9d
mov edi, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov edx, dword [rax + rbx + 0x88]
add rdx, rbx
mov r14d, dword [rdx + 0x1c]
mov esi, dword [rdx + 0x20]
add r14, rbx
mov r11d, dword [rdx + 0x24]
add rsi, rbx
mov r15d, dword [rdx + 0x14]
add r11, rbx
mov r12d, dword [rdx + 0x18]
test r15, r15
je 0x1400010d3
mov qword [rsp + 0x20], rbp
nop word [rax + rax]
mov eax, dword [r14 + r9*4]
test eax, eax
je 0x1400010bf
xor r8d, r8d
mov ebp, eax
test r12d, r12d
je 0x1400010bf
movzx eax, word [r11 + r8*2]
cmp rax, r9
jne 0x1400010b7
mov edx, dword [rsi + r8*4]
xor eax, eax
add rdx, rbx
movzx ecx, byte [rdx]
test cl, cl
je 0x1400010b3
nop dword [rax]
ror eax, 7
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x1400010a0
cmp edi, eax
je 0x1400010c9
inc r8
cmp r8, r12
jb 0x140001082
inc r9
cmp r9, r15
jb 0x140001070
jmp 0x1400010ce
movzx eax, byte [rbx + rbp + 4]
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x1400010f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x14044ae
mov qword [rsp + 0x68], 0x40e09
mov rbx, rax
call section..text
movzx ecx, ax
call fcn.1400012a0
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [0x14005ca88]
mov rcx, rbx
call fcn.1400012b1
xor edi, edi
lea r9, [0x14003b173]
mov eax, edi
lea r11, [0x14001aa70]
mov r8d, 1
nop
mov rcx, qword [0x14005ca88]
lea r10, [r8 + r11]
cmp rax, 0x20705
jae 0x14000118a
movzx edx, byte [r9 + 1]
jmp 0x14000118f
movzx edx, byte [r10 - 1]
mov byte [rcx + rax], dl
mov rcx, qword [0x14005ca88]
cmp r8, 0x20705
jae 0x1400011a8
movzx edx, byte [r9]
jmp 0x1400011ac
movzx edx, byte [r10]
mov byte [rcx + rax + 1], dl
lea rcx, [rax + 2]
cmp rcx, 0x20705
mov rcx, qword [0x14005ca88]
jae 0x1400011cb
movzx edx, byte [r9 - 1]
jmp 0x1400011d1
movzx edx, byte [rax + r11 + 2]
mov byte [rcx + rax + 2], dl
add r8, 3
add rax, 3
sub r9, 3
cmp r8, 0x40e0a
jb 0x140001170
mov rdx, rdi
nop dword [rax]
mov rcx, qword [0x14005ca88]
lea eax, [rdx + 1]
xor byte [rcx + rdx], al
inc rdx
cmp rdx, 0x40e09
jb 0x1400011f0
mov ecx, 0x93ec9d3d
call section..text
movzx ecx, ax
call fcn.1400012a0
mov rax, qword [0x14005ca88]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rdi
mov r9, rbx
mov qword [rsp + 0x48], rdi
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov edx, 0x1fffff
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400012b1
mov ecx, 0xc6f6afcd
call section..text
movzx ecx, ax
call fcn.1400012a0
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.1400012b1
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400012e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x1400012b1
Capabilities:
Execute syscall

Disassembly:
mov rax, rcx
xor rcx, rcx
mov r10, rax
xor eax, eax
mov eax, dword [section..data]
syscall
ret

Function at 0x140001cfc
Capabilities:
Parse pe header

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

Function at 0x140006380
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000617c
Function at 0x140009434
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 0x140009464
xor eax, eax
jmp 0x140009527
mov rbp, rbx
cmp word [rax], si
je 0x140009489
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009470
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000946c
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.140009354
movsxd r14, eax
test eax, eax
jne 0x1400094c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000945d
mov rcx, r14
call fcn.140009ec8
mov rdi, rax
test rax, rax
jne 0x1400094e0
xor ecx, ecx
call fcn.14000798c
jmp 0x1400094bc
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.140009354
test eax, eax
jne 0x140009511
mov rcx, rdi
call fcn.14000798c
jmp 0x14000951b
xor ecx, ecx
call fcn.14000798c
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