joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405200
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x4051de
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call ebx
test eax, eax
jne 0x40524a
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x405228
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x405250
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push 0
push 0x46b203
mov ecx, ebx
call fcn.00403160
push 0x288
mov dword [esp + 0xc], 0x288
call fcn.00447335
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4052a2
push ebp
call fcn.004473ff
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00447335
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4052ba
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x4052c1
push ebp
call fcn.004473ff
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x405321
lea esp, [esp]
xor eax, eax
mov word [esp + 9], ax
mov byte [esp + 0xb], al
movzx eax, byte [esi + ebp + 0x194]
push eax
lea ecx, [esp + 0xc]
push str._.2x
push ecx
mov byte [esp + 0x14], 0
call fcn.0044748d
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405302
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [ebp + 0x190]
jb 0x4052d0
cmp dword [ebx + 0x14], 8
jae 0x40539f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40539e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x405391
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [esp + 0x10]
push str._.2x
push ecx
mov byte [esp + 0x18], 0
call fcn.0044748d
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405372
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [edi + 0x190]
jb 0x405340
cmp dword [ebx + 0x14], 8
jae 0x40539e
mov edi, dword [ebp]
test edi, edi
jne 0x405330
pop edi
push ebp
call fcn.004473ff
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret
Function at 0x4053c0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x29c], eax
push 0x103
lea eax, [esp + 0x195]
push 0
push eax
mov byte [esp + 0x19c], 0
call fcn.0044a310
add esp, 0xc
lea ecx, [esp]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40541a
xor al, al
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.004468f0
add esp, 0x2a4
ret
push 0x104
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x405403
lea eax, [esp + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x405403
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x405403
push eax
mov ecx, esi
call fcn.00402c80
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x29c]
xor ecx, esp
mov al, 1
call fcn.004468f0
add esp, 0x2a4
ret

Function at 0x406740
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45dca8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00401900
mov eax, 0x46b464
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4067a0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46b464
lea ecx, [esp + 0x10]
call fcn.00401370
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00401900
cmp dword [esp + 0x24], 8
jb 0x4067ec
mov edx, dword [esp + 0x10]
push edx
call fcn.00446950
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x406aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d69b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 0
call fcn.004106a9
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.004132c1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x406bc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45d6fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00413515
push 0x53
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], vtable.DuiLib::CNotifyPump.0
call fcn.00412be7
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], vtable.DuiLib::INotifyUI.0
mov dword [esi + 0x34], vtable.DuiLib::IMessageFilterUI.0
mov dword [esi + 0x38], vtable.DuiLib::IDialogBuilderCallback.0
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
call fcn.0040fd64
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x3dc], edi
mov dword [esi + 0x3e0], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40cca0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40ccbd
push eax
call edi
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x40ccca
push eax
call edi
mov dword [esi + 0x18], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x1c]
mov dword [esi + 0x20], ebx
mov dword [edi], ebx
mov dword [esi + 0x30], ecx
cmp eax, ebx
jne 0x40cd2a
xor edx, edx
push 0xb
mov eax, 0x46c040
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
call fcn.00401510
cmp dword [esp + 0x24], 8
jb 0x40cd1f
mov eax, dword [esp + 0x10]
push eax
call fcn.00446950
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
cmp dword [esi], 1
mov dword [esi + 0x38], eax
jne 0x40cd5a
lea ecx, [esp + 0xc]
cmp dword [esi + 8], ebx
je 0x40cd42
mov eax, 0x46c058
jmp 0x40cd96
mov eax, 0x46c074
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40cdaf
mov edx, dword [esp + 0x10]
push edx
jmp 0x40cda7
push edi
push 4
push esi
push 0x40cfc0
push ebx
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [edi], ebx
je 0x40cdaf
mov dword [esi], 1
mov eax, 0x46c08c
lea ecx, [esp + 0xc]
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40cdaf
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00446950
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x40cde0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push edi
mov edi, ecx
cmp dword [edi], 0
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x2c], ecx
je 0x40ce6d
push esi
lea esi, [edi + 0x20]
push esi
push 0
push edi
push 0x40d030
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x18], eax
je 0x40ce60
xor edx, edx
push 0x16
mov eax, str.Pbk_ah
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
call fcn.00401510
cmp dword [esp + 0x20], 8
jb 0x40ce59
mov eax, dword [esp + 0xc]
push eax
call fcn.00446950
add esp, 4
mov dword [edi + 8], 1
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret 8
xor eax, eax
pop edi
add esp, 0x1c
ret 8
Function at 0x40d460
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45e0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x60]
cmp dword [ebp + 0x18], 8
lea esi, [ebp + 4]
jb 0x40d49a
mov eax, dword [esi]
jmp 0x40d49c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jne 0x40d4f9
xor eax, eax
mov word [esp + 0x1c], ax
push 0xf
mov eax, 0x46c138
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d4f2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00446950
add esp, 4
xor al, al
jmp 0x40d651
cmp dword [edi + 0x90], ebx
jne 0x40d50c
mov ecx, edi
call sym.Install.exe_protected:_bool___thiscall_CShortcut::InitUrlInstance_void_
test al, al
je 0x40d4f2
cmp dword [edi + 0x50], 8
jb 0x40d517
mov ecx, dword [edi + 0x3c]
jmp 0x40d51a
lea ecx, [edi + 0x3c]
mov eax, dword [edi + 0x90]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
jge 0x40d581
xor ecx, ecx
push 0xc
mov eax, str.SetURL
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], 1
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d4f2
mov edx, dword [esp + 0x1c]
push edx
call fcn.00446950
add esp, 4
xor al, al
jmp 0x40d651
mov dword [esp + 0x60], ebx
cmp dword [edi + 0x68], ebx
je 0x40d5cd
mov eax, dword [edi + 0x90]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push 0x46af64
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d5cd
cmp dword [edi + 0x6c], 8
jb 0x40d5b0
mov ecx, dword [edi + 0x58]
jmp 0x40d5b3
lea ecx, [edi + 0x58]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x90]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push 0x46afb4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d4f2
cmp dword [ebp + 0x18], 8
jb 0x40d5fa
mov ecx, dword [esi]
jmp 0x40d5fc
mov ecx, esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x40d64f
mov eax, 0x46c174
lea ecx, [esp + 0x34]
call fcn.00401300
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], 2
call fcn.00401900
lea esi, [esp + 0x34]
call fcn.004019b0
xor al, al
jmp 0x40d651
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
Function at 0x40d8e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e146
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a310
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d9b1
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1bc
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40d9aa
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446950
add esp, 4
xor al, al
jmp 0x40dadc
cmp esi, 0x1a
jne 0x40d9d8
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d9c0
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d9e0
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40d9ff
mov eax, dword [ebx + 4]
jmp 0x40da02
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40da04
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40da20
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40da20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40da43
mov ecx, dword [str..lnk]
mov edx, dword [0x46ba34]
mov dword [eax], ecx
mov cx, word [0x46ba38]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40da90
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40dada
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446950
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468f0
add esp, 0x258
ret 8
Function at 0x40db10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e146
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a310
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40dbe1
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1bc
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40dbda
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446950
add esp, 4
xor al, al
jmp 0x40dd0c
cmp esi, 0x1a
jne 0x40dc08
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dbf0
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dc10
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40dc2f
mov eax, dword [ebx + 4]
jmp 0x40dc32
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dc34
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40dc50
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40dc50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40dc73
mov ecx, dword [str..url]
mov edx, dword [0x46c230]
mov dword [eax], ecx
mov cx, word [0x46c234]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dcc0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateUrlLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40dd0a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446950
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468f0
add esp, 0x258
ret 8
Function at 0x40df60
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0044a310
mov esi, dword [esp + 0x230]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, 0x1a
jne 0x40dfd8
lea edi, [esp + 0xc]
add edi, 0xfffffffe
jmp 0x40dfc0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dfc0
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xc]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dfe0
cmp dword [ebx + 0x18], 8
mov eax, dword [0x46b464]
mov dword [edi], eax
jb 0x40dffe
mov eax, dword [ebx + 4]
jmp 0x40e001
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e003
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40e020
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40e020
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 8]
pop esi
add eax, 0xfffffffe
cmp dword [esp + 0x220], 0
pop ebx
jne 0x40e080
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e050
mov ecx, dword [str..url]
mov edx, dword [0x46c230]
mov dword [eax], ecx
mov cx, word [0x46c234]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40e0a8
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e080
mov edx, dword [str..lnk]
mov ecx, dword [0x46ba34]
mov dword [eax], edx
mov dx, word [0x46ba38]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov al, 1
call fcn.004468f0
add esp, 0x210
ret

Function at 0x40e367
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x40e37d
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x40e389
or edi, 1
push 1
call esi
test ax, ax
jge 0x40e395
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40e3a1
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x40e3ad
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x410923
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x410948
cmp ebx, dword [esi + 0x58]
je 0x410948
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x410a0a
push edi
test eax, eax
je 0x41099b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.004102df
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x410a09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x410a09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x410a09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x410a09
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x58], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.004102df
pop edi
pop esi
pop ebx
leave
ret 4