joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072220
Capabilities:
Set console window title
Terminate process

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1403a7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.140071fe0
lea rdx, str.loader_ow2
lea rcx, [rsp + 0x20]
call fcn.1400725c0
nop
lea rcx, [rsp + 0x20]
call fcn.1400724c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str._n_nConnecting_to_server..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140073370
lea rdx, str.Loading_functions.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140073370
call fcn.140071fe0
mov ecx, 0x5f5e100
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400764c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007650e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007650e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007650e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007650e
cmp dword [rcx + 0x84], 0xe
jbe 0x14007650e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140076510
xor al, al
add rsp, 0x28
ret

Function at 0x14069ac00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x69ac70
movabs r10, 0x69ac74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x14069ac66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x14069ac50
lea rax, [r9 + r11]
jmp rax
Function at 0x1400289e4
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.14001c2f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c2f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028b34
cmp rax, 0xffffffffffffffff
je 0x140028b34
xor edi, edi
test rbp, rbp
jle 0x140028adf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001ec08
mov rbx, rax
test rax, rax
jne 0x140028a6c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028ad5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c58
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.14001cfd0
cmp eax, 0xffffffff
je 0x140028ab5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a7c
mov edx, r15d
mov ecx, r14d
call fcn.140019c58
jmp 0x140028ad5
cmp byte [rsi + 0x38], dil
je 0x140028acc
cmp dword [rsi + 0x34], 5
jne 0x140028acc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028ad5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a9b8
jmp 0x140028b48
jns 0x140028b48
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c2f4
cmp rax, 0xffffffffffffffff
jne 0x140028b00
cmp byte [rsi + 0x30], dil
je 0x140028b48
mov edi, dword [rsi + 0x2c]
jmp 0x140028b48
mov ecx, r14d
call fcn.14001878c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028b48
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 0x140028b48
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028b41
mov eax, dword [rsi + 0x2c]
jmp 0x140028b46
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c2f4
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 0x140029c40
Capabilities:
Parse pe header

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

Function at 0x14354d000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14354d00a
jmp 0x14354f00f
jmp fcn.14322d058
Function at 0x140005530
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 1
mov ecx, 0xff
cpuid
shr edx, 0x1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], ebx
test dl, 1
jne 0x14000557a
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400fdb00
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x50]
setg al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400fdb00
add rsp, 0x70
pop rbx
ret

Function at 0x1400083f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
mov qword [rsp + 0x30], 0
mov r8d, 0x104
mov qword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000846a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000846a
xor al, al
jmp 0x14000846c
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400fdb00
add rsp, 0x160
pop rbx
ret

Function at 0x140008570
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1250
call fcn.1400fe580
sub rsp, rax
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rbp, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000862b
mov esi, dword [rsp + 0x20]
xor ebx, ebx
shr esi, 2
test esi, esi
je 0x14000862b
nop dword [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140008625
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14000861c
mov rdx, rbp
lea rcx, [rsp + 0x1030]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140008656
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x1400085d0
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400fdb00
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000862d
Function at 0x14001df20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x38]
mov dword [rsp + 0x30], r14d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbx]
mov esi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14001e047
mov rbp, qword [rbx + 8]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rdx, rbp
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e047
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r9d, r14d
cmp dword [rbx], r14d
jbe 0x14001e043
mov r8d, dword [rbx + 0x10]
mov edx, r14d
test r8d, r8d
je 0x14001e03b
mov eax, r9d
lea rcx, [rax + rax*8]
lea r10, [rcx*4]
nop
mov eax, edx
lea rcx, [rax + rax*4]
mov eax, r8d
lea rcx, [r10 + rcx*4]
cmp byte [rcx + rbx + 0x14], 3
jne 0x14001e032
test rdi, rdi
je 0x14001e030
mov rax, qword [rcx + rbx + 0x18]
mov qword [rdi + 8], rax
mov eax, dword [rcx + rbx + 0x20]
mov qword [rdi], rax
add rdi, 0x10
mov eax, dword [rbx + 0x10]
inc esi
inc edx
mov r8d, eax
cmp edx, eax
jb 0x14001e000
inc r9d
cmp r9d, dword [rbx]
jb 0x14001dfe4
mov eax, esi
jmp 0x14001e049
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fdb00
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ea8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400ea924
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400ea910
ret

Function at 0x1400eab30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400eab64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400eab50
ret

Function at 0x1400eb940
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov ecx, 0xe0
call fcn.1400fdb9c
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], 0xf
mov byte [rax + 0x20], sil
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rsi
mov qword [rax + 0x58], 0xf
mov byte [rax + 0x40], sil
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rsi
mov qword [rax + 0x78], 0xf
mov byte [rax + 0x60], sil
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rsi
mov qword [rax + 0x98], 0xf
mov byte [rax + 0x80], sil
movups xmmword [rax + 0xa0], xmm0
mov qword [rax + 0xb0], rsi
mov qword [rax + 0xb8], 0xf
mov byte [rax + 0xa0], sil
movups xmmword [rax + 0xc0], xmm0
mov qword [rax + 0xd0], rsi
mov qword [rax + 0xd8], 0xf
mov byte [rax + 0xc0], sil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f89d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x1400f8ab3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400f8ab3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400f8ad1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400f8aa3
cmp word [rcx], 0x5c
jne 0x1400f8a9c
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400f8a9c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400f8a87
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1400f8a99
test r8b, 0x10
jne 0x1400f8a9c
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x1400f8a9c
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400efba0
test edi, edi
jne 0x1400f8a00
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400efb90
int3

Function at 0x1400f9bb0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400f9c75
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400f9c75
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400f9c8e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400f9c65
cmp byte [rcx], 0x5c
jne 0x1400f9c5e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1400f9c5e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400f9c4c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400f9c5b
test r8b, 0x10
jne 0x1400f9c5e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1400f9c5e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400f0870
test edi, edi
jne 0x1400f9bd0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400efb90
int3

Function at 0x1400fe8fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fe946
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fe946
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fe946
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fe946
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fe946
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fe948
xor al, al
add rsp, 0x28
ret
Function at 0x180cbd447
Capabilities:
Encode data using base64

Disassembly:
push 0x7c83b7ae
lea rsp, [rsp + 0x10]

Function at 0x180cce35f
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x38]
jmp fcn.180cd5e7d

Function at 0x180cce975
Capabilities:
Encode data using base64

Disassembly:
mov word [rsi], r10w
push 0x3b3ba71c
lea rsp, [rsp + 0x18]
jmp fcn.180cd5e7d

Function at 0x180cd1883
Capabilities:
Encode data using base64

Disassembly:
mov qword [r10], rcx
mov qword [rsp + 0x18], 0x171ae789
lea rsp, [rsp + 0x40]
ja fcn.180cf2982

Function at 0x180cd6304
Capabilities:
Encode data using base64

Disassembly:
ror word [rsp + 0x1d], 0x43
jae 0x180d07c38
jmp 0x180cf8852
lea rsp, [rsp + 0x18]
jmp fcn.180cd5e7d
neg al
xor bpl, al
jmp fcn.180ce5704

Function at 0x180cd8195
Capabilities:
Encode data using base64

Disassembly:
mov dword [rsi], r9d
lea rsp, [rsp + 0x38]
jmp fcn.180cd5e7d
push 0xffffffffef9faf3a
ror r9d, 3
push 0xffffffffcc068b0c
shr qword [rsp + 2], 0x33
jne 0x180ceb6f0
bswap r9d
mov qword [rsp + 0x30], r8
rol qword [rsp + 8], 0xb8
mov r8d, dword [rsp + 6]
xor dword [rsp + 0x30], r9d
shr r8d, 0xdd
rol r8d, 0x43
mov r8, qword [rsp + r8 + 0x10]
ror byte [rsp + 0xe], 0xa6
mov qword [rsp + 0x10], 0xffffffff86b83506
sbb rsi, 3
jmp 0x180cca19d

Function at 0x180cdd330
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 8]
jne 0x180d0364c
mov r8d, 0x272a6430
mov r8, rax
push 0xffffffff8ea4621b
lea rsp, [rsp + 8]
jmp 0x180d09ac4
cmp ebx, 1
lea rsp, [rsp + 0x10]
jne 0x180d00103
mov ecx, 0xcf97369a
mov rcx, rax
jmp 0x180d09ac4
push 0x5f36912c
inc byte [rsp + 7]
cmp ebx, 3
jmp 0x180cc1e72
cmp ebx, 2
push 0xffffffffdebaaf8d
not qword [rsp]
not word [rsp]
lea rsp, [rsp + 8]
jne 0x180ce51bf
push 0xffffffffe1b6619a
push 0xffffffff93b6c091
mov edx, dword [rsp + 4]
mov rdx, rax
call fcn.180cc7ca2
call fcn.180cf954c

Function at 0x180cde6e7
Capabilities:
Encode data using base64

Disassembly:
dec dword [rsp + 0xb]
xor r8b, al
inc qword [rsp + 4]
jg 0x180cd04d1
lea rax, [rsp + rax + 0x30]
mov word [rax], r9w
jo 0x180d01b9b
lea rsp, [rsp + 0x30]
jne fcn.180d07b39
push 0x5f33019d
inc al
xor al, 0xbc
push 0x50b3a484
inc dword [rsp + 8]
rol al, 1
push 0xffffffffb0a676ac
sub al, 0x17
jmp 0x180ccbe19

Function at 0x180ce18a8
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x40]
jmp fcn.180cd5e7d

Function at 0x180ce190b
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x20]
jmp fcn.180cd5e7d

Function at 0x180ce3d35
Capabilities:
Encode data using base64

Disassembly:
mov dword [rsi], r10d
lea rsp, [rsp + 0x38]
jmp fcn.180cd5e7d

Function at 0x180ce9261
Capabilities:
Encode data using base64

Disassembly:
je 0x180cd5ea9
jmp 0x180cc1197
mov qword [rsp], 0xffffffffb21424b6
inc word [rsp]
lea rsp, [rsp + 8]
add rsp, rcx
test ebx, ebx
jmp 0x180cdac10

Function at 0x180cea49f
Capabilities:
Encode data using base64

Disassembly:
sar byte [rsp + 0x34], 0x44
sbb rsi, 3
not qword [rsp + 0x47]
mov dword [rsi], ecx
jmp 0x180cef325
jmp 0x180d0565c
add cl, 0x20
ror cl, 1
push 0x4c976933
mov qword [rsp + 0x48], 0x2fb8ba9e
dec byte [rsp + 0x2b]
xor r8b, cl
jmp 0x180cd5c95
Function at 0x180cefa50
Capabilities:
Encode data using base64

Disassembly:
neg eax
add eax, 0xf5120b9e
neg qword [rsp + 9]
shl qword [rsp + 0x15], 0xfe
dec dword [rsp + 0x19]
bswap eax
sar dword [rsp + 0x1c], 0xcd
push 0xffffffff83069289
jp 0x180cfbaf2
mov qword [rsp + 0x28], rbx
mov ebx, 0x400055b8
dec bx
xor dword [rsp + rbx - 0x4000558f], eax
btc bx, bx
mov rbx, qword [rsp + rbx - 0x4000550f]
inc word [rsp + 6]
inc qword [rsp + 0x16]
push 0xffffffffd1acb684
sbb r10, 7
mov qword [r10], rax
push 0x2d88cd13
lea rsp, [rsp + 0x40]
jmp 0x180cee9ad

Function at 0x180cf2d28
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 8]
jne 0x180ce4b79
mov ecx, 0xf9af2b8e
call fcn.180d072d8
mov ecx, 0xfcbaa13e
mov cx, word [rsi + riz]
mov edx, 0xeea8ee99
sal dx, 0x67
mov dx, word [rsi + riz + 2]
jne 0x180ccf0c8

Function at 0x180cf596b
Capabilities:
Encode data using base64

Disassembly:
mov word [rsi], di
mov qword [rsp], 0x20895e80
jmp 0x180d05818
push 0xffffffff9084161a
lea rsp, [rsp + 0x10]
jmp fcn.180cd5e7d

Function at 0x180d09591
Capabilities:
Encode data using base64

Disassembly:
dec si
rol word [rsp + 0x1e], 0x41
push 0xffffffffa3b94da5
neg si
dec si
jmp 0x180d09545
Function at 0x140001028
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x140084740]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140001082
mov r8, qword [0x1400820ca]
lea edx, [rax + 8]
mov rcx, qword [0x140084708]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x140084740]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.1400a68f0
mov rdx, rbx
lea rcx, [0x1400010a8]
call fcn.140002ebc
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14000108c
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140084740], eax
add rsp, 0x28
jmp fcn.140001028

Function at 0x1400016a0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1c0
mov ebx, reloc.WS2_32.dll_recv
lea r8, [0x1400015bc]
mov edx, ebx
lea ecx, [rbx + 0x28]
call fcn.1400040e4
xor r8d, r8d
mov qword [0x140084778], rax
xor edx, edx
mov ecx, ebx
call fcn.140001cd8
xor ebx, ebx
mov qword [0x140084788], rax
cmp word [0x140084770], bx
jne 0x1400017c3
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea edi, [rbx + 1]
test eax, eax
jne 0x140001708
movzx eax, di
jmp 0x14000170a
mov eax, ebx
lea rcx, str.ws2_32.dll
mov word [0x140084770], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140084780], rax
test rax, rax
je 0x1400017c3
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140084780]
lea rdx, str.freeaddrinfo
mov qword [0x140084750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140084780]
lea rdx, str.getnameinfo
mov qword [0x140084758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140084780]
lea rdx, str.WSAStringToAddressA
mov qword [0x140084760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140084750], rbx
mov qword [0x140084768], rax
je 0x1400017c3
cmp qword [0x140084758], rbx
je 0x1400017c3
cmp qword [0x140084760], rbx
je 0x1400017c3
mov ecx, dword [0x140084774]
test rax, rax
cmovne ecx, edi
mov dword [0x140084774], ecx
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rdi
ret
Function at 0x140002ebc
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x140084850], 0
lea rbx, [0x140084860]
mov r14, rdx
mov r15, rcx
jne 0x140002f09
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x140084854], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x140084850], 1
mov ecx, dword [0x140084854]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140002fde
mov rcx, qword [0x140084708]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140003009
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140084858]
test rax, rax
je 0x140002f59
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x140084858], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
lea r9, [rbp + 0x20]
and dword [rsp + 0x28], 0
mov rcx, rax
mov r8, rdi
mov dword [rsp + 0x20], 0x100000
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x1400030d8]
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x140084854]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x140084708]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140003009
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret