joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401547d7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140300b60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14054a3dc]
call fcn.14015817a
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140300ba4
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x140300c35
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x140300bfa
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140300c04
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140300b99
mov qword [rbp + 0x88], 0xe3
jmp 0x140300c53
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x140300cfc
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140300cb8
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140300cc2
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140300c42
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x140300d5c
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140300d66
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140154859
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x14039d640
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14039d682
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14015496c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x1403f00c0
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.1401553da]
mov rdi, rax
test rax, rax
jne 0x1403f0102
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1403f0149
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1403f01a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x1403f0160
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1403f01e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1404d773f]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1404d7740]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1403f01b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140154f75
Capabilities:
Terminate process

Disassembly:
jmp 0x1403f160c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140155349
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140357cb0
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 0xb], r9b
je 0x140357cf4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x140357ce0
mov byte [r8 + 0xb], r9b
lea rax, [r8 + 0xa]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140357d1b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140357d3a
mov qword [rbp - 0x28], 0xa
movsd xmm0, qword [r8]
movsd qword [rbp - 0x38], xmm0
movzx eax, word [r8 + 8]
mov word [rbp - 0x30], ax
mov byte [rbp - 0x2e], r9b
cmp byte [rdx + 0xb], 0
je 0x140357d63
mov rcx, r9
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7d]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x140357d50
mov byte [rdx + 0xb], 0
lea rax, [rdx + 0xa]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x140357d8a
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140357da7
mov qword [rbp - 0x48], 0xa
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, word [rdx + 8]
mov word [rbp - 0x50], ax
mov byte [rbp - 0x4e], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1401513ed
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140357dfb
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140357df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140357df5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140156e06
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140357e39
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140357e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140357e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140156e06
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14015539e
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140305f60
push rbp
push rsi
push rdi
sub rsp, 0xc50
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x21c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140516ff8]
xor rax, rbp
mov qword [rbp + 0xc28], rax
lea rcx, [0x14054a41d]
call fcn.14015817a
lea rdx, [rbp + 0x758]
lea rcx, [rbp + 0x734]
call fcn.1402e83d0
mov rcx, rax
call fcn.1401572a2
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x7c8]
lea rcx, [rbp + 0x7a4]
call fcn.1402eaa10
mov rcx, rax
call fcn.140152978
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x818]
lea rcx, [rbp + 0x7f4]
call fcn.1402ebec0
mov rcx, rax
call fcn.140152414
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x868]
lea rcx, [rbp + 0x844]
call fcn.1402ecee0
mov rcx, rax
call fcn.1401515d2
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x8b8]
lea rcx, [rbp + 0x894]
call fcn.1402eddc0
mov rcx, rax
call fcn.140152978
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x908]
lea rcx, [rbp + 0x8e4]
call fcn.1402eeb80
mov rcx, rax
call fcn.1401534f4
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x80], 0x238
lea rax, [rbp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call fcn.1401545cf
mov qword [rbp + 0x2d8], rax
mov dword [rbp + 0x940], 0x238
lea rax, [rbp + 0x944]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rax, [rbp + 0x80]
lea rcx, [rbp + 0x940]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x2d8]
call fcn.1401554ed
test eax, eax
je 0x1403061d7
lea rax, [rbp + 8]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x2f8]
add rax, 0x30
mov qword [rbp + 0x338], rax
jmp 0x14030611a
mov rax, qword [rbp + 0x318]
add rax, 8
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x338]
cmp qword [rbp + 0x318], rax
je 0x1403061bc
mov rax, qword [rbp + 0x318]
mov rax, qword [rax]
mov qword [rbp + 0x358], rax
lea rax, [rbp + 0xac]
mov qword [rbp + 0x58], rax
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x358]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1403061b7
mov byte [0x140520678], 1
mov dword [rbp + 0xbb4], 0
lea rdx, [rbp + 0xbb4]
lea rcx, [rbp + 0xb94]
call fcn.1401565e1
mov dword [rbp + 0xbf4], 0
lea rdx, [rbp + 0xbf4]
lea rcx, [rbp + 0xbd4]
call fcn.1401524dc
lea rcx, [rbp + 0xc14]
call fcn.140156da7
mov dword [0], 0xdead
jmp 0x140306108
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x2d8]
call fcn.140157153
test eax, eax
jne 0x1403060db
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140156eb0
mov rcx, qword [rbp + 0xc28]
xor rcx, rbp
call fcn.1401546d3
lea rsp, [rbp + 0xc30]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140155402
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
jmp 0x1403b0bc0
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140516ff8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edx, 1
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov ebp, 2
mov dword [rsp + 0x30], 1
mov ecx, ebp
mov rsi, r9
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1403b0c15
jmp 0x1403b0dc4
mov qword [rsp + 0x80], rbx
mov ecx, 0x7f000001
xor ebx, ebx
mov word [rsp + 0x38], bp
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rsp + 0x30]
mov word [rsp + 0x3a], bx
mov edx, 0xffff
mov dword [rsp + 0x3c], eax
lea r8d, [rbx + 4]
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rdi
mov qword [rsi], 0xffffffffffffffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1403b0d9b
lea r8d, [rbx + 0x10]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1403b0d9b
lea r8, [rsp + 0x34]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1403b0d9b
lea edx, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1403b0d9b
xor r8d, r8d
lea edx, [rbx + 1]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x1403b0d9b
lea r8d, [rbx + 0x10]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1403b0d9b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1403b0d9b
mov r9, rsi
lea r8, [0x1404ce5ec]
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x48]
call fcn.140152ecd
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1403b0d35
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, rbx
jne 0x1403b0d9b
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x54]
xor r9d, r9d
lea r8d, [r9 + 0xc]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, rbx
jne 0x1403b0d9b
mov r8, rbx
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x48]
call fcn.140153aad
test eax, eax
jne 0x1403b0d9b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x1403b0dbc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401546d3
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14015551a
Capabilities:
Resolve dns

Disassembly:
jmp 0x1403b5cb0
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov ebx, r13d
lea r9, [rsp + 0x68]
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1403b5e74
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x1403b5e54
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1403b5d0d
lea ebp, [rax + 0xe]
jmp 0x1403b5d19
cmp eax, 0x17
jne 0x1403b5dc1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1403b5dc1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1403b5dc1
cmp rax, rbp
jb 0x1403b5dc1
mov ecx, Ordinal_50
call qword [fcn.1401553da]
mov rdi, rax
test rax, rax
je 0x1403b5dfc
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov dword [rax + 0x10], ebp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [fcn.1401553da]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1403b5deb
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call fcn.140154732
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1403b5dae
call qword [case.0x14038b489.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1403b5dd0
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1403b5dbe
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1403b5d00
jmp 0x1403b5e02
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [fcn.140153800]
mov rcx, rdi
call qword [fcn.140153800]
jmp 0x1403b5e02
mov rcx, rdi
mov r14d, 8
call qword [fcn.140153800]
jmp 0x1403b5e02
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x1403b5e17
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x1403b5e4f
test rbx, rbx
je 0x1403b5e4a
mov rcx, qword [rbx + 0x20]
call qword [fcn.140153800]
mov rcx, qword [rbx + 0x18]
call qword [fcn.140153800]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [fcn.140153800]
mov rbx, rdi
test rdi, rdi
jne 0x1403b5e21
mov rbx, r13
jmp 0x1403b5e63
test rbx, rbx
jne 0x1403b5e63
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r14d
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x14015552e
Capabilities:
Check for process debug object

Disassembly:
jmp 0x1402f3fe0
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140516ff8]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x14054a420]
call fcn.14015817a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 8]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rax
call fcn.140156cd0
cmp qword [rbp + 8], 0
je 0x1402f4056
mov dword [rbp + 0xd4], 1
jmp 0x1402f4060
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140156eb0
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1401546d3
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140155858
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401a67a0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14015817a
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1401558c1
Capabilities:
Get geographical location

Disassembly:
jmp 0x1403f3e0c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1403f3e90
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1403f3e90
dec r8
sub rdx, 1
jne 0x1403f3e76
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140155c04
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401a6730
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14015817a
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140155c2c
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401a6cf0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14015817a
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14040ffa0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401a6e35
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1401a6d89
mov dword [rbp + 0x160], 1
jmp 0x1401a6d93
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401a6e30
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401a6e0a
cmp qword [rbp + 0x198], 2
jb 0x1401a6e0a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401a6e0a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401a6e0a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401a6d54
jmp 0x1401a6ecf
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401a6ecf
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401a6ea6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401a6ea6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401a6ea6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401a6e35
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140155d80
Capabilities:
Terminate process

Disassembly:
jmp 0x1403f218c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.140158620
test al, al
je 0x1403f2088
xor dil, dil
mov byte [rsp + 0x20], dil
call fcn.1401570ea
mov bl, al
mov ecx, dword [0x140521990]
cmp ecx, 1
je 0x1403f2093
test ecx, ecx
jne 0x1403f1fc4
mov dword [0x140521990], 1
lea rdx, [0x14040fa38]
lea rcx, [0x14040f708]
call fcn.1401545a7
test eax, eax
je 0x1403f1fa5
mov eax, 0xff
jmp 0x1403f207d
lea rdx, [0x14040f5f8]
lea rcx, [section..rdata]
call fcn.140157090
mov dword [0x140521990], 2
jmp 0x1403f1fcc
mov dil, 1
mov byte [rsp + 0x20], dil
mov cl, bl
call fcn.140156e33
call fcn.1401561db
mov rbx, rax
cmp qword [rax], 0
je 0x1403f1fff
mov rcx, rax
call fcn.140153bf2
test al, al
je 0x1403f1fff
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14054d020]
call fcn.1401566f4
mov rbx, rax
cmp qword [rax], 0
je 0x1403f2021
mov rcx, rax
call fcn.140153bf2
test al, al
je 0x1403f2021
mov rcx, qword [rbx]
call fcn.140157e1e
call fcn.14015891d
movzx ebx, ax
call fcn.140153fd5
mov r9d, ebx
mov r8, rax
xor edx, edx
lea rcx, [0x140000000]
call fcn.140156249
mov ebx, eax
call fcn.140155ed9
test al, al
je 0x1403f209d
test dil, dil
jne 0x1403f2057
call fcn.140157f4f
xor edx, edx
mov cl, 1
call fcn.14015399a
mov eax, ebx
jmp 0x1403f207d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140156f3c
nop
mov ecx, 7
call fcn.140156f3c
mov ecx, ebx
call fcn.1401517f3
nop
mov ecx, ebx
call fcn.140155295
nop
int3
sub rsp, 0x28
call fcn.140156019
add rsp, 0x28
jmp 0x1403f1f3c

Function at 0x140155ed9
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1403b66d0
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
cmovbe rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret