joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4500c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbfc]
cmp dword [eax + 0x30], 0
je 0x45016a
cmp dword [ebx + 0x94], 0
jne 0x450164
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450050
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450164
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45012a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450164
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413b58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450139
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450c48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450c7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404348
jmp 0x450c8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451c98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451cd9
mov eax, esi
call fcn.00437f68
test al, al
je 0x451cd9
mov eax, dword [ebx + 0x84]
call fcn.00437c64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451cd9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437c64
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458b28
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x458b56
mov eax, ebx
call fcn.004595e0
cmp dword [ebx + 0x3c], 0
je 0x458b4f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x458bc7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x458bb9
cmp dword [ebx + 8], 0
je 0x458b78
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x458b8a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x458bb9
cmp dword [ebx + 8], 0
je 0x458b6b
cmp eax, 3
je 0x458b9d
dec eax
jne 0x458b6b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x458b6b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x458b6b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x458be5
cmp dword [ebx + 0x10], 0xcc
je 0x458be5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00458bf0
pop ebx
ret
Function at 0x4097c8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
jmp 0x409871
cmp dword [esi + 0x10], 0x1000
jne 0x40985d
test byte [esi + 0x15], 1
jne 0x40985d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40981c
cmp eax, 2
je 0x40981c
cmp eax, 0x10
je 0x40981c
cmp eax, 0x20
jne 0x409831
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409831
mov bl, 1
xor ebp, ebp
jmp 0x409842
mov eax, dword [esi]
add eax, ebp
call fcn.004097c0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409835
test bl, bl
je 0x40985d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097f4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401f00
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x457780
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x46e780]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x64c]
cmp eax, 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
jne 0x401f4c
push 0x45f248
call fcn.00402500
mov dword [esp + 0x1c], 0
jmp 0x401f5e
push 0x45f264
call fcn.00402500
mov dword [esp + 0x1c], 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x45f24c
call fcn.00402500
mov dword [esp + 0x20], 0xffffffff
call fcn.0040b290
add esp, 8
push 0
lea ecx, [esi + 0x3cc]
call fcn.00423155
push 0
lea ecx, [esi + 0x478]
call fcn.00423155
push 0
lea ecx, [esi + 0x144]
call fcn.00423191
push 5
push 0x3f2
mov ecx, esi
call fcn.00422fb9
mov ecx, eax
call fcn.00423155
push 5
lea ecx, [esi + 0x2e0]
call fcn.00423155
push 0
lea ecx, [esi + 0x5d0]
call fcn.00423155
push 0
lea ecx, [esi + 0x680]
call fcn.00423155
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str._r_nQiyiShellParser::ExecUninstall________________________________r_n
call fcn.00402500
push 0x472bf0
call fcn.00406be0
lea eax, [esp + 8]
push eax
push 0
add esi, 0x2cc
push esi
push 0x4143b0
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x402740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402759
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402794
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402790
lea ebx, [ebx]
cmp esi, eax
jae 0x402794
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402780
cmp esi, eax
jb 0x40279a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x406be0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x456718
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46e780]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x20]
or edi, 0xffffffff
cmp dword [eax + 0x210], edi
je 0x406c2b
lea ecx, [eax + 0x20c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
push esi
call edx
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x406c4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x406c70
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x210], 0xffffffff
je 0x406cae
mov edx, dword [ebp + 0x20c]
mov eax, dword [edx + 0x48]
lea esi, [ebp + 0x20c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
mov esi, dword [ebp + 0xe0]
cmp esi, dword [ebp + 0xe4]
lea edi, [ebp + 0xdc]
jbe 0x406cc7
call fcn.0043ae4d
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x406cd4
call fcn.0043ae4d
cmp edi, edi
je 0x406cdd
call fcn.0043ae4d
cmp esi, ebx
je 0x406d21
cmp esi, dword [edi + 8]
jb 0x406ceb
call fcn.0043ae4d
mov ecx, dword [esi]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x406d12
cmp esi, dword [edi + 8]
jb 0x406d07
call fcn.0043ae4d
mov edx, dword [esi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp esi, dword [edi + 8]
jb 0x406d1c
call fcn.0043ae4d
add esi, 4
jmp 0x406cc7
mov eax, dword [ebp + 0x224]
test eax, eax
je 0x406d31
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0
mov dword [ebp + 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebp
call fcn.00424af1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
call fcn.00427c86
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x10]
push 0x45f544
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x406e19
pop edi
pop esi
pop ecx
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x406e39
pop ebx
pop edi
pop esi
pop ecx
ret 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.0043c2f0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0xc]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x406e90
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x406e92
xor esi, esi
mov edx, dword [esp + 0x18]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x40b170
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x456651
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x46e780]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0
mov ebp, 1
mov dword [esp + 0x1c], ebp
call fcn.00421a7e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b1c3
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov edi, dword [0x472cac]
mov ecx, ebp
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x10], ebp
jge 0x40b1f8
push 0x104
mov ecx, esi
call fcn.004013d0
mov eax, dword [esi]
push edi
mov edi, dword [esp + 0x2c]
push 0x104
push eax
push 0x4602d4
push edi
push 0x460ad0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esi]
test ecx, ecx
jne 0x40b220
xor eax, eax
jmp 0x40b236
mov eax, ecx
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40b225
sub eax, ebp
sar eax, 1
js 0x40b27c
cmp eax, dword [ecx - 8]
jg 0x40b27c
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], 0
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0x80070057
call fcn.00401350
int3
Function at 0x40be90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x234
mov eax, dword [0x46e780]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 8]
push eax
push ebx
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40bf0b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c08b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00439e3e
add esp, 0x234
ret
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov edi, dword [esp + 0x248]
je 0x40c065
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.00402500
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 0xc]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x40bf64
push esi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0043ab7a
add esp, 8
test esi, esi
jl 0x40c0a1
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40c0a1
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
mov word [edx + esi*2], 0
mov esi, dword [edi - 0xc]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
sub ecx, esi
or eax, ecx
jge 0x40bfbb
push esi
lea ecx, [esp + 0x24c]
call fcn.004013d0
mov edi, dword [esp + 0x248]
lea edx, [esi + 1]
push edx
push edi
call fcn.0043ab7a
add esp, 8
test esi, esi
jl 0x40c0a1
cmp esi, dword [edi - 8]
jg 0x40c0a1
mov dword [edi - 0xc], esi
mov word [edi + esi*2], 0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c00e
test dx, dx
je 0x40c00a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c00e
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bfe8
xor eax, eax
jmp 0x40c013
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40c032
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x1f0fff
call ebp
test eax, eax
je 0x40c032
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40bf30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c088
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x234]
pop ebx
xor ecx, esp
call fcn.00439e3e
add esp, 0x234
ret
push 0x80070057
call fcn.00401350
int3
Function at 0x40c3b0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x40c3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
ret
Function at 0x40d2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x46fb44]
mov edi, dword [ebp + 8]
push edi
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d382
lea eax, [ebp - 0xc]
push str._RegDLL__Source_file_not_found:
push eax
lea ecx, [ebp + 8]
call fcn.004022b0
mov edi, dword [eax]
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x40d33a
mov dword [ebp - 8], esi
jmp 0x40d368
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40d350
mov dword [ebp - 8], esi
jmp 0x40d368
lea esi, [eax + eax]
mov eax, esi
call fcn.004411d0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408520
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0043a782
push 0x468880
lea edx, [ebp - 0x18]
push edx
call fcn.0043e4e2
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40d3a8
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d3a1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439e3e
mov esp, ebp
pop ebp
ret
Function at 0x40e150
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ecx
push esi
call dword [0x46fb44]
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e1a8
lea eax, [esp + 4]
push str._PinTaskBar__Source_link_not_exists:
push eax
lea ecx, [esp + 0x14]
call fcn.004022b0
mov ecx, dword [eax]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e1c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40e1c5
cmp dword [0x472cec], 6
jb 0x40e1c5
push 0
push 0
push 0
push esi
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x40e1e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret
Function at 0x410ae0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
mov eax, dword [0x46e780]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
push esi
mov esi, dword [esp + 0x224]
push 0x206
lea eax, [esp + 0x1a]
push 0
push eax
mov dword [esp + 0x1c], esi
mov word [esp + 0x20], 0
call fcn.0043c6b0
add esp, 0xc
test ebx, ebx
je 0x410c01
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410c01
lea ecx, [esp + 8]
push ecx
push 0x10008
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410c06
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ecx]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x104
call edi
mov esi, eax
cmp esi, 0x103
je 0x410bce
test esi, esi
jne 0x410bdc
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00410ae0
mov esi, eax
add esp, 8
test esi, esi
je 0x410b60
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00439e3e
add esp, 0x218
ret
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00439e3e
add esp, 0x218
ret
mov eax, 0x3f2
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
call fcn.00439e3e
add esp, 0x218
ret
Function at 0x411670
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebx
call fcn.0043a890
add esp, 4
cmp eax, 0xa
mov dword [esp + 4], eax
jb 0x41176f
call fcn.00421a7e
test eax, eax
jne 0x41169f
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
add edi, 0x10
cmp dword [0x472cec], 6
push 0xf003f
push 0
jae 0x411719
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411752
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push eax
mov eax, dword [esp + 0x24]
push str.MaxConnectionsPerServer
push eax
call esi
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.MaxConnectionsPer1_0Server
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
jmp 0x411752
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_MAXCONNECTIONSPER1_0SERVER
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411752
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push str.explorer.exe
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
jg 0x41176f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41178b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop ecx
ret