joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5427a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x577018]
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 dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x30], ecx
call fcn.004e4600
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.NeatTabControl.0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
push 0xe
push str.NeatTabControl
lea ecx, [eax + 0x14]
mov byte [ebp - 4], 1
call fcn.00402bc0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 8
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x3c], 0
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
movsd xmm1, qword [0x577b80]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
push 0
push 0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [0x568250]
cvttsd2si esi, xmm0
movd xmm0, edi
mov edi, dword [ebp - 0x2c]
cvtdq2pd xmm0, xmm0
push dword [edi + 8]
mulsd xmm0, xmm1
push ebx
mulsd xmm1, qword [0x568220]
push eax
mov eax, dword [ebp - 0x20]
cvttsd2si edx, xmm0
sub eax, esi
sub eax, dword [ebp - 0x28]
push eax
cvttsd2si ecx, xmm1
push edx
push ecx
push 0x54000000
push 0x559640
push str.SysTabControl32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x57ac28]
mov dword [edi + 0xc], eax
push 0x30
push eax
call esi
push edi
push 1
push 0x4e7940
push dword [edi + 0xc]
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
cmp byte [0x57ac35], 0
je 0x4e74de
push 1
push dword [edi + 0xc]
call dword [0x57ac3c]
cmp byte [0x57ac34], 0
je 0x4e74b0
push 0x54002000
push 0xfffffffffffffff0
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x559640
push 0x559640
jmp 0x4e74c7
push 0x54000000
push 0xfffffffffffffff0
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push str.Explorer
push dword [edi + 0xc]
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0
push 0
push 0x31a
push dword [edi + 0xc]
call esi
mov eax, edi
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.00517154
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e7730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push dword [ebx + 0xc]
mov edi, ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x30]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4e7783
pop edi
mov dword [eax], ebx
add dword [ecx + 4], 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 8]
push edx
push eax
call fcn.004e3e70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00517154
mov esp, ebp
pop ebp
ret 8

Function at 0x4e7860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54281d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x577018]
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 edx, ecx
mov eax, dword [edx + 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x30]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004e7aa0
mov dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub ebx, edi
sar ebx, 2
test ebx, ebx
je 0x4e78eb
nop dword [eax]
mov ecx, dword [edi + esi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + esi*4]
push 0
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, ebx
jb 0x4e78d0
test edi, edi
je 0x4e791b
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4e7911
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7939
push ecx
push edi
call fcn.00517162
add esp, 8
xor al, al
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.00517154
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4e8410
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.RtlGetNtVersionNumbers
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x4e8679
push 0x57ac48
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
call eax
mov eax, dword [0x57ac48]
and eax, 0xfffffff
cmp dword [ebp - 0xc], 0xa
mov dword [0x57ac48], eax
jne 0x4e8679
cmp dword [ebp - 0x10], 0
jne 0x4e8679
cmp eax, 0x4563
je 0x4e8494
cmp eax, 0x47ba
je 0x4e8494
cmp eax, 0x47bb
je 0x4e8494
cmp eax, 0x4a61
jb 0x4e8679
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
push 0x800
push 0
push str.uxtheme.dll
call ebx
mov edi, eax
test edi, edi
je 0x4e8677
push 0x31
push edi
call esi
push 0x68
push edi
mov dword [0x57ac30], eax
call esi
push 0x6a
push edi
mov dword [0x57ac38], eax
call esi
push 0x84
push edi
mov dword [0x57ac54], eax
call esi
push 0x85
push edi
mov dword [0x57ac58], eax
call esi
push 0x87
push edi
mov dword [0x57ac3c], eax
call esi
cmp dword [0x57ac48], 0x47ba
jae 0x4e8507
mov dword [0x57ac44], eax
jmp 0x4e850c
mov dword [0x57ac5c], eax
push 0x89
push edi
call esi
push str.SetWindowCompositionAttribute
push str.user32.dll
mov dword [0x57ac40], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
cmp dword [0x57ac30], 0
mov dword [0x57ac50], eax
je 0x4e8677
cmp dword [0x57ac38], 0
je 0x4e8677
cmp dword [0x57ac58], 0
je 0x4e8677
cmp dword [0x57ac3c], 0
je 0x4e8677
mov ecx, dword [0x57ac44]
mov eax, dword [0x57ac5c]
test ecx, ecx
jne 0x4e857c
test eax, eax
je 0x4e8677
cmp dword [0x57ac40], 0
je 0x4e8677
mov byte [0x57ac35], 1
test ecx, ecx
je 0x4e859a
push 1
call ecx
jmp 0x4e85a2
test eax, eax
je 0x4e85a2
push 1
call eax
call dword [0x57ac38]
call dword [0x57ac58]
test al, al
je 0x4e85bf
call fcn.004e82a0
test al, al
jne 0x4e85bf
mov al, 1
jmp 0x4e85c1
xor al, al
push 0x800
push 0
push str.comctl32.dll
mov byte [0x57ac34], al
call ebx
mov ebx, eax
test ebx, ebx
je 0x4e8677
mov ecx, dword [ebx + 0x3c]
mov esi, dword [ecx + ebx + 0xe0]
add esi, ebx
cmp dword [esi + 4], 0
je 0x4e8677
mov eax, dword [esi + 4]
add eax, ebx
push 0x564d88
push eax
call fcn.00526c4c
add esp, 8
test eax, eax
je 0x4e8625
add esi, 0x20
cmp dword [esi + 4], 0
jne 0x4e85f4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
add ecx, ebx
add edi, ebx
mov eax, dword [ecx]
test eax, eax
je 0x4e864a
jns 0x4e863d
cmp ax, 0x31
je 0x4e864c
mov eax, dword [ecx + 4]
add ecx, 4
add edi, 4
test eax, eax
jne 0x4e8635
xor edi, edi
test edi, edi
je 0x4e8677
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 4
push 4
push edi
call esi
test eax, eax
je 0x4e8677
lea eax, [ebp - 8]
mov dword [edi], 0x4e83b0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00517154
mov esp, ebp
pop ebp
ret
Function at 0x4e9d10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x577018]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push 0
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e9d50
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x4e9d97
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
push 0x559640
mov word [esi], ax
call fcn.00408270
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4e9dc7
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x559640
mov ecx, esi
call fcn.00409680
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [esp + 0x18]
call fcn.00409680
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0040af80
mov ecx, dword [esp + 0x28]
cmp ecx, 8
jb 0x4e9e22
mov edx, dword [esp + 0x14]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4e9e18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e9e35
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov edx, 0x564e64
lea ecx, [ebp + 8]
call fcn.004098b0
test al, al
jne 0x4e9e88
mov edx, 0x564e80
lea ecx, [ebp + 8]
call fcn.004098b0
test al, al
jne 0x4e9e88
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e9e88
test eax, 0x80000
jne 0x4e9e88
xor bl, bl
jmp 0x4e9e8a
mov bl, 1
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4e9ec0
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4e9eb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e9ec5
push ecx
push edx
call fcn.00517162
add esp, 8
mov al, bl
pop ebx
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4ea6a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542d35
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.Edge
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004098b0
test al, al
je 0x4ea773
mov ecx, dword [ebp + 0x30]
mov eax, bind
sub eax, ecx
cmp eax, 0xf
jb 0x4ea837
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
push 0xf
push str.microsoft_edge:
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.004097f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0x564eec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 8
jb 0x4ea79e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea767
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea83c
push ecx
push edx
call fcn.00517162
add esp, 8
jmp 0x4ea79e
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 1
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0x564eec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov ecx, dword [ebp + 0x1c]
cmp esi, 0x20
setg bl
cmp ecx, 8
jb 0x4ea7da
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea7d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea841
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x4ea824
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea81a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea841
push ecx
push edx
call fcn.00517162
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401640
call fcn.0051eb64
call fcn.0051eb64
int3

Function at 0x4ea850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push 5
push 0
push 0
push eax
push 0x564eec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 0x1c]
cmp eax, 0x20
setg bl
cmp ecx, 8
jb 0x4ea8af
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea8a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea8b4
push ecx
push edx
call fcn.00517162
add esp, 8
mov al, bl
pop ebx
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4eb230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542e4d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
call fcn.004eb140
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push 4
cmovae ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4eb2c4
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4eb2ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2de
push ecx
push edx
call fcn.00517162
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.00517154
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4eb5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542edd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0xf
push str.SoftwareNeatDM
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
call fcn.00408270
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push 0x10
cmovae eax, dword [ebp - 0x30]
push ecx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
or esi, 0xffffffff
test eax, eax
cmove esi, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4eb6a0
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4eb696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb706
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 8
jb 0x4eb6ea
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4eb6e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb706
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4eb710
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f25
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.004eb140
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov esi, eax
lea ecx, [ebp + 8]
cmovae edx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x30]
cmovae ecx, dword [ebp + 8]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4eb7a7
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4eb79d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb801
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x4eb7f1
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4eb7e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb801
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3
Function at 0x4ecb70
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5431d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], esp
push 0x6f
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_107.0.0.0_Safari_537.36
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push 0xc
push str.DefaultAgent
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004ebc30
add esp, 0x30
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0x100
mov dword [ebp - 0x14], 1
jbe 0x4ecc7f
push 0x100
push 0
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00402880
mov edi, eax
cmp esi, edi
je 0x4ecc77
mov ecx, esi
call fcn.004028f0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x38]
call fcn.004028f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54325e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call fcn.004ed0b0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 1
jb 0x4eceae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ecebe
test al, 0x10
jne 0x4ecf2c
lea ecx, [ebp - 0x34]
call fcn.004ecf50
mov edi, eax
cmp esi, edi
je 0x4ecef6
mov ecx, esi
call fcn.00408210
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4ecf2c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ecf22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ecf42
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0051eb64
int3
Function at 0x4ecf50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54328d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
push 0
push 0x8000
push 0x5475d0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x4ed053
mov edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ecfc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408270
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x18]
mov eax, bind
sub eax, ecx
cmp eax, 1
jb 0x4ed0a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x560568
push ecx
push eax
push ecx
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.004097f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4ed088
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ed047
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed0aa
push ecx
push edx
call fcn.00517162
add esp, 8
jmp 0x4ed088
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov ecx, esi
push 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x560568
mov word [esi], ax
call fcn.00408270
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret
call fcn.00401640
call fcn.0051eb64
int3