joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2f0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d12ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [esp + 0x170]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.004a91d7
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x174], esi
call fcn.004a3e26
mov ecx, dword [0x510634]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x17c], 2
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edi, eax
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jne 0x40d397
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0xc]
mov byte [esp + 0x174], 1
call fcn.004a9169
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 0
call fcn.004a3e59
mov dword [esp + 0x174], 0xffffffff
jmp 0x40d4dd
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x20]
call fcn.004a3eb9
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
jle 0x40d413
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x40d3c7
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.004a956c
jmp 0x40d3e8
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004a408e
push 0x50dc94
lea ecx, [esp + 0x10]
call fcn.004a9545
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x40d40b
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004a408e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x40d3ac
mov ebp, dword [sym.imp.KERNEL32.DLL_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x20]
mov esi, 1
cmp eax, esi
jle 0x40d487
mov edi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0040d830
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 3
call fcn.004a92a2
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 2
call fcn.004a9169
mov ecx, dword [esp + 0xc]
push 0
push ecx
call edi
test eax, eax
je 0x40d47e
mov edx, dword [esp + 0xc]
push 0x80
push edx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x40d42f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
or edi, 0xffffffff
lea ecx, [esp + 0x18]
push edi
push 0
mov esi, eax
call fcn.004a3eb9
mov eax, dword [esp + 0x2c]
push esi
cmp eax, 0x10
jne 0x40d4ed
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x174], 1
call fcn.004a9169
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 0
call fcn.004a3e59
mov dword [esp + 0x174], edi
lea ecx, [esp + 0x10]
call fcn.004a9169
mov eax, 1
jmp 0x40d523
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x174], 1
call fcn.004a9169
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 0
call fcn.004a3e59
lea ecx, [esp + 0x10]
mov dword [esp + 0x174], edi
call fcn.004a9169
xor eax, eax
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x16c
ret
Function at 0x40fb00
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x214
lea eax, [esp]
push esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov esi, ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40fb2c
xor eax, eax
pop esi
add esp, 0x214
ret
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.Favorites
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x114]
push 0x104
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.004a91d7
lea ecx, [esi + 4]
call fcn.0040f1e0
mov eax, 1
pop esi
add esp, 0x214
ret
Function at 0x410220
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d18b2
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 9
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
je 0x410481
push ebx
lea ecx, [esp + 0x18]
push edi
push ecx
mov ecx, esi
call fcn.004a2976
mov edx, dword [0x510634]
mov dword [esp + 0x168], 0
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push edi
mov byte [esp + 0x170], 1
call fcn.004104a0
push edi
mov ecx, esi
call fcn.004a2a83
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
test eax, eax
push ecx
push edx
jne 0x410410
lea eax, [esp + 0x18]
push eax
call fcn.004a9398
push 0x50d88c
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x174], 2
call fcn.004a93fe
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.004a9169
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 1
call fcn.004a9169
test ebx, ebx
je 0x410315
mov edx, dword [esi + 0x1c]
push edi
push 0
push 0x1101
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x410452
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004a9398
push 0x50e1fc
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x170], 3
push eax
call fcn.004a93fe
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.004a9169
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 1
call fcn.004a9169
test ebp, ebp
je 0x41037d
mov ecx, dword [esi + 0x1c]
push edi
push 0
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x410452
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004a9398
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004a9169
cmp ebx, 0xffffffff
je 0x410452
test byte [esp + 0x20], 0x10
je 0x410452
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004a9398
mov eax, dword [eax]
mov byte [esp + 0x168], 4
push eax
call fcn.00408c40
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
mov byte [esp + 0x168], 1
call fcn.004a9169
test ebx, ebx
je 0x410452
mov eax, dword [esi + 0x1c]
push edi
push 0
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x410452
lea eax, [esp + 0x18]
push eax
call fcn.004a9398
mov eax, dword [eax]
mov byte [esp + 0x168], 5
push eax
call fcn.00408c40
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
mov byte [esp + 0x168], 1
call fcn.004a9169
test ebx, ebx
je 0x410452
mov ecx, dword [esi + 0x1c]
push edi
push 0
push 0x1101
push ecx
call ebp
lea ecx, [esp + 0x14]
mov word [0x515f4c], 1
mov byte [esp + 0x168], 0
call fcn.004a9169
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call fcn.004a9169
pop ebx
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x15c
ret
Function at 0x413440
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x5c
dec eax
push ebx
push ebp
push esi
cmp eax, 6
push edi
mov ebx, ecx
ja case.default.0x413453
jmp dword [eax*4 + 0x4134e8]
mov ebp, dword [ebx + 0x48]
jmp 0x41347f
mov ebp, dword [ebx + 0x4c]
jmp 0x41347f
mov ebp, dword [ebx + 0x54]
jmp 0x41347f
mov ebp, dword [ebx + 0x50]
jmp 0x41347f
mov ebp, dword [ebx + 0x58]
jmp 0x41347f
mov ebp, dword [ebx + 0x44]
jmp 0x41347f
mov ebp, dword [ebx + 0x40]
jmp 0x41347f
xor ebp, ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], 0x23
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x38]
mov edx, dword [ebx + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea esi, [esp + 0x10]
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebp
push ecx
push eax
push 0x1100
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc

Function at 0x414400
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 8]
push str.CLSID_
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp]
lea ecx, [esp + 8]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41445c
mov edx, dword [esp + 0x114]
xor eax, eax
mov byte [edx], 0
add esp, 0x10c
ret
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0x118]
push esi
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0x515d3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x10c
ret

Function at 0x416370
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret
Function at 0x4165d0
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 0x4166fb
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
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 0x4166ea
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 0x4166ea
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4166e5
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 0x4166ea
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_RegQueryInfoKeyA]
test eax, eax
jne 0x4166ea
push 0x105
call fcn.004a8eaa
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x4166dc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x4166cc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.004165d0
add esp, 0x10
jmp 0x4166d3
cmp eax, 0x103
je 0x4166dc
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x4166a3
push esi
call fcn.004a8ed3
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4166fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x41aa20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x50ea24]
mov dword [esp + 0x14], ecx
lea edx, [esp]
push esi
xor ecx, ecx
push edx
mov dword [esp + 0x14], ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], cl
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41ab15
push ebx
lea eax, [esp + 0x13]
push 0xa
push eax
push esi
mov dword [esp + 0x18], 0x103
call fcn.0043ae82
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
call ebx
test eax, eax
jne 0x41ab09
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41aad0
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x2c]
push 0x143
mov ecx, dword [eax + 0x1640]
mov edx, dword [ecx + 0x1c]
push edx
call ebp
lea eax, [esp + 0x1b]
inc esi
push 0xa
push eax
push esi
call fcn.0043ae82
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x2c], 0x103
call ebx
test eax, eax
je 0x41aaa5
pop edi
pop ebp
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
add esp, 0x11c
ret
Function at 0x41af60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4d2a96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x824
push esi
lea ecx, [esp + 8]
call fcn.0042f5c6
mov esi, dword [esp + 0x838]
push str..url
mov ecx, esi
mov dword [esp + 0x834], 0
call fcn.004a9545
mov esi, dword [esi]
push 0
push esi
lea ecx, [esp + 0x10]
call fcn.0042f689
test eax, eax
je 0x41b02c
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push edi
mov edi, dword [esp + 0x844]
lea ecx, [esp + 0x10]
call fcn.0042f8a9
mov esi, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0042f978
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push 0x800
push edx
push 0x515d3c
push 0x50e18c
push str.InternetShortcut
mov byte [esp + 0x850], 1
call ebp
mov eax, dword [edi + 8]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.004a4062
lea ecx, [esp + 0xc]
mov byte [esp + 0x838], 0
call fcn.004a9169
test esi, esi
jne 0x41afc4
pop edi
pop ebp
lea ecx, [esp + 8]
call fcn.0042f63f
lea ecx, [esp + 8]
mov dword [esp + 0x830], 0xffffffff
call fcn.0042f603
mov ecx, dword [esp + 0x828]
pop esi
mov dword fs:[0], ecx
add esp, 0x830
ret

Function at 0x41c3c0
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d2c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x224]
push eax
mov dword [esp + 0x21c], 0
call fcn.004a9545
push str.Shellopencommand
lea ecx, [esp + 0x228]
call fcn.004a9545
mov edx, dword [esp + 0x224]
lea ecx, [esp]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41c4fc
mov edx, dword [esp]
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x110]
push eax
push ecx
push 0
push 0
push 0x515d3c
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x41c47b
push 0xffffffffffffffff
push eax
push 0xef1d
call fcn.004afff2
jmp 0x41c4fc
push esi
lea eax, [esp + 0xc]
push 0x104
lea ecx, [esp + 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea edx, [esp + 0xc]
push 0x22
push edx
lea esi, [esp + 0x14]
call fcn.00437f40
lea ecx, [esp + 0x14]
add esp, 8
cmp eax, ecx
jne 0x41c4c3
lea esi, [eax + 1]
push 0x22
push esi
call fcn.00437f40
add esp, 8
test eax, eax
je 0x41c4da
jmp 0x41c4d6
lea edx, [esp + 0xc]
push 0x20
push edx
call fcn.00437f40
add esp, 8
test eax, eax
je 0x41c4da
mov byte [eax], 0
inc eax
push 5
push 0x50da78
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp + 0x224]
mov dword [esp + 0x218], 0xffffffff
call fcn.004a9169
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret 8
Function at 0x41cbf0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x50ea24]
push ebp
mov ebp, ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
xor ecx, ecx
push SysReAllocString
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1c], cl
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [esp + 8]
push edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x41ccf6
mov eax, dword [ebp + 0x1640]
push 0
push 0
push 0x146
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x18
mov dword [esp + 4], eax
jle 0x41cc63
mov dword [esp + 4], 0x18
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
test eax, eax
jle 0x41ccea
push esi
push edi
mov esi, 1
lea ecx, [esp + 0x1b]
push 0xa
push ecx
push esi
call fcn.0043ae82
mov eax, dword [ebp + 0x1640]
add esp, 0xc
lea edx, [esp + 0x24]
mov ecx, dword [eax + 0x1c]
push edx
push ebx
push 0x148
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
test edx, edx
je 0x41ccdf
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41ccdf
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
not ecx
dec ecx
push ecx
push eax
push 1
lea ecx, [esp + 0x24]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc esi
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x41cc75
pop edi
pop esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop ebp
add esp, 0x118
ret
Function at 0x41cd00
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ebp, 0x1000
xor ebx, ebx
mov edi, 0x7a
test edi, edi
je 0x41cd95
cmp edi, 0x7a
je 0x41cd4d
cmp edi, 0x103
je 0x41cd3b
mov dword [esp + 0x14], 1
jmp 0x41cdf4
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x41cdf4
push esi
call fcn.004a8ed3
push ebp
call fcn.004a8eaa
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x41cd80
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x41cd8d
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41cddc
xor edi, edi
jmp 0x41cde8
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x41cdb0
test eax, eax
je 0x41cdaa
test dword [esi + 0xc], eax
je 0x41cdc3
mov edx, dword [esi + 4]
push edx
jmp 0x41cdbd
test eax, eax
je 0x41cdb9
test dword [esi + 0xc], eax
jne 0x41cdc3
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41cddc
xor edi, edi
jmp 0x41cde8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41cd1d
push esi
call fcn.004a8ed3
add esp, 4
test ebx, ebx
je 0x41ce08
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41cd1d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x41ce40
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0x1640]
push esi
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x50ea24]
lea ecx, [esp + 4]
xor eax, eax
push ecx
mov dword [esp + 0x10], eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], al
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41cee3
push edi
lea edx, [esp + 0xf]
push 0xa
push edx
push esi
call fcn.0043ae82
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call edi
test eax, eax
jne 0x41ced7
lea edx, [esp + 0xf]
inc esi
push 0xa
push edx
push esi
call fcn.0043ae82
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call edi
test eax, eax
je 0x41ceb6
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41cef0
Capabilities:
Delete registry value
Enumerate browser history

Disassembly:
sub esp, 0x14
push ebp
lea eax, [esp + 4]
push esi
push eax
push 0x4eb2e8
push 3
push 0
mov ebp, ecx
push str._J7_
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41cf30
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x50ea24]
lea edx, [esp + 0xc]
xor ecx, ecx
push edx
mov dword [esp + 0x18], ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], cl
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41cfd2
push edi
lea eax, [esp + 0x17]
push 0xa
push eax
push esi
call fcn.0043ae82
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
test eax, eax
jne 0x41cfc6
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x1b]
inc esi
push 0xa
push eax
push esi
call fcn.0043ae82
mov ecx, dword [ebp + 0x1640]
add esp, 0xc
mov edx, dword [ecx + 0x1c]
push 0
push 0
push 0x144
push edx
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call edi
test eax, eax
je 0x41cf8f
pop ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x41fa40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
xor esi, esi
mov dword [esp + 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41fa6e
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.GlobalUserOffline
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41fa9d
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret