joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eb5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x656b98
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
push edi
push ebx
call ebp
test eax, eax
jne 0x4eb682
lea ecx, [esp + 0x24]
call fcn.00402500
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402850
lea edx, [esp + 0x28]
push edx
mov esi, eax
push esi
push 0
push 0
push edi
push ebx
call ebp
test eax, eax
jne 0x4eb671
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb650
sub eax, edx
cmp eax, 1
jbe 0x4eb671
mov eax, dword [esp + 0x2c]
push esi
push 0x66ae98
push eax
call fcn.00402f80
add esp, 0xc
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00402570
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4ec800
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x647de8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
push 0x67714c
push esi
mov ebp, ecx
call fcn.00615f0d
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ec8df
call fcn.00618a54
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov word [esp + 0x2c], cx
mov dword [esp + 0x40], ecx
push ecx
push ecx
lea edx, [esp + 0x18]
push edx
push 0x400
push eax
push ecx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [0x74eb40]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x74ff78]
push eax
push ecx
push esi
push edx
lea ecx, [esp + 0x38]
call fcn.00402320
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4ec8b5
lea eax, [esp + 0x2c]
mov ecx, dword [0x74ff98]
push 0x30
push ecx
push eax
push 0
call fcn.0046dd00
add esp, 0x10
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004011f0
jmp 0x4ec995
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x1c]
call fcn.0055c320
mov byte [esp + 0x40], 2
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
mov dword [esp + 0x10], eax
je 0x4ec96d
add ebp, 8
mov edi, edi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004ec610
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._ld__s_n_s_n
push edx
call fcn.00402f80
mov edx, dword [esp + 0x28]
mov eax, edx
add esp, 0x14
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ec950
push edi
sub eax, esi
push eax
push 1
push edx
call fcn.00615dc5
add esp, 0x10
cmp dword [esp + 0x10], 0
jne 0x4ec910
push edi
call fcn.00615be7
add esp, 4
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x1c]
call fcn.0055c380
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00613241
add esp, 0x34
ret 4
Function at 0x4ecb30
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x647e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
push 0
mov ebp, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x14]
call fcn.0055c320
mov dword [esp + 0x194], 0
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
je 0x4ecc30
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edi, [ebp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.004ec610
cmp dword [esp + 0x1c], 0xffffffff
jne 0x4ecc25
push 0x160
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00613900
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0x4411
push 0x160
lea ecx, [esp + 0x30]
push ecx
push 0x80
push edx
call ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004ec4f0
mov esi, eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00405920
lea eax, [esp + 0x18]
lea ecx, [esi + 4]
push eax
call fcn.00405920
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
cmp dword [esp + 0x20], 0
jne 0x4ecba3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4ecc50
push 0
push 0x1446
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x194], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0055c380
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00613241
add esp, 0x184
ret
Function at 0x4ed2d0
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x164]
sub esp, 0x164
push 0xffffffffffffffff
push 0x647f40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x160], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x170]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
lea edi, [esi + 0x24]
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov ecx, edi
call fcn.004ec2a0
test eax, eax
je 0x4ed398
lea ecx, [ebp - 0x34]
call fcn.0055c320
mov byte [ebp - 4], 1
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [esi + 8]
call fcn.004ec580
test eax, eax
je 0x4ed384
mov ecx, dword [ebp - 0x30]
push ecx
push 0x66ae98
mov edx, dword [ebp - 0x18]
push edx
call fcn.00402f80
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0055c380
mov eax, dword [ebp - 0x14]
jmp 0x4ed464
push ebx
mov ecx, edi
call fcn.00423360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0055c380
inc dword [esi + 0x40]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
call fcn.0055c320
mov byte [ebp - 4], 2
push ebx
push 0x66ae98
lea eax, [ebp - 0x28]
push eax
call fcn.00402f80
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x160
push 0
lea ecx, [ebp]
push ecx
call fcn.00613900
add esp, 0xc
push 0x4411
push 0x160
lea edx, [ebp]
push edx
push 0x80
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0x110]
push ecx
push 0x66ae98
mov edx, dword [ebp - 0x18]
push edx
call fcn.00402f80
lea eax, [ebp + 0x110]
push eax
push 0x66ae98
lea ecx, [ebp - 0x24]
push ecx
call fcn.00402f80
add esp, 0x18
lea edx, [ebp - 0x28]
push edx
push edi
lea ecx, [esi + 8]
call fcn.004ec5d0
push ebx
mov ecx, dword [ebp - 0x1c]
call fcn.004ecde0
mov dword [eax], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0055c380
mov eax, edi
jmp 0x4ed464
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x160]
xor ecx, ebp
call fcn.00613241
add ebp, 0x164
mov esp, ebp
pop ebp
ret 8
Function at 0x4f0530
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4f0562
xor eax, eax
pop edi
add esp, 8
ret 4
push ebx
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4f0580
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4f058b
cmp dword [esp + 0x14], 0
ja 0x4f058b
test ebx, ebx
jne 0x4f059c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop edi
add esp, 8
ret 4
push ebp
push esi
lea ebp, [ebx + 1]
push ebp
call fcn.005e76b2
mov esi, eax
add esp, 4
test esi, esi
jne 0x4f05c3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 8
ret 4
push ebp
push 0
push esi
call fcn.00613900
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4f0617
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4f0617
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004efaa0
push esi
call fcn.005e76a7
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 8
ret 4
push esi
call fcn.005e76a7
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 8
ret 4
Function at 0x4f29e0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push ebx
mov esi, ecx
call fcn.00403e60
push 0x2f
push ebx
mov dword [esp + 0x1c], eax
call fcn.00614820
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4f2acb
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f2a10
sub eax, edx
lea eax, [eax + ebx - 2]
cmp ebp, eax
jae 0x4f2acb
mov eax, dword [esi + 8]
push edi
add ebp, 2
xor edi, edi
test eax, eax
jle 0x4f2a85
xor ebx, ebx
test ebx, ebx
jl 0x4f2aea
cmp edi, eax
jge 0x4f2aea
test ebp, ebp
je 0x4f2ad4
mov ecx, dword [esi + 4]
mov eax, dword [ebx + ecx]
push ebp
push eax
call fcn.006169ca
add esp, 8
test eax, eax
jne 0x4f2a76
cmp edi, dword [esi + 8]
jge 0x4f2aea
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + ebx + 4]
je 0x4f2ade
mov eax, dword [esi + 8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x4f2a34
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerMCN
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f2aca
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push 0x80004005
call fcn.00401090
push 1
push edi
mov ecx, esi
call fcn.004f2770
jmp 0x4f2a81
call fcn.005e77c5
int3
Function at 0x4f2fc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x648a18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00402500
mov dword [esp + 0x30], 1
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x4f300d
xor eax, eax
jmp 0x4f301b
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f3012
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00402960
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004f2cd0
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x30], 2
cmp edi, 1
jne 0x4f3058
mov eax, 0x66b000
jmp 0x4f308a
cmp edi, 4
jne 0x4f3064
mov eax, 0x66aff8
jmp 0x4f308a
cmp edi, 5
jne 0x4f3070
mov eax, 0x66afec
jmp 0x4f308a
cmp edi, 2
jne 0x4f307c
mov eax, 0x66afe0
jmp 0x4f308a
mov eax, 0x66b420
test edi, edi
je 0x4f308a
mov eax, 0x66afd8
push ebp
push eax
lea edx, [esp + 0x18]
push str.SoftwareDownloadManagerMCN_s_s
push edx
call fcn.00402f80
mov edx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4f30dc
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402570
jmp 0x4f3110
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x44]
push eax
push 4
push 0
push str.number
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402570
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0xc

Function at 0x4f4210
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x648bab
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov edx, dword [0x74ea0c]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.bShTtRIT
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4f42c0
mov ecx, dword [0x74ea0c]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.bShTtRIT
push ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4f42c0
push eax
lea ecx, [esp + 0x10]
call fcn.0053f460
mov dword [esp + 0xe4], 0
lea ecx, [esp + 0xc]
call fcn.005e96b1
mov dword [esp + 0xe4], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004f3d70
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
add esp, 0xe4
ret
Function at 0x4f8200
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
push esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
push esi
push esi
push str.FSPSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4f8236
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4f8240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
push esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
push esi
push esi
push str.FSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4f8276
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x4fc090
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x649f48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x20], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xdc]
call fcn.005ed699
push 0x66b96c
push 0x66b000
lea ecx, [esp + 0x18]
call fcn.00402c10
push 0x66b96c
push 0x66b420
lea ecx, [esp + 0x18]
call fcn.00402c10
push 0x66b96c
push 0x66afe0
lea ecx, [esp + 0x18]
call fcn.00402c10
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x144]
call fcn.004a3ce0
lea ecx, [esp + 0xc]
call fcn.00402500
mov byte [esp + 0x20], 1
lea edx, [esp + 0xc]
push edx
lea ecx, [esi + 0x88]
call fcn.005ed699
push 0x66ae04
push 0x6941f8
lea ecx, [esp + 0x14]
call fcn.00402c10
mov eax, dword [esp + 0xc]
push 0x20
push eax
call fcn.006159e0
mov edi, eax
add esp, 8
test edi, edi
je 0x4fc19b
mov edx, 0x6941f4
mov ecx, edi
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4fc190
test al, al
je 0x4fc18c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4fc190
add ecx, 2
add edx, 2
test al, al
jne 0x4fc170
xor eax, eax
jmp 0x4fc195
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc19b
mov byte [edi], al
mov ecx, dword [esp + 0xc]
push 2
push 0x6941f0
push ecx
call fcn.0061499b
add esp, 0xc
test eax, eax
jne 0x4fc1fd
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0xc]
add edx, 2
push edx
lea eax, [esp + 0x18]
push 0x66ae98
push eax
call fcn.00402f80
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push 0x66ae98
push edx
call fcn.00402f80
add esp, 0x18
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x14]
call fcn.00402570
mov edx, dword [esp + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fc206
sub eax, edi
inc eax
push eax
mov eax, dword [0x74ea0c]
push edx
push 1
push 0
push str.Extensions
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x148]
push ecx
push eax
call fcn.00615809
add esp, 8
test eax, eax
je 0x4fc246
mov byte [esi + 0x14c], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.00402570
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4fcc20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
mov esi, ecx
mov eax, dword [esi + 0x154]
push 0xf1
push eax
call edi
mov eax, dword [0x74ea0c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4fcc91
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005e82f7
mov ecx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x74ea0c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4fccdc
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005e82f7
mov edx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4fdf70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x174]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x94]
call fcn.00410670
test eax, eax
je 0x4fdfad
lea ecx, [esp + 0x18]
push ecx
call fcn.00410920
add esp, 4
mov ecx, dword [0x74ea0c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.LaunchOnStart
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4fdffe
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005e82f7
mov edx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x74ea0c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.MonitorUrlClipboard
push edx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4fe049
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005e82f7
mov eax, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4ff4b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.nHttpPrChbSt
push edx
mov dword [esp + 0x24], 4
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4ff505
cmp dword [esp + 0x10], 0
je 0x4ff505
mov eax, dword [esi + 0x29c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x74ea0c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.nFtpPrChbSt
push eax
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4ff543
cmp dword [esp + 0x10], eax
je 0x4ff543
mov ecx, dword [esi + 0x2ac]
push eax
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x74ea0c]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push str.nHttpsPrChbSt
push ecx
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4ff582
cmp dword [esp + 0x10], eax
je 0x4ff582
mov edx, dword [esi + 0x28c]
push eax
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4ff590
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x29c]
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x28c]
push 0
neg eax
push 0
sbb eax, eax
push 0xf0
neg eax
push ecx
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esi + 0x2ac]
push 0
neg eax
push 0
sbb eax, eax
push 0xf0
neg eax
push edx
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [0x74ea0c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.nHttpPrChbSt
push ecx
call esi
mov eax, dword [0x74ea0c]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x74ea0c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.nHttpsPrChbSt
push edx
call esi
pop edi
pop esi
add esp, 0xc
ret