joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d80a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400d8135
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400d8196
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400b29d0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140102190
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400d8251
sub ecx, 1
je 0x1400d82c4
sub ecx, 1
je 0x1400d8200
cmp ecx, 1
je 0x1400d81e3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140109ba4]
call fcn.1400b29d0
jmp 0x1400d82c4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400d7dd0
test eax, eax
je 0x1400d82c4
jmp 0x1400d816a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400d82c4
sub rax, rsi
cmp rax, rbp
jae 0x1400d82c4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400b2b50
jmp 0x1400d82c4
cmp r8d, 4
jle 0x1400d82c4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400d82c4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400b28f0
mov esi, eax
test eax, eax
je 0x1400d82a3
mov edx, 5
mov rcx, rbx
call fcn.1400d8d90
mov eax, esi
jmp 0x1400d816a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400c11c0
mov rcx, r14
call fcn.1400c14a0
test eax, eax
je 0x1400d8168
mov edx, 5
mov rcx, rbx
call fcn.1400d8d90
mov eax, Ordinal_46
jmp 0x1400d816a
Function at 0x1400eb060
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
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 [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400eb0a2
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 0x1400eb0e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
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 0x1400eb142
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.WS2_32.dll_htonl]
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.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400eb100
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400eb183
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140143782]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140143783]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400eb150
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 0x1400ed890
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0xa8], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1400ed937
cmp qword [rsp + 0xa0], 0xffffffffffffffff
jne 0x1400ed98e
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400edaa6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400eda2d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400edaa6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140102190
add rsp, 0x2d8
ret
Function at 0x1400fd8d0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov qword [rsp + 0x50], rax
lea rdx, str.Cheat_Engine_7.5
lea rcx, [rsp + 0xb0]
call fcn.1400ec740
nop
lea rdx, [0x1401438bc]
lea rcx, [rsp + 0xd0]
call fcn.1400ec740
nop
lea rdx, [0x1401438c8]
lea rcx, [rsp + 0xf0]
call fcn.1400ec740
nop
lea rdx, str.x64dbg
lea rcx, [rsp + 0x110]
call fcn.1400ec740
nop
lea rdx, str.FileGrab
lea rcx, [rsp + 0x130]
call fcn.1400ec740
nop
lea rdx, str.Nigger
lea rcx, [rsp + 0x150]
call fcn.1400ec740
nop
lea rdx, str.Beammer
lea rcx, [rsp + 0x170]
call fcn.1400ec740
nop
lea rdx, str.Process_Hacker
lea rcx, [rsp + 0x190]
call fcn.1400ec740
nop
lea rdx, str.dexzunpacker
lea rcx, [rsp + 0x1b0]
call fcn.1400ec740
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call fcn.1400ec900
nop
lea r9, [fcn.140079560]
mov r8d, 9
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0xb0]
call fcn.140102e44
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x1400fda8d
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x1400fdb51
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 7
jbe 0x1400fdad1
mov dword [rsp + 0x24], 1
jmp 0x1400fdad9
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400fdb02
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400f6450
movzx eax, al
test eax, eax
je 0x1400fdb4c
mov rcx, qword [rsp + 0x48]
call fcn.1400ff420
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1400fda7f
lea rcx, [rsp + 0x1e0]
call fcn.1400fe1a0
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140102190
add rsp, 0x208
pop rdi
pop rsi
ret
Function at 0x1400ff870
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6c8
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400ff8ae
xor al, al
jmp 0x1400ff990
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400ff8db
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400ff990
mov edx, dword [rsp + 0x38]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400ff96c
mov dword [rsp + 0x270], 0x438
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400ff961
mov rdx, qword [rsp + 0x6d0]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x1400ff94b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400ff990
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400ff917
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400ff8db
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.140102190
add rsp, 0x6c8
ret

Function at 0x1400fff20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, Ordinal_50
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400fff67
xor al, al
jmp 0x140100009
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1400fff91
xor al, al
jmp 0x140100009
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x140100001
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x140100001
mov al, 1
jmp 0x140100009
jmp 0x140100007
xor al, al
add rsp, 0x78
ret
Function at 0x140100310
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140189f48]
mov qword [rsp + 0x28], rax
jmp 0x140100330
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14010035f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x14010035d
call sub.KERNEL32.dll_GetLastError
jmp 0x140100361
jmp 0x140100322
xor eax, eax
add rsp, 0x38
ret
Function at 0x1401003a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140189f60], eax
je 0x1401003cd
mov eax, 0x10dd
jmp 0x1401005e6
cmp dword [0x140189f64], 0
je 0x1401003e1
mov eax, dword [0x140189f64]
jmp 0x1401005e6
cmp qword [rsp + 0x78], 0
jne 0x1401003f3
mov eax, 0x57
jmp 0x1401005e6
cmp qword [rsp + 0x70], 0
jne 0x140100405
mov eax, 6
jmp 0x1401005e6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x140100437
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x140189f64], eax
mov rax, qword [rsp + 0x70]
mov qword [0x140189f68], rax
mov eax, dword [rsp + 0x20]
jmp 0x1401005e6
mov ecx, Ordinal_50
call fcn.14010262c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401004a9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x140189f64], eax
cmp qword [rsp + 0x30], 0
je 0x140100494
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x50]
call fcn.140102074
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x140189f68], rax
mov eax, dword [rsp + 0x20]
jmp 0x1401005e6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140100370
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140100370
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x140100506
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x140100523
mov dword [rsp + 0x20], 9
cmp dword [0x140189f58], 0
je 0x14010051e
jmp 0x14010046a
jmp 0x140100460
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x140100550
mov dword [rsp + 0x20], 9
cmp dword [0x140189f58], 0
je 0x14010054b
jmp 0x14010046a
jmp 0x140100460
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140100587
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140100460
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140189f78]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x140189f78], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1401005f0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140189f60], eax
je 0x14010060b
mov eax, 0x10dd
jmp 0x140100730
mov rax, qword [0x140189f78]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1401006b5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140100680
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140100680
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1400ffd20
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x38]
call fcn.140102074
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140100617
mov qword [0x140189f78], 0
call fcn.1401000d0
mov rax, qword [0x140189f70]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140100719
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x48]
call fcn.140102074
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1401006d1
mov qword [0x140189f70], 0
mov dword [0x140189f60], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140100c60
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x140189f64], 0
je 0x140100c7d
mov eax, dword [0x140189f64]
jmp 0x140100d43
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x140100c90
xor eax, eax
jmp 0x140100d43
mov ecx, reloc.WS2_32.dll_recv
call fcn.14010262c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140100cfe
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x140100ce3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.140102074
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x140189f64], eax
mov qword [0x140189f68], 0
mov eax, dword [rsp + 0x20]
jmp 0x140100d43
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140100d18
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140100cb9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x140189f70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x140189f70], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1401030fc
Capabilities:
Parse pe header

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

Function at 0x140103354
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14010338e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140103393
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401033dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401033dc
dec r8
sub rdx, 1
jne 0x1401033c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140002d50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rsi], rcx
sete bl
jne 0x140002e19
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a4d90
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [fcn.140094280]
cmp rax, r15
jne 0x140002eaa
mov qword [rsp + 0x28], 0
mov rcx, rdi
call r12
mov rax, qword [rsp + 0x28]
cmp rax, r14
jge 0x140002ed9
imul rax, rax, 0xf4240
cqo
idiv qword [0x140151bd8]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r13
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x140002eca
xor ecx, ecx
call rbp
mov rax, qword [rsi]
cmp rax, 1
je 0x140002da7
jmp 0x140002d87
mov rax, qword [rsi]
cmp rax, 1
jne 0x140002d87
movabs r14, 0x8637bd05af7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
mov rax, qword [fcn.140094280]
lea r15, [0x140094330]
cmp rax, r15
jne 0x140002ebd
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r14
jge 0x140002f00
imul rax, rax, 0xf4240
cqo
idiv qword [0x140151bd8]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x28]
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs r13, 0x7fffffffffffffff
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002da7
mov rcx, rdi
call qword [0x140134870]
mov rax, qword [rsp + 0x28]
jmp 0x140002de4
lea rcx, [rsp + 0x20]
call qword [0x140134870]
jmp 0x140002e88
mov ecx, 0x3e8
call fcn.1400f25f0
jmp 0x140002e0b
mov rcx, qword [0x140151bd8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140002de4
mov rcx, qword [0x140151bd8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140002e83