joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d04a
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0x47e7fe
lea ecx, [ebp - 0x18]
call fcn.0043f7b0
lea ecx, [ebp + 8]
xor edi, edi
xor esi, esi
call fcn.00401005
test al, al
jne 0x40d154
lea ecx, [ebp + 8]
call fcn.0043f510
cmp byte [ebp + 0xf], 0xff
lea ecx, [ebp + 8]
jne 0x40d087
mov ecx, dword [ebp + 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40d098
push 0x5c
lea ecx, [ebp + 8]
call fcn.0043fc90
push str.version.ini
lea ecx, [ebp + 8]
call fcn.0043fc10
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x40d0b1
mov eax, dword [ebp + 8]
push eax
mov eax, 0x100
push eax
push eax
lea ecx, [ebp - 0x18]
call fcn.00440160
push eax
push edi
push 0x47f504
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004401f0
lea ecx, [ebp - 0x18]
call fcn.00401005
test al, al
jne 0x40d154
cmp byte [ebp - 0x11], 0xff
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x18]
jne 0x40d101
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push str._d._d._d._d
push eax
call fcn.0045f068
movzx esi, byte [ebp - 4]
mov eax, dword [ebp - 8]
shl eax, 8
or esi, eax
movzx eax, byte [ebp - 0xc]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x10]
and eax, 0xfff
shl esi, 0xc
or esi, eax
add esp, 0x18
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x40d14d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x40d164
lea eax, [ebp - 0x18]
push eax
call fcn.0043f840
lea ecx, [ebp - 0x18]
call fcn.0043f790
lea ecx, [ebp + 8]
call fcn.0043f790
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x40db5d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
call fcn.0043f500
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push str.SoftwareRealNetworksDLPdlpinstallcounts
mov ebx, 0x80000002
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dc9f
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x18]
call fcn.0043f500
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x100
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x100
call fcn.00440160
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 4]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.004401f0
cmp dword [ebp - 0xc], esi
jne 0x40dc85
lea ecx, [ebp - 0x20]
call fcn.0043f500
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push str.SoftwareRealNetworksDLPdlpinstallcounts_
push eax
call fcn.004400e0
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x40dc07
mov eax, dword [eax]
push esi
push esi
lea ecx, [ebp - 0x20]
push ecx
push str.Count
push eax
push ebx
call fcn.00402b10
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.0043f790
lea eax, [ebp - 0x20]
push eax
push str.installcount
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push 0x47ee40
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00440040
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0043fcf0
lea ecx, [ebp - 0x30]
call fcn.0043f790
lea ecx, [ebp - 0x38]
call fcn.0043f790
lea ecx, [ebp - 0x40]
call fcn.0043f790
lea ecx, [ebp - 0x20]
call fcn.0043f790
lea ecx, [ebp - 0x18]
call fcn.0043f790
cmp dword [ebp - 0xc], esi
je 0x40db98
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 4

Function at 0x40dd49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0045f090
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x34], 0
shr eax, 0x18
add esp, 0xc
cmp al, 0xff
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
lea eax, [ebp + 8]
jne 0x40dd88
mov eax, dword [ebp + 8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40ddb1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.0043f790
leave
ret
Function at 0x40e451
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
mov eax, dword [0x48e610]
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.0045f090
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 0x40e4a4
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x94
call edi
mov eax, dword [ebp - 0x20]
dec eax
je 0x40e4c4
dec eax
jne 0x40e506
cmp byte [esi + 7], 0xff
jne 0x40e4b5
mov esi, dword [esi]
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x40e506
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 0x40e4d8
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.00460120
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 0x40e520
jb 0x40e51c
cmp eax, dword [ebp - 0x44]
jae 0x40e520
xor eax, eax
jmp 0x40e525
mov eax, 0x80004005
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.0045f4ee
add ebp, 0x70
leave
ret 8
Function at 0x40e7af
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x264]
sub esp, 0x2e4
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x260], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
xor edi, edi
push edi
mov ebx, 0x40e536
push ebx
mov dword [ebp - 0x7c], ecx
mov dword [0x48fd18], edi
call esi
cmp dword [0x48fd18], edi
je 0x40e904
mov ecx, dword [ebp - 0x7c]
add ecx, 0x240
push str.false
mov dword [ebp - 0x80], ecx
call fcn.0043f8e0
push dword [ebp - 0x7c]
lea ecx, [ebp + 0xb0]
call fcn.00409d06
push 1
push 0xb1
lea ecx, [ebp + 0xb0]
call fcn.00409cbb
cmp eax, 3
jne 0x40e8f9
mov ecx, dword [ebp - 0x80]
push str.true
call fcn.0043f8e0
push edi
push 0x40e5f2
call esi
push edi
push ebx
mov dword [0x48fd18], edi
call esi
cmp dword [0x48fd18], edi
je 0x40e861
push edi
push 0x40e6be
call esi
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x40e8f9
push 0x124
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.0045f090
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
mov ebx, 0x128
mov dword [ebp - 0x78], ebx
call sub.KERNEL32.dll_Process32First
jmp 0x40e8f5
lea eax, [ebp - 0x54]
push eax
push str.ieuser.exe
call fcn.0045f938
pop ecx
pop ecx
test eax, eax
je 0x40e8c5
lea eax, [ebp - 0x54]
push eax
push str.iexplore.exe
call fcn.0045f938
pop ecx
pop ecx
test eax, eax
jne 0x40e8e6
push dword [ebp - 0x70]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x40e8e6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40e89d
lea ecx, [ebp + 0xb0]
call fcn.00409de0
mov ecx, dword [ebp + 0x260]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045f4ee
add ebp, 0x264
leave
ret
Function at 0x40fde1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
shr eax, 0x18
sub esp, 0x14
cmp al, 0xff
lea eax, [ebp + 8]
jne 0x40fdf7
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x47fb8c
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045fd67
add esp, 0xc
test eax, eax
jne 0x40fe6f
push 2
push eax
push dword [ebp - 4]
call fcn.00464c82
push dword [ebp - 4]
call fcn.00464b93
push dword [ebp - 4]
mov esi, eax
call fcn.00464941
lea edi, [esi + 1]
push edi
call fcn.0045e88c
push edi
mov ebx, eax
push 0
push ebx
call fcn.0045f090
push dword [ebp - 4]
push esi
push 1
push esi
push ebx
call fcn.00464896
mov ecx, dword [ebp + 0x10]
add esp, 0x38
push ebx
call fcn.0043f8e0
push dword [ebp - 4]
call fcn.0045fae8
push ebx
call fcn.0045efef
pop ecx
pop ecx
jmp 0x40ff56
push str.___try_creating_it_instead.
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.Unable_to_open_file:
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00440090
push eax
call fcn.0040d9ba
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.0043f790
lea ecx, [ebp - 0x14]
call fcn.0043f790
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov edi, 0x47e7fe
cmp dword [ebp + 0x14], ebx
je 0x40fed1
push ebx
push ebx
push esi
push edi
push str.SOFTWARERealNetworksRealPlayer15.0PreferencesUID
push 0x80000001
call fcn.00402b10
add esp, 0x18
mov ecx, esi
call fcn.00401005
test al, al
je 0x40ff0c
lea eax, [ebp - 0x14]
push eax
call fcn.00402284
pop ecx
push eax
mov ecx, esi
call fcn.0043f840
lea ecx, [ebp - 0x14]
call fcn.0043f790
mov ecx, esi
call fcn.004405f0
push 1
push edi
push 0x47ece0
mov ecx, esi
call fcn.00440610
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x40ff18
mov eax, dword [ebp + 8]
push 0x47fb1c
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045fd67
add esp, 0xc
cmp eax, ebx
jne 0x40ff62
cmp byte [esi + 7], 0xff
mov edi, esi
jne 0x40ff38
mov edi, dword [esi]
push dword [ebp - 4]
mov ecx, esi
call fcn.0043f510
push eax
push 1
push edi
call fcn.00464660
push dword [ebp - 4]
call fcn.0045fae8
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0043f790
xor eax, eax
jmp 0x40ff90
lea eax, [eax + str.Machine_GUID_error:]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043f7b0
lea eax, [ebp - 0xc]
push eax
call fcn.0040d9ba
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0043f790
lea ecx, [ebp + 8]
call fcn.0043f790
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4125a7
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xec
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x474], edi
je 0x4125cf
xor eax, eax
inc eax
jmp 0x412624
cmp dword [esi + 0x2c], edi
je 0x4125ca
push ebx
push 0x98
lea eax, [ebp - 0x24]
push edi
push eax
mov dword [ebp - 0x28], edi
call fcn.0045f090
mov ebx, 0x9c
push ebx
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0045f090
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 0x41261a
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call ebx
cmp dword [ebp - 0x24], 6
jae 0x412635
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0045f4ee
add ebp, 0x78
leave
ret
push str.vista.exe
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00407bf4
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00440090
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0043f790
push 0x38
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.0045f090
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 0x41268d
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 0x4126c4
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x474], eax
mov edi, ebx
lea ecx, [ebp - 0x38]
call fcn.0043f790
mov eax, edi
jmp 0x412623
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
cmp eax, 0x4c7
jne 0x4126db
push str.actionerrorvalueuac_cancel
jmp 0x4126e0
push str.actionerrorvaluehelper_invalid
call fcn.0043f7b0
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00410896
lea ecx, [ebp - 0x30]
call fcn.0043f790
jmp 0x4126b5
Function at 0x420127
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, 0x47e7fe
push edi
lea ecx, [esi + 0x8bc]
call fcn.0043f8e0
lea ecx, [esi + 0x920]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
push edx
lea eax, [ebp - 4]
push eax
call fcn.0041fefa
lea ecx, [esi + 0x930]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
push edx
lea eax, [ebp - 4]
push eax
call fcn.0041fefa
push edi
mov ecx, 0x48fd8c
call fcn.0043f8e0
push str._temp_detect.log
lea ecx, [ebp - 0x10]
mov dword [esi + 0x908], 1
call fcn.0043f7b0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004030b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0043f840
lea ecx, [ebp - 8]
call fcn.0043f790
cmp byte [ebp - 9], 0xff
pop edi
pop esi
lea eax, [ebp - 0x10]
jne 0x4201c1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
call fcn.0043f790
xor eax, eax
leave
ret
Function at 0x433d69
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x48e610]
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.0045f090
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.0045f090
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.0047891e
add esp, 0xc
test eax, eax
jne 0x433e34
mov dword [ebp - 0x74], 0x80000000
push str.HKCR_
jmp 0x433e82
push 5
lea eax, [ebp + 0x198]
push str.HKCU_
push eax
call fcn.0047891e
add esp, 0xc
test eax, eax
jne 0x433e5c
mov dword [ebp - 0x74], 0x80000001
push str.HKCU_
jmp 0x433e82
push 5
lea eax, [ebp + 0x198]
push str.HKLM_
push eax
call fcn.0047891e
add esp, 0xc
test eax, eax
jne 0x433e92
mov dword [ebp - 0x74], 0x80000002
push str.HKLM_
call fcn.0045f9f0
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 0x433ec9
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 0x433f66
push 0xff
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.0045f090
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.0043f7b0
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004030b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x80]
call fcn.0043f840
lea ecx, [ebp - 0x78]
call fcn.0043f790
lea ecx, [ebp - 0x80]
call fcn.0043f510
push eax
push ebx
lea ecx, [ebp - 0x80]
call fcn.00440160
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.004401f0
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
call fcn.0043f790
mov ecx, dword [ebp + 0x298]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
add ebp, 0x29c
leave
ret 0xc
Function at 0x433f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x310
mov eax, dword [0x48e610]
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 0x43414f
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.0045f090
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.0045f090
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.0047891e
add esp, 0xc
test eax, eax
jne 0x43404f
mov dword [ebp - 0x7c], 0x80000000
push str.HKCR_
jmp 0x43409d
push 5
lea eax, [ebp + 0x18c]
push str.HKCU_
push eax
call fcn.0047891e
add esp, 0xc
test eax, eax
jne 0x434077
mov dword [ebp - 0x7c], 0x80000001
push str.HKCU_
jmp 0x43409d
push 5
lea eax, [ebp + 0x18c]
push str.HKLM_
push eax
call fcn.0047891e
add esp, 0xc
test eax, eax
jne 0x4340ad
mov dword [ebp - 0x7c], 0x80000002
push str.HKLM_
call fcn.0045f9f0
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 0x43414e
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.0045f090
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 0x434145
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.0045f090
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.0045f4ee
add ebp, 0x290
leave
ret 0xc
Function at 0x43427c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x470], eax
jne 0x4342a9
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x41a770
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x470], eax
pop esi
leave
ret
Function at 0x4346de
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 0x43470d
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 0x43470d
mov dword [esi + 8], 1
pop esi
pop ebp
ret 4

Function at 0x434a2a
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x48e610]
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.0045f090
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.0047891e
add esp, 0xc
test eax, eax
je 0x434aa6
push 8
lea eax, [ebp - 0x44]
push 0x484094
push eax
call fcn.0047891e
add esp, 0xc
test eax, eax
jne 0x434af7
push 0x38
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0045f090
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 0x434af7
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.0045f4ee
add ebp, 0xc0
leave
ret 8