joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468a60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], esi
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x468aa5
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [edi + 0xf0], 0
mov ecx, edi
call fcn.0046ab60
push esi
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x468c0a
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push str..htm
push 0x80000000
call fcn.004674f0
test eax, eax
jne 0x468c0a
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x414]
push str._shellopencommand
push 0x208
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push eax
push 0x80000000
call fcn.004674f0
test eax, eax
jne 0x468c0a
lea eax, [ebp - 0x414]
push str.__1_
push eax
call sub.VCRUNTIME140.dll_wcsstr
mov esi, eax
add esp, 8
test esi, esi
jne 0x468b6c
lea eax, [ebp - 0x414]
push 0x501a18
push eax
call sub.VCRUNTIME140.dll_wcsstr
mov esi, eax
add esp, 8
test esi, esi
jne 0x468b6c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x416]
jmp 0x468b71
xor eax, eax
mov word [esi], ax
push 0x4efd50
push 0x208
push esi
call ebx
push dword [ebp - 0x418]
push 0x208
push esi
call ebx
lea ecx, [ebp - 0x414]
add esp, 0x18
lea edx, [ecx + 2]
jmp 0x468ba0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ba0
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x468bf9
lea edi, [ecx + ecx]
mov eax, edi
call fcn.004bf6c0
mov esi, esp
test esi, esi
je 0x468bf9
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
mov byte [esi], 0
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x41c]
neg eax
sbb eax, eax
and eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x468c0c
push dword [ebp - 0x41c]
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x468c0c
mov eax, esi
lea esp, [ebp - 0x428]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret 8
Function at 0x46ab60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3778
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xf0], 0
jne 0x46ac7f
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0xf0], eax
test eax, eax
jne 0x46ac7f
call fcn.0040fdf0
mov ecx, eax
test ecx, ecx
je 0x46ac9b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x46abf5
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00421760
mov esi, dword [ebp - 0x10]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x46ac91
cmp eax, dword [esi - 8]
jg 0x46ac91
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0xd
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x10]
push str.winhlp32.exe
call fcn.004240d0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46ac59
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x46ac59
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0xf0], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ac7f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041d0e0
push 0x80004005
call fcn.0041d0e0
int3
Function at 0x46ee50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ecx*4 + 2]
mul ecx
mov ebx, dword [edi + 4]
mov ecx, ebx
mov esi, edx
mov byte [ebp - 1], 0
mov edx, dword [edi]
sub ecx, edx
shr esi, 1
cmp esi, ecx
jae 0x46ee85
lea eax, [edx + esi]
jmp 0x46eeaf
jbe 0x46eeb2
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x46ee9e
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
call fcn.0041fed0
jmp 0x46eeb2
sub esi, ecx
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + ebx]
mov dword [edi + 4], eax
mov edx, dword [edi]
mov esi, 8
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], ecx
mov bl, byte [edi]
cmp edi, ecx
jae 0x46ef49
lea ecx, [ecx]
mov al, bl
cmp esi, 6
jbe 0x46eee1
and al, 0x3f
shr bl, 6
sub esi, 6
jmp 0x46ef15
inc edi
cmp edi, ecx
jae 0x46eeea
mov bl, byte [edi]
jmp 0x46eeec
xor bl, bl
mov ecx, 6
sub ecx, esi
mov dword [ebp + 8], ecx
je 0x46ef0f
mov dl, byte [ecx*4 + 0x502e14]
mov ecx, esi
and dl, bl
shl dl, cl
mov cl, byte [ebp + 8]
or al, dl
mov edx, dword [ebp + 0x10]
shr bl, cl
mov ecx, dword [ebp + 0xc]
add esi, 2
cmp al, 0xa
jae 0x46ef1d
add al, 0x30
jmp 0x46ef3f
cmp al, 0x24
jae 0x46ef25
add al, 0x37
jmp 0x46ef3f
cmp al, 0x3e
jae 0x46ef2d
add al, 0x3d
jmp 0x46ef3f
mov eax, 0x2d
mov ecx, 0x5f
cmove ecx, eax
mov al, cl
mov ecx, dword [ebp + 0xc]
mov byte [edx], al
inc edx
mov dword [ebp + 0x10], edx
cmp edi, ecx
jb 0x46eed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471f30
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3ffb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x230]
push 7
push eax
call fcn.00416f00
add esp, 8
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
je 0x471f9f
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.WPS_OFFICE6_ROOT_DIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x824
lea eax, [ebp - 0xa54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xa58], 0xffffffff
call fcn.00410410
lea edx, [ebp - 0xa58]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
test eax, eax
jns 0x471ff9
push eax
push 0x4f4e4c
push str.kupdate::KAutonomousInfoCollect::_init
push 0x125
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcinfocollect_autonomousinfocollect.cpp
push 0
call fcn.00412750
add esp, 0x18
jmp 0x472008
lea eax, [ebp - 0xa58]
push eax
lea ecx, [esi + 8]
call fcn.0046eca0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKEY_CURRENT_USERSoftwareKingsoftOffice6.0CommonupdateinfoCustomAutoNomInfoSvr
call fcn.0044b880
add esp, 0x1c
test eax, eax
jns 0x472059
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKEY_LOCAL_MACHINESoftwareKingsoftOffice6.0CommonCustomAutoNomInfoSvr
call fcn.0044b880
add esp, 0x10
test eax, eax
js 0x472068
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.00423870
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKEY_CURRENT_USERSoftwareKingsoftOffice6.0CommonupdateinfoAutoNomInfoSvr
call fcn.0044b880
add esp, 0x10
test eax, eax
jns 0x4720a6
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKEY_LOCAL_MACHINESoftwareKingsoftOffice6.0CommonAutoNomInfoSvr
call fcn.0044b880
add esp, 0x10
test eax, eax
js 0x4720b4
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00423870
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4720f6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4720ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4720ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x477590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [edi + 4]
shl ebx, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x4775ed
mov edi, dword [ebp + 8]
jmp 0x4775d0
mov eax, esi
lea ecx, [ebp - 0x14]
shr eax, 2
mov edx, esi
add ecx, eax
and edx, 3
mov al, byte [esi + edi]
inc esi
mov byte [ecx + edx*4], al
cmp esi, ebx
jl 0x4775d0
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + 0xc]
xor ecx, ecx
mov edx, ebx
shl edx, 4
lea esi, [ebx + 3]
shl esi, 4
add esi, edi
add edx, edi
movzx eax, byte [esi + ecx]
xor byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [edx + ecx + 0x34]
xor byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edx + ecx + 0x38]
xor byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edx + ecx + 0x3c]
xor byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x477601
dec ebx
cmp ebx, 1
jl 0x47769c
mov eax, ebx
lea esi, [edi + 0x34]
shl eax, 4
add esi, eax
lea ebx, [ebx]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00477af0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00477ba0
xor edx, edx
mov eax, esi
lea ebx, [ebx]
movzx ecx, byte [eax - 4]
lea eax, [eax + 1]
xor byte [ebp + edx*4 - 0x14], cl
movzx ecx, byte [eax - 1]
xor byte [ebp + edx*4 - 0x13], cl
movzx ecx, byte [eax + 3]
xor byte [ebp + edx*4 - 0x12], cl
movzx ecx, byte [eax + 7]
xor byte [ebp + edx*4 - 0x11], cl
inc edx
cmp edx, 4
jl 0x477660
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004778b0
sub esi, 0x10
sub ebx, 1
jne 0x477640
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00477af0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00477ba0
xor ecx, ecx
jmp 0x4776c0
movzx eax, byte [edi + ecx + 0x30]
xor byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [edi + ecx + 0x34]
xor byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edi + ecx + 0x38]
xor byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edi + ecx + 0x3c]
xor byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x4776c0
mov eax, dword [edi + 4]
xor edx, edx
shl eax, 2
test eax, eax
jle 0x47771f
mov esi, dword [ebp - 0x1c]
lea esp, [esp]
mov eax, edx
mov ecx, edx
shr eax, 2
and ecx, 3
lea eax, [ebp + eax - 0x14]
mov al, byte [eax + ecx*4]
mov byte [esi + edx], al
inc edx
mov eax, dword [edi + 4]
shl eax, 2
cmp edx, eax
jl 0x477700
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bee49
mov esp, ebp
pop ebp
ret 8
Function at 0x478110
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e48db
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov edx, 7
xor eax, eax
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], edx
mov word [ebp - 0x46c], ax
mov dword [ebp - 4], eax
test esi, esi
jne 0x4781a7
mov ecx, dword [ebp - 0x468]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x464]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x460]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edx
jmp 0x478338
push 0x400
lea eax, [ebp - 0x454]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x50412c
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4782fb
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x454]
push esi
push 0x400
push 1
push eax
mov byte [ebp - 0x470], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4d8], 0x67452301
mov dword [ebp - 0x4d4], 0xefcdab89
mov dword [ebp - 0x4d0], 0x98badcfe
mov dword [ebp - 0x4cc], 0x10325476
call edi
add esp, 0x10
test eax, eax
je 0x47825f
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00478ba0
push esi
push 0x400
lea eax, [ebp - 0x454]
push 1
push eax
call edi
add esp, 0x10
test eax, eax
jne 0x478234
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x4d8]
call fcn.00477f80
push 0x42
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebx, [ebp - 0x54]
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0x4dc]
movzx eax, byte [edi + eax]
push eax
push str._02x
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.004135e0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x478291
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
jmp 0x4782d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4782d0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.004033b0
mov edi, dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x4e0]
mov eax, dword [ebp - 0x46c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x468]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x464]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x460]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x458]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x478360
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x47839d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x478394
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb4], 0x67452301
mov dword [ebp - 0xb0], 0xefcdab89
mov dword [ebp - 0xac], 0x98badcfe
mov dword [ebp - 0xa8], 0x10325476
call fcn.00478ba0
lea ecx, [ebp - 0xb4]
call fcn.00477f80
push 0x42
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebx, [ebp - 0x48]
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0xb8]
movzx eax, byte [edi + eax]
push eax
push str._02x
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.004135e0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x478412
mov ebx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x48]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478462
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004033b0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x48a7d0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dff6b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00417450
add esp, 8
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48a850
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
push esi
call fcn.00403230
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00403230
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push 0
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00416010
mov edx, dword [ebp - 0x21c]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp edx, 8
jb 0x48a90d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48a903
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x48cdc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e642c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x14]
mov byte [edi], 0
push eax
push 0x2001f
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x48cedf
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cedf
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5421c0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x541b4c]
cmp eax, dword [ecx + 4]
jg 0x48cef1
cmp dword [0x541b48], 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push ecx
mov eax, 0x541b34
mov dword [ebp - 0x20], 4
cmovae eax, dword [0x541b34]
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48cedf
cmp dword [ebp - 0x18], eax
jne 0x48cecd
cmp dword [ebp - 0x1c], 4
jne 0x48cecd
push 4
lea ecx, [ebp - 0x24]
mov byte [edi], 1
cmp dword [0x541b48], 8
mov eax, 0x541b34
push ecx
cmovae eax, dword [0x541b34]
push 4
push 0
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 0xa8
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
push 0x541b4c
call fcn.004bf206
add esp, 4
cmp dword [0x541b4c], 0xffffffff
jne 0x48ce4d
push str.SecureProtocols
mov ecx, 0x541b34
mov dword [ebp - 4], 0
call fcn.00404c50
push 0x4ec580
call fcn.004bf0be
push 0x541b4c
call fcn.004bf1bc
add esp, 8
jmp 0x48ce4d
Function at 0x48cf50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6450
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ecx], 0
je 0x48d04e
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x20006
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SecureProtocols
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004033b0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push 4
push ecx
push 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48d04e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d044
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret

Function at 0x48de60
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x48df0f
cmp eax, 0xffffffff
je 0x48df0f
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x48de86
cmp dword [esi + 8], edi
jne 0x48de8c
cmp dword [esi + 0xc], 0
jne 0x48de97
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x48ded1
cmp edi, 1
jne 0x48dec1
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48dec1
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
push 8
mov dword [esi + 8], 0xffffffff
mov dword [ebp + 8], 0
call fcn.004bedfd
add esp, 4
lea ecx, [ebp + 8]
mov dword [eax], edi
push ecx
push 0
push eax
push 0x48df20
push 0
push 0
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4