joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b477
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x10067e8c]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x41c], ax
xor esi, esi
lea eax, [ebp - 0x41a]
push esi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001b65a
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.10021692
add esp, 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push esi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x624]
push str._s
push eax
call fcn.1001c904
add esp, 0xc
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001b65a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.10022310
add esp, 0xc
mov ecx, 0x1003c464
lea eax, [ebp - 0x848]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b58f
test dx, dx
je 0x1001b58b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b58f
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b569
xor eax, eax
jmp 0x1001b594
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001b63d
mov ecx, 0x1003c468
lea eax, [ebp - 0x848]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001b5cd
test dx, dx
je 0x1001b5c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001b5cd
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001b5a7
xor eax, eax
jmp 0x1001b5d2
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001b63d
test byte [ebp - 0x874], 0x10
je 0x1001b63d
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.1001faa7
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x1003c454
push 0x104
push eax
call fcn.10021692
add esp, 0xc
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.10021692
add esp, 0xc
lea eax, [ebp - 0x214]
push edi
push eax
mov ecx, ebx
call fcn.1001b2c8
lea eax, [ebp - 0x874]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001b55e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 4
Function at 0x1001b74a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x7d0
push edi
call fcn.1001f85d
mov esi, eax
pop ecx
test esi, esi
je 0x1001b960
push edi
xor edi, edi
push edi
push esi
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x624]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001b960
push edi
push edi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x610]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001b954
mov edi, 0x200
push edi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.10022310
xor eax, eax
push edi
push eax
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x40a]
push eax
call fcn.10022310
xor edi, edi
add esp, 0x18
cmp dword [ebp - 0x610], edi
jbe 0x1001b954
push 0x1fe
lea eax, [ebp - 0x60c]
push 0
push eax
mov dword [ebp - 0x614], 0xff
call fcn.10022310
add esp, 0xc
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x60c]
push eax
push edi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1001b947
push 0x1003c610
lea eax, [ebp - 0x208]
push 0x101
push eax
call fcn.1001faa7
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x208]
push 0x101
push eax
call fcn.10021692
push 0x1003c6cc
lea eax, [ebp - 0x208]
push 0x101
push eax
call fcn.10021692
push 0x1003c610
lea eax, [ebp - 0x40c]
push 0x101
push eax
call fcn.1001faa7
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x40c]
push 0x101
push eax
call fcn.10021692
push 0x1003b8b4
lea eax, [ebp - 0x40c]
push 0x101
push eax
call fcn.10021692
add esp, 0x48
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
jne 0x1001b947
lea eax, [ebp - 0x40c]
push eax
push ebx
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
jne 0x1001b947
push 0x1003b8ac
push 0x3e8
push esi
call fcn.10021692
lea eax, [ebp - 0x60c]
push eax
push 0x3e8
push esi
call fcn.10021692
add esp, 0x18
inc edi
cmp edi, dword [ebp - 0x610]
jb 0x1001b828
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 4
Function at 0x1001b973
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2888
call fcn.1002c520
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001ba40
lea eax, [ebp - 0x2888]
push eax
lea eax, [ebp - 0x2884]
push eax
mov dword [ebp - 0x2888], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1001ba40
lea ecx, [ebp - 0x2884]
cmp byte [ecx + 0x194], 0
jne 0x1001ba00
cmp byte [ecx + 0x195], 0
jne 0x1001ba00
cmp byte [ecx + 0x196], 0
jne 0x1001ba00
cmp byte [ecx + 0x197], 0
jne 0x1001ba00
cmp byte [ecx + 0x198], 0
jne 0x1001ba00
cmp byte [ecx + 0x199], 0
jne 0x1001ba00
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1001b9c2
jmp 0x1001ba40
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
push 0x1003c6d0
push 0x64
push esi
call fcn.10021da9
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001f816
leave
ret 8
Function at 0x1001c439
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1324
call fcn.1002c520
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1320], eax
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x2d2]
push esi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x2d4]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1003c454
mov edi, 0x104
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
push str.WEBHOST_GH_CONFIG
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
add esp, 0x18
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001c4d5
lea ecx, [ebp - 0x2d4]
call fcn.1001aa66
push str.index.dat
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push esi
push str.count
push 0x1003c758
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
xor eax, eax
push 0xc6
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push esi
push eax
call fcn.10022310
xor eax, eax
push 0x1046
mov word [ebp - 0x131c], ax
lea eax, [ebp - 0x131a]
push esi
push eax
call fcn.10022310
add esp, 0x18
test ebx, ebx
jle 0x1001c5c7
xor edi, edi
inc edi
cmp ebx, edi
jl 0x1001c5c7
push edi
lea eax, [ebp - 0xcc]
push str.key_d
push eax
call fcn.10001d75
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0x824
lea eax, [ebp - 0x131c]
push eax
push 0x10038494
lea eax, [ebp - 0xcc]
push eax
push 0x1003c758
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x131c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1001c594
sub ecx, edx
sar ecx, 1
je 0x1001c5bd
lea eax, [ebp - 0x131c]
push eax
push dword [ebp - 0x1320]
call fcn.100216fe
pop ecx
pop ecx
test eax, eax
je 0x1001c5c4
inc edi
cmp edi, ebx
jle 0x1001c54c
jmp 0x1001c5c7
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 8
Function at 0x1001c5da
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x2d4], ax
xor esi, esi
lea eax, [ebp - 0x2d2]
push esi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x2d4]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1003c454
mov edi, 0x104
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
push str.WEBHOST_GH_CONFIG
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
add esp, 0x18
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001c66c
lea ecx, [ebp - 0x2d4]
call fcn.1001aa66
push str.index.dat
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.10021692
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push esi
push str.count
push 0x1003c758
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
xor eax, eax
cmp edi, 0xa
jle 0x1001c72a
push 0xc6
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push esi
push eax
call fcn.10022310
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push esi
push str.count
push 0x1003c758
call ebx
xor esi, esi
inc esi
cmp edi, esi
jle 0x1001c717
push esi
lea eax, [ebp - 0xcc]
push str.key_d
push eax
call fcn.10001d75
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0x10038494
lea eax, [ebp - 0xcc]
push eax
push 0x1003c758
call ebx
inc esi
cmp esi, edi
jl 0x1001c6e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 8
mov esi, 0xc6
push esi
mov word [ebp - 0x39c], ax
lea eax, [ebp - 0x39a]
push 0
push eax
inc edi
call fcn.10022310
push edi
lea eax, [ebp - 0x39c]
push str.key_d
push eax
call fcn.10001d75
xor eax, eax
push esi
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10022310
push edi
lea eax, [ebp - 0xcc]
push 0x1003bfdc
push eax
call fcn.10001d75
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x30
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0xcc]
push eax
push str.count
mov edi, 0x1003c758
push edi
call esi
test eax, eax
je 0x1001c717
lea eax, [ebp - 0x2d4]
push eax
push ebx
lea eax, [ebp - 0x39c]
push eax
push edi
call esi
jmp 0x1001c719
Function at 0x1001c7c4
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x2d4], ax
xor ebx, ebx
lea eax, [ebp - 0x2d2]
push ebx
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x2d4]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1003c454
mov esi, 0x104
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.10021692
push str.WEBHOST_GH_CONFIG
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.10021692
push str.index.dat
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.10021692
add esp, 0x24
lea eax, [ebp - 0x2d4]
push eax
push ebx
push str.count
mov esi, 0x1003c758
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
test edi, edi
jle 0x1001c8d7
xor eax, eax
push 0xc6
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push ebx
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.count
push esi
call ebx
xor esi, esi
inc esi
cmp edi, esi
jle 0x1001c8d7
push esi
lea eax, [ebp - 0xcc]
push str.key_d
push eax
call fcn.10001d75
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0x10038494
lea ecx, [ebp - 0xcc]
push ecx
push 0x1003c758
call ebx
inc esi
cmp esi, edi
jl 0x1001c8a3
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1001f816
leave
ret

Function at 0x1001d052
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001d0cc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push 4
pop edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.WarnonZoneCrossing
push dword [ebp - 4]
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.WarnonBadCertRecving
push dword [ebp - 4]
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.WarnOnPostRedirect
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001d265
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.10021355
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001d320
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_TABBED_BROWSING
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001d320
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push edi
lea eax, [esi + 2]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001f816
leave
ret

Function at 0x1001d3a5
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [edi], 0x1b58
call fcn.10022310
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.mshtml.dll
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10021692
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x218], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x210], eax
test eax, eax
je 0x1001d4d7
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1001d4d7
push ebx
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001d49e
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x1003c454
push ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001d49e
cmp dword [ebp - 0x214], esi
je 0x1001d49e
mov eax, dword [ebp - 0x210]
movzx esi, word [eax + 0xa]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0xb
jne 0x1001d4b0
mov dword [edi], 0x2af8
cmp esi, 0xa
jne 0x1001d4bd
mov dword [edi], 0x2710
jmp 0x1001d4dd
cmp esi, 9
jne 0x1001d4ca
mov dword [edi], 0x2328
jmp 0x1001d4dd
cmp esi, 8
jne 0x1001d4d7
mov dword [edi], 0x1f40
jmp 0x1001d4dd
mov dword [edi], 0x1b58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 4
Function at 0x1001d79e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.10021355
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001d861
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x214], edi
call sym.wbcom.dll_WebHost_GetIEVersion
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001d861
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push edi
lea eax, [esi + 2]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001f816
leave
ret

Function at 0x1001d86f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call sym.wbcom.dll_WebHost_GetIEVersion
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001d8be
push 4
lea eax, [ebp - 4]
push eax
push 4
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4
Function at 0x1001d9ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001dac3
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
and dword [ebp - 0x208], 0
mov esi, eax
lea eax, [ebp - 0x208]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor eax, eax
cmp esi, dword [ebp - 0x208]
jne 0x1001dac2
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x204]
push str.Internet_Explorer_Server
push eax
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
je 0x1001dac0
push ebx
call fcn.1001ca38
pop ecx
test eax, eax
je 0x1001dac0
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
test ebx, ebx
je 0x1001dac0
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x1001dab6
cmp dword [esi + 0x24], 0
jne 0x1001da99
cmp dword [edi + 4], 0x100
jne 0x1001da99
cmp dword [edi + 8], 0x4e
jne 0x1001da99
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1001dac0
cmp dword [esi + 0x28], 0
jne 0x1001dab6
cmp dword [edi + 4], 0x20a
je 0x1001dab1
cmp dword [edi + 4], 0x20e
jne 0x1001dab6
xor eax, eax
inc eax
jmp 0x1001dac2
push edi
mov ecx, ebx
call fcn.1001ecb4
jmp 0x1001dac2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 8

Function at 0x1001dad3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001dbb0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x204]
push str.Internet_Explorer_Server
push eax
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
je 0x1001dbb0
push edi
call fcn.1001ca38
pop ecx
test eax, eax
je 0x1001dbb0
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
test ebx, ebx
je 0x1001dbb0
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x1001dba6
cmp dword [edi + 0x24], 0
jne 0x1001db89
cmp dword [esi + 4], 0x100
jne 0x1001db89
cmp dword [esi + 8], 0x4e
jne 0x1001db89
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1001dbb0
cmp dword [edi + 0x28], 0
jne 0x1001dba6
cmp dword [esi + 4], 0x20a
je 0x1001dba1
cmp dword [esi + 4], 0x20e
jne 0x1001dba6
xor eax, eax
inc eax
jmp 0x1001dbb2
push esi
mov ecx, ebx
call fcn.1001ecb4
jmp 0x1001dbb2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f816
leave
ret 8
Function at 0x1001efa9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfb0
mov eax, dword [0x100405a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0xf9e
push eax
mov word [ebp - 0xfa4], ax
lea eax, [ebp - 0xfa2]
push eax
mov edi, ecx
mov dword [ebp - 0xfac], 0x2710
call fcn.10022310
push esi
lea eax, [ebp - 0xfa4]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s_
push eax
call fcn.1001ee76
add esp, 0x18
lea eax, [ebp - 0xfa8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xfa4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001f051
lea eax, [ebp - 0xfac]
push eax
push dword [edi + 0xc]
lea eax, [ebp - 0xfb0]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0xfa8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xfa8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001f816
leave
ret 4

Function at 0x1001f1f6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0xa
xor eax, eax
mov word [ebp - 0x22], ax
pop eax
xor ecx, ecx
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ecx
push ecx
push 0x200
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0x10038494
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001f260
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x1001f262
xor eax, eax
leave
ret 4