joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e394
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x18], 0
xor ebx, ebx
and dword [rbp + 0x30], ebx
mov rdi, rdx
and dword [rbp + 0x38], ebx
mov esi, ecx
mov qword [rbp - 0x10], rbx
lea r8, [rbp + 0x38]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14001e458
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14001e435
test rbx, rbx
jne 0x14001e435
mov ecx, dword [rbp + 0x38]
lea r8, [rbp - 0x20]
call fcn.140013fd8
mov dword [rbp + 0x30], eax
mov ebx, eax
test eax, eax
js 0x14001e44f
mov ecx, dword [rbp - 0x20]
call fcn.14000e570
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14000f39c
mov rbx, qword [rbp - 0x10]
test rbx, rbx
jne 0x14001e3b9
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.14001006c
lea rdx, [0x140086230]
lea rcx, [0x140083190]
call fcn.14000ca20
jmp 0x14001e476
lea rdx, [rbp + 0x30]
mov ecx, eax
call fcn.14000fc78
test eax, eax
jne 0x14001e3b9
mov ebx, dword [rbp + 0x30]
mov ecx, ebx
jmp 0x14001e451
mov ecx, eax
call fcn.14001006c
jmp 0x14001e476
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140010178
mov ebx, eax
test eax, eax
js 0x14001e44f
mov rax, qword [rbp - 0x18]
and qword [rbp - 0x18], 0
mov qword [rdi], rax
mov ecx, ebx
call fcn.140012814
lea rcx, [rbp - 0x10]
call fcn.140013ca4
lea rdx, [0x1400865f0]
lea rcx, [0x140082bac]
call fcn.14000bf20
lea rcx, [rbp - 0x18]
call fcn.140013c04
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e4b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
mov rsi, r9
and qword [rbp - 8], 0
lea r9, [rbp - 0x10]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rbp + 0x40], rbx
call fcn.14001daec
mov dword [rbp + 0x28], eax
mov edi, eax
test eax, eax
jns 0x14001e508
mov ecx, eax
jmp 0x14001e5b1
and dword [rbp + 0x30], ebx
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.DisableDnsPublishing
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x28]
call fcn.14000fc78
test eax, eax
je 0x14001e5ac
test rbx, rbx
jne 0x14001e576
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14001e56f
mov ecx, eax
call fcn.14000e570
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14000f39c
mov rbx, qword [rbp + 0x40]
test rbx, rbx
jne 0x14001e50b
mov edi, 0x8007000e
jmp 0x14001e5af
mov edi, 0x8000ffff
jmp 0x14001e5af
cmp dword [rbp + 0x20], 4
je 0x14001e583
mov edi, 0x8007000d
jmp 0x14001e5af
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x28]
mov r8, rsi
mov rcx, rbx
call fcn.14001c070
mov edi, eax
test eax, eax
js 0x14001e501
cmp dword [rbp + 0x28], 0
je 0x14001e5b6
and qword [rbp + 0x40], 0
jmp 0x14001e5b6
mov edi, dword [rbp + 0x28]
mov ecx, edi
call fcn.14001006c
mov ecx, edi
call fcn.140012814
lea rcx, [rbp + 0x40]
call fcn.140013ca4
lea rcx, [rbp - 8]
call fcn.140013c54
lea rcx, [rbp - 0x10]
call fcn.140013c54
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e620
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
mov rsi, r9
and qword [rbp - 8], 0
lea r9, [rbp - 0x10]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rbp + 0x40], rbx
call fcn.14001daec
mov dword [rbp + 0x28], eax
mov edi, eax
test eax, eax
jns 0x14001e670
mov ecx, eax
jmp 0x14001e719
and dword [rbp + 0x30], ebx
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.DnsDomainPublishList
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x28]
call fcn.14000fc78
test eax, eax
je 0x14001e714
test rbx, rbx
jne 0x14001e6de
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14001e6d7
mov ecx, eax
call fcn.14000e570
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14000f39c
mov rbx, qword [rbp + 0x40]
test rbx, rbx
jne 0x14001e673
mov edi, 0x8007000e
jmp 0x14001e717
mov edi, 0x8000ffff
jmp 0x14001e717
cmp dword [rbp + 0x20], 7
je 0x14001e6eb
mov edi, 0x8007000d
jmp 0x14001e717
mov edx, dword [rbp + 0x30]
lea r9, [rbp + 0x28]
mov r8, rsi
mov rcx, rbx
call fcn.14001e050
mov edi, eax
test eax, eax
js 0x14001e669
cmp dword [rbp + 0x28], 0
je 0x14001e71e
and qword [rbp + 0x40], 0
jmp 0x14001e71e
mov edi, dword [rbp + 0x28]
mov ecx, edi
call fcn.14001006c
mov ecx, edi
call fcn.140012814
lea rcx, [rbp + 0x40]
call fcn.140013ca4
lea rcx, [rbp - 8]
call fcn.140013c54
lea rcx, [rbp - 0x10]
call fcn.140013c54
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001f898
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
and qword [rax + 8], 0
mov rdx, r9
and qword [rax + 0x18], 0
lea r9, [rax + 0x18]
call fcn.14001e164
mov edi, eax
test eax, eax
js 0x14001f92a
mov rax, qword [rsp + 0x50]
lock inc dword [rax]
mov r9, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [0x14001fcd0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000f634
cmp qword [rsp + 0x40], 0
jne 0x14001f931
mov rcx, qword [rsp + 0x50]
call fcn.14001f69c
cmp qword [rsp + 0x40], 0
jne 0x14001f931
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000fbf8
mov edi, eax
mov ecx, eax
call fcn.14001006c
mov ecx, edi
call fcn.140012814
lea rcx, [rsp + 0x50]
call fcn.14001f6ec
lea rcx, [rsp + 0x40]
call fcn.140013c7c
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14001fec4
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc0
mov rax, qword [0x140086088]
xor rax, rsp
mov qword [rbp + 7], rax
and qword [rbp - 0x61], 0
lea rdx, str._s._s
and qword [rbp - 0x71], 0
lea rcx, [rbp - 0x61]
mov r12, r9
xor ebx, ebx
mov r9, r8
mov qword [rbp - 0x69], rbx
lea r8, str._VLMCS._TCP
call fcn.140017f48
mov dword [rbp - 0x79], eax
mov edi, eax
test eax, eax
jns 0x14001ff2d
mov ecx, eax
jmp 0x140020034
lea rdx, [0x14008648c]
lea rcx, [0x140082ae8]
lea r14, [rbp - 0x71]
lea r15, [rbp - 0x69]
call fcn.14000b3b0
mov rdi, qword [rbp - 0x61]
lea rax, [rbp - 0x71]
and qword [rsp + 0x28], rbx
mov rcx, rdi
mov edx, 0x21
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1108
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x14001ffb9
mov rsi, qword [rbp - 0x71]
test rsi, rsi
je 0x14001ffb9
lea ebx, [rax + 0x21]
cmp bx, word [rsi + 0x10]
jne 0x14001ffaa
mov rdx, qword [rsi + 0x20]
mov rcx, r12
call qword [sym.imp.DNSAPI.dll_DnsNameCompare_W]
test eax, eax
je 0x14001ffaa
mov rax, qword [rsi]
mov qword [r14], rax
mov qword [r15], rsi
mov r15, rsi
and qword [rsi], 0
jmp 0x14001ffad
mov r14, rsi
mov rsi, qword [r14]
test rsi, rsi
jne 0x14001ff81
mov rbx, qword [rbp - 0x69]
xor edx, edx
lea rcx, [rbp - 0x59]
lea r8d, [rdx + 0x58]
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x51]
lea rcx, [rbp - 0x59]
test rdi, rdi
mov dword [rbp - 0x41], 0xe10
mov rdx, rbx
mov dword [rbp - 0x49], 0x100021
cmovne rax, rdi
mov qword [rbp - 0x39], r12
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rbp - 0x51], rax
movzx eax, word [rbp + 0x6f]
mov word [rbp - 0x31], ax
movzx eax, word [rbp + 0x77]
mov word [rbp - 0x2f], ax
movzx eax, word [rbp + 0x7f]
mov word [rbp - 0x2d], ax
call qword [sym.imp.DNSAPI.dll_DnsModifyRecordsInSet_W]
mov ecx, eax
lea rdx, [rbp - 0x79]
call fcn.14000fc78
mov edi, dword [rbp - 0x79]
test eax, eax
jne 0x140020039
mov ecx, edi
call fcn.14001006c
mov ecx, edi
call fcn.140012814
lea rcx, [rbp - 0x69]
call fcn.14001d314
lea rcx, [rbp - 0x71]
call fcn.14001d314
lea rcx, [rbp - 0x61]
call fcn.140013c04
lea rdx, [0x140086200]
lea rcx, [0x140083188]
call fcn.14000bb60
mov eax, edi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14000dc60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140002b1c
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x440
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea rcx, str.Download
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x140002b5c
xor al, al
jmp 0x140002c3d
cmp qword [rdi + 0x18], 0xf
jbe 0x140002b66
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x140002b98
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140002b55
cmp qword [rsi + 0x18], 0xf
jbe 0x140002ba2
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002c29
jmp 0x140002bfe
mov r8d, dword [rsp + 0x470]
test r8d, r8d
je 0x140002c1e
lea r9, [rsp + 0x478]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x470]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002bd6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
mov rbx, qword [rsp + 0x460]
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400040d8
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140004106
xor eax, eax
jmp 0x1400041ee
cmp qword [rcx + 0x68], 0
je 0x140004117
call fcn.1400048d0
jmp 0x1400041ee
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000412e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004130
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004162
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400041e8
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140004199
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400041c3
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fread]
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400041e8
cmp rsi, rbx
ja 0x1400041a0
test rsi, rsi
je 0x1400041e8
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fread]
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140006a48
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

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 r13
push r14
cmp dword [0x140017240], 0
jne 0x140006bf8
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140006c16
mov r10d, 0x20202020
mov r8, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r8 + 0x88]
test ecx, ecx
je 0x140006ac9
lea rdx, [r8 + rcx]
mov ecx, dword [rdx + 0xc]
mov eax, dword [rcx + r8]
or eax, r10d
cmp eax, 0x6c64746e
jne 0x140006ac9
mov eax, dword [rcx + r8 + 4]
or eax, r10d
cmp eax, 0x6c642e6c
je 0x140006ad5
mov r9, qword [r9]
mov rax, qword [r9 + 0x30]
test rax, rax
jne 0x140006a92
test rdx, rdx
je 0x140006c16
mov edi, dword [rdx + 0x1c]
lea r13, [0x140017240]
mov r11d, dword [rdx + 0x20]
add rdi, r8
mov esi, dword [rdx + 0x24]
add r11, r8
mov ebx, dword [rdx + 0x18]
add rsi, r8
xor edx, edx
lea eax, [rbx - 1]
mov r9d, dword [r11 + rax*4]
mov ebx, eax
add r9, r8
mov r14d, eax
mov eax, 0x775a
cmp word [r9], ax
jne 0x140006b68
xor ebp, ebp
mov r10d, 0x75776791
cmp byte [r9], bpl
je 0x140006b41
mov rax, r9
movzx eax, word [rax]
mov ecx, r10d
ror ecx, 8
inc ebp
add ecx, eax
mov eax, ebp
add rax, r9
xor r10d, ecx
cmp byte [rax], 0
jne 0x140006b27
mov ecx, edx
inc edx
add rcx, rcx
mov dword [r13 + rcx*8 + 8], r10d
movzx eax, word [rsi + r14*2]
mov eax, dword [rdi + rax*4]
and qword [r13 + rcx*8 + 0x10], 0
mov dword [r13 + rcx*8 + 0xc], eax
cmp edx, 0x258
je 0x140006b6c
test ebx, ebx
jne 0x140006afd
xor r8d, r8d
mov dword [0x140017240], edx
lea eax, [rdx - 1]
test eax, eax
je 0x140006bf8
mov eax, edx
xor ecx, ecx
sub eax, r8d
cmp eax, 1
je 0x140006bed
lea r11d, [rcx + 1]
mov r10d, ecx
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r13 + r10*8 + 0xc]
mov ebx, dword [r13 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140006bde
mov edx, dword [r13 + r10*8 + 8]
mov eax, dword [r13 + r9*8 + 8]
mov rcx, qword [r13 + r10*8 + 0x10]
mov dword [r13 + r10*8 + 8], eax
mov rax, qword [r13 + r9*8 + 0x10]
mov qword [r13 + r10*8 + 0x10], rax
mov dword [r13 + r10*8 + 0xc], ebx
mov dword [r13 + r9*8 + 8], edx
mov dword [r13 + r9*8 + 0xc], edi
mov qword [r13 + r9*8 + 0x10], rcx
mov edx, dword [0x140017240]
mov eax, edx
mov ecx, r11d
sub eax, r8d
dec eax
cmp r11d, eax
jb 0x140006b88
inc r8d
lea eax, [rdx - 1]
cmp r8d, eax
jb 0x140006b7c
mov eax, 1
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r14
pop r13
ret
xor eax, eax
jmp 0x140006bfd

Function at 0x140006c60
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8395cb5a
call fcn.140006c1c
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x1400089a0
Capabilities:
Parse pe header

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

Function at 0x140008d90
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140009730
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140009730
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140009730
mov ecx, dword [0x1400171f0]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000abc0
call fcn.140009730
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000c270
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000c2ac
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140008848
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000c368
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000c3ce
test ebx, ebx
jne 0x14000c3ce
lea ecx, [rax + 2]
call fcn.140008848
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140008190
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14000c4e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14000c54c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14000c54c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14000c59f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14000c530
mov rcx, qword [0x140017128]
test rcx, rcx
jne 0x14000c582
call fcn.14000d480
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x140017128], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14000c683
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14000c685
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14000c6aa
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14000c54c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000c54c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000c54c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14000c673
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14000c651
jmp 0x14000c54c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14000c54c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140008190
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140008be0
int3

Function at 0x14000cc00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cc62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cc62
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000cc62
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000cc62
cmp dword [rdx + 0x84], 0xe
jbe 0x14000cc62
cmp dword [rdx + 0xf8], 0
je 0x14000cc62
mov ecx, ebx
call fcn.14000cac0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140017158]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000c940
cmp dword [rsp + 0x60], 0
jne 0x14000cca5
mov ecx, ebx
call fcn.14000ca70
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14000ccf0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cd4c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cd4c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cd4c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cd4c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cd4c
cmp dword [rcx + 0xf8], 0
je 0x14000cd4c
mov ecx, ebx
call fcn.14000cac0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140017158]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000c940
cmp dword [rsp + 0x60], 0
jne 0x14000cd8f
mov ecx, ebx
call fcn.14000ca70
int3
add rsp, 0x40
pop rbx
ret