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

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
mov eax, dword [ebp + 0x1b0]
push ebx
push esi
mov esi, dword [ebp + 0x1c0]
push edi
push str.Shell32.dll
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
mov edi, 0x207
cmp eax, ebx
je 0x401e84
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderLocation
push eax
call esi
push str.SHGetPathFromIDListW
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
call esi
push str.SHGetMalloc
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
call esi
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x68], ebx
je 0x401e78
cmp dword [ebp - 0x74], ebx
je 0x401e78
cmp eax, ebx
je 0x401e78
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1b4]
mov dword [ebp - 0x70], ebx
push ebx
call dword [ebp - 0x68]
test eax, eax
jne 0x401e78
push 0x104
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
push esi
push dword [ebp - 0x70]
call dword [ebp - 0x74]
push edi
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push 0x208
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x64]
push eax
call fcn.0042f2d0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], ebx
call dword [ebp - 0x80]
test eax, eax
jl 0x401e78
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x78]
mov ecx, esi
call fcn.00401005
test al, al
je 0x401ec3
push edi
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.0044f280
add esp, 0xc
push ebx
push dword [ebp + 0x1b4]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x401ec3
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0042f2d0
mov ecx, esi
call fcn.00401005
test al, al
jne 0x401ef7
mov ecx, esi
call fcn.0042ef90
dec eax
cmp byte [esi + 7], 0xff
mov ecx, esi
jne 0x401ee0
mov ecx, dword [esi]
cmp byte [ecx + eax], 0x5c
je 0x401ef2
push 0x4726c4
mov ecx, esi
call fcn.0042f630
xor eax, eax
inc eax
jmp 0x401ef9
xor eax, eax
mov ecx, dword [ebp + 0x1a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x1a8
leave
ret
Function at 0x4020a3
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x2d4]
sub esp, 0x354
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x2d0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x2dc]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp + 0x1cd]
push ebx
push eax
mov byte [ebp + 0x1cc], bl
call fcn.0044f280
push esi
lea eax, [ebp + 0xc9]
push ebx
push eax
mov byte [ebp + 0xc8], bl
call fcn.0044f280
push edi
call fcn.0044f080
add esp, 0x1c
cmp byte [eax + edi - 1], 0x5c
push edi
lea eax, [ebp + 0xc8]
push eax
je 0x402138
call fcn.0044f8f0
lea eax, [ebp + 0xc8]
push 0x4727ac
push eax
call fcn.0044f900
lea eax, [ebp + 0x1cc]
push edi
push eax
call fcn.0044f8f0
push 0x4726c4
jmp 0x402160
call fcn.0044f8f0
lea eax, [ebp + 0xc8]
push 0x4727a8
push eax
call fcn.0044f900
lea eax, [ebp + 0x1cc]
push edi
push eax
call fcn.0044f8f0
push 0x4727a6
lea eax, [ebp + 0x1cc]
push eax
call fcn.0044f900
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x40218f
xor eax, eax
jmp 0x402291
lea eax, [ebp + 0x1cc]
push eax
lea eax, [ebp + 0xc8]
push eax
mov dword [ebp - 0x80], 1
call fcn.0044f8f0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40226a
lea eax, [ebp - 0x4c]
push 0x4727a4
push eax
call fcn.0044ebc0
pop ecx
pop ecx
test eax, eax
je 0x402278
lea eax, [ebp - 0x4c]
push 0x4727a0
push eax
call fcn.0044ebc0
pop ecx
pop ecx
test eax, eax
je 0x402278
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x1cc]
push eax
call fcn.0044f900
test byte [ebp - 0x78], 0x10
pop ecx
pop ecx
je 0x40221d
lea eax, [ebp + 0x1cc]
push eax
call fcn.004020a3
pop ecx
jmp 0x402243
test byte [ebp - 0x78], 1
je 0x402236
lea eax, [ebp + 0x1cc]
push 0x80
push eax
call fcn.0044fc4c
pop ecx
pop ecx
lea eax, [ebp + 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402253
push 4
push ebx
lea eax, [ebp + 0x1cc]
push eax
call esi
lea eax, [ebp + 0xc8]
push eax
lea eax, [ebp + 0x1cc]
push eax
call fcn.0044f8f0
pop ecx
pop ecx
jmp 0x402278
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4022a9
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x80], ebx
jne 0x4021b1
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp + 0x2d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x2d4
leave
ret
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402188
Function at 0x402f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x402f75
mov dword [ebp - 0x10c], 0x472928
jmp 0x402f7f
mov dword [ebp - 0x10c], 0x472924
mov eax, dword [ebp - 0x10c]
push eax
push 0x472920
lea ecx, [ebp - 0x108]
push ecx
call fcn.0044fbcf
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call fcn.0044f080
add esp, 4
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.SoftwareRealNetworks_rnadminPreferencesModified
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret

Function at 0x403377
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
cmp eax, 1
jne 0x4033e8
lea ecx, [ebp - 8]
call fcn.0042ef80
lea eax, [ebp - 8]
push eax
xor esi, esi
push esi
push esi
push 0x23
push esi
call fcn.00401d5f
add esp, 0x14
test eax, eax
jne 0x4033b2
lea ecx, [ebp - 8]
call fcn.0042f1e0
jmp 0x403459
push str.Real_setup_
lea ecx, [ebp - 8]
call fcn.0042f630
push 0x472938
lea ecx, [ebp - 8]
call fcn.0042f630
cmp dword [ebp + 0xc], esi
jne 0x4033a5
cmp byte [ebp - 1], 0xff
lea eax, [ebp - 8]
jne 0x4033dd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
jmp 0x4033a5
push edi
mov edi, SysReAllocStringLen
cmp eax, 3
jne 0x4033f4
dec edi
cmp dword [ebp + 0xc], 0
lea esi, [ebp - 0x10]
jne 0x40341a
push eax
call fcn.00401450
cmp byte [eax + 7], 0xff
pop ecx
jne 0x40340c
mov eax, dword [eax]
push eax
push edi
call fcn.0040157a
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x403451
push dword [ebp + 0xc]
push eax
call fcn.00401450
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042f9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0042f1e0
cmp byte [ebp - 1], 0xff
lea eax, [ebp - 8]
jne 0x403445
mov eax, dword [ebp - 8]
push eax
push edi
call fcn.0040157a
pop ecx
pop ecx
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0042f1e0
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4056dc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 1
push esi
jne 0x405789
lea ecx, [ebp - 8]
call fcn.0042ef80
lea eax, [ebp - 8]
push eax
xor esi, esi
push esi
push esi
push 0x23
push esi
call fcn.00401d5f
add esp, 0x14
test eax, eax
jne 0x405719
lea ecx, [ebp - 8]
call fcn.0042f1e0
jmp 0x4057e2
push str.Real_setup_
lea ecx, [ebp - 8]
call fcn.0042f630
cmp byte [ebp - 1], 0xff
lea eax, [ebp - 8]
jne 0x405732
mov eax, dword [ebp - 8]
push eax
call fcn.00402008
lea ecx, [ebp - 8]
mov dword [esp], 0x472938
call fcn.0042f630
lea eax, [ebp - 8]
call fcn.00405665
cmp byte [ebp - 1], 0xff
lea eax, [ebp - 8]
jne 0x40575b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, 0x100
push eax
push eax
call fcn.0042fbb0
push eax
push esi
push dword [ebp + 0xc]
push str.Reclaimer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov esi, eax
call fcn.0042fc40
jmp 0x40570c
cmp dword [ebp + 8], 3
push edi
mov edi, SysReAllocStringLen
jne 0x405796
dec edi
push dword [ebp + 0xc]
lea esi, [ebp - 0x10]
push dword [ebp + 8]
call fcn.00401450
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042f9d0
add esp, 0xc
mov ecx, esi
call fcn.0042f1e0
cmp byte [ebp - 1], 0xff
lea eax, [ebp - 8]
jne 0x4057c5
mov eax, dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push eax
push edi
call fcn.0040158e
add esp, 0x14
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0042f1e0
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x405fce
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x40b403
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret

Function at 0x40befd
Capabilities:
Create http request

Disassembly:
xor eax, eax
cmp dword [0x481e40], eax
je 0x40bf08
ret
push eax
push eax
push eax
push eax
push str.StubInstaller
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x481e40], eax
neg eax
sbb eax, eax
and eax, 0x7fff555f
add eax, 0x8000aaa1
ret
Function at 0x40c959
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
leave
ret 8

Function at 0x40e5a8
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
push 0x98
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0044f280
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x9c
call edi
test eax, eax
jne 0x40e5fb
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x94
call edi
mov eax, dword [ebp - 0x20]
dec eax
je 0x40e61b
dec eax
jne 0x40e65d
cmp byte [esi + 7], 0xff
jne 0x40e60c
mov esi, dword [esi]
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x40e65d
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], ebx
jne 0x40e62f
mov esi, dword [esi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x34]
push edx
push eax
call fcn.00453bc0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x7c]
shl eax, 0x14
pop edi
cdq
pop esi
pop ebx
cmp edx, dword [ebp - 0x40]
ja 0x40e677
jb 0x40e673
cmp eax, dword [ebp - 0x44]
jae 0x40e677
xor eax, eax
jmp 0x40e67c
mov eax, 0x80004005
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.0044f6e0
add ebp, 0x70
leave
ret 8
Function at 0x40e8cd
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
xor edi, edi
push edi
mov ebx, 0x40e68d
push ebx
mov dword [ebp - 0x130], ecx
mov dword [0x481ee4], edi
call esi
cmp dword [0x481ee4], edi
je 0x40ea4a
mov ecx, dword [ebp - 0x130]
add ecx, 0x1e8
push str.false
mov dword [ebp - 0x134], ecx
call fcn.0042f2d0
push dword [ebp - 0x130]
lea ecx, [ebp - 0x2e4]
call fcn.0040aa10
push 1
push 0xb1
lea ecx, [ebp - 0x2e4]
call fcn.0040a9c5
cmp eax, 3
jne 0x40ea3f
mov ecx, dword [ebp - 0x134]
push str.true
call fcn.0042f2d0
push edi
push 0x40e735
call esi
push edi
push ebx
mov dword [0x481ee4], edi
call esi
cmp dword [0x481ee4], edi
je 0x40e986
push edi
push 0x40e7ed
call esi
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
cmp eax, 0xffffffff
je 0x40ea3f
push 0x124
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.0044f280
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x130]
mov ebx, 0x128
mov dword [ebp - 0x12c], ebx
call sub.KERNEL32.dll_Process32First
jmp 0x40ea3b
lea eax, [ebp - 0x108]
push eax
push str.ieuser.exe
call fcn.0044fb7d
pop ecx
pop ecx
test eax, eax
je 0x40e9ff
lea eax, [ebp - 0x108]
push eax
push str.iexplore.exe
call fcn.0044fb7d
pop ecx
pop ecx
test eax, eax
jne 0x40ea23
push dword [ebp - 0x124]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x40ea23
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x130]
mov dword [ebp - 0x12c], ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40e9d1
lea ecx, [ebp - 0x2e4]
call fcn.0040aaea
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044f6e0
leave
ret
Function at 0x412c06
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xec
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x39c], edi
je 0x412c2e
xor eax, eax
inc eax
jmp 0x412c83
cmp dword [esi + 0x28], edi
je 0x412c29
push ebx
push 0x98
lea eax, [ebp - 0x24]
push edi
push eax
mov dword [ebp - 0x28], edi
call fcn.0044f280
mov ebx, 0x9c
push ebx
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0044f280
add esp, 0x18
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call ebx
test eax, eax
jne 0x412c79
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call ebx
cmp dword [ebp - 0x24], 6
jae 0x412c94
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f6e0
add ebp, 0x78
leave
ret
push str.vista.exe
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00408d5a
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042f9d0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
push 0x38
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.0044f280
add esp, 0xc
cmp byte [ebp - 0x31], 0xff
mov dword [ebp - 0x74], 0x3c
mov dword [ebp - 0x70], 0x440
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], str.open
lea eax, [ebp - 0x38]
jne 0x412cec
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
xor ebx, ebx
lea eax, [ebp - 0x74]
inc ebx
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x412d23
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x39c], eax
mov edi, ebx
lea ecx, [ebp - 0x38]
call fcn.0042f1e0
mov eax, edi
jmp 0x412c82
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
cmp eax, 0x4c7
jne 0x412d3a
push str.actionerrorvalueuac_cancel
jmp 0x412d3f
push str.actionerrorvaluehelper_invalid
call fcn.0042f200
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.004118f7
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
jmp 0x412d14
Function at 0x421951
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x298], eax
mov eax, dword [ebp + 0x2a8]
push ebx
push esi
mov esi, dword [ebp + 0x2a4]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x2ac]
xor ebx, ebx
push 0xff
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x199]
push ebx
push eax
mov byte [ebp + 0x198], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
mov edi, 0x100
push edi
lea eax, [ebp + 0x198]
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
push 0xff
lea eax, [ebp + 0x99]
push ebx
push eax
mov byte [ebp + 0x98], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push edi
lea eax, [ebp + 0x98]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x74]
push ebx
push ebx
call esi
push 5
lea eax, [ebp + 0x198]
push str.HKCR_
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421a1c
mov dword [ebp - 0x74], SysReAllocStringLen
push str.HKCR_
jmp 0x421a6a
push 5
lea eax, [ebp + 0x198]
push str.HKCU_
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421a44
mov dword [ebp - 0x74], SysReAllocStringLen
push str.HKCU_
jmp 0x421a6a
push 5
lea eax, [ebp + 0x198]
push str.HKLM_
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421a7a
mov dword [ebp - 0x74], reloc.OLEAUT32.dll_SysReAllocString
push str.HKLM_
call fcn.0044f080
lea eax, [ebp + eax + 0x198]
pop ecx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421ab1
push ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 0x6c], ebx
je 0x421b4e
push 0xff
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push edi
lea eax, [ebp - 0x68]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x7c]
push ebx
push ebx
call esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042f200
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004023e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x80]
call fcn.0042f220
lea ecx, [ebp - 0x78]
call fcn.0042f1e0
lea ecx, [ebp - 0x80]
call fcn.0042ef90
push eax
push ebx
lea ecx, [ebp - 0x80]
call fcn.0042fbb0
push eax
push 1
push ebx
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.0042fc40
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
call fcn.0042f1e0
mov ecx, dword [ebp + 0x298]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x29c
leave
ret 0xc
Function at 0x421b68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x310
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x28c], eax
mov eax, dword [ebp + 0x298]
push ebx
push edi
mov edi, dword [ebp + 0x2a0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x29c]
xor ebx, ebx
mov dword [ebp - 0x7c], eax
cmp edi, ebx
je 0x421d37
push esi
push 8
pop eax
mov esi, 0xff
push esi
mov word [edi], ax
lea eax, [ebp + 0x18d]
push ebx
push eax
mov dword [edi + 8], ebx
mov byte [ebp + 0x18c], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp + 0x18c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x80]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x7c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 5
lea eax, [ebp + 0x18c]
push str.HKCR_
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421c37
mov dword [ebp - 0x7c], SysReAllocStringLen
push str.HKCR_
jmp 0x421c85
push 5
lea eax, [ebp + 0x18c]
push str.HKCU_
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421c5f
mov dword [ebp - 0x7c], SysReAllocStringLen
push str.HKCU_
jmp 0x421c85
push 5
lea eax, [ebp + 0x18c]
push str.HKLM_
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x421c95
mov dword [ebp - 0x7c], reloc.OLEAUT32.dll_SysReAllocString
push str.HKLM_
call fcn.0044f080
lea eax, [ebp + eax + 0x18c]
pop ecx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421d36
push esi
lea eax, [ebp + 0x8d]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], esi
mov byte [ebp + 0x8c], bl
call fcn.0044f280
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421d2d
mov eax, dword [ebp - 0x78]
inc eax
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0x78]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
mov dword [edi + 8], eax
call fcn.0044f280
add esp, 0xc
push dword [ebp - 0x78]
lea eax, [ebp + 0x8c]
push dword [edi + 8]
push dword [ebp - 0x78]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x28c]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x290
leave
ret 0xc
Function at 0x421e64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x398], eax
jne 0x421e91
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x41ac7a
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x398], eax
pop esi
leave
ret
Function at 0x4222d9
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
je 0x422308
push 3
pop ecx
push eax
mov dword [esi + 8], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov word [esi], cx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x422308
mov dword [esi + 8], 1
pop esi
pop ebp
ret 4

Function at 0x422605
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0xbc], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc8]
mov esi, 0xff
xor ebx, ebx
push esi
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.0044f280
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 7
lea eax, [ebp - 0x44]
push str.http:__
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
je 0x422681
push 8
lea eax, [ebp - 0x44]
push 0x475d6c
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x4226d2
push 0x38
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0044f280
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x440
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], str.open
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4226d2
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0xc0
leave
ret 8