joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b56e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.004b54f0
mov eax, dword [esi + 4]
test eax, eax
je 0x4b576c
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x547df4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x4b571c
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 0x555bcc
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.0042ac90
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x5563c4
push 0x5563bc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret

Function at 0x4b5980
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x5d6920]
sub esp, 0x10
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4b5ac6
mov dword [0x5d6920], 1
mov eax, dword [ebx + 0x214]
test eax, eax
je 0x4b5ac6
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 0x4b5ac6
mov esi, dword [0x5d66ec]
mov ecx, dword [0x5d66f0]
test esi, esi
je 0x4b59fb
mov edi, ecx
mov eax, 0xdfac1f75
sub edi, esi
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x4b5ac6
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
push ebp
mov dword [esp + 0x14], eax
mov ebp, ecx
mov eax, ecx
mov dword [esp + 0x10], edx
cmp eax, ebp
mov edx, esi
je 0x4b5a40
mov esi, eax
mov edi, edx
add eax, 0x1250
mov ecx, 0x494
add edx, 0x1250
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4b5a1a
mov ecx, dword [0x5d66f0]
mov esi, dword [0x5d66ec]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [0x5d66f0], edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
mov ecx, 0x5d66e8
call fcn.004b6260
mov edx, dword [ebx + 0x218]
mov ebp, dword [ebx + 0x214]
mov eax, edx
cmp eax, edx
je 0x4b5a8b
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 0x4b5a71
mov eax, dword [ebx + 0x218]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x4b5780
push 0
push 0
mov dword [esp + 0x34], eax
mov dword [ebx + 0x218], ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4b5c20
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.004b54f0
mov eax, dword [esi + 4]
test eax, eax
je 0x4b5cf5
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x5563c4
push 0x5563bc
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 0x4b5c69
test eax, eax
jge 0x4b5cf5
mov ecx, esi
call fcn.004b5ad0
push 0x1e
push 0
push str.biaoqian
mov ecx, esi
call fcn.004b5d00
push 0x1e
push 1
push str.addbar
mov ecx, esi
call fcn.004b5d00
push 0x1e
push 1
push str.skinbutton
mov ecx, esi
call fcn.004b5f60
push 0x1e
push 1
push str.newblank
mov ecx, esi
call fcn.004b5f60
push 0x1e
push 1
push str.myapp
mov ecx, esi
call fcn.004b5f60
push 0x52
push 1
push str.menu
mov ecx, esi
call fcn.004b5f60
mov ecx, esi
call fcn.004b5bd0
push 0x1e
push 1
push str.jiasu
mov ecx, esi
call fcn.004b5f60
mov ecx, esi
call fcn.004b5980
mov ecx, esi
call fcn.004b56e0
pop esi
ret
Function at 0x4b5d00
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.0050c9c0
push ebp
push esi
push edi
mov eax, str.http:__seapp.stat.360safe.com_ver.html
mov edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x4b5f4e
mov esi, dword [esp + 0x2370]
xor ebp, ebp
cmp esi, ebp
je 0x4b5f4e
call fcn.004b54f0
cmp dword [edi + 4], ebp
je 0x4b5f4e
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xd6]
mov word [esp + 0xd4], bp
rep stosd dword es:[edi], eax
push ebx
push str.4.0.3.6
stosw word es:[edi], ax
call fcn.00496d50
push eax
push esi
push str.http:__seapp.stat.360safe.com_ver.html
push str._s_name_smid_sver_s
lea ecx, [esp + 0xec]
push 0x824
push ecx
call fcn.0042ac90
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 + 0x2398]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x4b5eb2
jmp 0x4b5db3
mov esi, dword [esp + 0x2374]
push ebx
push 0x555bcc
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.0042ac90
mov eax, dword [esp + 0x24]
add esp, 0x10
add eax, 8
lea ecx, [esp + 0x18]
push eax
push ebp
push ecx
push esi
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 0x4b5e19
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.0042ac90
add esp, 0x10
jmp 0x4b5e3b
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.0042ac90
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x4b5e5e
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.004b61a0
cmp eax, ebp
jl 0x4b5ea2
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 0x4b5e9c
cmp edi, ebp
je 0x4b5e98
mov dx, word [esi]
cmp dx, bp
je 0x4b5e98
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4b5e7b
jmp 0x4b5e9c
cmp eax, ebp
jne 0x4b5e9f
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x237c]
inc ebx
cmp ebx, eax
jb 0x4b5dac
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
pop ebx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x4b5f07
mov cx, word [esi + eax]
cmp cx, bp
je 0x4b5f07
mov word [eax], cx
add eax, 2
dec edx
jne 0x4b5ee9
jmp 0x4b5f0b
cmp edx, ebp
jne 0x4b5f0e
sub eax, 2
mov edx, dword [esp + 0x2370]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2170]
push 0x104
push eax
call fcn.004b61f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x111c]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.004b65e0
pop edi
pop esi
pop ebp
add esp, 0x2360
ret 0xc
Function at 0x4b5f60
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.0050c9c0
push ebp
push esi
push edi
mov eax, str.http:__seapp.stat.360safe.com_q.html
mov edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x4b618b
mov esi, dword [esp + 0x2370]
xor ebp, ebp
cmp esi, ebp
je 0x4b618b
call fcn.004b54f0
cmp dword [edi + 4], ebp
je 0x4b618b
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xd6]
mov word [esp + 0xd4], bp
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
call fcn.00496d50
push eax
push str.4.0.3.6
push esi
push str.http:__seapp.stat.360safe.com_q.html
push str._s_name_ssever_smid_s
lea ecx, [esp + 0xec]
push 0x824
push ecx
call fcn.0042ac90
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 + 0x2398]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x4b60ef
push ebx
push 0x555bcc
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.0042ac90
mov eax, dword [esp + 0x24]
add esp, 0x10
add eax, 8
lea ecx, [esp + 0x18]
push eax
push ebp
push ecx
push esi
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 0x4b605d
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
jmp 0x4b6069
push str.c_ld
lea eax, [esp + 0x60]
push 0x40
push eax
call fcn.0042ac90
lea ecx, [esp + 0x20]
add esp, 0x10
test ecx, ecx
je 0x4b6094
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.004b61a0
cmp eax, ebp
jl 0x4b60df
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 0x4b60d2
cmp edi, ebp
je 0x4b60ce
mov dx, word [esi]
cmp dx, bp
je 0x4b60ce
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4b60b1
jmp 0x4b60d2
cmp eax, ebp
jne 0x4b60d5
sub ecx, 2
mov esi, dword [esp + 0x2374]
mov word [ecx], bp
mov eax, dword [esp + 0x237c]
inc ebx
cmp ebx, eax
jb 0x4b600a
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
pop ebx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x4b6144
mov cx, word [esi + eax]
cmp cx, bp
je 0x4b6144
mov word [eax], cx
add eax, 2
dec edx
jne 0x4b6126
jmp 0x4b6148
cmp edx, ebp
jne 0x4b614b
sub eax, 2
mov edx, dword [esp + 0x2370]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2170]
push 0x104
push eax
call fcn.004b61f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x111c]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.004b65e0
pop edi
pop esi
pop ebp
add esp, 0x2360
ret 0xc
Function at 0x4b7880
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 [0x5d6c20], ecx
mov dword [0x5d6c2c], ecx
mov dword [0x5d6c24], ecx
mov dword [0x5d6c28], ecx
mov esi, 1
jne 0x4b7910
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x4b78e7
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x4b78db
mov dword [0x5d6c2c], esi
jmp 0x4b791a
cmp eax, esi
jne 0x4b791a
mov dword [0x5d6c24], esi
jmp 0x4b791a
cmp eax, 6
jne 0x4b791a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x4b78f8
cmp eax, esi
jne 0x4b791a
cmp eax, esi
mov dword [0x5d6c24], esi
mov dword [0x5d6c28], esi
jne 0x4b791a
mov dword [0x5d6c30], esi
jmp 0x4b791a
cmp eax, esi
jne 0x4b791a
mov dword [0x5d6c20], esi
mov cx, word [0x559900]
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.004b8710
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x4b796e
mov dword [0x5d6c34], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x4b7982
mov dword [0x5d6c38], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x4b7996
mov dword [0x5d6c3c], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x4b79a2
mov dword [0x5d6c40], esi
pop esi
add esp, 0x31c
ret

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

Function at 0x4b7ad0
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 0x4b7af1
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 0x4b7b10
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3000
call fcn.0050c9c0
mov eax, dword [esp + 0x3004]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x4b7c21
mov ebx, dword [esp + 0x3014]
cmp ebx, esi
je 0x4b7c21
cmp dword [esp + 0x3018], esi
je 0x4b7c21
mov ebp, dword [esp + 0x301c]
cmp ebp, esi
je 0x4b7c21
mov edx, dword [esp + 0x3020]
cmp edx, esi
je 0x4b7c21
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 0x559900
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4b7c14
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4b7c14
mov ecx, dword [ebp]
shr eax, 1
dec eax
cmp ecx, eax
jae 0x4b7bca
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.004b6a50
mov edx, dword [ebp]
mov ecx, dword [esp + 0x3028]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004bb1a0
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 0x4b7c30
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 0x4b7c9d
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b7c9d
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4b7c92
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4b7c92
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x528430
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 0x4b7cb0
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 0x4b7d59
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b7d59
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 0x4b7d49
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4b7d42
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 0x4b7d42
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 0x4b7f10
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4b7f44
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4b7f2d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4b7f44
cmp eax, 0x20
je 0x4b7f44
mov eax, 1
pop esi
ret
mov eax, dword [0x5d6c20]
test eax, eax
je 0x4b7f61
push 0
push esi
call fcn.004b7f80
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 0x4b8180
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 0x4b8209
cmp eax, 0x207
ja 0x4b8209
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4b81ca
lea edx, [esp]
push 0x52886c
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 0x528910
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 0x4b8220
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.0050c9c0
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x4b8330
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 [0x546460]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x4b82e6
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 0x4b8280
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 0x4b86a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x5d6c50], 0
jne 0x4b86ce
push 0
push 0x26
push 0x5d6c50
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push 0x5d6c50
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x5d6c50
ret

Function at 0x4b8710
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 0x4b874f
cmp word [esi], ax
je 0x4b874f
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.004b86a0
push eax
call fcn.0043bdb0
add esp, 0xc
pop esi
pop ecx
ret

Function at 0x4b8c20
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 0x4b8d4b
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 0x4b8d3a
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 0x4b8d3a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b8d35
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 0x4b8d3a
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 0x4b8d3a
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 0x4b8d2c
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 0x4b8d1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.004b8c20
add esp, 0x10
jmp 0x4b8d23
cmp eax, 0x103
je 0x4b8d2c
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x4b8cf3
push esi
call fcn.0050c98e
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4b8d4b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4b8ec0
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.004b7d60
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x4b8efa
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.004b7d60
add esp, 0x10
test eax, eax
jne 0x4b8f15
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 0x559900
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 0x4b8f5d
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 0x4b8f87
mov eax, dword [0x5d6c30]
test eax, eax
jne 0x4b8f87
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 0x4b8ffb
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x4b8fb8
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 0x4b8fd1
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 0x4b8fea
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 0x4b8ffb
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret