joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4835b7
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 0xc]
push edx
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4835de
mov eax, dword [ebp - 0xc]
jmp 0x4836ce
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x483600
mov eax, dword [ebp - 0xc]
jmp 0x4836ce
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x483625
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
jmp 0x4836ce
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x483652
jmp 0x4836c1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004332a0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4836b7
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00413c50
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x484060
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afa16
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4ea00c]
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 0x4cac4c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004096a0
mov dword [ebp - 4], 0
push 0x4cac50
lea ecx, [ebp - 0x268]
call fcn.00414660
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x268]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x48411a
mov byte [ebp - 0x261], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00409680
mov al, byte [ebp - 0x261]
jmp 0x4841d3
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x10
je 0x484131
jmp 0x484133
jmp 0x484189
lea ecx, [ebp - 0x26c]
call fcn.004097c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4cac58
lea eax, [ebp - 0x26c]
push eax
call fcn.00409d70
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.00409680
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48411a
mov edx, dword [ebp - 0x274]
push edx
call fcn.0043c10f
add esp, 4
mov byte [ebp - 0x262], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00409680
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.0042e29e
mov esp, ebp
pop ebp
ret 8
Function at 0x4841f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afa4e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4ea00c]
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 bind
mov ecx, dword [ebp + 0xc]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x484257
jmp 0x484392
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.004097c0
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00415d20
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.00415d70
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x54], 0
jle 0x4842e0
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x54]
jle 0x4842e0
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.004114f0
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.00409610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00409680
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00479dbd
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.00432e20
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x64]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
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.0043be3f
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.0043be3f
add esp, 0x10
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.00479db8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 8
Function at 0x4843b0
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 0x4843ca
mov ecx, dword [ebp - 4]
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x4843dc
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 bind
mov ecx, dword [ebp - 4]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48440a
xor al, al
jmp 0x484473
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 0x484d10
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 0x484d55
jmp 0x484d7a
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.0043bb74
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 0x484f20
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 0x484f4f
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 0x484ff0
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.0043bb74
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x48502e
cmp dword [ebp - 4], 0
je 0x48502e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x485031
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4855e0
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 0x485601
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 0x4cba04
call sym.Install_rocket.exe_bool___cdecl_NsGetProcAddr_wchar_t_const___char_const___void___
add esp, 0xc
movzx eax, al
test eax, eax
je 0x485646
cmp dword [ebp - 8], 0
je 0x485644
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 0x485644
mov al, 1
jmp 0x48565e
jmp 0x48565c
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 0x48565c
mov al, 1
jmp 0x48565e
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afb82
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ea00c]
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 0x485848
mov eax, 1
jmp 0x4858c1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4858bc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.004096a0
mov dword [ebp - 4], 0
push str..bak
lea ecx, [ebp - 0x10]
call fcn.00414660
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485898
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043ec1b
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409680
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4858d0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afba5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ea00c]
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 0x485975
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x485975
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004096a0
mov dword [ebp - 4], 0
push 0x4cb934
lea ecx, [ebp - 0x10]
call fcn.00414660
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485951
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043ec1b
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409680
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 0x4859a0
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 0x4859c9
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 0x4859e0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x4cb998
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 0x485a09
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 0x485a20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x4cb90c
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 0x485a49
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 0x485a60
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 0x485a73
xor eax, eax
jmp 0x485aca
push 0x4cb990
mov eax, dword [ebp + 8]
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x485a91
xor eax, eax
jmp 0x485aca
push 0
push 0x15
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ec00
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.0043be3f
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c10f
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x485ee0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x288
push 0x288
call fcn.0043a4ee
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x485f1b
xor eax, eax
jmp 0x486053
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x485f56
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00439647
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
call fcn.0043a4ee
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x485f56
xor eax, eax
jmp 0x486053
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x486044
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x485f7c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x486044
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1a0], 6
je 0x485f94
jmp 0x485f74
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x190], 6
je 0x485fa2
jmp 0x485f74
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 0x4cb8ec
lea edx, [ebp - 0x24]
push edx
call fcn.0041c540
add esp, 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418580
mov dword [ebp - 0x34], 1
jmp 0x486044
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00439647
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x486190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afc06
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4ea00c]
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.00418770
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 0x48620f
cmp dword [ebp - 0x134], 0
jne 0x48620f
push str.Windows2000
lea ecx, [ebp - 0x28]
call fcn.00418580
jmp 0x4862b5
cmp dword [ebp - 0x138], 5
jne 0x486233
cmp dword [ebp - 0x134], 1
jne 0x486233
push str.WindowsXP
lea ecx, [ebp - 0x28]
call fcn.00418580
jmp 0x4862b5
cmp dword [ebp - 0x138], 6
jne 0x486254
cmp dword [ebp - 0x134], 0
jne 0x486254
push str.Windows2003
lea ecx, [ebp - 0x28]
call fcn.00418580
jmp 0x4862b5
cmp dword [ebp - 0x138], 5
jne 0x486275
cmp dword [ebp - 0x134], 2
jne 0x486275
push str.windowsvista
lea ecx, [ebp - 0x28]
call fcn.00418580
jmp 0x4862b5
cmp dword [ebp - 0x138], 6
jne 0x486296
cmp dword [ebp - 0x134], 1
jne 0x486296
push str.windows7
lea ecx, [ebp - 0x28]
call fcn.00418580
jmp 0x4862b5
cmp dword [ebp - 0x138], 6
jne 0x4862b5
cmp dword [ebp - 0x134], 2
jne 0x4862b5
push str.windows10
lea ecx, [ebp - 0x28]
call fcn.00418580
lea ecx, [ebp - 0x164]
push ecx
call fcn.00486340
add esp, 4
movzx edx, word [ebp - 0x164]
cmp edx, 6
je 0x4862dc
movzx eax, word [ebp - 0x164]
cmp eax, 9
jne 0x4862eb
push str._x64
lea ecx, [ebp - 0x28]
call fcn.00418560
jmp 0x4862f8
push str._x86
lea ecx, [ebp - 0x28]
call fcn.00418560
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418680
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004185a0
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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x486820
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00432e20
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 0x486882
xor eax, eax
jmp 0x48689f
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.0042e29e
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afc77
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ea00c]
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.00432e20
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4cb738
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 0x48692d
xor eax, eax
jmp 0x4869c0
lea ecx, [ebp - 0x21c]
call fcn.004097c0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x486963
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.00409d70
add esp, 0x10
jmp 0x48697f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x4cb788
lea eax, [ebp - 0x21c]
push eax
call fcn.00409d70
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
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.00409680
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.0042e29e
mov esp, ebp
pop ebp
ret