joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000fd50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1001646a0], ecx
xor eax, eax
add eax, 1
lea rdx, [0x1001646a0]
movsxd rcx, eax
mov r8d, dword [rdx + rcx*4 - 4]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul ecx, ecx, 0x6c078965
mov r8d, eax
add r8d, ecx
mov ecx, eax
mov dword [rdx + rcx*4], r8d
cmp eax, 0x26f
jl 0x10000fd58
mov dword [0x1000e1db0], 0x270
ret

Function at 0x10000fda0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1001646a0]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1001646a0]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1001646a0]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x1001646a0]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x10000fda8
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1001646a0]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1001646a0]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1001646a0]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x1001646a0]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x10000fe18
mov edx, dword [0x1001646a0]
mov ecx, dword [0x10016505c]
mov eax, edx
and eax, 1
neg rax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100164cd0]
mov dword [0x10016505c], eax
mov dword [0x1000e1db0], 0
ret

Function at 0x10000fed0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x1000e1db0]
add dword [0x1000e1db0], 1
mov eax, dword [0x100163020]
cmp eax, dword [0x1000e1800]
jne 0x10000fef9
cmp ebx, 0x271
jb 0x10000ff1c
mov ecx, dword [0x100163020]
call fcn.10000fd50
not dword [0x100163020]
mov eax, dword [0x100163020]
mov dword [0x1000e1800], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x10000ff38
call fcn.10000fda0
xor ebx, ebx
mov dword [0x1000e1db0], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x1001646a0]
mov edx, dword [rax + rbx*4]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100012070
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x1000e1550]
cmp ax, 0xcb
je 0x1000121ac
cmp ax, 0xcc
je 0x1000121ac
nop
mov rax, qword [0x1001653a0]
test rax, rax
je 0x1000120ad
mov ecx, dword [0x100165190]
call rax
mov rbx, rax
jmp 0x1000120b4
lea rbx, [0x100165198]
cmp word [0x100165180], 0
jle 0x1000120dc
lea rcx, [0x100165150]
call fcn.100012400
mov rcx, rbx
call fcn.100011b30
mov rcx, rbx
call fcn.100011bc0
nop
mov rsi, qword [rbx]
jmp 0x100012109
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x100012102
mov rdx, rsi
mov rcx, rbx
call fcn.100010db0
jmp 0x100012106
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x1000120e8
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x100165180], 0
jle 0x1000121ac
lea rdx, [0x100165060]
mov rcx, rbx
call fcn.100010f30
mov rsi, rax
test rax, rax
je 0x100012178
mov rax, qword [0x100165100]
mov qword [rsi + 0x18], rax
cmp qword [0x100165100], 0
je 0x100012168
mov rax, qword [0x100165100]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x100165100], rax
nop
sub word [0x100165180], 1
cmp word [0x100165180], 0
sete bl
lea rcx, [0x100165150]
call fcn.100012440
test bl, bl
je 0x1000121ac
lea rcx, [0x100165150]
call fcn.1000123e0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000152e0
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
mov sil, cl
mov rdi, rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
test sil, sil
je 0x10001541e
movzx eax, sil
sub eax, 0xffffffc0
mov word [rbp - 8], ax
mov word [rbp - 6], 0x3a
mov word [rbp - 4], 0
mov word [rbp - 2], 0
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000bda0
mov r8, qword [rdi]
test r8, r8
jne 0x10001536f
lea r8, [0x100164470]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x1000153db
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.1000046d0
lea rcx, [rbp - 0x18]
call fcn.10000a8d0
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.10000adf0
mov rdx, qword [rbp - 0x20]
lea r8, [0x1000ed854]
lea rcx, [rbp - 0x18]
call fcn.10000ac90
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000b5d0
jmp 0x100015470
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x1000153f4
mov edx, r12d
mov rcx, rdi
call fcn.10000bda0
cmp byte [0x1000e17d0], 0
jne 0x100015470
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c490
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000b690
nop dword [rax]
jmp 0x100015470
xor edx, edx
xor ecx, ecx
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000bda0
mov rdx, qword [rdi]
test rdx, rdx
jne 0x100015446
lea rdx, [0x100164470]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x1000e17d0], 0
jne 0x100015470
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000c490
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000b690
nop
nop
mov rcx, rbp
call fcn.1000152b0
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov r12, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100015970
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x1001643b0], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100015b50
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x1001643b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100003ea0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1000e15d0], rax
mov r14, rax
jmp 0x100015af7
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x1000159f8
cmp byte [r14], 0
je 0x100015b01
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015a60
mov al, byte [r14]
cmp al, 1
jb 0x100015a58
sub al, 0x20
jbe 0x100015a34
sub al, 2
je 0x100015a40
jmp 0x100015a58
test dil, dil
je 0x100015a66
add ebx, 1
jmp 0x100015a5c
cmp byte [r14 + 1], 0x22
je 0x100015a50
test dil, dil
sete dil
jmp 0x100015a5c
add r14, 1
jmp 0x100015a5c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015a20
test esi, esi
je 0x100015af4
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015b50
xor dil, dil
mov r14, r12
mov rdx, qword [0x1001643b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100015ae8
mov al, byte [r14]
cmp al, 1
jb 0x100015ad8
sub al, 0x20
jbe 0x100015aac
sub al, 2
je 0x100015ac0
jmp 0x100015ad8
test dil, dil
je 0x100015aee
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100015ae4
cmp byte [r14 + 1], 0x22
je 0x100015ad0
test dil, dil
sete dil
jmp 0x100015ae4
add r14, 1
jmp 0x100015ae4
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015a98
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x1000159fc
mov dword [0x1001643a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x1001643b0]
call fcn.100011e50
mov rax, qword [0x1001643b0]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x100017e70
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x100017f22
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x100017f3f
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x100017f3f
sub dx, 0x20
je 0x100017f18
sub dx, 0x80
je 0x100017f18
sub dx, 0x1f62
jb 0x100017f3f
sub dx, 1
jbe 0x100017f18
sub dx, 6
je 0x100017f18
sub dx, 0x26
jne 0x100017f3f
nop
jmp 0x100017f18
cmp eax, dword [rbp - 0x2c]
jg 0x100017ec0
nop dword [rax]
jmp 0x100017f3f
cmp dword [rbp - 0x28], 2
jne 0x100017f32
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x100017f3f
movzx ecx, byte [rbp - 0x18]
call fcn.10000b990
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x100017fbc
sub ax, 0x21
je 0x100017fd0
sub ax, 0x17
je 0x100017fdc
sub ax, 0x222
je 0x100017fe8
sub ax, 0x392
je 0x100017ff0
sub ax, 1
je 0x100017ff8
sub ax, 0x1996
je 0x100018000
sub ax, 1
je 0x100018008
sub ax, 6
je 0x100018010
sub ax, 0xb
je 0x100018020
sub ax, 0x1b
je 0x100018018
sub ax, 0x367
je 0x100018028
jmp 0x100018030
movzx ecx, word [rbp - 0x30]
call fcn.10000ba40
mov byte [rbp - 0x1c], al
jmp 0x100018038
mov byte [rbp - 0x1c], 0x20
jmp 0x100018038
mov byte [rbp - 0x1c], 0x2e
jmp 0x100018038
mov byte [rbp - 0x1c], 0x27
jmp 0x100018038
mov byte [rbp - 0x1c], 0x2c
jmp 0x100018038
mov byte [rbp - 0x1c], 0x27
jmp 0x100018038
mov byte [rbp - 0x1c], 0x20
jmp 0x100018038
mov byte [rbp - 0x1c], 0x20
jmp 0x100018038
mov byte [rbp - 0x1c], 0x20
jmp 0x100018038
mov byte [rbp - 0x1c], 0x20
jmp 0x100018038
mov byte [rbp - 0x1c], 0x2d
jmp 0x100018038
mov byte [rbp - 0x1c], 0x27
jmp 0x100018038
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002cba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x1000f46d8]
lea rcx, [rbp - 0x278]
call fcn.10000f510
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10002cbef
lea rcx, [0x100164470]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002cc32
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10002cc0d
clc
jmp 0x10002cc14
bt dword [0x1000f3900], eax
jb 0x10002cc2a
mov rcx, rbp
call fcn.10002cce0
test al, al
je 0x10002cc2a
mov dil, 1
jmp 0x10002ccb0
xor dil, dil
jmp 0x10002ccb0
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1000e3450]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x10002ccb0
and esi, 0x400
je 0x10002ccb0
lea rbx, [rbp - 0x278]
lea rdx, [0x1000f46d8]
mov rcx, rbx
call fcn.10000f5f0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.10002c7d0
test eax, eax
je 0x10002cc8c
sub eax, 1
je 0x10002cca4
jmp 0x10002ccac
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.10002cba0
mov dil, al
jmp 0x10002ccb0
mov dil, 1
jmp 0x10002ccb0
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.10002cb70
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret

Function at 0x10002cf30
Capabilities:
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x10002cf41
lea rcx, [0x100164470]
call sub.kernel32.dll_GetFileAttributesW
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x10002d070
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x10002d0f1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000bda0
cmp ebx, 1
jle 0x10002d0e0
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000b470
jmp 0x10002d0fc
mov rcx, rsi
mov rdx, r13
call fcn.100008c20
nop
mov rcx, rbp
call fcn.10002d050
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002d5c0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100165de0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100008c20
mov eax, ebx
lea rdx, [0x100165e20]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x10002d5e0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x10002d694
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009740
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.10001fb30
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x10002d694
lea rcx, [0x10002d460]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x10002d510]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.10002d5a0
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x10002dd50
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.10001f470
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100008c20
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000a740
mov rcx, rbx
xor edx, edx
call fcn.100008c20
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x10002de95
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100009690
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x10002ddfc
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000a740
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a010
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.100009e00
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.10001f470
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100009b20
test rax, rax
jne 0x10002de88
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x10002de6d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.100009e00
jmp 0x10002de9e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x10002dde0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.10002dd10
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002df10
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100165e60], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100165ca0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100165cb0], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100165cc0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100165cd0], eax
lea rdx, [0x100165ce1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100003ea0
lea rcx, [rsp + 0x34]
call fcn.1000050b0
mov byte [0x100165ce0], al
lea rcx, [0x1000f3a30]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100165e70], rax
test rax, rax
je 0x10002dfb8
mov rcx, qword [0x100165e70]
lea rdx, [0x1000f3a40]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100165e60], rax
nop
cmp dword [0x100165cb0], 6
jae 0x10002dfcc
mov dword [0x1000e26c0], 0
nop
cmp dword [0x100165cb0], 6
jb 0x10002dfe8
cmp dword [0x100165cc0], 1
jb 0x10002dfe8
mov dword [0x1000e26d0], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x100036bc0
Capabilities:
Suspend thread

Disassembly:
lea rsp, [rsp - 0x28]
mov rax, rcx
mov dword [rax + 0x10], 0xffffffff
mov ecx, dword [rax + 8]
call sub.kernel32.dll_SuspendThread
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x100036be0
Capabilities:
Resume thread

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov ecx, dword [rbx + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x100036c00
mov dword [rbx + 0x10], 0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100080060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
lea rdx, [rcx + 1]
movzx r8d, byte [rcx]
add r8d, 1
and r8d, 0xff
add rcx, r8
jmp 0x10008009b
mov r8d, eax
shl r8d, 5
mov r9d, eax
sub r8d, r9d
movzx r9d, byte [rdx]
xor r8d, r9d
mov eax, r8d
add rdx, 1
cmp rcx, rdx
ja 0x100080080
ret

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

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rsi
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
nop
mov rax, qword [0x1001653a0]
test rax, rax
je 0x10008660a
mov ecx, dword [0x1001669c0]
call rax
jmp 0x100086611
lea rax, [0x1001669c8]
mov word [rax], 0
lea rdx, [rbx + 0x78]
lea rcx, [rbp - 8]
mov r8d, 0xff
call fcn.10000d1d0
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x100086639
lea rcx, [0x100164470]
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100086673
call sub.kernel32.dll_GetLastError
mov edi, eax
mov rax, qword [0x1001653a0]
test rax, rax
je 0x100086662
mov ecx, dword [0x1001669c0]
call rax
jmp 0x100086669
lea rax, [0x1001669c8]
mov word [rax], di
mov word [rsi], 0
jmp 0x10008667d
mov eax, ebx
and eax, 0xffff
mov word [rsi], ax
nop
mov rcx, rbp
call fcn.1000865b0
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100088270
Capabilities:
Resolve dns

Disassembly:
push rbx
push rsi
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov rsi, rdx
mov rcx, rbx
xor edx, edx
call fcn.100008c20
xor eax, eax
mov rcx, rsi
test rsi, rsi
jne 0x100088298
lea rcx, [0x100164470]
call sub.ws2_32.dll_gethostbyname
test rax, rax
je 0x1000882b4
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov edx, dword [rax]
mov rcx, rbx
call fcn.1000883e0
nop
nop
lea rsp, [rsp + 0x28]
pop rsi
pop rbx
ret

Function at 0x100090de0
Capabilities:
Connect socket

Disassembly:
lea rsp, [rsp - 0x28]
movsxd rcx, ecx
call sub.ws2_32.dll_connect
nop
lea rsp, [rsp + 0x28]
ret
Function at 0x10009c900
Capabilities:
Enumerate services

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x90]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov qword [rbp - 8], rcx
mov qword [rbp - 0x40], 0
nop
mov rcx, qword [rbp - 8]
call fcn.10009c690
mov rdx, qword [str.Query_service_list]
mov rcx, qword [rbp - 8]
call fcn.10009c610
mov dword [rbp - 0xc], 0
mov dword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x20], 0
lea rax, [rbp - 0x14]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x78]
mov r9, qword [rbp - 0x20]
mov r8d, 3
mov edx, 0x30
call fcn.10009cde0
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
je 0x10009c9a8
call fcn.10002bf10
nop
mov edx, dword [rbp - 0xc]
lea rcx, [rbp - 0x20]
call fcn.100010b40
nop
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x78]
mov r9, qword [rbp - 0x20]
mov r8d, 3
mov edx, 0x30
call fcn.10009cde0
test eax, eax
jne 0x10009ca04
call fcn.10002bf10
mov ebx, dword [rbp - 0x10]
cmp ebx, 1
jl 0x10009ca98
mov dword [rbp - 0x34], 0
nop
add dword [rbp - 0x34], 1
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
call fcn.1000312a0
mov rdx, rax
lea rcx, [0x1001206d8]
call fcn.10000d870
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp - 0x28]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call fcn.100028bc0
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 0x28]
call fcn.100008c20
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x40]
call fcn.100028bc0
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 0x30]
call fcn.100008c20
mov rcx, qword [rbp - 0x30]
lea rdx, [rsi + 0x10]
call fcn.10009cd70
add qword [rbp - 0x28], 0x30
cmp ebx, dword [rbp - 0x34]
jg 0x10009ca18
nop dword [rax]
nop
mov rcx, rbp
call fcn.10009c8c0
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
call qword [rax + 0x1c0]
nop
mov rcx, rbp
call fcn.10009c8e0
mov rbx, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x48]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000a2500
Capabilities:
Hash data with crc32

Disassembly:
test rdx, rdx
jne 0x1000a2508
xor eax, eax
ret
xor ecx, 0xffffffff
jmp 0x1000a264c
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 8
cmp r8d, 8
jae 0x1000a2510
jmp 0x1000a2683
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000e8590]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 1
test r8d, r8d
ja 0x1000a2658
xor ecx, 0xffffffff
mov eax, ecx
ret