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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd86
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x48200c]
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 0x472694
mov eax, dword [ebp + 0xc]
push eax
call fcn.00423327
add esp, 8
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00406d40
mov dword [ebp - 4], 0
push 0x472698
lea ecx, [ebp - 0x268]
call fcn.00406c00
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x268]
call fcn.00406e70
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x44930a
mov byte [ebp - 0x261], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00406d00
mov al, byte [ebp - 0x261]
jmp 0x4493c3
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x10
je 0x449321
jmp 0x449323
jmp 0x449379
lea ecx, [ebp - 0x26c]
call fcn.00406e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4726a0
lea eax, [ebp - 0x26c]
push eax
call fcn.004075a0
add esp, 0x10
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x274]
push edx
mov ecx, dword [ebp - 0x27c]
call sym.Uninstall_adv.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.00406d00
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44930a
mov edx, dword [ebp - 0x274]
push edx
call fcn.0042370f
add esp, 4
mov byte [ebp - 0x262], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00406d00
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.0041e140
mov esp, ebp
pop ebp
ret 8
Function at 0x4493e0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fdbe
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
call fcn.00406e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x44943d
jmp 0x449578
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.00406e20
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.0040cd60
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.0040cdb0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x54], 0
jle 0x4494c6
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x54]
jle 0x4494c6
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.0040cc80
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.00406ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00406d00
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00443332
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.0041fb70
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x64]
call fcn.00406e70
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.00428dde
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.00428dde
add esp, 0x10
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.0044332d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00406d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret 8
Function at 0x4495a0
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 0x4495ba
mov ecx, dword [ebp - 4]
call sym.Uninstall_adv.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x4495cc
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call sym.Uninstall_adv.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.00406e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4495fa
xor al, al
jmp 0x449663
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 0x449e70
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.Uninstall_adv.exe_private:_struct_tagNsTimer____thiscall_CNsThread::AddTimer_struct_tagNsTimer__
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x449eb5
jmp 0x449eda
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Uninstall_adv.exe_private:_static_unsigned_int___stdcall_CNsThread::TimerThread_void__
push 0
push 0
call fcn.00428b13
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 0x44a010
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 0x44a03f
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 0x44a150
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.00428b13
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x44a18e
cmp dword [ebp - 4], 0
je 0x44a18e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44a191
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a7b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x288
push 0x288
call fcn.0042748d
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a7eb
xor eax, eax
jmp 0x44a923
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x44a826
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042631b
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042748d
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a826
xor eax, eax
jmp 0x44a923
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x44a914
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x44a84c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x44a914
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1a0], 6
je 0x44a864
jmp 0x44a844
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x190], 6
je 0x44a872
jmp 0x44a844
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.00411be0
add esp, 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040f370
mov dword [ebp - 0x34], 1
jmp 0x44a914
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042631b
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x44aa60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fe96
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x48200c]
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.0040f560
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 0x44aadf
cmp dword [ebp - 0x134], 0
jne 0x44aadf
push str.Windows2000
lea ecx, [ebp - 0x28]
call fcn.0040f370
jmp 0x44ab85
cmp dword [ebp - 0x138], 5
jne 0x44ab03
cmp dword [ebp - 0x134], 1
jne 0x44ab03
push str.WindowsXP
lea ecx, [ebp - 0x28]
call fcn.0040f370
jmp 0x44ab85
cmp dword [ebp - 0x138], 6
jne 0x44ab24
cmp dword [ebp - 0x134], 0
jne 0x44ab24
push str.Windows2003
lea ecx, [ebp - 0x28]
call fcn.0040f370
jmp 0x44ab85
cmp dword [ebp - 0x138], 5
jne 0x44ab45
cmp dword [ebp - 0x134], 2
jne 0x44ab45
push str.windowsvista
lea ecx, [ebp - 0x28]
call fcn.0040f370
jmp 0x44ab85
cmp dword [ebp - 0x138], 6
jne 0x44ab66
cmp dword [ebp - 0x134], 1
jne 0x44ab66
push str.windows7
lea ecx, [ebp - 0x28]
call fcn.0040f370
jmp 0x44ab85
cmp dword [ebp - 0x138], 6
jne 0x44ab85
cmp dword [ebp - 0x134], 2
jne 0x44ab85
push str.windows10
lea ecx, [ebp - 0x28]
call fcn.0040f370
lea ecx, [ebp - 0x164]
push ecx
call fcn.0044ac10
add esp, 4
movzx edx, word [ebp - 0x164]
cmp edx, 6
je 0x44abac
movzx eax, word [ebp - 0x164]
cmp eax, 9
jne 0x44abbb
push str._x64
lea ecx, [ebp - 0x28]
call fcn.0040f350
jmp 0x44abc8
push str._x86
lea ecx, [ebp - 0x28]
call fcn.0040f350
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040f470
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040f390
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.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x44b0f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fb70
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 0x44b152
xor eax, eax
jmp 0x44b16f
push 0
push 0
push str._delete__yes
lea ecx, [ebp - 0x20c]
push ecx
call sym.Uninstall_adv.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.0041e140
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ff07
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x48200c]
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.0041fb70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x473084
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 0x44b1fd
xor eax, eax
jmp 0x44b290
lea ecx, [ebp - 0x21c]
call fcn.00406e20
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x44b233
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.004075a0
add esp, 0x10
jmp 0x44b24f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s___s_
lea eax, [ebp - 0x21c]
push eax
call fcn.004075a0
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00406e70
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Uninstall_adv.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.00406d00
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.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x44b2b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ff5b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x9c]
call fcn.00406e20
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004075a0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.0040fca0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa8]
call fcn.0040a080
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040f5d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.0040fc70
lea ecx, [ebp - 0x98]
call fcn.0040f650
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea eax, [ebp - 0x98]
push eax
call fcn.00410f60
add esp, 0x10
lea ecx, [ebp - 0x98]
call fcn.0040a080
push eax
call fcn.00428e40
add esp, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.0040fc30
push eax
lea ecx, [ebp - 0x9c]
call fcn.00406e70
push eax
call sym.Uninstall_adv.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea ecx, [ebp - 0x9c]
call fcn.00406e70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.0040f5b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.0040f5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00406d00
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x44cbb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fb70
add esp, 0xc
mov dword [ebp - 0x218], 0x208
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 8]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44cc5c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44cc47
mov dword [ebp - 0x210], 1
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
jmp 0x44cc62
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x44d0d0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x44d0fc
xor eax, eax
jmp 0x44d159
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44d126
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44d159
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret

Function at 0x44d170
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44d195
xor eax, eax
jmp 0x44d260
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d210
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x44d202
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d200
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44d260
jmp 0x44d210
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44d260
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x44d247
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x44d247
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44d260
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44d750
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x472b68
lea edi, [ebp - 0x204]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x19c]
push eax
call fcn.0041fb70
add esp, 0xc
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x914], 0x12c
mov dword [ebp - 0x928], 7
mov dword [ebp - 0x910], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x44d7cf
mov ecx, dword [ebp - 0x910]
or ecx, 0x100
mov dword [ebp - 0x910], ecx
jmp 0x44d7ea
call sym.Uninstall_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x44d7ea
mov edx, dword [ebp - 0x910]
or edx, 0x200
mov dword [ebp - 0x910], edx
lea eax, [ebp - 0x920]
push eax
mov ecx, dword [ebp - 0x910]
push ecx
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d9b0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x914]
push ecx
lea edx, [ebp - 0x6b4]
push edx
mov eax, dword [ebp - 0x918]
push eax
mov ecx, dword [ebp - 0x920]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44d9a3
mov edx, dword [ebp - 0x918]
add edx, 1
mov dword [ebp - 0x918], edx
lea eax, [ebp - 0x6b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x44d97e
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x472bd0
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x6b4]
push ecx
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x924]
push eax
mov ecx, dword [ebp - 0x910]
push ecx
push 0
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d97e
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x90c]
push ecx
call fcn.0041fb70
add esp, 0xc
lea edx, [ebp - 0x914]
push edx
lea eax, [ebp - 0x90c]
push eax
lea ecx, [ebp - 0x928]
push ecx
push 0
push 0x472bd4
mov edx, dword [ebp - 0x924]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x924]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x90c]
push ecx
lea ecx, [ebp - 0x91c]
call fcn.00406d40
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x91c]
call fcn.0040f850
test eax, eax
jne 0x44d973
mov eax, dword [ebp - 0x920]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x92c], 1
lea ecx, [ebp - 0x91c]
call fcn.00406d00
mov eax, dword [ebp - 0x92c]
jmp 0x44d9b2
lea ecx, [ebp - 0x91c]
call fcn.00406d00
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x6b4]
push ecx
call fcn.0041fb70
add esp, 0xc
jmp 0x44d813
mov edx, dword [ebp - 0x920]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret