joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2c40
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f792e
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 0x4a2e19
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 0x4a2e19
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 0x4a2cb5
mov ecx, eax
call fcn.0041efd0
jmp 0x4a2cb7
xor eax, eax
push esi
push edi
mov ecx, eax
mov dword [esp + 0x42c], 0xffffffff
mov dword [0x5b7d68], eax
call fcn.0041f5c0
mov eax, dword [0x5b7d68]
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 0x50c180
push 0x824
rep stosd dword es:[edi], eax
push edx
call esi
mov eax, dword [0x5b7d68]
mov ecx, 0x81
lea edi, [esp + 0x26]
add esp, 0x10
mov dword [eax + 0x269c], 0x4a3470
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 0x50b884
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [0x5b7d68]
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 0x50c180
push 0x104
push edx
call esi
mov edx, dword [0x5b7d68]
add esp, 0x10
mov dword [edx + 0x2464], 1
mov eax, dword [0x5b7d68]
mov dword [eax + 0x26a4], 0x1388
mov ecx, dword [0x5b7d68]
call fcn.0041f4f0
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
add eax, 0x1250
cmp eax, edx
je 0x4a2e02
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 0x4a2de8
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 0x4a2f20
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.004a2970
mov eax, dword [esi + 4]
test eax, eax
je 0x4a2fc7
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x536e08
push 0x536e00
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 0x4a2f65
test eax, eax
jge 0x4a2fc7
mov ecx, esi
call fcn.004a2e30
push 0x1e
push 0
push str.biaoqian
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.004a2fd0
push 0x1e
push 1
push str.addbar
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.004a2fd0
push 0x1e
push 1
push str.anniu
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.004a2fd0
push 0x1e
push 1
push str.skinbutton
push str.http:__seapp.stat.360safe.com_q.html
mov ecx, esi
call fcn.004a3230
mov ecx, esi
call fcn.004a2c40
pop esi
ret
Function at 0x4a2fd0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004f3f00
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 0x4a3219
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x4a3219
call fcn.004a2970
cmp dword [edi + 4], ebp
je 0x4a3219
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
push str.3.9.3.1
stosw word es:[edi], ax
call fcn.0048bda0
push eax
push ebx
push esi
push str._s_name_smid_sver_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.00427cf0
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 0x4a317e
push ebx
push 0x536890
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00427cf0
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 0x4a30e5
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.00427cf0
add esp, 0x10
jmp 0x4a3107
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.00427cf0
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x4a312a
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.004a34d0
cmp eax, ebp
jl 0x4a316e
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 0x4a3168
cmp edi, ebp
je 0x4a3164
mov dx, word [esi]
cmp dx, bp
je 0x4a3164
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4a3147
jmp 0x4a3168
cmp eax, ebp
jne 0x4a316b
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x4a3078
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 0x4a31d2
mov cx, word [esi + eax]
cmp cx, bp
je 0x4a31d2
mov word [eax], cx
add eax, 2
dec edx
jne 0x4a31b4
jmp 0x4a31d6
cmp edx, ebp
jne 0x4a31d9
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.00427dd0
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.004a3520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10
Function at 0x4a3230
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004f3f00
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 0x4a3458
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x4a3458
call fcn.004a2970
cmp dword [edi + 4], ebp
je 0x4a3458
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0048bda0
push eax
push str.3.9.3.1
push ebx
push esi
push str._s_name_ssever_smid_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.00427cf0
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 0x4a33bd
push ebx
push 0x536890
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00427cf0
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 edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
cmp ebx, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
jbe 0x4a3332
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
jmp 0x4a333e
push str.c_ld
lea eax, [esp + 0x60]
push 0x40
push eax
call fcn.00427cf0
lea ecx, [esp + 0x20]
add esp, 0x10
test ecx, ecx
je 0x4a3369
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.004a34d0
cmp eax, ebp
jl 0x4a33ad
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 0x4a33a7
cmp edi, ebp
je 0x4a33a3
mov dx, word [esi]
cmp dx, bp
je 0x4a33a3
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4a3386
jmp 0x4a33a7
cmp eax, ebp
jne 0x4a33aa
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x4a32d8
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 0x4a3411
mov cx, word [esi + eax]
cmp cx, bp
je 0x4a3411
mov word [eax], cx
add eax, 2
dec edx
jne 0x4a33f3
jmp 0x4a3415
cmp edx, ebp
jne 0x4a3418
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.00427dd0
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.004a3520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10
Function at 0x4a4670
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
push ebx
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
mov dword [0x5b8068], esi
mov dword [0x5b8074], esi
mov dword [0x5b806c], esi
mov dword [0x5b8070], esi
mov dword [0x5b807c], esi
call fcn.004a4900
mov dword [0x5b807c], eax
mov eax, dword [esp + 0x18]
cmp eax, 2
mov ebx, 1
jne 0x4a4711
mov eax, dword [esp + 0xc]
cmp eax, 5
jne 0x4a46e8
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x4a46dc
mov dword [0x5b8074], ebx
jmp 0x4a471b
cmp eax, ebx
jne 0x4a471b
mov dword [0x5b806c], ebx
jmp 0x4a471b
cmp eax, 6
jne 0x4a471b
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4a46f9
cmp eax, ebx
jne 0x4a471b
cmp eax, ebx
mov dword [0x5b806c], ebx
mov dword [0x5b8070], ebx
jne 0x4a471b
mov dword [0x5b8078], ebx
jmp 0x4a471b
cmp eax, ebx
jne 0x4a471b
mov dword [0x5b8068], ebx
mov cx, word [0x53ada0]
push edi
mov word [esp + 0x120], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x122]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x120]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.004a55b0
mov ax, word [esp + 0x128]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x4a4770
mov dword [0x5b8080], ebx
pop esi
pop ebx
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x4a4785
mov dword [0x5b8084], ebx
pop esi
pop ebx
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x4a479a
mov dword [0x5b8088], ebx
pop esi
pop ebx
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x4a47a6
mov dword [0x5b808c], ebx
pop esi
pop ebx
add esp, 0x31c
ret

Function at 0x4a4800
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 0x4a4834
cmp dword [esp + 4], 5
jne 0x4a4834
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x4a4836
xor eax, eax
add esp, 0x114
ret

Function at 0x4a4840
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 0x4a48b2
cmp dword [esp + 4], 5
jne 0x4a48b2
cmp dword [esp + 8], 1
jne 0x4a48b2
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 0x4a48a5
lea edx, [esp + 0x18]
push str.Service_Pack_3
push edx
call esi
add esp, 8
test eax, eax
je 0x4a48a5
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 0x4a4970
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 0x4a4991
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 0x4a49b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3000
call fcn.004f3f00
mov eax, dword [esp + 0x3004]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x4a4ac1
mov ebx, dword [esp + 0x3014]
cmp ebx, esi
je 0x4a4ac1
cmp dword [esp + 0x3018], esi
je 0x4a4ac1
mov ebp, dword [esp + 0x301c]
cmp ebp, esi
je 0x4a4ac1
mov edx, dword [esp + 0x3020]
cmp edx, esi
je 0x4a4ac1
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 0x53ada0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4a4ab4
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4a4ab4
mov ecx, dword [ebp]
shr eax, 1
dec eax
cmp ecx, eax
jae 0x4a4a6a
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.004a3990
mov edx, dword [ebp]
mov ecx, dword [esp + 0x3028]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004a7f60
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 0x4a4ad0
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 0x4a4b3d
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4a4b3d
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4a4b32
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a4b32
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x50c180
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 0x4a4b50
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 0x4a4bf9
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4a4bf9
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 0x4a4be9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a4be2
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 0x4a4be2
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 0x4a4db0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4a4de4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4a4dcd
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4a4de4
cmp eax, 0x20
je 0x4a4de4
mov eax, 1
pop esi
ret
mov eax, dword [0x5b8068]
test eax, eax
je 0x4a4e01
push 0
push esi
call fcn.004a4e20
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 0x4a5020
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 0x4a50a9
cmp eax, 0x207
ja 0x4a50a9
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4a506a
lea edx, [esp]
push 0x50c600
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 0x50c6a4
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 0x4a50c0
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.004f3f00
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x4a51d0
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 [0x537184]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x4a5186
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 0x4a5120
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 0x4a5540
Capabilities:
Get common file path
Get program files directory

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

Function at 0x4a55b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
push esi
push ecx
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a55ef
cmp word [esi], ax
je 0x4a55ef
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.004a5540
push eax
call fcn.00439220
add esp, 0xc
pop esi
pop ecx
ret

Function at 0x4a5ac0
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 0x4a5beb
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 0x4a5bda
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 0x4a5bda
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a5bd5
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 0x4a5bda
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 0x4a5bda
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 0x4a5bcc
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 0x4a5bbc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.004a5ac0
add esp, 0x10
jmp 0x4a5bc3
cmp eax, 0x103
je 0x4a5bcc
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x4a5b93
push esi
call fcn.004f3eca
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4a5beb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4a5d60
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.004a4c00
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x4a5d9a
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.004a4c00
add esp, 0x10
test eax, eax
jne 0x4a5db5
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 0x53ada0
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 0x4a5dfd
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 0x4a5e27
mov eax, dword [0x5b8078]
test eax, eax
jne 0x4a5e27
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 0x4a5e9b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x4a5e58
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 0x4a5e71
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 0x4a5e8a
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 0x4a5e9b
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret