joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf30
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.00408a00
mov rcx, qword [rbp + 0x90]
call fcn.00408a00
nop
mov rcx, qword [rbp + 0x28]
call fcn.00408870
cmp qword [rbp + 0x90], 0
je 0x40c0f6
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00408e00
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40bfe1
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40c01b
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40c014
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00409bb0
jmp 0x40c01b
sub eax, 1
test eax, eax
jne 0x40bfe6
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040bb00
cmp qword [rbp + 0x68], 0
je 0x40c059
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040bcb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00408d80
jmp 0x40c0f5
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040b250
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040bcb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00408d80
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40c0ce
cmp byte [0x0042fc78], 0
jne 0x40c0ce
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040b250
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040bcb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00408d80
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40c0f5
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040bdf0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00408d80
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00408950
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00408950
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40c9c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x40c9e0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x40ca04
cmp eax, 1
jae 0x40ca09
cmp ecx, 5
jbe 0x40ca15
mov dword [0x0042b9a0], 0x7f
jmp 0x40ca1f
mov dword [0x0042b9a0], 0x409
add rsp, 0x28
ret
Function at 0x40ccc0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040ccb0
mov ebx, eax
test ebx, ebx
je 0x40cd0b
cmp dword [0x00428258], 0xffffffff
jne 0x40cce4
mov ecx, 0xe2
call fcn.00408690
mov ecx, ebx
call fcn.0040cc90
test rax, rax
jne 0x40ccfd
mov ecx, 0xe2
call fcn.00408690
jmp 0x40cd0b
mov ecx, dword [0x00428258]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40cd20
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x0042fd54], 0
je 0x40cd5b
mov ecx, dword [0x00428258]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40cd6f
call fcn.0040ccc0
mov ecx, dword [0x00428258]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40cd6f
mov rax, qword [0x0042fd88]
jmp 0x40cd6f
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x00428258]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x41b990
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
movdqa xmmword [rbp + 0x20], xmm6
mov rbx, rdx
movapd xmm6, xmm2
mov rcx, rbx
mov edx, 0xa
xor r8, r8
call fcn.00405440
movsd xmm0, qword [0x0041ba50]
comisd xmm0, xmm6
jbe 0x41b9c9
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
call fcn.00405330
call fcn.00405310
mov rcx, rax
xor r8, r8
jmp 0x41ba31
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov r9, rdx
movsxd r10, r8d
mov r11d, 0xa
mov eax, r9d
cdq
idiv r11d
mov r11, rdx
mov esi, 0xa
mov eax, r9d
cdq
idiv esi
shl eax, 4
add r11b, al
mov byte [rbx + r10], r11b
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov rcx, rax
add r8d, 1
test rcx, rcx
jle 0x41ba3c
cmp r8d, 9
jl 0x41b9df
mov rax, rbx
movdqa xmm6, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret

Function at 0x41c6d0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41c6f7
movzx rax, word [rbp + 0x2c]
jmp 0x41c6f9
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x41dc70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.0041da10
mov ebx, eax
mov rax, qword [0x0042a258]
cmp byte [rax], 0
je 0x41dda8
mov rcx, qword [0x0042a088]
call fcn.004053b0
call fcn.00404d60
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0041dc30]
mov r8d, 1
movsxd r9, esi
call fcn.0040a700
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x0041de48]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x41ddee
mov rcx, qword [0x0042fd58]
call fcn.0040a870
mov rcx, rax
mov rax, qword [0x0042a040]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0041dc30]
call fcn.0040a740
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x41f860
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00408f70
mov r13d, eax
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0040c9a0
mov esi, eax
cmp esi, 0x104
jbe 0x41f8bd
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00404a20
mov rdi, rax
jmp 0x41f8c1
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0040c9a0
mov rax, rdi
mov rcx, rax
call sub.user32.dll_CharUpperW
xor rbx, rbx
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x41f917
add ecx, 1
mov edx, ebx
shl edx, 5
shr ebx, 0x1b
or edx, ebx
mov ebx, edx
movsxd rdx, eax
movzx edx, word [rdi + rdx*2]
xor ebx, edx
add eax, 1
cmp eax, ecx
jne 0x41f8fb
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x41f929
mov rcx, rdi
call fcn.00404a50
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x4209c0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call sub.kernel32.dll_GetCommandLineW_1
mov rsi, rax
xor rax, rax
movzx rcx, word [rsi]
sub cx, 1
cmp cx, 0xffff
je 0x420a04
cmp cx, 0x20
jb 0x4209f3
sub cx, 0x21
test cx, cx
jne 0x4209fe
jmp 0x4209f9
test al, al
je 0x420a04
jmp 0x4209fe
test al, al
sete al
add rsi, 2
jmp 0x4209d4
nop
jmp 0x420a0b
add rsi, 2
movzx rcx, word [rsi]
lea rdx, [0x00420a34]
call fcn.00418af0
test al, al
jne 0x420a07
mov rcx, rbx
mov rdx, rsi
call fcn.004096d0
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
call fcn.00409650
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420b6e
test eax, 0x10
je 0x420b73
xor rax, rax
jmp 0x420b75
mov al, 1
add rsp, 0x28
ret

Function at 0x420ef0
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x004342c8]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.00404df0
mov dword [0x0043420c], 0xb7e15163
mov ebx, 1
lea rax, [0x0043420c]
movsxd rcx, ebx
lea rdx, [0x00434208]
movsxd r8, ebx
mov edx, dword [rdx + r8*4]
add edx, 0x9e3779b9
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x2c
jne 0x420f23
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x0043420c]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00420d40
mov r13d, eax
lea rax, [0x0043420c]
movsxd rcx, ebx
mov dword [rax + rcx*4], r13d
movsxd rax, esi
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, r13d
add ecx, r14d
mov edx, r13d
add edx, r14d
call fcn.00420d40
mov r14d, eax
movsxd rax, esi
mov dword [rsp + rax*4 + 0x20], r14d
mov eax, ebx
add eax, 1
mov ecx, 0x2c
cdq
idiv ecx
mov rbx, rdx
mov eax, esi
add eax, 1
mov ecx, 0x10
cdq
idiv ecx
mov rsi, rdx
add edi, 1
cmp edi, 0x85
jne 0x420f5f
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x4210f0
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x4210f7
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x421141
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x421173
test eax, eax
je 0x4211a5
sub eax, 1
test eax, eax
jne 0x4211fe
jmp 0x4211e5
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00408ae0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.00418b10
jmp 0x4211fe
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00408ae0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.00418b10
jmp 0x4211fe
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004050a0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.00419370
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.0041f4f0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.00408d80
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.00408950
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret
Function at 0x421270
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x128
mov rbp, rsp
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x140], rcx
nop
lea rcx, [rbp + 0xf0]
mov edx, 0x18
xor r8, r8
call fcn.00405440
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.00405440
mov dword [rbp + 0x88], 0x68
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0xc4], 1
mov word [rbp + 0xc8], 0
mov dword [rbp + 0x100], 0xffffffff
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x140]
call fcn.00409650
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xf0]
lea r9, [rbp + 0xf0]
cmp byte [rbp + 0x6f], 0
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4213d8
lea rcx, [rbp + 0x118]
lea rdx, [0x004210d0]
call fcn.0040c8d0
lea rcx, [rbp + 0x110]
lea rdx, [0x004214b8]
call fcn.00408e00
nop
mov rcx, qword [rbp + 0x118]
call fcn.00409650
mov rbx, rax
mov rcx, qword [rbp + 0x110]
call fcn.00409650
xor rcx, rcx
mov rdx, rbx
mov r8, rax
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x118]
call fcn.00408870
lea rcx, [rbp + 0x110]
call fcn.00408870
jmp 0x421406
mov rcx, qword [rbp + 0x70]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x10c]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x110]
mov edx, 2
call fcn.00408950
mov eax, dword [rbp + 0x10c]
lea rsp, [rbp + 0x128]
pop rbx
pop rbp
ret

Function at 0x421980
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00408a00
nop
mov rcx, qword [rbp + 0x68]
call fcn.00409650
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x102
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x58], rax
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x60]
mov r8d, dword [rax + 0x68]
mov rax, qword [rbp + 0x60]
lea r9, [rax + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00408870
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x140006ce8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x70], 0x53
mov byte [rsp + 0x71], 0x77
mov byte [rsp + 0x72], 0x63
mov byte [rsp + 0x73], 0x68
mov byte [rsp + 0x74], 0x65
mov byte [rsp + 0x75], 0x64
mov byte [rsp + 0x76], 0x75
mov byte [rsp + 0x77], 0x6c
mov byte [rsp + 0x78], 0x65
mov byte [rsp + 0x79], 0x77
mov byte [rsp + 0x7a], 0x35
mov byte [rsp + 0x7b], 0x37
mov byte [rsp + 0x7c], 0x31
mov byte [rsp + 0x7d], 0
mov edx, 0x18
lea rcx, [rsp + 0x58]
call fcn.1400153fc
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x58]
call fcn.140006934
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140004e98
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140007fb0
nop
lea rcx, [rsp + 0x38]
call fcn.140005cb4
lea rcx, [rsp + 0x58]
call fcn.14000cea4
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x58]
call fcn.14000b000
mov rcx, qword [rsp + 0x28]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140004fd8
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x58]
call fcn.140005d68
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401a82a0
add rsp, 0x98
ret
Function at 0x14000705c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x10a8
call fcn.1401a8b50
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov dword [rsp + 0x30], 0
mov edx, 0x18
lea rcx, [rsp + 0x70]
call fcn.1400153fc
lea rcx, [rsp + 0x70]
call fcn.1400051c8
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x10b8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140007117
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r9, [rsp + 0x68]
mov r8d, 0x1000
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000714f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000b4b4
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x68]
lea rax, [rsp + rax + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140004384
cmp dword [rsp + 0x68], 0
ja 0x140007117
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x10b0]
call fcn.140005164
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x70]
call fcn.140005d68
mov rax, qword [rsp + 0x10b0]
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1401a82a0
add rsp, 0x10a8
ret
Function at 0x140007338
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [rsp + 0x20]
call fcn.14000dc10
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x2e0]
call fcn.14000b444
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2e0]
call fcn.14000ab74
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.140003250
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000746d
lea rcx, [rsp + 0x58]
call fcn.14000ac78
lea rcx, [rsp + 0xac]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140007428
add rax, 2
test dx, dx
jne 0x140007412
xor eax, eax
jmp 0x14000742d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140007457
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.140005cdc
mov eax, dword [rsp + 0x30]
jmp 0x140007482
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400073fd
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call fcn.140005cdc
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401a82a0
add rsp, 0x2d0
pop rdi
ret
Function at 0x1400087f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x68], 0
je 0x14000883e
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000884a
mov al, 1
jmp 0x140008a97
mov dword [rsp + 0x48], 8
call fcn.14000b508
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rcx
mov edx, eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x18]
mov dword [rsp + 0x40], eax
call fcn.14000b508
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14000b534
movzx eax, al
test eax, eax
je 0x1400088a3
xor al, al
jmp 0x140008a97
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x98]
call fcn.140004f30
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x98]
call fcn.14000ce88
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x98]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov rcx, qword [rsp + 0xd0]
add rcx, 0x74
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x60]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x68]
call fcn.14000d540
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140008969
cmp dword [rsp + 0x34], 1
je 0x140008975
cmp dword [rsp + 0x34], 3
je 0x140008a54
jmp 0x140008a6c
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x140008a0d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x98]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov rcx, qword [rsp + 0xd0]
mov r9, qword [rcx + 0x80]
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, rax
call fcn.1401b4008
cmp qword [rsp + 0x38], rax
je 0x140008a0d
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x98]
call fcn.140005cb4
mov al, byte [rsp + 0x30]
jmp 0x140008a97
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140008a35
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x98]
call fcn.140005cb4
mov al, byte [rsp + 0x31]
jmp 0x140008a97
cmp qword [rsp + 0x38], 0
jne 0x140008a52
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x98]
call fcn.14000a500
jmp 0x140008a84
mov byte [rsp + 0x32], 1
lea rcx, [rsp + 0x98]
call fcn.140005cb4
mov al, byte [rsp + 0x32]
jmp 0x140008a97
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x98]
call fcn.140005cb4
mov al, byte [rsp + 0x33]
jmp 0x140008a97
jmp 0x1400088b9
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401a82a0
add rsp, 0xc8
ret