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

Disassembly:
jmp 0x1400932f0
xor edx, edx
jmp 0x140093300
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov r8, qword [0x1401a9e50]
movzx eax, cl
and al, 7
mov esi, edx
mov rbx, rcx
cmp al, 6
jne 0x14009334c
mov rax, qword [rcx + 2]
cmp rax, qword [0x1401a9e40]
je 0x14009333b
cmp rax, r8
jne 0x14009334c
mov rcx, qword [rcx - 6]
mov rax, qword [0x1401a9fb8]
cmp qword [rcx + 0x40], rax
jne 0x14009335b
mov rdx, rbx
lea rcx, str.receive
call fcn.140005777
mov rax, qword [rbx - 6]
mov rcx, qword [rax + 0x40]
test cl, 0x1f
jne 0x14009336f
call fcn.140004764
jmp 0x140093372
mov eax, dword [rcx - 6]
movsxd rdi, eax
xor ebp, ebp
nop word [rax + rax]
mov r9d, esi
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
je 0x1400933dc
cmp eax, 0xffffffff
jne 0x1400933af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400933dc
mov ecx, dword [0x1401a7c2c]
inc ecx
mov dword [0x1401a7c2c], ecx
cmp ecx, 0x400
jle 0x1400933d0
call fcn.140005bfa
mov dword [0x1401a7c2c], ebp
cmp ebx, 1
jl 0x140093380
movzx eax, byte [rsp + 0x30]
je 0x1400933e1
mov eax, 0xffff
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14000182f
Capabilities:
Move file

Disassembly:
jmp 0x1400f9430
sub rsp, 0x28
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400f9456
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
or eax, 0xffffffff
jmp 0x1400f9458
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400021df
Capabilities:
Get common file path

Disassembly:
jmp 0x1400f87ec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x1400f8827
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
call fcn.140002da1
mov eax, dword [rax]
jmp 0x1400f889e
cmp rdi, qword [rbx + 0x18]
ja 0x1400f8833
mov qword [rbx + 0x20], rdi
jmp 0x1400f889c
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x1400f884a
mov rcx, qword [rbx + 0x10]
call fcn.140001271
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.140001078
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x1400f889e
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x1400f8811
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x140093670
mov edx, 2
jmp 0x140093300
Function at 0x1400029be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400172c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, rcx
test r8, r8
jne 0x1400172ea
xor al, al
jmp 0x1400172f6
cmp r8, 0x20
jne 0x140017472
mov al, 1
movsxd rdi, dword [rsp + 0xa0]
mov r8d, 0xff
movzx ecx, al
movzx eax, cl
xor al, 1
cmp dword [r9 + 0x58], 0
movzx r13d, al
mov rax, qword [rdx - 6]
cmovne r13d, ecx
xor ebx, ebx
test r13b, r13b
mov esi, ebx
mov rcx, qword [rax + 0x18]
cmovne r8d, ebx
mov rax, qword [r9 + 0x28]
cqo
mov dword [rsp + 0x20], r8d
and edx, 7
mov r10, qword [rcx - 2]
add rax, rdx
mov rcx, qword [r9 + 0x30]
add r10, 0x10
sar rax, 3
add rcx, 7
shr rcx, 3
mov r11, rax
mov qword [rsp + 0x30], r10
mov r14, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rcx
cmp rax, rcx
jge 0x14001744e
lea eax, [rbx + 8]
nop word [rax + rax]
movzx r15d, byte [r14 + r10]
cmp r15b, r8b
je 0x140017442
mov rbp, rax
lea rax, [rcx - 1]
cmp r14, rax
jne 0x1400173b6
mov rax, qword [r9 + 0x30]
cqo
and edx, 7
lea rbp, [rdx + rax]
mov eax, 8
and ebp, 7
sub rbp, rdx
cmove rbp, rax
cmp r14, r11
jne 0x1400173ce
mov rax, qword [r9 + 0x28]
cqo
and edx, 7
lea rbx, [rdx + rax]
and ebx, 7
sub rbx, rdx
cmp rbx, rbp
jge 0x14001743d
nop dword [rax]
nop word [rax + rax]
movzx edx, r15b
movzx ecx, bl
shr dl, cl
and dl, 1
cmp dl, r13b
jne 0x140017419
mov eax, edi
test edi, edi
je 0x14001745c
sub eax, 1
je 0x1400174cf
cmp eax, 1
je 0x140017416
mov rdx, rdi
mov rcx, r12
shl rdx, 5
call fcn.140001497
jmp 0x140017419
inc rsi
inc rbx
cmp rbx, rbp
jl 0x1400173e0
mov r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x20]
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x38]
xor ebx, ebx
lea eax, [rbx + 8]
inc r14
cmp r14, rcx
jl 0x140017380
cmp edi, 2
jne 0x140017466
shl rsi, 5
mov rax, rsi
jmp 0x1400174b7
lea rax, [rbx + r14*8]
shl rax, 5
jmp 0x1400174b7
mov rsi, qword [0x1401a9fb8]
mov rax, rsi
jmp 0x1400174b7
movsxd rdx, dword [rsp + 0xa0]
mov ecx, edx
test edx, edx
je 0x1400174dc
sub ecx, 1
je 0x1400174a9
cmp ecx, 1
je 0x140017498
shl rdx, 5
mov rcx, r12
call fcn.140001497
jmp 0x1400174b7
cmp dword [r9 + 0x58], 0
jne 0x1400174e3
mov rax, qword [r9 + 0x30]
shl rax, 5
jmp 0x1400174b7
cmp dword [r9 + 0x58], 0
je 0x1400174d7
mov rax, qword [0x1401a9fb8]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rsp + 0x90]
mov rax, r8
jmp 0x1400174b7
cmp dword [r9 + 0x58], 0
jne 0x1400174b0
xor eax, eax
jmp 0x1400174b7
Function at 0x140002ab8
Capabilities:
Set current directory
Set environment variable

Disassembly:
jmp 0x1400f906c
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor esi, esi
test rcx, rcx
jne 0x1400f90c1
call fcn.140004525
mov dword [rax], esi
call fcn.140002da1
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400017a3
or ebx, 0xffffffff
jmp 0x1400f919b
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x1400f90da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
jmp 0x1400f90b9
mov ecx, 0x105
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x50], sil
call fcn.1400021df
test eax, eax
je 0x1400f912d
cmp byte [rsp + 0x50], sil
je 0x1400f90b9
mov rcx, qword [rsp + 0x38]
call fcn.140001271
jmp 0x1400f90b9
mov rdi, qword [rsp + 0x38]
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x1400f9141
cmp ax, 0x2f
jne 0x1400f914b
cmp ax, word [rdi + 2]
jne 0x1400f914b
mov ebx, esi
jmp 0x1400f918c
movsx ecx, byte [rdi]
call fcn.140004e30
mov ecx, 0x3d
mov word [rsp + 0x5a], ax
mov word [rsp + 0x58], cx
mov rdx, rdi
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x5c], 0x3a
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400f9147
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
or ebx, 0xffffffff
cmp byte [rsp + 0x50], sil
je 0x1400f919b
mov rcx, rdi
call fcn.140001271
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400037fb
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002eff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14014ca28
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1401b02a8]
xor r11d, r11d
lea rdi, [0x14016a164]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x14014ca98
mov rax, 0xfffffffffffffffe
jmp 0x14014cbe5
cmp word [r10 + 6], r11w
jne 0x14014cb07
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14014cac2
test r14, r14
je 0x14014cab3
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14014cbe5
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x14014cad0
mov r8b, 2
jmp 0x14014caee
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x14014cade
mov r8b, 3
jmp 0x14014caee
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14014cbda
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x14014cb30
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14014cbda
cmp bl, bpl
jb 0x14014cbda
cmp bl, r8b
jae 0x14014cbda
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14014cb5d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14014cbda
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14014cb3f
cmp r9, rbp
jae 0x14014cb89
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x14014ca8c
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14014cbda
cmp edx, 0x110000
jae 0x14014cbda
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14014cbda
test r14, r14
je 0x14014cbc8
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140005d1c
jmp 0x14014cbe5
mov rdx, rsi
mov rcx, r10
call fcn.140006933
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400037fb
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002f68
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400a41d0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400a425d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400a425d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a425d
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400a4244
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400a423e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400a4246
add rdx, 0x28
jmp 0x1400a4223
xor edx, edx
test rdx, rdx
jne 0x1400a424f
xor al, al
jmp 0x1400a4263
cmp dword [rdx + 0x24], 0
jge 0x1400a4259
xor al, al
jmp 0x1400a4263
mov al, 1
jmp 0x1400a4263
xor al, al
jmp 0x1400a4263
add rsp, 0x18
ret
Function at 0x140003012
Capabilities:
Set file attributes

Disassembly:
jmp 0x140069a80
jmp 0x1400f936c
mov rax, rdx
mov edx, ecx
mov rcx, rax
jmp 0x14000468d
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
jne 0x1400f93ab
call fcn.140004525
and dword [rax], ebx
call fcn.140002da1
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400017a3
or eax, 0xffffffff
jmp 0x1400f93ef
lea r8, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1400f93cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
jmp 0x1400f93a6
mov edx, dword [rsp + 0x20]
test dil, dil
jns 0x1400f93d9
and edx, 0xfffffffe
jmp 0x1400f93dc
or edx, 1
mov rcx, rbx
mov dword [rsp + 0x20], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400f93bc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400037fb
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400030b7
Capabilities:
Delete directory

Disassembly:
jmp 0x1400f9250
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f9270
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
or eax, 0xffffffff
jmp 0x1400f9272
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400030c1
Capabilities:
Delete file

Disassembly:
jmp 0x1400fbe40
jmp 0x140069310
jmp 0x14000245a
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400fbe60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
or eax, 0xffffffff
jmp 0x1400fbe62
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000356c
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401409e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140140a67
mov rsi, rbx
cmp word [rax], bp
je 0x140140a26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140140a10
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140140a0c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001078
mov rdi, rax
test rax, rax
je 0x140140a54
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003814
mov rbp, rdi
xor ecx, ecx
call fcn.140001271
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400038af
Capabilities:
Get hostname

Disassembly:
jmp 0x1400902f0
sub rsp, 0x58
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140090338
mov rax, qword [0x1401a9fb8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400037fb
add rsp, 0x58
ret
lea rcx, [rsp + 0x28]
call fcn.1400050e7
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400037fb
add rsp, 0x58
ret

Function at 0x140003a3a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400b2898
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14016b128]
mov ecx, 2
lea r8, [0x14016b120]
lea rdx, str.FlsGetValue
call fcn.1400b2368
mov ecx, ebx
test rax, rax
je 0x1400b28d2
add rsp, 0x20
pop rbx
jmp qword [0x1401c3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003cb5
Capabilities:
Query environment variable

Disassembly:
jmp 0x14014088c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401408bc
xor eax, eax
jmp 0x14014097f
mov rbp, rbx
cmp word [rax], si
je 0x1401408e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401408c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401408c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140004ea3
movsxd r14, eax
test eax, eax
jne 0x14014091f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401408b5
mov rcx, r14
call fcn.140001078
mov rdi, rax
test rax, rax
jne 0x140140938
xor ecx, ecx
call fcn.140001271
jmp 0x140140914
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140004ea3
test eax, eax
jne 0x140140969
mov rcx, rdi
call fcn.140001271
jmp 0x140140973
xor ecx, ecx
call fcn.140001271
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140003cd3
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400b27e8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14016b0e8]
xor ecx, ecx
lea r8, [0x14016b0e0]
lea rdx, str.FlsAlloc
call fcn.1400b2368
test rax, rax
je 0x1400b2821
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401c3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140003daa
Capabilities:
Get geographical location

Disassembly:
jmp 0x140123d24
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140173888]
mov rbp, rcx
lea r8, [0x140173880]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.140123240
test rax, rax
je 0x140123d84
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1401c3030]
jmp 0x140123d9e
xor edx, edx
mov rcx, rbp
call fcn.140002fef
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003dbe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a391c
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 0x14000402f
Capabilities:
Parse pe header

Disassembly:
jmp 0x14010d064
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14010cdb0

Function at 0x140004327
Capabilities:
Parse pe header

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

Function at 0x1400045a2
Capabilities:
Create directory

Disassembly:
jmp 0x1400f921c
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400f923e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
or eax, 0xffffffff
jmp 0x1400f9240
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000480e
Capabilities:
Clear file content

Disassembly:
jmp 0x14014d41c
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.140001d57
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140001d57
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14014d56c
cmp rax, 0xffffffffffffffff
je 0x14014d56c
xor edi, edi
test rbp, rbp
jle 0x14014d517
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140005ac4
mov rbx, rax
test rax, rax
jne 0x14014d4a4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14014d50d
mov edx, 0x8000
mov ecx, r14d
call fcn.140004b3d
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.1400055c4
cmp eax, 0xffffffff
je 0x14014d4ed
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14014d4b4
mov edx, r15d
mov ecx, r14d
call fcn.140004b3d
jmp 0x14014d50d
cmp byte [rsi + 0x38], dil
je 0x14014d504
cmp dword [rsi + 0x34], 5
jne 0x14014d504
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14014d50d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001271
jmp 0x14014d580
jns 0x14014d580
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140001d57
cmp rax, 0xffffffffffffffff
jne 0x14014d538
cmp byte [rsi + 0x30], dil
je 0x14014d580
mov edi, dword [rsi + 0x2c]
jmp 0x14014d580
mov ecx, r14d
call fcn.140006677
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14014d580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14014d580
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14014d579
mov eax, dword [rsi + 0x2c]
jmp 0x14014d57e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140001d57
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 0x1400048cc
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a4778
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a47c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a47c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a47c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a47c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a47c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a47c4
xor al, al
add rsp, 0x28
ret
Function at 0x140004b06
Capabilities:
Get common file path

Disassembly:
jmp 0x1401352c4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140004e1c
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x140135338
xor edi, edi
cmp word [rsp + 0x20], di
je 0x140135393
cmp word [rsp + 0x22], 0x3a
jne 0x140135393
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x140135393
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.140005ac4
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140135360
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14013536d
call fcn.140002da1
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x14013538b
cmp word [rbx], di
je 0x14013538b
cmp word [rbx + 2], 0x3a
jne 0x14013538b
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001271
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400037fb
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140004dae
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14014ec20
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x14014ec61
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x14014ec55
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x14014ec63
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x14014ec43
xor eax, eax
ret

Function at 0x14000510a
Capabilities:
Terminate process

Disassembly:
jmp 0x1401227c4
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401227de
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140005d35
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]