joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449460
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466966
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
push 0x47484c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042c0fb
add esp, 8
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00409280
mov dword [ebp - 4], 0
push 0x474850
lea ecx, [ebp - 0x268]
call fcn.00414450
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x268]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x44951a
mov byte [ebp - 0x261], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00409260
mov al, byte [ebp - 0x261]
jmp 0x4495d3
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x10
je 0x449531
jmp 0x449533
jmp 0x449589
lea ecx, [ebp - 0x26c]
call fcn.004093a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x474858
lea eax, [ebp - 0x26c]
push eax
call fcn.00409950
add esp, 0x10
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x274]
push edx
mov ecx, dword [ebp - 0x27c]
call sym.Install_rocket.exe_private:_void___thiscall_CNsSkin::WriteSkin_struct__iobuf___class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00409260
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44951a
mov edx, dword [ebp - 0x274]
push edx
call fcn.0042c1cf
add esp, 4
mov byte [ebp - 0x262], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00409260
mov al, byte [ebp - 0x262]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret 8
Function at 0x4495f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46699e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x449657
jmp 0x449792
push 0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x64]
call fcn.004093a0
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00415b00
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.00415b50
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x54], 0
jle 0x4496e0
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x54]
jle 0x4496e0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00411300
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004091f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00409260
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00444b4d
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x7c], 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.00424850
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x64]
call fcn.004093e0
push eax
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 8]
push eax
push 1
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.0042bfe2
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
push 1
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0042bfe2
add esp, 0x10
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.00444b48
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00409260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret 8
Function at 0x4497b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4497ca
mov ecx, dword [ebp - 4]
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x4497dc
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::SetSkinName_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp - 4]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44980a
xor al, al
jmp 0x449873
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x44a080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 8]
call sym.Install_rocket.exe_private:_struct_tagNsTimer____thiscall_CNsThread::AddTimer_struct_tagNsTimer__
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44a0c5
jmp 0x44a0ea
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_rocket.exe_private:_static_unsigned_int___stdcall_CNsThread::TimerThread_void__
push 0
push 0
call fcn.0042bd17
add esp, 0x18
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x14], edx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44a290
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x44a2bf
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8
Function at 0x44a360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call fcn.0042bd17
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x44a39e
cmp dword [ebp - 4], 0
je 0x44a39e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44a3a1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44a940
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xf003f
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44a961
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push str.RegDeleteKeyExW
push 0x475604
call sym.Install_rocket.exe_bool___cdecl_NsGetProcAddr_wchar_t_const___char_const___void___
add esp, 0xc
movzx eax, al
test eax, eax
je 0x44a9a6
cmp dword [ebp - 8], 0
je 0x44a9a4
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
test eax, eax
jne 0x44a9a4
mov al, 1
jmp 0x44a9be
jmp 0x44a9bc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x44a9bc
mov al, 1
jmp 0x44a9be
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x44ab70
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466ad2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x48600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44aba8
mov eax, 1
jmp 0x44ac21
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44ac1c
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.00409280
mov dword [ebp - 4], 0
push str..bak
lea ecx, [ebp - 0x10]
call fcn.00414450
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44abf8
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042eb75
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409260
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44ac30
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466af5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x48600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44acd5
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44acd5
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00409280
mov dword [ebp - 4], 0
push 0x475534
lea ecx, [ebp - 0x10]
call fcn.00414450
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44acb1
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.004093e0
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042eb75
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409260
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x44ad00
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push str.SeShutdownPrivilege
call sym.Install_rocket.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x44ad29
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x44ad40
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x475598
call sym.Install_rocket.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x44ad69
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x44ad80
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x47550c
call sym.Install_rocket.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x44ada9
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44adc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sym.Install_rocket.exe_int___cdecl_isWin7_void_
test eax, eax
jne 0x44add3
xor eax, eax
jmp 0x44ae2a
push 0x475590
mov eax, dword [ebp + 8]
push eax
call fcn.0042c0fb
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44adf1
xor eax, eax
jmp 0x44ae2a
push 0
push 0x15
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042eb5a
add esp, 0xc
mov byte [ebp - 1], 0x20
mov edx, dword [ebp - 8]
push edx
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.0042bfe2
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042c1cf
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44b240
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x288
push 0x288
call fcn.0042b747
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44b27b
xor eax, eax
jmp 0x44b3b3
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x44b2b6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042a8a0
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042b747
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44b2b6
xor eax, eax
jmp 0x44b3b3
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x44b3a4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x44b2dc
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x44b3a4
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1a0], 6
je 0x44b2f4
jmp 0x44b2d4
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x190], 6
je 0x44b302
jmp 0x44b2d4
mov edx, 1
imul eax, edx, 5
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
push str._02X__02X__02X__02X__02X__02X
lea edx, [ebp - 0x24]
push edx
call fcn.0041c2e0
add esp, 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418350
mov dword [ebp - 0x34], 1
jmp 0x44b3a4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042a8a0
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret
Function at 0x44b4f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466b56
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x28]
call fcn.00418540
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], 0x114
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 5
jne 0x44b56f
cmp dword [ebp - 0x134], 0
jne 0x44b56f
push str.Windows2000
lea ecx, [ebp - 0x28]
call fcn.00418350
jmp 0x44b615
cmp dword [ebp - 0x138], 5
jne 0x44b593
cmp dword [ebp - 0x134], 1
jne 0x44b593
push str.WindowsXP
lea ecx, [ebp - 0x28]
call fcn.00418350
jmp 0x44b615
cmp dword [ebp - 0x138], 6
jne 0x44b5b4
cmp dword [ebp - 0x134], 0
jne 0x44b5b4
push str.Windows2003
lea ecx, [ebp - 0x28]
call fcn.00418350
jmp 0x44b615
cmp dword [ebp - 0x138], 5
jne 0x44b5d5
cmp dword [ebp - 0x134], 2
jne 0x44b5d5
push str.windowsvista
lea ecx, [ebp - 0x28]
call fcn.00418350
jmp 0x44b615
cmp dword [ebp - 0x138], 6
jne 0x44b5f6
cmp dword [ebp - 0x134], 1
jne 0x44b5f6
push str.windows7
lea ecx, [ebp - 0x28]
call fcn.00418350
jmp 0x44b615
cmp dword [ebp - 0x138], 6
jne 0x44b615
cmp dword [ebp - 0x134], 2
jne 0x44b615
push str.windows10
lea ecx, [ebp - 0x28]
call fcn.00418350
lea ecx, [ebp - 0x164]
push ecx
call fcn.0044b6a0
add esp, 4
movzx edx, word [ebp - 0x164]
cmp edx, 6
je 0x44b63c
movzx eax, word [ebp - 0x164]
cmp eax, 9
jne 0x44b64b
push str._x64
lea ecx, [ebp - 0x28]
call fcn.00418330
jmp 0x44b658
push str._x86
lea ecx, [ebp - 0x28]
call fcn.00418330
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418450
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00418370
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret
Function at 0x44bb80
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00424850
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._at.exe
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bbe2
xor eax, eax
jmp 0x44bbff
push 0
push 0
push str._delete__yes
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_rocket.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret

Function at 0x44bc10
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466bc7
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00424850
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x475338
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bc8d
xor eax, eax
jmp 0x44bd20
lea ecx, [ebp - 0x21c]
call fcn.004093a0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x44bcc3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s__every:m_t_w_th_f_s_su___s_
lea eax, [ebp - 0x21c]
push eax
call fcn.00409950
add esp, 0x10
jmp 0x44bcdf
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x475388
lea eax, [ebp - 0x21c]
push eax
call fcn.00409950
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.004093e0
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_rocket.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 0x220], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00409260
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret
Function at 0x44bd40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x44bd77
cmp dword [ebp + 0xc], 0
jne 0x44bd7e
xor eax, eax
jmp 0x44bf03
lea ecx, [ebp - 0x47c]
call fcn.004093a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
jne 0x44bdc1
mov eax, dword [ebp + 8]
push eax
push 0x475224
lea ecx, [ebp - 0x47c]
push ecx
call fcn.00409950
add esp, 0xc
jmp 0x44bdd9
mov edx, dword [ebp + 8]
push edx
push str._sdesktop.ini
lea eax, [ebp - 0x47c]
push eax
call fcn.00409950
add esp, 0xc
lea ecx, [ebp - 0x47c]
call fcn.004093e0
push eax
push 0x400
lea ecx, [ebp - 0x474]
push ecx
push 0x475260
push 0x475264
push 0x475278
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x47c]
call fcn.004093e0
push eax
push 0x64
lea edx, [ebp - 0x74]
push edx
push 0x475298
push 0x47529c
push 0x4752b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 0x475], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44be5b
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44be62
mov byte [ebp - 0x475], 1
mov dword [ebp - 0x480], 1
movzx ecx, byte [ebp - 0x475]
test ecx, ecx
je 0x44bedf
lea ecx, [ebp - 0x47c]
call fcn.004093e0
push eax
mov edx, dword [ebp + 0xc]
push edx
push str.IconFile
push 0x4752e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x480], eax
lea ecx, [ebp - 0x47c]
call fcn.004093e0
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.IconIndex
push str..ShellClassInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and eax, dword [ebp - 0x480]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderW]
and eax, dword [ebp - 0x480]
mov dword [ebp - 0x480], eax
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x484], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.00409260
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret