joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401820
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x437c27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.00436094
xor ebp, ebp
lea ecx, [esi + 0x68]
mov dword [esp + 0x28], ebp
call fcn.00410a00
mov eax, dword [0x44cad0]
lea edi, [esi + 0xd4]
mov dword [edi], eax
lea ebx, [esi + 0xdc]
push 0xa
mov ecx, ebx
mov byte [esp + 0x2c], 2
call fcn.0042b42c
mov dword [ebx], method.CPtrList.virtual_0
mov byte [esp + 0x28], 3
mov dword [esi], 0x43c7e0
mov dword [0x4500e0], ebp
mov dword [esi + 0xc8], ebp
push str.Personal
lea ecx, [esp + 0x18]
mov dword [esi + 0xc4], ebp
mov dword [esi + 0xcc], ebp
mov byte [esi + 0xd0], 1
call fcn.0042ff9f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0042ff9f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x20]
mov bl, 5
push 0x80000001
push eax
mov byte [esp + 0x38], bl
call fcn.00402810
add esp, 0x10
push eax
mov ecx, edi
mov byte [esp + 0x2c], 6
call fcn.0043001e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0042ff31
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0042ff31
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0042ff31
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x402580
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x437db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
push eax
add ecx, 0x68
mov dword [esp + 0xc], 0xb
call fcn.004111d0
mov esi, dword [esp + 0x20]
test al, al
je 0x4025c8
mov ecx, 0x4500f0
call fcn.00403f10
test al, al
je 0x40264f
mov ecx, 0x4500f0
call fcn.00403eb0
cmp eax, 2
jne 0x4025fa
mov ecx, dword [esp + 0x20]
push 4
push 0
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
lea eax, [esp + 0xc]
push eax
call fcn.00403760
add esp, 4
push str.WININIT.INI
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x24], 0
call fcn.0043017a
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
push 0x44a368
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x20]
call fcn.0042ff31
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0042ff31
push 0
push str.FileCount
push str.DeleteOnWindowsRestart
mov ecx, 0x4500f0
call fcn.004362d0
mov edx, dword [0x44cad0]
mov dword [esp + 4], edx
push eax
lea eax, [esp + 8]
push str.File__d
push eax
mov dword [esp + 0x24], 1
call fcn.0042abce
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
add esp, 0xc
push eax
push ecx
push str.DeleteOnWindowsRestart
mov ecx, 0x4500f0
call fcn.00434146
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0042ff31
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4026d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push 4
mov dword [esp + 0x14], ebx
call fcn.0042fc72
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x24]
push esi
push 0x20019
mov eax, dword [eax]
push ebx
push eax
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x4027e8
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebp
push 0x104
push 0x40
call esi
push 0x104
push 0x40
mov ebx, eax
call esi
mov dword [esp + 0x28], eax
xor ebp, ebp
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
mov eax, 0x104
push ecx
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
push 0
mov eax, ebp
push ecx
push ebx
push eax
mov eax, dword [edx]
inc ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
test edi, edi
jne 0x4027c2
mov eax, dword [esp + 0x1c]
cmp eax, 4
je 0x40277e
cmp eax, 5
je 0x40277e
cmp eax, 3
jne 0x402730
mov ecx, dword [esp + 0x2c]
mov esi, ebx
mov eax, dword [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4027aa
test cl, cl
je 0x4027a6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4027aa
add eax, 2
add esi, 2
test cl, cl
jne 0x402786
xor eax, eax
jmp 0x4027af
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402730
mov eax, dword [esp + 0x28]
movsx ecx, byte [eax]
mov dword [esp + 0x14], ecx
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [esp + 0x28]
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
pop ebp
push esi
call fcn.0042fc9b
add esp, 4
test edi, edi
je 0x4027fa
call fcn.00433437
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x402810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x437ddf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0x4500e8
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
call fcn.0042ff9f
mov edi, 1
push 4
mov dword [esp + 0x30], edi
call fcn.0042fc72
mov ecx, dword [esp + 0x3c]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x3c]
push ebx
push 0x20019
mov eax, dword [eax]
push 0
push eax
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
test ebp, ebp
jne 0x40296d
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x104
push 0x40
call esi
push 0x104
push 0x40
mov edi, eax
call esi
mov esi, eax
test edi, edi
mov dword [esp + 0x3c], esi
je 0x402954
test esi, esi
je 0x40294d
xor ebx, ebx
jmp 0x4028b7
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
push edx
mov eax, 0x104
push esi
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
push 0
mov eax, ebx
push edx
push edi
push eax
mov eax, dword [esp + 0x30]
inc ebx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, eax
test ebp, ebp
jne 0x402949
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x4028fc
cmp eax, 2
jne 0x4028b7
mov edx, dword [esp + 0x40]
mov esi, edi
mov eax, dword [edx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402928
test cl, cl
je 0x402924
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402928
add eax, 2
add esi, 2
test cl, cl
jne 0x402904
xor eax, eax
jmp 0x40292d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4028b3
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call fcn.0043006e
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
jmp 0x40294d
mov ebx, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x40295f
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
push ebx
call fcn.0042fc9b
add esp, 4
test ebp, ebp
je 0x402990
mov esi, dword [esp + 0x34]
push 0x4500e4
mov ecx, esi
call fcn.0042ff9f
mov dword [esp + 0x18], edi
jmp 0x4029a4
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0042fca6
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0042ff31
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4029d0
Capabilities:
Set registry value

Disassembly:
push esi
push 4
call fcn.0042fc72
add esp, 4
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push esi
mov eax, dword [eax]
push 0
push 0xf003f
push 0
push str.String
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402a2a
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov edx, dword [edx]
inc ecx
push ecx
push eax
mov eax, dword [esi]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402a38
push 0
push 0x30
push str.Unable_to_write_to_the_registry.
call fcn.00433f98
push esi
call fcn.0042fc9b
add esp, 4
pop esi
ret 0x10

Function at 0x402a50
Capabilities:
Delete registry value

Disassembly:
push esi
push edi
push 4
call fcn.0042fc72
mov ecx, dword [esp + 0x10]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
push esi
push 2
mov eax, dword [eax]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x402a96
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042fc9b
add esp, 4
test edi, edi
pop edi
pop esi
je 0x402aaa
call fcn.00433437
ret 0xc

Function at 0x402ab0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebx
push ebp
push esi
push edi
push 4
call fcn.0042fc72
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push 0x2001b
mov eax, dword [eax]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
test ebp, ebp
je 0x402aee
push esi
call fcn.0042fc9b
add esp, 4
call fcn.00433437
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x105
push 0x40
call ebx
push 0x105
push 0x40
mov edi, eax
call ebx
test ebp, ebp
mov ebx, eax
jne 0x402b51
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
mov eax, 0x104
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
push 0
lea eax, [esp + 0x20]
push 0
push eax
push edi
push 0
push ecx
call ebp
cmp eax, 0x103
je 0x402b51
test eax, eax
jne 0x402b51
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x402b14
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
push ebx
call edi
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042fc9b
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x403760
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x437f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push str.C:WINDOWS_
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0042ff9f
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x124], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4037e1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 8]
call fcn.0042ff9f
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x120], 2
call fcn.0043001e
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.0042ff31
push ebx
push esi
push 1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0042a480
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 3
call fcn.0042a732
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x403836
test cl, cl
je 0x403832
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x403836
add eax, 2
add esi, 2
test cl, cl
jne 0x40380e
xor eax, eax
jmp 0x40383b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.0042ff31
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 1
call fcn.0042ff31
test bl, bl
je 0x40386c
push 0x44a328
lea ecx, [esp + 0xc]
call fcn.004302c1
mov esi, dword [esp + 0x12c]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0042fca6
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x124], 0
call fcn.0042ff31
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x405a60
Capabilities:
Enumerate processes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43857b
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x405ba3
push ebx
lea eax, [esp + 0xc]
push esi
push eax
push edi
xor bl, bl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x405b68
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042ff9f
mov edx, dword [esp + 0xc]
push str.IEXPLORE.EXE
push edx
call fcn.0041a210
add esp, 8
test eax, eax
je 0x405b52
mov eax, dword [esp + 0xc]
push str.netscape.exe
push eax
call fcn.0041a210
add esp, 8
test eax, eax
je 0x405b52
mov ecx, dword [esp + 0xc]
push str.netscp6.exe
push ecx
call fcn.0041a210
add esp, 8
test eax, eax
je 0x405b52
mov edx, dword [esp + 0xc]
push str.mozilla.exe
push edx
call fcn.0041a210
add esp, 8
test eax, eax
je 0x405b52
mov eax, dword [esp + 0xc]
push str.Opera.exe
push eax
call fcn.0041a210
add esp, 8
test eax, eax
je 0x405b52
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x140], 0xffffffff
call fcn.0042ff31
test esi, esi
jne 0x405aa7
jmp 0x405b68
lea ecx, [esp + 0xc]
mov bl, 1
mov dword [esp + 0x140], 0xffffffff
call fcn.0042ff31
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
test bl, bl
pop ebx
je 0x405ba3
push 0xffffffffffffffff
push 1
push 0xe15d
call fcn.00433fd0
xor edx, edx
cmp eax, 2
sete dl
mov al, dl
pop edi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret
mov ecx, dword [esp + 0x130]
xor al, al
pop edi
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x409060
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], esp
push 4
call fcn.0042fc72
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsCacheExtensible_Cache
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4090c9
push esi
call fcn.0042fc9b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44cad0]
mov dword [ebp - 0x14], eax
push 0x104
push 0x40
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 8
mov dword [ebp - 0x34], edi
call fcn.0042fc72
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
xor esi, esi
mov edx, dword [ebp - 0x18]
push ebx
push 0
push 0
lea ecx, [ebp - 0x28]
push 0
mov eax, esi
push ecx
push edi
push eax
mov eax, dword [edx]
inc esi
push eax
mov dword [ebp - 0x28], 0x104
mov dword [ebp - 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4091fe
push str.CachePath
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0042ff9f
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042ff9f
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x2c]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.00402810
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0043001e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0042ff31
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042ff31
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0042ff31
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4091f2
push 0x44a330
lea ecx, [ebp - 0x24]
call fcn.0042ff9f
lea ecx, [ebp - 0x24]
push 0
lea edx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
mov byte [ebp - 4], 5
call fcn.00401e40
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0042ff31
mov dword [ebp - 4], 0
jmp 0x4090fb
mov dword [ebp - 4], 0
jmp 0x4090fb
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call fcn.0042fc9b
mov esi, dword [ebp - 0x18]
add esp, 4
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042fc9b
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ff31
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f190
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x439d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 4
lea ecx, [edi + 0x68]
call fcn.004111d0
test al, al
je 0x40f252
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f252
push ebx
push str..clean
lea edx, [esp + 0x28]
push esi
push edx
call fcn.0043017a
push eax
mov dword [esp + 0x20], 0
call fcn.00402c10
add esp, 4
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042ff31
test bl, bl
pop ebx
je 0x40f24a
mov edi, dword [esi]
push str..clean
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043017a
mov ecx, dword [eax]
push 0
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0xc]
call fcn.0042ff31
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push esi
mov ecx, edi
call fcn.00401a10
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x40f270
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439dc6
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, ecx
mov ecx, dword [esi + 0xf8]
push edi
lea eax, [esi + 0xf8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x40f35e
mov edi, dword [esi + 0xfc]
mov ecx, dword [edi - 8]
test ecx, ecx
je 0x40f35e
push str.opera.adr
lea edx, [esp + 0xc]
push eax
push edx
call fcn.0043017a
mov eax, dword [eax]
push edi
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push str.HOT_LIST_FILE
push str.USER_PREFS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
mov edi, eax
call fcn.0042ff31
test edi, edi
je 0x40f35e
push str.Deleting_Opera_bookmarks
lea ecx, [esp + 0xc]
call fcn.0042ff9f
or edi, 0xffffffff
mov ecx, esi
push edi
push eax
mov dword [esp + 0x128], 0
call fcn.00402c60
lea ecx, [esp + 8]
mov dword [esp + 0x120], edi
call fcn.0042ff31
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.0042ff9f
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x124], 1
call fcn.00401a10
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], edi
call fcn.0042ff31
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x40f28b
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439dc6
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, ecx
mov ecx, dword [esi + 0xf8]
push edi
lea eax, [esi + 0xf8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x40f35e
mov edi, dword [esi + 0xfc]
mov ecx, dword [edi - 8]
test ecx, ecx
je 0x40f35e
push str.opera.adr
lea edx, [esp + 0xc]
push eax
push edx
call fcn.0043017a
mov eax, dword [eax]
push edi
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push str.HOT_LIST_FILE
push str.USER_PREFS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
mov edi, eax
call fcn.0042ff31
test edi, edi
je 0x40f35e
push str.Deleting_Opera_bookmarks
lea ecx, [esp + 0xc]
call fcn.0042ff9f
or edi, 0xffffffff
mov ecx, esi
push edi
push eax
mov dword [esp + 0x128], 0
call fcn.00402c60
lea ecx, [esp + 8]
mov dword [esp + 0x120], edi
call fcn.0042ff31
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.0042ff9f
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x124], 1
call fcn.00401a10
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], edi
call fcn.0042ff31
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x40f710
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439ea1
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040f000
mov eax, dword [0x4500e0]
test eax, eax
jne 0x40f846
mov ecx, dword [esi + 0xf8]
lea eax, [esi + 0xf8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x40f846
mov edi, dword [esi + 0xfc]
push str.Download
lea edx, [esp + 0x10]
push eax
push edx
call fcn.0043017a
mov eax, dword [eax]
push edi
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push eax
push str.Download_Directory
push str.USER_PREFS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
lea ecx, [esp + 0xc]
seta bl
call fcn.0042ff31
test bl, bl
je 0x40f846
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call fcn.0042ff9f
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x12c], 0
call fcn.00403020
test al, al
sete bl
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x128], edi
call fcn.0042ff31
test bl, bl
je 0x40f846
push 0x44a330
lea ecx, [esp + 0x18]
call fcn.0042ff9f
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], ebx
call fcn.0042ff9f
lea edx, [esp + 0x14]
push ebx
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x134], 2
call fcn.00401e40
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.0042ff31
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], edi
call fcn.0042ff31
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret