joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14024a360
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
nop
mov dword [rsp + 0x20], 0
jmp 0x14024a3d3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14024a4bf
cmp dword [rsp + 0x70], 1
jne 0x14024a450
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0xc]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x38], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
cmp dword [rsp + 0x70], 0
jne 0x14024a4ba
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x10]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x40], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x14024a3c9
add rsp, 0x58
ret

Function at 0x14024c5e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
jne 0x14024c61c
mov rax, qword gs:[0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp], rax
jmp 0x14024c629
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
add rax, 0x10
mov rcx, qword [rsp]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x10]
mov ecx, 0x68
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14024c670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x78], 0xffff
ja 0x14024c75c
mov rax, qword [rsp + 0x78]
and rax, 0xffff
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x10]
movzx ecx, word [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 0x14]
jae 0x14024c757
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14024c7e4
jmp 0x14024c7e2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x14024c788
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x14024c7e2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140258b70
test eax, eax
jne 0x14024c7e0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14024c7e4
jmp 0x14024c77e
xor eax, eax
add rsp, 0x68
ret
Function at 0x140255640
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140417f40]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0
jmp 0x140255691
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14024c5e0
test rax, rax
je 0x1402557f3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0xf8], 0
jne 0x14025579d
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140255704
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14025579d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140255798
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x140255798
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x140255798
mov rax, qword [rsp + 0x28]
jmp 0x1402557f5
jmp 0x1402556fa
cmp dword [rsp + 0xf8], 1
jne 0x1402557ee
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x1402557ee
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x1402557ee
mov rax, qword [rsp + 0x28]
jmp 0x1402557f5
jmp 0x140255687
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14025d0e0
add rsp, 0xe0
pop rdi
ret

Function at 0x140255810
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 4], 0
mov dword [rsp], 0
jmp 0x140255837
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x140255872
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x140255870
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x14025582f
mov eax, dword [rsp]
cmp dword [rsp + 4], eax
jne 0x140255885
mov dword [rsp + 8], 1
jmp 0x14025588d
mov dword [rsp + 8], 0
mov eax, dword [rsp + 8]
add rsp, 0x18
ret
Function at 0x1402558a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140417f40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x140255906
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140255988
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov r8d, Ordinal_50
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14024c7f0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r9d, 4
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
xor ecx, ecx
call fcn.14024c7f0
nop
mov rax, qword [rsp + 0x40]
shr rax, 0x16
and rax, 1
test rax, rax
jne 0x140255983
xor eax, eax
jmp 0x14025598d
jmp 0x1402558fc
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14025d0e0
add rsp, 0x88
ret

Function at 0x140255b10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.140255d60
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x140255c2a
mov rax, qword [0x140417ed0]
cmp qword [rsp + 0x20], rax
jb 0x140255b74
mov rax, qword [0x140417ed8]
cmp qword [rsp + 0x20], rax
ja 0x140255b74
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140255b36
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140255ba5
jmp 0x140255c2a
cmp dword [rsp + 0x50], 0x10000
jne 0x140255c0d
cmp qword [rsp + 0x48], 0x10000
jb 0x140255c0d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140255beb
mov rax, qword [rsp + 0x28]
jmp 0x140255c2c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140255bfb
xor eax, eax
jmp 0x140255c2c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140255c25
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.140255d60
mov qword [rsp + 0x20], rax
jmp 0x140255b36
xor eax, eax
add rsp, 0x68
ret
Function at 0x140255c40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.140255da0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x140255d56
mov rax, qword [0x140417ed0]
cmp qword [rsp + 0x20], rax
jb 0x140255c9b
mov rax, qword [0x140417ed8]
cmp qword [rsp + 0x20], rax
ja 0x140255c9b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140255c5d
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140255ccc
jmp 0x140255d56
cmp dword [rsp + 0x50], 0x10000
jne 0x140255d34
cmp qword [rsp + 0x48], 0x10000
jb 0x140255d34
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140255d12
mov rax, qword [rsp + 0x28]
jmp 0x140255d58
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140255d22
xor eax, eax
jmp 0x140255d58
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140255d51
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140255da0
mov qword [rsp + 0x20], rax
jmp 0x140255c5d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140255df0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140256380
mov qword [rsp + 0x28], 0
cmp qword [0x14046dd88], 0
jne 0x140255e38
cmp qword [0x14046dd80], 0
je 0x140255e38
mov rax, qword [0x14046dd80]
mov qword [0x14046dd88], rax
cmp qword [0x14046dd88], 0
je 0x140255ede
mov rax, qword [0x14046dd88]
cmp qword [rax + 0x10], 0
je 0x140255ede
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x140255ede
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x140255ede
mov rax, qword [0x14046dd88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x140255ea4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x140255eab
xor eax, eax
jmp 0x140256055
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x140256055
mov rax, qword [0x14046dd80]
mov qword [0x14046dd88], rax
jmp 0x140255f00
mov rax, qword [0x14046dd88]
mov rax, qword [rax + 8]
mov qword [0x14046dd88], rax
cmp qword [0x14046dd88], 0
je 0x140255f4d
cmp qword [0x14046dd88], 0
je 0x140255f4b
mov rax, qword [0x14046dd88]
cmp qword [rax + 0x10], 0
je 0x140255f4b
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x140255f4b
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x140255f4b
jmp 0x140255e7c
jmp 0x140255eee
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140256060
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140256053
mov rax, qword [rsp + 0x48]
mov qword [0x14046dd88], rax
mov rax, qword [0x14046dd88]
mov dword [rax], 0x52727464
mov rax, qword [0x14046dd88]
mov qword [rax + 0x10], 0
mov rax, qword [0x14046dd88]
mov rcx, qword [0x14046dd80]
mov qword [rax + 8], rcx
mov rax, qword [0x14046dd88]
mov qword [0x14046dd80], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x14046dd88]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x140256004
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x14025603e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x140255ffa
mov rax, qword [0x14046dd88]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x140255e7c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140256d70
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 0x140256db7
xor al, al
jmp 0x140256e59
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 0x140256de1
xor al, al
jmp 0x140256e59
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 0x140256e51
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 0x140256e51
mov al, 1
jmp 0x140256e59
jmp 0x140256e57
xor al, al
add rsp, 0x78
ret

Function at 0x140257160
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14046dd80]
mov qword [rsp + 0x28], rax
jmp 0x140257180
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402571af
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1402571ad
call sub.KERNEL32.dll_GetLastError
jmp 0x1402571b1
jmp 0x140257172
xor eax, eax
add rsp, 0x38
ret
Function at 0x140257870
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 [0x14046dd98], eax
je 0x14025789d
mov eax, 0x10dd
jmp 0x140257ab6
cmp dword [0x14046dd9c], 0
je 0x1402578b1
mov eax, dword [0x14046dd9c]
jmp 0x140257ab6
cmp qword [rsp + 0x78], 0
jne 0x1402578c3
mov eax, 0x57
jmp 0x140257ab6
cmp qword [rsp + 0x70], 0
jne 0x1402578d5
mov eax, 6
jmp 0x140257ab6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x140257907
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x14046dd9c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x14046dda0], rax
mov eax, dword [rsp + 0x20]
jmp 0x140257ab6
mov ecx, Ordinal_50
call fcn.14025c56c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140257979
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x14046dd9c], eax
cmp qword [rsp + 0x30], 0
je 0x140257964
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x50]
call fcn.14025c5a8
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x14046dda0], rax
mov eax, dword [rsp + 0x20]
jmp 0x140257ab6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140257840
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140257840
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 0x1402579d6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1402579f3
mov dword [rsp + 0x20], 9
cmp dword [0x14046dd90], 0
je 0x1402579ee
jmp 0x14025793a
jmp 0x140257930
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x140257a20
mov dword [rsp + 0x20], 9
cmp dword [0x14046dd90], 0
je 0x140257a1b
jmp 0x14025793a
jmp 0x140257930
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 0x140257a57
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140257930
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 [0x14046ddb0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x14046ddb0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x140257ac0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x14046dd98], eax
je 0x140257adb
mov eax, 0x10dd
jmp 0x140257c00
mov rax, qword [0x14046ddb0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140257b85
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 0x140257b50
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140257b50
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1402564c0
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.14025c5a8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140257ae7
mov qword [0x14046ddb0], 0
call fcn.140256f20
mov rax, qword [0x14046dda8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140257be9
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.14025c5a8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x140257ba1
mov qword [0x14046dda8], 0
mov dword [0x14046dd98], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140258130
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x14046dd9c], 0
je 0x14025814d
mov eax, dword [0x14046dd9c]
jmp 0x140258213
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x140258160
xor eax, eax
jmp 0x140258213
mov ecx, reloc.WS2_32.dll_recv
call fcn.14025c56c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1402581ce
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1402581b3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.14025c5a8
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x14046dd9c], eax
mov qword [0x14046dda0], 0
mov eax, dword [rsp + 0x20]
jmp 0x140258213
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1402581e8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140258189
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x14046dda8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x14046dda8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x14025bca0
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, [0x1402a5dd0]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14025bcda
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14025bcdf
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 0x14025bd28
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 0x14025bd28
dec r8
sub rdx, 1
jne 0x14025bd0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14025d668
Capabilities:
Parse pe header

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