joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180019b10
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x20c]
mov rbx, rcx
test eax, eax
jne 0x180019c39
xor esi, esi
nop word [rax + rax]
mov r8d, dword [rbx + 0x44]
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x180019bef
mov rcx, qword [rbx + 0x80]
mov edx, eax
mov dword [rbx + 0x210], esi
call fcn.180014cb0
test eax, eax
jne 0x180019c4e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x80]
mov r8d, edi
mov rcx, rbx
call qword [rax + 0x128]
cmp eax, 2
jne 0x180019c2b
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.180017850
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 4
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xffffffff
jne 0x180019c11
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x180019c39
cmp eax, 0x2744
je 0x180019c2b
cmp eax, 0x2746
jne 0x180019bc5
jmp 0x180019c2b
test eax, eax
jne 0x180019c2b
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__recv_0_bytes__detect_package__n
mov dword [rbx + 0x210], esi
call fcn.180017850
mov eax, dword [rbx + 0x20c]
test eax, eax
je 0x180019b40
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x24], esi
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x1c], 5
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18001a2f0
Capabilities:
Send data
Send data on socket

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rsi, rcx
call fcn.180019c80
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18001a495
nop dword [rax + rax]
mov r8d, dword [rdi + 0x30]
sub r8d, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x18001a3b7
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rsi + 0x208], ebp
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9, qword [rsi]
mov r8d, ebp
mov rdx, qword [rdi + 0x28]
mov rcx, rsi
call qword [r9 + 0x118]
cmp eax, 2
jne 0x18001a3b0
mov rdx, qword [rsi + 0x38]
lea rcx, str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.180017850
mov rbx, qword [rsp + 0x28]
jmp 0x18001a3bc
cmp eax, 0xffffffff
je 0x18001a3fe
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.180013ed0
test eax, eax
jne 0x18001a3d4
mov rcx, rdi
call fcn.180017830
mov rcx, rsi
call fcn.180019c80
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x18001a340
jmp 0x18001a495
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x18001a461
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x1d8]
test rax, rax
je 0x18001a435
mov qword [rax + 0x10], rdi
mov rax, qword [rsi + 0x1d8]
mov qword [rdi + 8], rax
jmp 0x18001a444
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rax
mov qword [rsi + 0x1e0], rdi
mov qword [rsi + 0x1d8], rdi
inc dword [rsi + 0x1d0]
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
jmp 0x18001a4b2
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], 1
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.180013ed0
test eax, eax
jne 0x18001a491
mov rcx, rdi
call fcn.180017830
xor eax, eax
jmp 0x18001a4b7
test rdi, rdi
je 0x18001a4b2
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.180013ed0
test eax, eax
jne 0x18001a4b2
mov rcx, rdi
call fcn.180017830
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x18001ae80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x60]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x18001aa30]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.18001d040
test rax, rax
mov qword [rbx + 0x58], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18001eeff
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180042240]
jne 0x18001c39a
rol rcx, 0x10
test cx, 0xffff
jne 0x18001c396
repz ret
ror rcx, 0x10
jmp 0x18001ee58
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180048380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180048478]
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 0x18001eedd
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, [0x180048380]
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 0x18001eeff
mov rax, qword [rsp + 0x88]
mov qword [0x180048478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180048418], rax
mov rax, qword [0x180048478]
mov qword [0x1800482f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180048400], rax
mov dword [0x1800482e0], 0xc0000409
mov dword [0x1800482e4], 1
mov rax, qword [0x180042240]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180042248]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180048378], eax
mov ecx, 1
call fcn.180027414
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180036760]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180048378], 0
jne 0x18001ef86
mov ecx, 1
call fcn.180027414
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 0x180028e50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x180042240]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180021110
xor ebx, ebx
cmp qword [0x180049328], rbx
mov rdi, rax
jne 0x180028f63
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18002903a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002903a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180049328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180049330], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180049338], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180049348], rax
test rax, rax
je 0x180028f5a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180049340], rax
jmp 0x180028f6a
mov rax, qword [0x180049340]
jmp 0x180028f71
mov rax, qword [0x180049340]
mov r11, qword [0x180049348]
cmp rax, rdi
je 0x180028fd8
cmp r11, rdi
je 0x180028fd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180049348]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180028fd8
test rax, rax
je 0x180028fd8
call rsi
test rax, rax
je 0x180028fd2
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180028fd2
test byte [rsp + 0x40], 1
jne 0x180028fd8
bts ebp, 0x15
jmp 0x180029018
mov rcx, qword [0x180049330]
cmp rcx, rdi
je 0x180029018
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180029018
call rax
mov rbx, rax
test rax, rax
je 0x180029018
mov rcx, qword [0x180049338]
cmp rcx, rdi
je 0x180029018
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180029018
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180049328]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002903a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18002903c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18001c380
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140047474
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400b9b40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14011d0fb]
call fcn.140049e59
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400b9b97
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400b9ca3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1400b9c3c
cmp qword [rbp + 0x28], 0
jle 0x1400b9c3c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400b9bdc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140049b98
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1400b9c92
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1400b9c92
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140047e42
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400c95f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4f8]
mov rax, qword [0x14010b248]
xor rax, rbp
mov qword [rbp + 0x498], rax
lea rcx, [0x14011d55c]
call fcn.140049e59
lea rcx, [rbp + 8]
call fcn.140049427
nop
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x4c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jle 0x1400c96c0
movsxd rax, dword [rbp + 0x44]
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140048450
xor edx, edx
lea rcx, [rbp + 8]
call fcn.14004757d
mov ecx, dword [rbp + 0x44]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x4c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov ecx, 2
call fcn.14004868f
mov qword [rbp + 0x68], rax
lea rax, [rbp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x90], 0x238
mov dword [rbp + 0x2e4], 0
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call fcn.140048c98
test eax, eax
je 0x1400c974a
lea rcx, [rbp + 8]
call fcn.140047fe6
mov rdx, rax
lea rcx, [rbp + 0xbc]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1400c9736
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x2e4], eax
jmp 0x1400c974a
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call fcn.1400497ba
test eax, eax
jne 0x1400c970b
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x2e4]
mov dword [rbp + 0x484], eax
lea rcx, [rbp + 8]
call fcn.14004978d
mov eax, dword [rbp + 0x484]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400f5b00]
call fcn.14004966b
mov eax, edi
mov rcx, qword [rbp + 0x498]
xor rcx, rbp
call fcn.140048702
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret

Function at 0x140048a81
Capabilities:
Terminate process

Disassembly:
jmp 0x1400d2b30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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, 0x28
ret
Function at 0x140048d9c
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400c9030
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc78
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x222
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc98]
mov rax, qword [0x14010b248]
xor rax, rbp
mov qword [rbp + 0xc30], rax
lea rcx, [0x14011d55c]
call fcn.140049e59
mov rdx, qword [rbp + 0xc68]
mov rcx, qword [rbp + 0xc60]
call fcn.140047e42
mov rcx, qword [rbp + 0xc60]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc60]
cmp dword [rax], 0
je 0x1400c91c2
mov rax, qword [rbp + 0xc60]
mov ecx, dword [rax]
call fcn.140047906
mov rcx, qword [rbp + 0xc60]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0xc60]
mov rcx, qword [rax + 8]
call fcn.140047d0c
movzx eax, al
test eax, eax
jne 0x1400c9120
lea rdx, str._cheat__Handle_Hijack_failed__falling_back_to_OpenProcess_method.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047537
mov qword [rbp + 0xc28], rax
lea rdx, [0x1400471d1]
mov rcx, qword [rbp + 0xc28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rbp + 0xc68]
mov rcx, qword [rbp + 0xc60]
call fcn.14004974c
jmp 0x1400c91c4
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x854]
mov r8d, 0x7f8
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0xc60]
mov rcx, qword [rax + 8]
call fcn.140049eb8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xc60]
mov rax, qword [rbp + rax + 0x10]
mov qword [rcx + 0x18], rax
mov eax, 8
imul rax, rax, 0
mov r9d, 0x18
lea r8, [rbp + 0x828]
mov rdx, qword [rbp + rax + 0x10]
mov rax, qword [rbp + 0xc60]
mov rcx, qword [rax + 8]
call fcn.140047d2a
mov eax, dword [rbp + 0x830]
mov rcx, qword [rbp + 0xc60]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0xc60]
mov edx, dword [rax]
mov rcx, qword [rbp + 0xc60]
call fcn.140048086
mov rcx, qword [rbp + 0xc60]
mov qword [rcx + 0x10], rax
mov al, 1
jmp 0x1400c91c4
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400f56a0]
call fcn.14004966b
mov rax, rdi
mov rcx, qword [rbp + 0xc30]
xor rcx, rbp
call fcn.140048702
lea rsp, [rbp + 0xc48]
pop rdi
pop rbp
ret
Function at 0x140048e50
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400cb560
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400cb59d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140049e3b
add rsp, 0x58
ret
Function at 0x14004903f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d1d80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400d1da0
xor al, al
jmp 0x1400d1e21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400d1db3
xor al, al
jmp 0x1400d1e21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400d1ddd
xor al, al
jmp 0x1400d1e21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400d1df1
xor al, al
jmp 0x1400d1e21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400d1e03
xor al, al
jmp 0x1400d1e21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400d1e1f
xor al, al
jmp 0x1400d1e21
mov al, 1
add rsp, 0x38
ret
Function at 0x14004974c
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400c8e60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc68
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x21e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc88]
mov rax, qword [0x14010b248]
xor rax, rbp
mov qword [rbp + 0xc28], rax
lea rcx, [0x14011d55c]
call fcn.140049e59
mov rdx, qword [rbp + 0xc58]
mov rcx, qword [rbp + 0xc50]
call fcn.140047e42
mov rcx, qword [rbp + 0xc50]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc50]
cmp dword [rax], 0
je 0x1400c8f9e
mov rax, qword [rbp + 0xc50]
mov r8d, dword [rax]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbp + 0xc50]
mov qword [rcx + 8], rax
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x854]
mov r8d, 0x7f8
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0xc50]
mov rcx, qword [rax + 8]
call fcn.140049eb8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xc50]
mov rax, qword [rbp + rax + 0x10]
mov qword [rcx + 0x18], rax
mov eax, 8
imul rax, rax, 0
mov r9d, 0x18
lea r8, [rbp + 0x828]
mov rdx, qword [rbp + rax + 0x10]
mov rax, qword [rbp + 0xc50]
mov rcx, qword [rax + 8]
call fcn.140047d2a
mov eax, dword [rbp + 0x830]
mov rcx, qword [rbp + 0xc50]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0xc50]
mov edx, dword [rax]
mov rcx, qword [rbp + 0xc50]
call fcn.140048086
mov rcx, qword [rbp + 0xc50]
mov qword [rcx + 0x10], rax
mov al, 1
jmp 0x1400c8fa0
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400f5580]
call fcn.14004966b
mov rax, rdi
mov rcx, qword [rbp + 0xc28]
xor rcx, rbp
call fcn.140048702
lea rsp, [rbp + 0xc38]
pop rdi
pop rbp
ret
Function at 0x140049dbe
Capabilities:
Write file on windows

Disassembly:
jmp 0x140090960
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14010b248]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x14011d0fb]
call fcn.140049e59
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x1400909c6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400909cd
mov al, 1
jmp 0x140090b3f
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x198], rax
call fcn.140047cf8
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1d0]
call qword [rbp + 0x198]
mov dword [rbp + 0x164], eax
call fcn.140047cf8
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.1400496e3
movzx eax, al
test eax, eax
je 0x140090a32
xor al, al
jmp 0x140090b3f
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x198], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x1a0], eax
cmp dword [rbp + 0x1a0], 0
je 0x140090aa5
cmp dword [rbp + 0x1a0], 1
je 0x140090ab0
cmp dword [rbp + 0x1a0], 3
je 0x140090b2e
jmp 0x140090b3d
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140090b00
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140090b00
xor al, al
jmp 0x140090b3f
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140090b1b
mov dword [rbp + 0x194], 1
jmp 0x140090b25
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140090b3f
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140090b3f
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400e5b70]
call fcn.14004966b
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.140048702
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret