joyce8/EMBER2024-capa huggingface dataset:
Function at 0x666e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x67c8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x666ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.006637a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x666e61
mov edx, dword [eax]
jmp 0x666e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00665050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x666ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x666ebf
cmp esi, edi
je 0x666ebf
mov ecx, esi
call fcn.0065ea00
push esi
call fcn.0066c1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00663990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x666ef5
mov eax, dword [eax]
jmp 0x666ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00662640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x666f25
mov eax, dword [eax]
jmp 0x666f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x666f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x666f76
cmp esi, edi
je 0x666f76
mov eax, dword [esi]
cmp eax, edi
je 0x666f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x666f6d
push eax
call fcn.0066c1c8
add esp, 4
push esi
call fcn.0066c1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x666f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x666ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x667035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00666e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x666fc5
mov edi, 0x6818b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x667035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00666e00
add edi, 4
add esp, 0xc
cmp edi, 0x6818c0
jb 0x667000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x667070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.0066d082
mov esi, eax
add esp, 8
test esi, esi
je 0x667107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x667102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.0066c946
add esp, 8
test eax, eax
je 0x6670e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x6670e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0066c946
add esp, 8
test eax, eax
jne 0x6670c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x667102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x667f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x67c9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x668002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0066bdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x668002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006636e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0066c20b
push 0x10
call fcn.0066c1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x667fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006581c0
jmp 0x667fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00667b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x667ff0
mov ecx, edi
call fcn.006582c0
push edi
call fcn.0066c1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x668021
inc ebx
cmp ebx, 0x20
jb 0x667f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x669250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d808
push 0x66d288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x669329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x669329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0066c1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x669329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x669329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x66932c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00669351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x669d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x669d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x669d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x669d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x669d94
push eax
push esi
call fcn.0066c20b
add esp, 8
pop esi
ret 0x10

Function at 0x669da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x669e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x669e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x682320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0066bdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x669dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x669e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x669ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x669eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x682320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0066bdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x669eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x669e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x66a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x66a131
push esi
call fcn.0066d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0065c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x66a131
push 0
push ebp
call fcn.0065c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0065c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x66a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0065c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x66a121
push 0x682918
push edi
call fcn.0066b3f0
push eax
push ebx
push esi
call fcn.00669f60
push 0x6828f8
push edi
call fcn.0066b3f0
push eax
push ebx
push esi
call fcn.00669f60
push 0x6828d8
push edi
call fcn.0066b3f0
push eax
push ebx
push esi
call fcn.00669f60
push 0x6828c0
push edi
call fcn.0066b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00669f60
push 0x6828a0
push edi
call fcn.0066b3f0
push eax
push ebx
push esi
call fcn.00669f60
push 0x682888
push edi
call fcn.0066b3f0
push eax
push ebx
push esi
call fcn.00669f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x66b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0066b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0066b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0066b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0066b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x66bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x66bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x67d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x66bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x66bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401090
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f4c0
push 0x405a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401310
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41dabb
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
push edi
mov esi, ecx
call fcn.004036c0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4013a3
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40140d
lea ecx, [esp + 0xc]
lea edi, [esi + 0x88]
push ecx
push 0x104
mov ecx, edi
mov dword [esp + 0x14], 0x104
call fcn.00415bef
mov edx, dword [esp + 0xc]
push eax
push 0
push 0
push str.RegisteredOwner
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00415c3e
mov eax, dword [esp + 8]
push eax
jmp 0x401407
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013e9
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.AltDefaultUserName
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
lea eax, [esi + 0x88]
push edx
push 0x426180
push eax
call fcn.0041459f
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.HomeDrive
lea edi, [esi + 0x8c]
call fcn.00405ef1
add esp, 4
mov ecx, edi
push eax
call fcn.00415948
push str.Program_FilesInternet_Explorer_
lea edx, [esp + 0x14]
push edi
push edx
call fcn.00415a54
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x124], 0
call fcn.004158f8
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.0041580b
mov ecx, esi
call fcn.00401490
mov ecx, dword [esp + 0x118]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x4019f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41db98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x426e28]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 0
mov dword [esp + 8], eax
lea eax, [esi + 0x8c]
mov bl, 1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.004158f8
mov eax, dword [esi + 0x74]
test eax, eax
je 0x401a93
lea ecx, [esp + 0xc]
push str.Users_
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00415a54
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.004158f8
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.0041580b
lea eax, [esi + 0x88]
lea ecx, [esp + 0xc]
push eax
call fcn.004158f8
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00415bd7
push str.AppDataRoamingMicrosoftInternet_ExplorerQuick_Launch
jmp 0x401ae6
lea edx, [esp + 0xc]
push str.Documents_and_Settings_
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415a54
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.004158f8
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.0041580b
lea ecx, [esi + 0x88]
push ecx
lea ecx, [esp + 0x10]
call fcn.004158f8
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00415bd7
push str.Application_DataMicrosoftInternet_ExplorerQuick_Launch
lea ecx, [esp + 0xc]
call fcn.00415b9b
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4264b8
call fcn.00415879
push 0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 4
call fcn.00415580
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00401b60
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0041580b
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041580b
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x4029c0
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41dcf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x238]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x234], 1
call fcn.00415580
lea ecx, [esp + 0x23c]
mov byte [esp + 0x230], 2
push ecx
lea ecx, [esp + 0x14]
call fcn.00415bd7
lea edx, [esp + 0x10]
lea ecx, [esp + 0x238]
push edx
call fcn.004158f8
push 0x10000000
push ecx
lea eax, [esp + 0x240]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00415580
mov ecx, esi
call fcn.004035d0
mov ecx, dword [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x238]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x402b8b
lea eax, [esp + 0xc]
push eax
push 0x420ee8
push 1
push 0
push 0x420ed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x402b45
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x420ef8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x402b45
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x90]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
push 0x4266d0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edi, [esi + 0x7c]
push str.IEXPLORE.exe
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00415a54
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
mov byte [esp + 0x238], 3
call dword [edx + 0x50]
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 2
call fcn.0041580b
mov eax, dword [esp + 0xc]
mov edi, dword [edi]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x238]
push 1
push eax
call ebp
push 0x80000000
push ecx
lea edx, [esp + 0x240]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00415580
mov ecx, esi
call fcn.004035d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 1
call fcn.0041580b
lea ecx, [esp + 0x238]
mov byte [esp + 0x230], 0
call fcn.0041580b
lea ecx, [esp + 0x23c]
mov dword [esp + 0x230], 0xffffffff
call fcn.0041580b
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x228
ret 8
Function at 0x402bf0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41dd08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x426e28]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push str.lnkfile
push 0x80000000
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0x1e
call esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 0x1e
call fcn.00415bef
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.IsShortcut
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x402c8f
mov edx, dword [esp + 0x10]
push str.IsShortcut
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x1e
push ecx
push 0xf003f
push 0
push str.piffile
push 0x80000000
call esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 0x1e
call fcn.00415bef
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.IsShortcut
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x402cf6
mov edx, dword [esp + 0x10]
push str.IsShortcut
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call ebp
test edi, edi
je 0x402d05
test esi, esi
jne 0x402d10
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x70], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041580b
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret