joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801e11f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor edi, edi
mov rcx, qword [rcx]
test rcx, rcx
je 0x1801e13a3
lea rdx, [0x1803cb248]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, [0x1803cb258]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x1803cb400]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r15, r15
je 0x1801e13a3
test r14, r14
je 0x1801e13a3
test rax, rax
je 0x1801e13a3
mov dword [rbp - 9], 0x65004b
mov dword [rbp - 5], 0x620079
mov dword [rbp - 1], 0x61006f
mov dword [rbp + 3], 0x640072
mov dword [rbp + 7], 0x4c0020
mov dword [rbp + 0xb], 0x790061
mov dword [rbp + 0xf], 0x75006f
mov dword [rbp + 0x13], 0x5c0074
mov dword [rbp + 0x17], 0x720050
mov dword [rbp + 0x1b], 0x6c0065
mov dword [rbp + 0x1f], 0x61006f
mov dword [rbp + 0x23], 0x64
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], rdi
mov edx, 0x20019
lea rcx, [rbp - 0x29]
call fcn.18036c3d0
mov rcx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 9]
call r15
test eax, eax
jne 0x1801e136b
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
mov dword [rbp - 0x11], 0x14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1803be504]
mov rcx, qword [rbp - 0x19]
call r14
test eax, eax
jne 0x1801e1365
xor edx, edx
lea r8d, [rdi + 0x10]
lea rcx, [rbp + 0x27]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov edi, eax
mov rcx, qword [rbp - 0x19]
call rbx
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x1801e1381
lea rcx, [rbp - 0x29]
call fcn.18036c580
mov rbx, qword [rbp - 0x29]
test edi, edi
je 0x1801e1391
mov edx, edi
mov rcx, rsi
call fcn.1801e13d0
mov edi, eax
test rbx, rbx
je 0x1801e139f
lea rcx, [rbp - 0x29]
call fcn.18036c580
mov eax, edi
jmp 0x1801e13a5
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1801e13d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1801e15f6
lea rdx, [0x1803cb248]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x1803cb258]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x1803cb400]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x1801e15f6
test rsi, rsi
je 0x1801e15f6
test rax, rax
je 0x1801e15f6
mov dword [rbp - 0x29], 0x65004b
mov dword [rbp - 0x25], 0x620079
mov dword [rbp - 0x21], 0x61006f
mov dword [rbp - 0x1d], 0x640072
mov dword [rbp - 0x19], 0x4c0020
mov dword [rbp - 0x15], 0x790061
mov dword [rbp - 0x11], 0x75006f
mov dword [rbp - 0xd], 0x5c0074
mov dword [rbp - 9], 0x750053
mov dword [rbp - 5], 0x730062
mov dword [rbp - 1], 0x690074
mov dword [rbp + 3], 0x750074
mov dword [rbp + 7], 0x650074
mov dword [rbp + 0xb], 0x73
xor r15d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov edx, 0x20019
lea rcx, [rbp - 0x69]
call fcn.18036c3d0
mov rcx, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x29]
call r14
test eax, eax
je 0x1801e15e6
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x39], xmm1
mov word [rbp - 0x49], r15w
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x49]
call fcn.180154c50
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x1f], eax
mov dword [rbp - 0x51], 0x14
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x59]
call rsi
test eax, eax
jne 0x1801e158a
xor edx, edx
lea r8d, [r15 + 0x10]
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov ebx, eax
mov rcx, qword [rbp - 0x59]
call rdi
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1801e15d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e15cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e15cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r15w
cmp qword [rbp - 0x69], 0
je 0x1801e15f6
lea rcx, [rbp - 0x69]
call fcn.18036c580
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801e1620
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1801e1683
cmp dword [rsp + 0x24], 6
jb 0x1801e1683
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x158
ret
Function at 0x1801e21f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rcx, qword [rcx]
mov r14, r9
mov rbx, r8
mov rsi, rdx
test rcx, rcx
je 0x1801e2379
lea rdx, [0x1803cb258]
mov qword [rsp + 0x280], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1801e2371
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x30], 0x208
jb 0x1801e2270
mov rbx, qword [rbx]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call rdi
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x60]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1801e22a1
lea rcx, [r14 + 0x50]
lea rdx, [rsp + 0x60]
call fcn.180004e70
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.Profile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call rdi
lea rax, [rsp + 0x60]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1801e22f0
mov r8, rbx
lea rcx, [r14 + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180004e70
xor eax, eax
mov dword [rsp + 0x38], 0x65004b
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 0x620079
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov dword [rsp + 0x40], 0x61006f
mov dword [rsp + 0x44], 0x640072
mov dword [rsp + 0x48], 0x61004c
mov dword [rsp + 0x4c], 0x6f0079
mov dword [rsp + 0x50], 0x740075
mov dword [rsp + 0x30], 4
call rdi
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x288
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x1801e2f80
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
lea ecx, [rsi + 1]
call fcn.180385c34
mov qword [rsp + 0x28], rax
mov byte [rax], sil
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1801e3000
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1801771e0
test al, al
je 0x1801e302b
lea rcx, [rsp + 0x28]
call fcn.180176720
test al, al
jne 0x1801e302b
xor bl, bl
jmp 0x1801e30c5
lea rbx, [rdi + 8]
mov rdx, rbx
xor ecx, ecx
call fcn.18016c8c0
test al, al
jne 0x1801e304e
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801e304b
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x28]
mov rdx, rbx
mov ecx, 0x1a
call fcn.18016c8c0
test al, al
jne 0x1801e3074
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801e3071
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x48]
mov rdx, rbx
mov ecx, 2
call fcn.18016c8c0
test al, al
jne 0x1801e309a
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801e3097
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x68]
mov rdx, rbx
mov ecx, 0xb
call fcn.18016c8c0
test al, al
jne 0x1801e30c0
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1801e30bd
mov rbx, qword [rbx]
mov word [rbx], si
mov byte [rdi], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.180175e80
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1801e31c0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rbp, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1801e3207
mov rdx, qword [r8]
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x1801e3223
mov rax, rdx
cmp word [rax], 0x25
je 0x1801e325b
add rax, 2
sub rcx, 1
jne 0x1801e3213
mov rdx, rdi
mov rcx, rbp
call fcn.180004aa0
nop
mov dword [rsp + 0x20], 1
mov rax, rbp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rax, rax
je 0x1801e3223
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1801e3223
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180004aa0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1801e3287
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
jne 0x1801e330a
mov rdx, rdi
mov rcx, rbp
call fcn.180004aa0
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1801e32f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e32ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e32ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
jmp 0x1801e3237
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.180386168
mov rsi, rax
cmp qword [rdi + 0x18], 8
jb 0x1801e3335
mov rdi, qword [rdi]
lea r8d, [r14 + 1]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1801e336f
cmp eax, r14d
ja 0x1801e336f
mov eax, eax
mov word [rsi + rax*2], r15w
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1801e3355
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180004e70
mov rcx, rsi
call fcn.180385c70
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov dword [rsp + 0x20], 1
jmp 0x1801e32f1
Function at 0x1801ed880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, r8d
mov rdi, rdx
mov r14, rcx
cmp r9, 2
jne 0x1801ed919
lea ecx, [r9 + 0x16]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1801ed90d
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbx], rax
xor esi, esi
mov qword [rsp + 0x30], rsi
movzx edx, bp
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromResource]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 8], rax
jmp 0x1801ed911
xor esi, esi
mov ebx, esi
mov qword [r14], rbx
jmp 0x1801ed9f7
movzx edx, bp
mov r8, r9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1801eda21
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x1801eda21
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1801eda21
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1801eda18
mov edx, esi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1801eda18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1801eda0f
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x30]
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1801eda0f
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1801eda0f
call fcn.1801ed830
mov qword [r14], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, r14
call fcn.1801eda40
mov rcx, qword [r14]
mov eax, dword [rcx + 0x10]
mov dword [rcx + 0x10], esi
test eax, eax
sete al
jmp 0x1801eda23
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x18]
jmp 0x1801ed880
Function at 0x1801edce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, r8d
mov rdi, rdx
mov r14, rcx
cmp r9, 2
jne 0x1801ed919
lea ecx, [r9 + 0x16]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1801ed90d
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbx], rax
xor esi, esi
mov qword [rsp + 0x30], rsi
movzx edx, bp
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromResource]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 8], rax
jmp 0x1801ed911
xor esi, esi
mov ebx, esi
mov qword [r14], rbx
jmp 0x1801ed9f7
movzx edx, bp
mov r8, r9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1801eda21
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x1801eda21
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1801eda21
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1801eda18
mov edx, esi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1801eda18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1801eda0f
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x30]
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1801eda0f
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1801eda0f
call fcn.1801ed830
mov qword [r14], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, r14
call fcn.1801eda40
mov rcx, qword [r14]
mov eax, dword [rcx + 0x10]
mov dword [rcx + 0x10], esi
test eax, eax
sete al
jmp 0x1801eda23
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x18]
jmp 0x1801ed880
Function at 0x1801fcfb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x450
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x460]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x1801fd009
xor al, al
jmp 0x1801fd05b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1801fd034
cmp qword [rsp + 0x20], 0
je 0x1801fd030
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x1801fd05b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
call fcn.18000d570
cmp qword [rsp + 0x20], 0
je 0x1801fd059
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x450
pop rdi
ret

Function at 0x1801fe5d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0xe0], 0
je 0x1801fe62a
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
jmp 0x1801fe635
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1801fe6bc
cmp qword [rsp + 0x68], 0x20
jbe 0x1801fe6ab
mov dword [rsp + 0x20], 1
jmp 0x1801fe6b3
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
jmp 0x1801fe6d9
cmp qword [rsp + 0xd0], 0
je 0x1801fe6d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
xor al, al
add rsp, 0xa0
pop rdi
ret
Function at 0x1801fe9e0
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rcx, qword [rsp + 0x3d0]
call fcn.180155c00
movzx eax, al
test eax, eax
jne 0x1801fea21
jmp 0x1801febb0
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0x80], VarUI4FromDisp
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x90], 2
jne 0x1801fea8e
cmp dword [rsp + 0x84], 5
jne 0x1801fea8e
cmp dword [rsp + 0x88], 0
jne 0x1801fea8e
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x1801feaa7
xor r9d, r9d
mov r8d, 0x10
lea rdx, [rsp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 2
imul rax, rax, 0x104
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x20a
jae 0x1801feac5
jmp 0x1801feaca
call fcn.180386298
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rsp + rcx + 0x1a0], ax
mov rdx, qword [rsp + 0x3d0]
lea rcx, [rsp + 0x40]
call fcn.180004aa0
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.180004a40
nop
lea rdx, [0x1803befe8]
lea rcx, [rsp + 0x40]
call fcn.180154870
lea rdx, [0x1803befe8]
lea rcx, [rsp + 0x60]
call fcn.180154870
lea rdx, [0x1803cb040]
lea rcx, [rsp + 0x40]
call fcn.180154870
lea rdx, [0x1803cb040]
lea rcx, [rsp + 0x60]
call fcn.180154870
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180154580
movzx eax, al
test eax, eax
jne 0x1801feb9b
lea rdx, [0x1803c0840]
lea rcx, [rsp + 0x40]
call fcn.180009d60
lea rcx, [rsp + 0x40]
call fcn.180004950
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x60]
call fcn.180004990
nop
lea rcx, [rsp + 0x40]
call fcn.180004990
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x3c0
pop rdi
ret