joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004ee06
Capabilities:
Create process on windows

Disassembly:
push 0xaa4
mov eax, 0x100e78f4
call fcn.100c74e5
push str._InstallDirSaUpdate.exe_
lea edi, [ebp - 0xa54]
call fcn.10051356
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1004ee41
push str.__noupdates
lea eax, [ebp - 0xa54]
push eax
call fcn.1004b4d1
push 0x44
pop esi
push esi
lea eax, [ebp - 0xab0]
push edi
push eax
call fcn.100c1480
add esp, 0xc
push 0x10
lea eax, [ebp - 0xa64]
push edi
push eax
mov dword [ebp - 0xab0], esi
call fcn.100c1480
mov eax, dword [ebp - 0xa50]
add esp, 0xc
cmp dword [ebp - 0xa3c], 0x10
jae 0x1004ee82
lea eax, [ebp - 0xa50]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa38]
push 0x924
push eax
call fcn.100c4476
add esp, 0x10
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0xab0]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0xa38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1004eefd
push dword [ebp + 8]
push dword [ebp - 0xa64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xa64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa60]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0xa54]
call fcn.1000d1ca
mov eax, esi
call fcn.100c7568
ret
xor esi, esi
jmp 0x1004eee7
Function at 0x1004f1b8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor esi, esi
push 0xf003f
inc esi
push esi
xor edi, edi
push str.Update
mov dword [ebp - 0x14], edi
call fcn.1005e769
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x1004f275
push ebx
lea ecx, [ebp - 8]
push ecx
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
mov ebx, str.SuggestionsState
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call edi
test eax, eax
jne 0x1004f269
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x1004f269
add eax, 2
push eax
call fcn.100a2139
pop ecx
push 4
mov dword [ebp - 0x10], eax
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1004f221
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push ecx
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x1004f260
xor edi, edi
inc edi
cmp dword [ebp - 0xc], edi
jne 0x1004f260
push 0x1010d758
push dword [ebp - 0x10]
call fcn.100c244d
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
neg esi
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call fcn.100a212e
pop ecx
push dword [ebp - 0x18]
call fcn.1005e854
pop ecx
xor edi, edi
pop ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push SysReAllocStringLen
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1004f2de
cmp dword [ebp - 4], edi
je 0x1004f2de
cmp esi, edi
setne al
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push str.ShowSearchSuggestionsInAddressGlobal
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1004f2d5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov dword [ebp - 0x14], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret
Function at 0x1004f2e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, str.SSGuid
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push ebx
mov dword [ebp - 0x18], edi
call fcn.1000be2f
push 0xf003f
push 1
push str.Update
call fcn.1005e769
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x1004f3a2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call esi
test eax, eax
jne 0x1004f399
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
call fcn.100a2139
pop ecx
push 4
mov edi, eax
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1004f35d
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x1004f390
cmp dword [ebp - 0x1c], 1
jne 0x1004f390
push edi
mov esi, ebx
call fcn.100013eb
mov dword [ebp - 0x18], 1
push edi
call fcn.100a212e
pop ecx
xor edi, edi
push dword [ebp - 0x24]
call fcn.1005e854
pop ecx
cmp dword [ebx + 0x14], edi
jne 0x1004f3c3
mov esi, str.171DEBEB_C3D4_40b7_AC73_056A5EBA4A7E
push esi
call fcn.100bfd09
pop ecx
mov ecx, esi
mov esi, ebx
call fcn.1000181a
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
xor ecx, ebp
pop esi
call fcn.100bfae1
leave
ret
Function at 0x100505b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x21c
lea ebp, [esp - 4]
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push 0x18
mov eax, 0x100e6aaa
call fcn.100c747c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
push 0x1010dab4
lea eax, [ebp]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], ebx
call fcn.10008945
xor edi, edi
push 0x10107ca8
lea eax, [ebp]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.10014c04
push str.A28B4D68DEBAA244EB686953B7074FEF
lea eax, [ebp]
push eax
call fcn.10014c04
call fcn.100013d8
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ebx
mov ecx, 0x20019
cmp dword [ebp + 0x228], ebx
je 0x1005062d
mov ecx, 0x20119
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10050639
lea eax, [ebp + 4]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x10]
push edx
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x100506a6
push 0x200
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x1010dadc
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100506a6
lea eax, [ebp + 0x1c]
push eax
call fcn.100bfd09
mov esi, dword [ebp - 0x14]
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.1000181a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
lea esi, [ebp]
call fcn.100016e6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.100bfae1
add ebp, 0x220
leave
ret
Function at 0x1005160b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e77f1
mov eax, dword fs:[0]
push eax
mov eax, 0x12a0
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 1
push str.Macro
call fcn.1005e769
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x1278], eax
cmp eax, esi
je 0x1005188a
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x12a8]
push eax
lea eax, [ebp - 0x1298]
push eax
lea eax, [ebp - 0x1290]
push eax
lea eax, [ebp - 0x12a0]
push eax
lea eax, [ebp - 0x1274]
push eax
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x129c]
push eax
lea eax, [ebp - 0x1280]
push eax
push esi
lea eax, [ebp - 0x128c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1278]
mov dword [ebp - 0x128c], 0x104
mov dword [ebp - 0x1280], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x1274], esi
je 0x1005188a
mov dword [ebp - 0x1270], esi
jbe 0x1005188a
xor eax, eax
mov word [ebp - 0xa18], ax
mov word [ebp - 0x1218], ax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x1284]
push eax
push esi
lea eax, [ebp - 0x127c]
push eax
lea eax, [ebp - 0x1218]
push eax
push dword [ebp - 0x1270]
mov dword [ebp - 0x1288], 0x400
push dword [ebp - 0x1278]
mov dword [ebp - 0x127c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x10051872
cmp dword [ebp - 0x1284], 1
jne 0x10051872
lea edi, [ebp - 0x1218]
lea ecx, [ebp - 0x1234]
call fcn.1004ea53
mov dword [ebp - 4], esi
push 0x101091d4
lea esi, [ebp - 0x1234]
call fcn.1002f07d
pop ecx
test al, al
je 0x100517a1
lea ecx, [ebp - 0xa18]
call fcn.1005206e
jmp 0x1005185d
cmp dword [ebp - 0x121c], 0x10
mov eax, dword [ebp - 0x1230]
jae 0x100517b6
lea eax, [ebp - 0x1230]
push eax
call fcn.10052522
pop ecx
test eax, eax
jne 0x1005185d
push eax
lea ecx, [ebp - 0x126c]
mov dword [ebp - 0x1254], 0xf
call fcn.1000d2f6
lea esi, [ebp - 0x1250]
call fcn.10014bcd
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1234]
push eax
lea ecx, [ebp - 0x126c]
mov byte [ebp - 4], 1
call fcn.1000d11b
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10051819
xor eax, eax
jmp 0x10051835
lea esi, [eax + eax]
mov eax, esi
call fcn.100c7f80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0xa18]
push ecx
push eax
call fcn.100161b6
push eax
lea ecx, [ebp - 0x1250]
call fcn.1000d1ad
lea eax, [ebp - 0x126c]
push eax
push 0x101367a0
call fcn.10053189
lea esi, [ebp - 0x126c]
call fcn.1004228d
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x1234]
call fcn.1000d1ca
xor esi, esi
inc dword [ebp - 0x1270]
mov eax, dword [ebp - 0x1270]
cmp eax, dword [ebp - 0x1274]
jb 0x100516f9
push dword [ebp - 0x1278]
call fcn.1005e854
pop ecx
lea esp, [ebp - 0x12b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bfae1
leave
ret
Function at 0x1005880d
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x100e8dde
call fcn.100c747c
call fcn.100a2edc
push eax
lea ecx, [ebp - 0x10]
call fcn.10007266
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.1005855e
mov edi, dword [ebp - 0x10]
pop ecx
test eax, eax
jne 0x1005884d
lea ecx, [edi - 0x10]
call fcn.1000728b
mov eax, esi
call fcn.100c7554
ret
push 0xa
push esi
push dword [ebp + 8]
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
jmp 0x1005883d

Function at 0x10058994
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x100589cf
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100589ee
push dword [ebp + 0x10]
lea esi, [ebp - 4]
call fcn.10058a3b
pop ecx
jmp 0x10058a38
lea eax, [ebp + 0xc]
push eax
push 0x20119
push esi
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100589f2
xor eax, eax
jmp 0x10058a38
mov ecx, dword [ebp + 0x10]
mov eax, 0x2000
push edi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
call fcn.100070a0
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov edi, eax
call fcn.1002cacb
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
pop esi
leave
ret

Function at 0x10058fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
mov esi, eax
jne 0x10058fb3
xor eax, eax
jmp 0x10059022
push edi
call fcn.10058f8e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10059008
push edi
call fcn.100a2139
pop ecx
push eax
push edi
push dword [ebp - 8]
mov dword [esi + 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10059003
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1005900c
call fcn.10058f8e
xor eax, eax
jmp 0x10059021
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
xor eax, eax
mov dword [esi + 8], ecx
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x1005994c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
push 0x1010c3b8
call fcn.10006f0d
mov ecx, dword [ebp + 0xc]
push 0x1010c3e0
call fcn.10006f0d
mov ecx, dword [ebp + 0x10]
push 0x1010bcb8
call fcn.10006f0d
push str.comdlg32.dll
call fcn.1001621a
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x10059992
xor eax, eax
jmp 0x10059a5d
push 5
push 0x600
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100599ad
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005998b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100599a4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100599cd
push ebx
jmp 0x10059a54
call fcn.100a2e23
mov eax, dword [eax + 8]
push 0
push 0
push 0
push esi
push eax
call fcn.1002c5ac
mov ebx, eax
push ebx
call fcn.100a6700
mov esi, eax
test ebx, ebx
je 0x10059a51
test esi, esi
je 0x10059a51
push 1
mov ecx, esi
call fcn.100ad898
test eax, eax
je 0x10059a0b
push dword [ebp + 8]
mov ecx, eax
call fcn.100a79f2
push 2
mov ecx, esi
call fcn.100ad898
test eax, eax
je 0x10059a22
push dword [ebp + 0xc]
mov ecx, eax
call fcn.100a79f2
push 0x40e
mov ecx, esi
call fcn.100ad898
test eax, eax
je 0x10059a3c
push dword [ebp + 0x10]
mov ecx, eax
call fcn.100a79f2
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
jmp 0x10059a5c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop esi
pop ebx
leave
ret 0xc

Function at 0x1005abd4
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x84], 0
je 0x1005abf2
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1005ac01
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.1005ac12
jmp 0x1005ac0e
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.1005ac58
pop esi
ret 8
Function at 0x1005c349
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, eax
call fcn.1005c44b
push str.uxtheme.dll
call fcn.1001621a
xor ebx, ebx
cmp eax, ebx
jne 0x1005c369
xor eax, eax
jmp 0x1005c448
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push str.CloseThemeData
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.DrawThemeParentBackground
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.DrawThemeText
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.DrawThemeEdge
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.IsThemeActive
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.GetThemeColor
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.GetThemeBackgroundExtent
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.GetCurrentThemeName
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetThemePartSize
push eax
call edi
mov dword [esi + 0x30], eax
pop edi
cmp dword [esi + 8], ebx
je 0x1005c441
cmp dword [esi + 0xc], ebx
je 0x1005c441
cmp dword [esi + 0x10], ebx
je 0x1005c441
cmp dword [esi + 0x14], ebx
je 0x1005c441
cmp dword [esi + 0x1c], ebx
je 0x1005c441
cmp dword [esi + 0x20], ebx
je 0x1005c441
cmp dword [esi + 0x24], ebx
je 0x1005c441
cmp dword [esi + 0x28], ebx
je 0x1005c441
cmp dword [esi + 0x2c], ebx
je 0x1005c441
cmp eax, ebx
je 0x1005c441
xor ebx, ebx
inc ebx
jmp 0x1005c446
call fcn.1005c44b
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x1005e020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 8]
push ecx
push eax
mov edi, str.Version
push edi
push dword [ebx]
mov dword [ebp - 0x10], eax
call esi
test eax, eax
jne 0x1005e08e
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.100a2139
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebx]
call esi
test eax, eax
jne 0x1005e085
xor edi, edi
inc edi
cmp dword [ebp - 8], edi
jne 0x1005e085
push dword [ebp - 0xc]
mov esi, dword [ebp + 8]
call fcn.100013eb
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.100a212e
pop ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret
Function at 0x1005e5ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x101c8]
mov eax, 0x10248
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x101c4], eax
mov eax, dword [ebp + 0x101d0]
push edi
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x48]
push ecx
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1005e6f2
push 0x206
mov word [ebp + 0xffbc], ax
lea eax, [ebp + 0xffbe]
push edi
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xffbc]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x58], 0x104
mov dword [ebp - 0x5c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x4c], edi
je 0x1005e6f2
push ebx
xor ebx, ebx
cmp dword [ebp - 0x4c], edi
jbe 0x1005e6f1
xor eax, eax
mov word [ebp - 0x44], ax
mov word [ebp + 0x7fbc], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x7fbc]
push eax
push ebx
push dword [ebp - 0x48]
mov dword [ebp - 0x54], 0x3fff
mov dword [ebp - 0x64], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1005e6eb
cmp dword [ebp - 0x60], 1
jne 0x1005e6eb
cmp word [ebp + 0x7fbc], di
je 0x1005e6eb
push 0x10107cc0
push dword [ebp - 0x50]
call fcn.10014c04
lea eax, [ebp + 0x7fbc]
push eax
push dword [ebp - 0x50]
call fcn.10014c04
inc ebx
cmp ebx, dword [ebp - 0x4c]
jb 0x1005e67f
pop ebx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x101c4]
xor ecx, ebp
pop edi
call fcn.100bfae1
add ebp, 0x101c8
leave
ret

Function at 0x1005e711
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1005e752
cmp dword [ebp - 0x70], 2
jne 0x1005e752
cmp dword [ebp - 0x7c], 6
jb 0x1005e752
xor eax, eax
inc eax
jmp 0x1005e754
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.100bfae1
add ebp, 0x98
leave
ret
Function at 0x10062bce
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, ecx
test eax, eax
jg 0x10062be0
call fcn.1006218b
test eax, eax
jle 0x10062bfb
push edi
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x10103220]
mov edi, edx
shl edi, 3
xor ecx, edi
xor edx, ecx
inc esi
dec eax
test eax, eax
jg 0x10062be1
pop edi
mov eax, edx
and eax, 0x7fffffff
pop esi
ret

Function at 0x10063694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10136154]
push ebx
push esi
test eax, eax
je 0x100636ce
push eax
push 0x101079d8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.100619f5
add esp, 0x10
jmp 0x10063746
call fcn.10062ed9
mov esi, 0xe6
test eax, eax
je 0x1006370e
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.10062f86
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1006372a
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfae1
leave
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.10063047
jmp 0x100636f6
push ebx
push 0x101079d8
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.100619f5
push ebx
call fcn.100c14fa
add esp, 0x14
lea ecx, [ebp - 0x110]
call fcn.1006218b
test eax, eax
jbe 0x1006375f
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x1006375f
dec eax
jne 0x10063756
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xe7
call fcn.100619f5
mov ecx, edi
call fcn.1006218b
mov esi, eax
lea eax, [edi + esi]
push eax
push 0x14
call fcn.10061b34
add esp, 0x18
push 0x14
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x10063798
mov byte [edi + esi], cl
xor eax, eax
jmp 0x10063700