joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e7c
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x422108]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
call fcn.00401ec0
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor eax, eax
push eax
push eax
mov ebx, 0x405
push ebx
mov ebp, 0x3fb
push ebp
push dword [0x4238e4]
mov dword [esp + 0x24], eax
call esi
xor eax, eax
mov edi, 0x423c84
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push 0x4238f8
mov dword [0x423c94], edi
call fcn.004036a7
test eax, eax
pop ecx
jge 0x403eee
push 0x10
push str.VerbAce_Pro_Installation
push str.Cannot_write_to_Windows_Registry.__r_nPlease_make_sure_you_have_Administrator_permissions.
jmp 0x404027
push edi
push edi
push ebx
push ebp
push dword [0x4238e4]
call esi
call fcn.00403ad9
test eax, eax
jge 0x403f14
push 0x10
push str.VerbAce_Pro_Installation
push str.Cannot_create_installation_directory.__r_nPlease_make_sure_you_have_Administrator_permissions.
jmp 0x404027
cmp dword [0x422050], edi
je 0x403fae
mov eax, 0x422050
mov eax, dword [eax]
sub eax, 0xb7
je 0x403f65
sub eax, 0x1f
je 0x403f65
dec eax
jne 0x403f6d
cmp dword [0x4237b8], 0
je 0x403f8b
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x18], 0
call fcn.00402b64
test eax, eax
pop ecx
jl 0x403f8b
push 1
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00403afb
add esp, 0xc
jmp 0x403f8b
mov dword [esp + 0x10], 0x100
mov eax, dword [esp + 0x10]
or eax, 2
push eax
push 0x42395e
push edi
call fcn.00403afb
add esp, 0xc
test eax, eax
jl 0x40400f
push 0
push 0
push ebx
push ebp
push dword [0x4238e4]
call esi
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x422050]
cmp dword [eax], 0
jne 0x403f25
call fcn.00403769
test eax, eax
jne 0x403fcf
push 0x30
push str.VerbAce_Message
push str.This_system_doesnt_support_Right_to_Left_languages__preventing_VerbAce_from_displaying_results_correctly.__r_nTo_fix_the_problem__please_open_the_Control_Panel__open_Regional_and_Language_Options__select_Languages_and_click_on_install_files_for_complex_scripts_and_right_to_left_languages.
push dword [0x4238e4]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00403c32
mov ecx, dword [0x4238ec]
call fcn.004023c3
push str.data
push str.SoftwareVerbAce_ResearchVerbAce_ProRegInfo
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b00e
add esp, 0x10c
ret
cmp eax, 0xfffffffd
push 0x10
push str.VerbAce_Pro_Installation
je 0x404022
push str.Installation_failed._r_nPlease_try_the_following_steps:_r_n1._make_sure_you_have_Administrator_permissions__r_n2._close_all_applications_and_try_to_install_again__r_n3._if_the_error_repeats__re_start_your_computer_and_try_to_install_again_r_n
jmp 0x404027
push str.Installation_failed._r_nSome_installation_files_are_in_use._r_nPlease_close_all_applications_and_try_to_install_again._r_nIf_the_error_repeats__re_start_your_computer_and_try_to_install_again_r_n
push dword [0x4238e4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x403ff6
Function at 0x404c80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push edx
push edi
call fcn.0040c203
add esp, 0x10
cmp dword [0x423ca0], 0
mov esi, eax
je 0x404cb5
push esi
push edi
call fcn.00404c50
add esp, 8
mov eax, esi
pop edi
pop esi
ret

Function at 0x404cc0
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x423ca0], 0
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
je 0x404cdd
push esi
push edi
call fcn.00404c20
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
push edi
call fcn.0040b895
add esp, 0x10
pop edi
pop esi
ret
Function at 0x40b00e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422108]
jne 0x40b018
repz ret
jmp fcn.0040cc45

Function at 0x417c3f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d83b
xor ebx, ebx
cmp dword [0x424678], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x417d14
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x417c7f
xor eax, eax
jmp 0x417dd8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41fafc
push edi
call esi
cmp eax, ebx
je 0x417c78
push eax
call fcn.0040d7d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424678], eax
call esi
push eax
call fcn.0040d7d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42467c], eax
call esi
push eax
call fcn.0040d7d8
mov dword [0x424680], eax
lea eax, [ebp - 8]
push eax
call fcn.00411968
test eax, eax
pop ecx
pop ecx
je 0x417ce2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040dda2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x417d14
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040d7d8
cmp eax, ebx
pop ecx
mov dword [0x424688], eax
je 0x417d14
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d7d8
pop ecx
mov dword [0x424684], eax
mov eax, dword [0x424684]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x417d8d
cmp dword [0x424688], esi
je 0x417d8d
push eax
call fcn.0040d844
pop ecx
call eax
cmp eax, ebx
je 0x417d5a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x424688]
call fcn.0040d844
pop ecx
call eax
test eax, eax
je 0x417d5a
test byte [ebp - 0x18], 1
jne 0x417d8d
lea eax, [ebp - 0xc]
push eax
call fcn.0041199f
test eax, eax
pop ecx
je 0x417d75
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040dda2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x417d84
or dword [ebp + 0x10], 0x200000
jmp 0x417dbe
or dword [ebp + 0x10], 0x40000
jmp 0x417dbe
mov eax, dword [0x42467c]
cmp eax, esi
je 0x417dbe
push eax
call fcn.0040d844
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x417dbe
mov eax, dword [0x424680]
cmp eax, esi
je 0x417dbe
push dword [ebp - 4]
push eax
call fcn.0040d844
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x424678]
call fcn.0040d844
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402d50
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdec
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402d80
push 0x20a
lea eax, [esp + 0xc]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
lea edx, [esp + 8]
mov eax, esi
call fcn.0040197c
jmp 0x402df0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00402cd8
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
call fcn.00402cf4
mov dword [esp], eax
dec ebx
test ebx, ebx
jge 0x402d88
mov eax, dword [esp]
sub eax, dword [esp + 4]
sar eax, 1
jns 0x402db3
adc eax, 0
cmp eax, 2
jl 0x402dd7
mov eax, dword [esp + 4]
cmp word [eax], 0x22
jne 0x402dd7
mov eax, dword [esp]
sub eax, 2
cmp word [eax], 0x22
jne 0x402dd7
add dword [esp + 4], 2
sub dword [esp], 2
mov ecx, dword [esp]
sub ecx, dword [esp + 4]
sar ecx, 1
jns 0x402de5
adc ecx, 0
mov eax, esi
mov edx, dword [esp + 4]
call fcn.0040197c
add esp, 0x214
pop esi
pop ebx
ret

Function at 0x402e5c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00401a18
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x402e75
test al, 0x10
je 0x402e79
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x402fc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x403032
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
call fcn.004019b0
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.00402f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403039
lea eax, [ebp - 0x210]
call fcn.00401888
ret

Function at 0x4030e8
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x40311e
mov eax, esi
call fcn.00401a28
inc eax
add eax, eax
push eax
mov eax, esi
call fcn.00401a18
push eax
push 1
push 0
mov eax, edi
call fcn.00401a18
push eax
push ebx
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x403122
xor eax, eax
jmp 0x403124
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x403178
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x403239
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00403528
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x403223
cmp dword [ebp - 8], 0
jbe 0x403221
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.004010f4
mov ebx, eax
xor esi, esi
jmp 0x4031ff
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004019b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00403504
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumKeyExW
cmp eax, 0x103
jne 0x4031e2
mov eax, ebx
call fcn.0040110c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403240
lea eax, [ebp - 0x10]
call fcn.00401888
ret

Function at 0x403290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x40333b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xfffe
call fcn.004010f4
mov esi, eax
mov dword [edi], esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x19]
call fcn.00401a18
push eax
push 0x7fff
push esi
call sub.KERNEL32.DLL_GetPrivateProfileSectionNamesW
add eax, eax
add eax, dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov edx, dword [edi]
call fcn.004019b0
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00403504
lea eax, [ebp - 0x14]
mov edx, dword [edi]
call fcn.004019b0
mov eax, dword [ebp - 0x14]
call fcn.00401a28
add eax, eax
add eax, dword [edi]
add eax, 2
mov dword [edi], eax
mov eax, dword [edi]
cmp eax, dword [ebp - 0xc]
jb 0x4032e3
mov eax, esi
call fcn.0040110c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403342
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004018a0
ret
Function at 0x40334c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4034a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xfffe
call fcn.004010f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18], 0
jne 0x40340a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x19]
call fcn.00401a18
push eax
push 0x7fff
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d]
call fcn.00401a18
push eax
call sub.KERNEL32.DLL_GetPrivateProfileSectionW
mov ebx, eax
mov eax, ebx
add eax, eax
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x403481
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004019b0
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00403504
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004019b0
mov eax, dword [ebp - 0x18]
call fcn.00401a28
add eax, eax
add eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x4033cd
jmp 0x403481
mov eax, edi
call fcn.004035bc
mov esi, eax
dec esi
test esi, esi
jl 0x403450
inc esi
xor ebx, ebx
mov eax, edi
mov edx, ebx
call fcn.004035e4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004034b4
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004019b0
mov eax, dword [ebp - 0x1c]
call fcn.00401a28
add eax, eax
add eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
inc ebx
dec esi
jne 0x40341b
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp - 4]
call fcn.0040324c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x19]
call fcn.00401a18
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d]
call fcn.00401a18
push eax
call sub.KERNEL32.DLL_WritePrivateProfileSectionW
mov eax, dword [ebp - 0x10]
call fcn.0040110c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4034ab
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004018a0
ret
Function at 0x40434c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00401d34
xor eax, eax
push ebp
push 0x4044a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4044bc
call fcn.00402b40
lea eax, [ebp - 8]
call fcn.0040417c
mov eax, dword [ebp - 4]
cmp word [eax], 0x22
jne 0x4043b7
lea eax, [ebp - 4]
call fcn.0040417c
lea eax, [ebp - 4]
call fcn.0040420c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004030e8
jmp 0x404477
lea ecx, [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x4044c4
call fcn.00402b40
mov eax, dword [ebp - 0xc]
mov edx, 0x4044cc
call fcn.00401b40
jne 0x4043ef
mov eax, dword [ebp - 4]
call fcn.004029a0
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004030b0
jmp 0x404477
mov eax, dword [ebp - 0xc]
mov edx, 0x4044dc
call fcn.00401b40
jne 0x404402
mov bl, 3
jmp 0x40441c
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 0x4044e8
call fcn.00402b40
mov eax, dword [ebp - 0xc]
call fcn.004029a0
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00401a28
mov edi, eax
inc edi
sar edi, 1
jns 0x40442e
adc edi, 0
push edi
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x404328]
call fcn.004022a4
add esp, 4
mov eax, dword [ebp - 0x10]
call fcn.004020f0
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00403f48
mov edi, eax
push edi
mov eax, dword [ebp - 0x10]
push eax
xor eax, eax
mov al, bl
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00401a18
push eax
push esi
call sub.advapi32.dll_RegSetValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4044af
lea eax, [ebp - 0x14]
call fcn.00401888
lea eax, [ebp - 0x10]
mov edx, dword [0x404328]
call fcn.004022b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004018a0
ret
Function at 0x4044ec
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4045c5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4045ad
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004019b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00403040
mov esi, eax
call fcn.004037bc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00403178
mov eax, dword [ebp - 0xc]
call fcn.004035bc
test eax, eax
jne 0x404569
mov eax, esi
call fcn.00403128
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete bl
jmp 0x4045a3
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x40458a
inc ebx
xor edi, edi
mov eax, dword [ebp - 0xc]
mov edx, edi
call fcn.004035e4
mov edx, eax
mov eax, esi
call fcn.004044ec
inc edi
dec ebx
jne 0x404573
mov eax, esi
call fcn.00403128
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
call fcn.004037dc
jmp 0x4045af
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4045cc
lea eax, [ebp - 0x10]
call fcn.00401888
ret
Function at 0x40534c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x4053ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00402e80
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4053fc
call fcn.00401a94
mov eax, dword [ebp - 4]
call fcn.00402e5c
test al, al
je 0x4053be
push 4
lea eax, [ebp - 0xc]
call fcn.00402e80
mov eax, dword [ebp - 0xc]
call fcn.00401a18
push eax
mov eax, dword [ebp - 4]
call fcn.00401a18
push eax
push 0x405414
push 0x40542c
push 0
call sub.shell32.dll_ShellExecuteW
push 0xc8
call sub.KERNEL32.DLL_Sleep
mov eax, 0x405434
call fcn.00402818
push 1
call sub.KERNEL32.DLL_ExitProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4053f1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004018a0
ret
Function at 0x401b6b
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x401b78
xor eax, eax
pop edi
ret
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403812
test esi, esi
pop ecx
jle 0x401ba4
mov ecx, eax
sub edi, eax
mov edx, esi
push ebx
mov bl, byte [edi + ecx]
xor bl, 0x5b
mov byte [ecx], bl
inc ecx
dec edx
jne 0x401b97
pop ebx
mov byte [eax + esi], 0
pop esi
pop edi
ret

Function at 0x401bab
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x401bcc
mov eax, dword [esp + 4]
add eax, ecx
mov edx, dword [eax]
xor edx, dword [esp + 0xc]
add edx, ecx
add ecx, 4
cmp ecx, dword [esp + 8]
mov dword [eax], edx
jb 0x401bb3
ret

Function at 0x401bcd
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x401bee
mov eax, dword [esp + 4]
add eax, ecx
mov edx, dword [eax]
sub edx, ecx
xor edx, dword [esp + 0xc]
add ecx, 4
cmp ecx, dword [esp + 8]
mov dword [eax], edx
jb 0x401bd5
ret

Function at 0x40218b
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.00402148
pop ecx
pop ecx
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x402222
cmp eax, 0xffffffff
je 0x402222
push ebx
push esi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
mov esi, 0xf01ff
push 1
push 1
push 1
push esi
lea ecx, [ebp - 0x44]
push ecx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, eax
cmp ebx, edi
je 0x4021e8
cmp ebx, 0xffffffff
jne 0x4021fe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x40220e
xor edi, edi
inc edi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 4]
call esi
pop esi
mov eax, edi
pop ebx
jmp 0x402224
xor eax, eax
pop edi
leave
ret

Function at 0x402227
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push edi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
call fcn.00402148
pop ecx
pop ecx
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, edi
je 0x4022a0
cmp ebx, 0xffffffff
je 0x4022a0
push esi
push 0xf01ff
lea eax, [ebp - 0x5c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, edi
je 0x402294
cmp esi, 0xffffffff
je 0x402294
lea eax, [ebp - 0x1c]
push eax
inc edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40228d
xor edi, edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop esi
jmp 0x4022a2
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x4023b5
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
call esi
push 0x7d0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
sub eax, edi
cmp eax, 0x5dc
pop edi
pop esi
ja 0x4023e1
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
xor eax, eax
ret

Function at 0x4026cc
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.00403d65
pop ecx
mov esi, str.ws2_32.dll
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.WSAStartup
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea ecx, [ebp - 0x194]
push ecx
push 2
call eax
push 0xa365
push 0x232
push 0x10
push 0
push str.__srvmgr32
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, str.ZwQueryService
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00402530
test eax, eax
je 0x40276b
call fcn.004031ad
test eax, eax
jne 0x402772
xor eax, eax
jmp 0x402819
call fcn.004032d8
push dword [0x406060]
call fcn.0040218b
mov dword [esp], 0x40103d
push 0xbb8
push 0x161
push dword [0x40606c]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00403487
test eax, eax
jne 0x4027ad
call fcn.0040350d
call fcn.00401b50
call fcn.00401b36
push 0x5c
push dword [0x406060]
call fcn.0040383a
push eax
call fcn.00402337
push 0x5c
push dword [0x406064]
call fcn.0040383a
push eax
call fcn.00402337
push 0x5c
push dword [0x406068]
call fcn.0040383a
push eax
call fcn.00402337
call fcn.00402329
push esi
call fcn.00402352
push 0x5c
push dword [0x406064]
call fcn.0040383a
push eax
call fcn.00402352
add esp, 0x34
call fcn.004026ac
xor eax, eax
inc eax
pop esi
leave
ret