joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b07d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 0
push 1
mov ecx, 0x10069b48
call fcn.1001aedd
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1001b0ed
cmp dword [ebp - 0x10], 2
jne 0x1001b0ed
cmp dword [ebp - 0x1c], 6
jb 0x1001b0ed
cmp dword [ebp - 0x18], 0
ja 0x1001b0d2
cmp dword [ebp - 0x1c], 6
jbe 0x1001b0ed
sub esp, 0x10
mov edi, esp
mov esi, 0x10056888
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10056818
movsd dword es:[edi], dword [esi]
call fcn.1001682e
add esp, 0x14
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10037f17
add ebp, 0x78
leave
ret
Function at 0x1001ded4
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x364]
sub esp, 0x3e4
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x360], eax
cmp dword [0x10069bc4], 0
je 0x1001defc
mov al, 1
jmp 0x1001df60
push ebx
push esi
push edi
mov ebx, 0x10069bc4
push ebx
push 0xf003f
push 0
mov edi, str.SoftwareDownloadManager_
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1001df75
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1001df75
xor eax, eax
push eax
push ebx
push eax
push 0xf003f
push eax
push eax
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e0b8
call fcn.1001d375
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x360]
xor ecx, ebp
call fcn.10037f17
add ebp, 0x364
leave
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x2a0]
push eax
push 0
push 0
push str.idmvers
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x40
call esi
mov dword [ebp - 0x78], eax
cmp eax, 2
jne 0x1001dfb2
call fcn.1001d375
xor ebx, ebx
jmp 0x1001e0af
xor ebx, ebx
cmp eax, ebx
je 0x1001e0af
cmp dword [0x1006a458], ebx
jne 0x1001e0af
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001e0af
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push str.ProgramFilesDir
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x104
call esi
test eax, eax
jne 0x1001e00c
inc edi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x1001e0af
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x98]
push str._sInternet_Download_Manager
push eax
call fcn.1003b325
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001e0af
lea eax, [ebp + 0x98]
push str.GlobalErrors.log
push eax
call fcn.100380a0
lea eax, [ebp + 0x98]
push 0x100577c8
push eax
call fcn.1003b30e
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1001e0af
push dword [ebp - 0x78]
lea eax, [ebp + 0x2e0]
push 0x10057790
push eax
call fcn.1003b325
add esp, 0xc
lea eax, [ebp + 0x2e0]
push esi
push eax
call fcn.10038190
pop ecx
push eax
lea eax, [ebp + 0x2e0]
push 1
push eax
call fcn.1003cda0
push esi
call fcn.1003b086
add esp, 0x14
cmp dword [ebp - 0x74], ebx
je 0x1001df5b
xor al, al
jmp 0x1001df5d
Function at 0x1001e8ed
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100527d6
call fcn.10037f26
xor ebx, ebx
cmp dword [0x1006a458], ebx
je 0x1001e9bd
cmp byte [0x10069c48], bl
je 0x1001e919
mov al, byte [0x10069c47]
jmp 0x1001ea30
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0x10056838
push 4
push ebx
push 0x10056858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x1001e9ab
cmp dword [ebp - 0x10], ebx
je 0x1001e9ab
push str.IEXPLORE
lea ecx, [ebp - 0x14]
call fcn.10001f24
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jne 0x1001e99e
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x18], ebx
setne bl
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
mov al, bl
jmp 0x1001ea30
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
cmp dword [0x10069bc4], ebx
jne 0x1001e9d2
call fcn.1001ded4
test al, al
jne 0x1001e9d2
xor al, al
jmp 0x1001ea30
cmp dword [0x10069bc8], ebx
jne 0x1001ea04
push 0x10069bc8
push 1
push ebx
push str.SoftwareDownloadManagerIDMBIIEXPLORE
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001e9fc
mov dword [0x10069bc8], ebx
cmp dword [0x10069bc8], ebx
je 0x1001e9ce
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 0x100578ac
push dword [0x10069bc8]
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001e9ce
cmp dword [ebp - 0x20], ebx
setne al
call fcn.10037ffe
ret
Function at 0x100203f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x10052b47
call fcn.10037f26
xor edi, edi
xor esi, esi
inc edi
cmp dword [0x1006a458], esi
je 0x10020480
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
push 0x10056838
push 4
push esi
push 0x10056858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jne 0x1002046e
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x1002046e
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jne 0x1002046e
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
cmp dword [ebp - 0x14], 2
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
mov eax, esi
jmp 0x100204ef
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
cmp dword [0x10069bd0], esi
jne 0x100204c2
cmp dword [0x10069bc8], esi
jne 0x10020495
call fcn.1001e8ed
push 0x10069bd0
push edi
push esi
push str.SoftwareDownloadManagerIDMBIIEXPLOREDwnlPanel
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100204b6
mov dword [0x10069bd0], esi
cmp dword [0x10069bd0], esi
jne 0x100204c2
mov eax, edi
jmp 0x100204ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push str.PanelView
push dword [0x10069bd0]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100204be
cmp dword [ebp - 0x1c], 2
setne al
call fcn.10037ffe
ret
Function at 0x10026c13
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 8
mov eax, 0x100535ba
call fcn.10037f59
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x10], bl
jne 0x10026d0f
mov byte [esi + 0x10], 1
mov eax, dword [0x10069bc4]
cmp eax, ebx
je 0x10026d0f
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x904]
push ecx
push ebx
push ebx
push str.AppDataIDMFolder
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10026d0f
lea eax, [ebp + 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10026d0f
lea eax, [ebp + 0x904]
push eax
call fcn.10038190
pop ecx
mov dword [ebp - 0x14], eax
cmp byte [ebp + eax + 0x903], 0x5c
mov eax, 0x10055be4
jne 0x10026cb6
mov eax, 0x10055e52
push str.sts_list2.dat
push eax
lea eax, [ebp + 0x904]
push eax
push str._s_s_s
lea eax, [ebp + 0x800]
push eax
call fcn.1003b325
push 0x10055ca4
lea eax, [ebp + 0x800]
push eax
call fcn.1003b30e
add esp, 0x1c
mov edi, eax
cmp edi, ebx
je 0x10026d0f
push edi
push 0x800
lea eax, [ebp]
push eax
call fcn.1003b102
add esp, 0xc
test eax, eax
jne 0x10026d32
push edi
call fcn.1003b086
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.10037f17
add ebp, 0xa0c
leave
ret
push 0xd
lea eax, [ebp]
push eax
call fcn.100379a0
pop ecx
pop ecx
cmp eax, ebx
je 0x10026d45
mov byte [eax], bl
push 0xa
lea eax, [ebp]
push eax
call fcn.100379a0
pop ecx
pop ecx
cmp eax, ebx
je 0x10026d58
mov byte [eax], bl
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10026af3
jmp 0x10026cee

Function at 0x10027afa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.10038190
pop ecx
xor ecx, ecx
test eax, eax
jle 0x10027b15
xor byte [ecx + esi], 0xf
inc ecx
cmp ecx, eax
jl 0x10027b0c
pop esi
ret
Function at 0x10027c5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
xor ebx, ebx
cmp dword [0x1006a468], ebx
jne 0x10027dbb
cmp dword [0x1006a464], ebx
jne 0x10027da5
cmp dword [0x10069bc4], ebx
jne 0x10027ca8
call fcn.1001ded4
test al, al
je 0x10027dbb
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10027cc3
cmp dword [ebp - 0x6c], 2
jb 0x10027d31
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x220]
push eax
push ebx
push ebx
push str.ExePath
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x220]
push 0x5c
push eax
call fcn.10039550
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x220]
push eax
lea eax, [ebp + 0x18]
push str._sidmftype.dll
push eax
call fcn.100047e3
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10027d98
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x11c]
push eax
push ebx
push ebx
push 0x10055cd4
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x11c]
push 0x5c
push eax
call fcn.100394e0
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
mov byte [eax], bl
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x324]
push 0x10058764
push eax
call fcn.1003b325
add esp, 0xc
lea eax, [ebp + 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1006a464], eax
cmp dword [0x1006a464], ebx
je 0x10027dbb
push str.IDMFileType
push dword [0x1006a464]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006a468], eax
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
pop ebx
call fcn.10037f17
add ebp, 0x42c
leave
ret
Function at 0x10028910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x10053973
call fcn.10037f59
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov edi, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
call edi
test eax, eax
jne 0x10028977
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10028977
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.10037b26
pop ecx
mov esi, eax
cmp esi, ebx
je 0x10028977
mov eax, dword [ebp - 0x14]
mov byte [esi + eax], bl
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1002897f
push esi
call fcn.10037980
pop ecx
xor eax, eax
call fcn.10037ffe
ret
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
je 0x10028a1d
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10028a1d
push dword [esi + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10002ef0
mov dword [ebp - 0x18], 1
cmp dword [esi + 0x48], ebx
je 0x100289bf
push dword [esi + 0x48]
mov ecx, dword [ebp + 0x10]
call fcn.10002ef0
cmp dword [esi + 0x40], ebx
je 0x100289fe
mov eax, dword [esi + 0x44]
cmp eax, ebx
jbe 0x100289fe
inc eax
push eax
call fcn.10037b26
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100289fe
push dword [esi + 0x44]
push dword [esi + 0x40]
push edi
call fcn.10038540
add esp, 0xc
mov eax, dword [esi + 0x44]
mov byte [edi + eax], bl
push edi
mov ecx, dword [ebp + 0x14]
call fcn.10002ef0
push edi
call fcn.10038081
pop ecx
push 1
push ebx
push ebx
push dword [esi + 0x1c]
call fcn.1003bdb0
mov ecx, eax
mov eax, dword [esi + 0x18]
xor edi, edi
add ecx, eax
adc edx, edi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 4], 1
push esi
call fcn.10037980
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
jmp 0x10028979
Function at 0x10028f0a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x100539b9
call fcn.10037f26
mov edi, dword [ebp + 0x80c]
push str.____
push edi
mov dword [ebp - 0x1c], edi
call fcn.10037a60
pop ecx
pop ecx
test eax, eax
jne 0x100290a8
xor ebx, ebx
mov byte [ebp - 0xd], bl
mov esi, 0x800
cmp dword [0x1006a458], ebx
je 0x10029004
cmp byte [0x10069c49], bl
je 0x10028f7f
lea eax, [ebp]
push 0x10069c4a
push eax
call fcn.10038090
pop ecx
pop ecx
jmp 0x1002903b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x10056838
push 4
push ebx
push 0x10056858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x10028fed
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10028fed
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jne 0x10028fed
cmp dword [ebp - 0x18], ebx
je 0x10028fed
push ebx
push ebx
push esi
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x10028fe4
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001e586
cmp byte [ebp - 0xd], bl
jne 0x1002903b
cmp dword [0x10069bc4], ebx
jne 0x10029019
call fcn.1001ded4
test al, al
je 0x100290a8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push ebx
push ebx
push str.Extensions
push dword [0x10069bc4]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100290a8
push edi
lea esi, [ebp]
call fcn.10038190
mov edi, eax
pop ecx
cmp edi, ebx
je 0x100290a8
push edi
push dword [ebp - 0x1c]
push esi
call fcn.1003c298
add esp, 0xc
test eax, eax
jne 0x10029067
mov al, byte [edi + esi]
cmp al, 0x20
je 0x100290cd
cmp al, bl
je 0x100290cd
push 0x10058870
push esi
call fcn.10037aa0
pop ecx
pop ecx
cmp eax, ebx
je 0x10029092
lea ecx, [edi + esi]
cmp ecx, eax
jbe 0x10029092
sub eax, esi
push eax
push dword [ebp - 0x1c]
push esi
call fcn.1003c298
add esp, 0xc
test eax, eax
je 0x100290cd
push 0x10055e50
push esi
call fcn.10037aa0
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x100290a8
inc esi
jne 0x1002904b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.10037f17
add ebp, 0x804
leave
ret
mov al, 1
jmp 0x100290aa
Function at 0x1002986c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x81c
mov eax, 0x100539e9
call fcn.10037fc5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x828], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x81d], bl
cmp dword [0x1006a458], ebx
je 0x10029964
cmp byte [0x10069c49], bl
je 0x100298c2
mov byte [ebp - 0x81d], 1
push 0x10069c4a
lea eax, [ebp - 0x81c]
push eax
call fcn.10038090
pop ecx
pop ecx
jmp 0x10029999
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x18]
call fcn.10005ad2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
push 0x10056838
push 4
push ebx
push 0x10056858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x1002994b
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1002994b
mov dword [ebp - 0x824], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x824]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jne 0x1002994b
cmp dword [ebp - 0x824], ebx
je 0x1002994b
push ebx
push ebx
push 0x800
lea eax, [ebp - 0x81c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x824]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1002993f
mov byte [ebp - 0x81d], 1
push dword [ebp - 0x824]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.1001e586
cmp byte [ebp - 0x81d], bl
jne 0x10029999
mov eax, dword [0x10069bc4]
cmp eax, ebx
je 0x10029a1c
mov dword [ebp - 0x18], 0x800
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x81c]
push ecx
push ebx
push ebx
push str.Extensions
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10029a1c
lea edi, [ebp - 0x81c]
push 0x20
push edi
call fcn.100379a0
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x100299b1
mov byte [esi], bl
push edi
call fcn.10038190
pop ecx
cmp eax, 7
jae 0x10029a0f
push edi
push 0x10058ccc
lea eax, [ebp - 0x1c]
push eax
call fcn.1003b325
lea eax, [ebp - 0x1c]
push eax
call fcn.1003b9f4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x828]
call fcn.10037aa0
add esp, 0x18
test eax, eax
je 0x100299f0
xor eax, eax
inc eax
jmp 0x10029a1e
lea eax, [ebp - 0x1c]
push eax
call fcn.1003d08b
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x828]
call fcn.10037aa0
add esp, 0xc
test eax, eax
jne 0x100299eb
cmp esi, ebx
je 0x10029a18
lea edi, [esi + 1]
jmp 0x1002999f
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.10038021
ret
Function at 0x10037f17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10068510]
jne 0x10037f21
repz ret
jmp fcn.1003e89c

Function at 0x10042272
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.100419f1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100419a6
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.100419f1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100419a6
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.100419f1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100419a6
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.100419e1
fst dword [edi + 0x6e]
dec esp
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
cli
invalid
invalid
clc
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.100419f1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100419a6
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.100419e1
adc byte [eax - 0x5a7f6750], dl
pushfd
stc
invalid
Function at 0x10049640
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1003e21a
and dword [ebp - 4], 0
cmp dword [0x1006b144], 0
mov ebx, eax
jne 0x100496f1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100497a2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1005b354
push edi
call esi
test eax, eax
je 0x100497a2
push eax
call fcn.1003e1a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1006b144], eax
call esi
push eax
call fcn.1003e1a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006b148], eax
call esi
push eax
call fcn.1003e1a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006b14c], eax
call esi
push eax
call fcn.1003e1a8
pop ecx
mov dword [0x1006b154], eax
test eax, eax
je 0x100496f1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1003e1a8
pop ecx
mov dword [0x1006b150], eax
mov eax, dword [0x1006b150]
cmp eax, ebx
je 0x10049749
cmp dword [0x1006b154], ebx
je 0x10049749
push eax
call fcn.1003e223
push dword [0x1006b154]
mov esi, eax
call fcn.1003e223
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10049749
test edi, edi
je 0x10049749
call esi
test eax, eax
je 0x10049740
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10049740
test byte [ebp - 0xc], 1
jne 0x10049749
or dword [ebp + 0x10], 0x200000
jmp 0x10049782
mov eax, dword [0x1006b148]
cmp eax, ebx
je 0x10049782
push eax
call fcn.1003e223
pop ecx
test eax, eax
je 0x10049782
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10049782
mov eax, dword [0x1006b14c]
cmp eax, ebx
je 0x10049782
push eax
call fcn.1003e223
pop ecx
test eax, eax
je 0x10049782
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006b144]
call fcn.1003e223
pop ecx
test eax, eax
je 0x100497a2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100497a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret