joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b770
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x410
test edx, edx
push edi
jne 0x48b78b
xor eax, eax
pop edi
add esp, 0x410
ret 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [edx + 0xc34]
push 0x50b1d0
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, edx
call fcn.0048bd30
mov ecx, 0x50b1e0
call fcn.0040aa70
test eax, eax
je 0x48b859
call fcn.0048f5e0
test eax, eax
jne 0x48b859
mov dx, word [0x50b1d0]
mov ecx, 0x81
lea edi, [esp + 0x20e]
mov word [esp + 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 8]
push 0x4ef700
push eax
push 0x4ef6d8
push 8
push str._tp:
push str._s_d__s__s___s_d
lea ecx, [esp + 0x228]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x24
lea edx, [esp + 0x20c]
push 5
push 0
push edx
push 0x50b244
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x48b868
xor eax, eax
pop edi
add esp, 0x410
ret 4
lea eax, [esp + 4]
push 1
push eax
call fcn.004342e0
add esp, 8
mov eax, 1
pop edi
add esp, 0x410
ret 4

Function at 0x48bf10
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x48bfd5
push 0
mov ecx, 0x50b1e0
call fcn.0040ac50
mov edi, eax
test edi, edi
je 0x48bfd5
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x48bf5e
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x48bf62
push str._sstat.ini
jmp 0x48bf67
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.00437db0
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bfcd
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x508614
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.00437db0
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x50860c
push 0x508604
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x48c090
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.0048bf10
mov eax, dword [esi + 4]
test eax, eax
je 0x48c0f6
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x48c0f6
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push 0x508614
push 0x20
push ecx
call fcn.00437db0
add esp, 0x10
add esi, 8
lea edx, [esp + 0xc]
push esi
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x48c106
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.0048bf10
mov eax, dword [esi + 4]
test eax, eax
je 0x48c18c
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4fbbc4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x48c13c
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x508614
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.00437db0
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x50860c
push 0x508604
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48c1e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d85ee
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x214]
cmp eax, ebp
je 0x48c3b9
mov ecx, dword [ebx + 0x218]
sub ecx, eax
mov eax, 0xdfac1f75
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x48c3b9
push 0x62ca4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebp
mov dword [esp + 0x424], ebp
je 0x48c255
mov ecx, eax
call fcn.0041be30
jmp 0x48c257
xor eax, eax
push esi
push edi
mov ecx, eax
mov dword [esp + 0x42c], 0xffffffff
mov dword [0x5e2568], eax
call fcn.0041c420
mov eax, dword [0x5e2568]
mov esi, dword [ebx + 0x214]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [eax + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
push 0x4ee160
push 0x824
rep stosd dword es:[edi], eax
push edx
call esi
mov eax, dword [0x5e2568]
mov ecx, 0x81
lea edi, [esp + 0x26]
add esp, 0x10
mov dword [eax + 0x269c], 0x48c6b0
mov dword [eax + 0x2698], ebx
xor eax, eax
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x1c]
push 0x4ee884
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [0x5e2568]
mov ecx, 0x82
lea edx, [eax + 0x5d0d0]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push ecx
push 0x4ee160
push 0x104
push edx
call esi
mov edx, dword [0x5e2568]
add esp, 0x10
mov dword [edx + 0x2464], 1
mov eax, dword [0x5e2568]
mov dword [eax + 0x26a4], 0x1388
mov ecx, dword [0x5e2568]
call fcn.0041c350
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
add eax, 0x1250
cmp eax, edx
je 0x48c3a2
lea ebp, [eax - 0x1250]
mov esi, eax
mov edi, ebp
add eax, 0x1250
mov ecx, 0x494
add ebp, 0x1250
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x48c388
mov eax, dword [ebx + 0x218]
pop edi
add eax, 0xffffedb0
pop esi
mov dword [esp + 8], eax
mov dword [ebx + 0x218], eax
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret

Function at 0x48c3d0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.0048bf10
mov eax, dword [esi + 4]
test eax, eax
je 0x48c442
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x50860c
push 0x508604
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
mov edi, eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
sub eax, edi
cmp eax, 0x15180
pop edi
jge 0x48c411
test eax, eax
jge 0x48c442
push 0x1e
push 0
push str.biaoqian
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048c450
push 0x1e
push 1
push str.addbar
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048c450
mov ecx, esi
call fcn.0048c1e0
pop esi
ret
Function at 0x48c450
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004d2e90
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2370]
push edi
xor ebp, ebp
mov edi, ecx
cmp esi, ebp
mov dword [esp + 0x14], edi
je 0x48c699
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x48c699
call fcn.0048bf10
cmp dword [edi + 4], ebp
je 0x48c699
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
push str.3.6.1.0
stosw word es:[edi], ax
call fcn.0047f140
push eax
push ebx
push esi
push str._s_name_smid_sver_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.00437db0
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x239c]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x48c5fe
push ebx
push 0x508614
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00437db0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2388]
add esp, 0x10
lea eax, [edx + 8]
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ebx
mov ecx, 0xa
div ecx
push esi
test edx, edx
je 0x48c565
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.00437db0
add esp, 0x10
jmp 0x48c587
mov eax, 0xcccccccd
mul ebx
shr edx, 3
add edx, 0x61
lea eax, [esp + 0x5c]
push edx
push str.f_c_ld
push 0x40
push eax
call fcn.00437db0
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x48c5aa
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.0048ca50
cmp eax, ebp
jl 0x48c5ee
mov ecx, dword [esp + 0x10]
mov eax, 0x824
sub eax, ecx
mov edi, SysReAllocString
lea esi, [esp + 0x58]
lea ecx, [esp + ecx*2 + 0xd8]
je 0x48c5e8
cmp edi, ebp
je 0x48c5e4
mov dx, word [esi]
cmp dx, bp
je 0x48c5e4
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x48c5c7
jmp 0x48c5e8
cmp eax, ebp
jne 0x48c5eb
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x48c4f8
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x1122]
mov word [esp + 0x1120], bp
rep stosd dword es:[edi], eax
lea esi, [esp + 0xd8]
lea ecx, [esp + 0x1120]
stosw word es:[edi], ax
mov edx, 0x824
lea eax, [esp + 0x1120]
sub esi, ecx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x48c652
mov cx, word [esi + eax]
cmp cx, bp
je 0x48c652
mov word [eax], cx
add eax, 2
dec edx
jne 0x48c634
jmp 0x48c656
cmp edx, ebp
jne 0x48c659
sub eax, 2
mov edx, dword [esp + 0x2378]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2174]
push 0x104
push eax
call fcn.0048caa0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1120]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0048c710
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10
Function at 0x48d6b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 2
mov dword [0x5e27a8], ecx
mov dword [0x5e27b4], ecx
mov dword [0x5e27ac], ecx
mov dword [0x5e27b0], ecx
mov esi, 1
jne 0x48d740
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x48d717
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x48d70b
mov dword [0x5e27b4], esi
jmp 0x48d74a
cmp eax, esi
jne 0x48d74a
mov dword [0x5e27ac], esi
jmp 0x48d74a
cmp eax, 6
jne 0x48d74a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x48d728
cmp eax, esi
jne 0x48d74a
cmp eax, esi
mov dword [0x5e27ac], esi
mov dword [0x5e27b0], esi
jne 0x48d74a
mov dword [0x5e27b8], esi
jmp 0x48d74a
cmp eax, esi
jne 0x48d74a
mov dword [0x5e27a8], esi
mov cx, word [0x50b1d0]
push edi
mov word [esp + 0x11c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x11c]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.0048e540
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x48d79e
mov dword [0x5e27bc], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x48d7b2
mov dword [0x5e27c0], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x48d7c6
mov dword [0x5e27c4], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x48d7d2
mov dword [0x5e27c8], esi
pop esi
add esp, 0x31c
ret

Function at 0x48d7e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x48d814
cmp dword [esp + 4], 5
jne 0x48d814
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x48d816
xor eax, eax
add esp, 0x114
ret

Function at 0x48d820
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x48d892
cmp dword [esp + 4], 5
jne 0x48d892
cmp dword [esp + 8], 1
jne 0x48d892
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x18]
push str.Service_Pack_2
push ecx
call esi
add esp, 8
test eax, eax
je 0x48d885
lea edx, [esp + 0x18]
push str.Service_Pack_3
push edx
call esi
add esp, 8
test eax, eax
je 0x48d885
xor eax, eax
pop esi
add esp, 0x114
ret
mov eax, 1
pop esi
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x48d900
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
jne 0x48d921
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x48d940
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3000
call fcn.004d2e90
mov eax, dword [esp + 0x3004]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x48da51
mov ebx, dword [esp + 0x3014]
cmp ebx, esi
je 0x48da51
cmp dword [esp + 0x3018], esi
je 0x48da51
mov ebp, dword [esp + 0x301c]
cmp ebp, esi
je 0x48da51
mov edx, dword [esp + 0x3020]
cmp edx, esi
je 0x48da51
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x1012]
mov word [esp + 0x1010], si
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3018]
push 0x1000
stosw word es:[edi], ax
lea eax, [esp + 0x1018]
push eax
push 0x50b1d0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x48da44
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x48da44
mov ecx, dword [ebp]
shr eax, 1
dec eax
cmp ecx, eax
jae 0x48d9fa
mov eax, ecx
mov dword [ebp], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x1000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1014]
push eax
push ecx
call fcn.0048cc10
mov edx, dword [ebp]
mov ecx, dword [esp + 0x3028]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00490ab0
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3000
ret

Function at 0x48da60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0xd
xor edi, edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x48dacd
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48dacd
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x48dac2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48dac2
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x4ee160
push edi
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [ebx + edi*2 - 2], 0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x48dae0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
test edi, edi
jle 0x48db89
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48db89
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [edi + edi]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x48db79
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48db72
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x48db72
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x48dd40
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x48dd74
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x48dd5d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48dd74
cmp eax, 0x20
je 0x48dd74
mov eax, 1
pop esi
ret
mov eax, dword [0x5e27a8]
test eax, eax
je 0x48dd91
push 0
push esi
call fcn.0048ddb0
add esp, 8
neg eax
sbb eax, eax
pop esi
neg eax
inc eax
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 2
pop esi
ret

Function at 0x48dfb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x207
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x48e039
cmp eax, 0x207
ja 0x48e039
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x48dffa
lea edx, [esp]
push 0x4ef834
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 8]
push str.wininit.ini
push eax
push 0x4ef374
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret
Function at 0x48e050
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.004d2e90
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x48e160
push ebx
push edi
mov ecx, 0x513
xor eax, eax
lea edi, [esp + 0x23a]
mov word [esp + 0x238], si
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
mov eax, dword [0x508884]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x48e116
push ebp
mov ebp, dword [esp + 0x1690]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
push edx
push ebp
push str._s_s
lea edx, [esp + 0x40]
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x4c]
lea edx, [esp + esi*2 + 0x254]
push ecx
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [esp + 0x30]
lea esi, [esi + edi + 1]
push eax
push 0
call ebx
mov edx, eax
add esp, 0x28
test edx, edx
jne 0x48e0b0
xor esi, esi
pop ebp
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x238]
push edx
stosw word es:[edi], ax
mov dword [esp + 0x2a], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2e], esi
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ecx
mov word [esp + 0x24], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop ebx
pop esi
add esp, 0x167c
ret
xor eax, eax
pop esi
add esp, 0x167c
ret
Function at 0x48e4d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x5e27d8], 0
jne 0x48e4fe
push 0
push 0x26
push 0x5e27d8
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x508888
push 0x5e27d8
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x5e27d8
ret

Function at 0x48e540
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push edi
call fcn.0048e4d0
push eax
call fcn.00433af0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e596
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edi
push edx
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48e596
cmp word [edi], ax
mov eax, 1
jne 0x48e598
mov eax, esi
pop edi
pop esi
ret

Function at 0x48ea50
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x48eb7b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x48eb6a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x48eb6a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48eb65
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x48eb6a
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x48eb6a
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x48eb5c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x48eb4c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.0048ea50
add esp, 0x10
jmp 0x48eb53
cmp eax, 0x103
je 0x48eb5c
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x48eb23
push esi
call fcn.004d2e69
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x48eb7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x48ecf0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x54
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push esi
push 1
push eax
push edi
call fcn.0048db90
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x48ed2a
lea ecx, [esp + 0x10]
push ecx
call ebx
push eax
call ebp
push esi
mov esi, dword [esp + 0x78]
push 0
push esi
push edi
call fcn.0048db90
add esp, 0x10
test eax, eax
jne 0x48ed45
push esi
call ebx
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
call edi
push 0x50b1d0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], esi
je 0x48ed8d
lea ecx, [esp + 0x40]
push ecx
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test bl, 2
jne 0x48edb7
mov eax, dword [0x5e27b8]
test eax, eax
jne 0x48edb7
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
test bl, 1
je 0x48ee2b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x48ede8
add eax, 2
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x48ee01
add eax, 0xfffffffe
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x48ee1a
add eax, 2
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
je 0x48ee2b
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret