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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x10066484
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [ebp + 0xc]
test edi, edi
mov esi, dword [ebp - 4]
jne 0x10001709
mov edi, 0x10057508
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push str.Start_Page
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x1000172e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea ecx, [ebp + 8]
call fcn.1002376b
pop edi
pop esi
leave
ret

Function at 0x1000173c
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x100506ef
call fcn.100457f4
sub esp, 0x25c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x24], 0x5c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str..
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000101a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.100018c9
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x10001793
call fcn.10001a3c
jmp 0x10001795
xor eax, eax
push eax
lea ecx, [ebp - 0x268]
call fcn.1001416d
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov esi, eax
je 0x100017b2
call fcn.10001129
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100017c2
call fcn.10001129
cmp esi, ebx
je 0x10001877
lea ecx, [ebp - 0x268]
call fcn.1001420e
lea ecx, [ebp - 0x268]
mov esi, eax
call fcn.10013e47
test eax, eax
jne 0x100017c2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x268]
call fcn.10013aa8
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000101a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1001179b
push 0x10
lea ecx, [ebp - 0x268]
call fcn.10013e2b
test eax, eax
je 0x10001844
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], esp
je 0x1000183c
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.1000173c
pop ecx
jmp 0x1000185b
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10001852
call fcn.10001a3c
jmp 0x10001854
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100017c2
call fcn.10001129
mov dword [ebp - 0x10], ebx
jmp 0x100017c2
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], bl
call fcn.1001431f
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x10001893
call fcn.10001a3c
jmp 0x10001895
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100018a8
call fcn.10001129
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10001ffc
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
mov esi, str._uninsep.bat
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x13
pop ecx
mov esi, str.:Repeat_r_ndel__F__Q___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel__F__Q___s_
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x168]
push eax
push 0x104
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.100460d0
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push eax
call fcn.100460c0
lea eax, [ebp - 0x26c]
push 0x5c
push eax
call fcn.10046090
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
je 0x1000206e
mov byte [eax], bl
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002116
push dword [ebp + 8]
call fcn.10045c20
mov esi, eax
lea eax, [ebp - 0x168]
push eax
call fcn.10045c20
lea esi, [eax + esi*2 + 0x14]
lea eax, [ebp - 0x64]
push eax
call fcn.10045c20
add esi, eax
push esi
call fcn.1004540f
mov esi, eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push dword [ebp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
push ebx
lea eax, [ebp - 4]
push eax
push esi
call fcn.10045c20
pop ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x168]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100030c3
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10050978
call fcn.100457f4
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call fcn.10002fee
mov ecx, dword [0x1006ce68]
cmp ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
je 0x100030f8
call fcn.10001a3c
mov esi, eax
jmp 0x100030fa
xor esi, esi
mov al, byte [ebp + 0xf]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.10039fed
pop ecx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.1002376b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x10057508
jne 0x10003149
mov eax, esi
push edi
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10039e43
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.100031f1
add esp, 0x14
push dword [0x1005750c]
lea ecx, [ebp - 0x24]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.10023391
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1002376b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
mov edi, esi
je 0x10003199
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x100031a1
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
je 0x100031cc
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x10], ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.1002376b
cmp dword [ebp - 0x10], ebx
je 0x100031e3
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100032d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
cmp al, 9
ja 0x100032e2
add eax, 0x30
pop ebp
ret
cmp al, 0xa
jb 0x100032ef
cmp al, 0xf
ja 0x100032ef
add eax, 0x37
pop ebp
ret
and dword [ebp + 8], 0
push 0x1005a558
lea eax, [ebp + 8]
push eax
call fcn.10046485
Function at 0x100038e1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10050aac
call fcn.100457f4
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp dword [eax + 8], esi
push edi
je 0x1000398f
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
call fcn.1000303f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push esi
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0x18], esi
call edi
mov ebx, 0x103
cmp eax, ebx
je 0x10003993
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x1000394b
mov eax, 0x10057508
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10001acf
test eax, eax
pop ecx
pop ecx
jne 0x10003981
inc dword [ebp - 0x18]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x400
push dword [ebp - 0x10]
call edi
jmp 0x10003938
cmp dword [ebp - 0x10], esi
je 0x1000398f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x100039a3
cmp dword [ebp - 0x10], esi
je 0x100039a1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100039b2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10050ac0
call fcn.100457f4
sub esp, 0x408
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.10002fee
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0x3e8
jne 0x100039f0
mov eax, 0x10057508
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push edi
push eax
push esi
mov dword [ebp + 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003a58
cmp esi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10003a21
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x10], esi
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp + 8]
push edi
mov byte [ecx], al
call fcn.1002376b
lea eax, [ebp - 0x414]
push eax
call fcn.10045c20
pop ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.100243fe
cmp esi, edi
je 0x10003a53
push esi
call ebx
mov eax, dword [ebp + 8]
jmp 0x10003a98
cmp esi, edi
je 0x10003a68
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov al, byte [eax]
push edi
mov ecx, ebx
mov byte [ebx], al
call fcn.1002376b
push dword [0x1005750c]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
call fcn.10023391
cmp esi, edi
je 0x10003a96
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003c0a
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10050b0c
call fcn.100457f4
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call fcn.10002fee
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.tb_items
push ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x10003c56
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp ebx, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10003c65
push ebx
call edi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x10003c74
mov eax, 0x10057508
mov ecx, dword [ebp + 0xc]
push 4
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push 4
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x10], esi
je 0x10003c97
push dword [ebp - 0x10]
call edi
cmp ebx, esi
je 0x10003c9e
push ebx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10003cad
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10050b28
call fcn.100457f4
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
call fcn.10002fee
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push str.tb_items
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x10003cfd
mov ebx, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10003d10
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x10003d1f
mov eax, 0x10057508
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003d67
cmp ebx, edi
je 0x10003d4b
push ebx
call esi
xor ebx, ebx
cmp dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
je 0x10003d5b
push dword [ebp - 0x10]
call esi
cmp ebx, edi
je 0x10003d62
push ebx
call esi
mov eax, dword [ebp + 8]
jmp 0x10003d8c
cmp ebx, edi
je 0x10003d70
push ebx
call esi
xor ebx, ebx
cmp dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 8], eax
je 0x10003d82
push dword [ebp - 0x10]
call esi
cmp ebx, edi
je 0x10003d89
push ebx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003fe5
Capabilities:
Initialize iwebbrowser2

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x10004024
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x100594c8
push 4
push 0
push 0x10059498
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10004024
mov eax, dword [esi]
push dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
push 1
pop eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10005ec8
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x1006cea0], edi
je 0x10005edf
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x1006cea8], edi
je 0x10005eec
push 1
pop edi
jmp 0x10005f44
cmp dword [0x1006cea0], edi
jne 0x10005efd
call fcn.10005f4b
test eax, eax
je 0x10005f2a
mov eax, dword [0x1006d490]
cmp eax, edi
mov esi, dword [0x100661e8]
jne 0x10005f1f
push str.ActivateActCtx
call fcn.100061ba
cmp eax, edi
mov dword [0x1006d490], eax
je 0x10005f2a
push dword [esp + 0xc]
push esi
call eax
cmp eax, edi
jne 0x10005ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x10005f3a
cmp eax, 0x78
jne 0x10005f44
push 1
pop eax
mov dword [0x1006cea8], eax
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x100063e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x10050f9a
call fcn.100457f4
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.10022115
xor ebx, ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xb0], 0x10057598
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
lea eax, [esi + 0xe8]
mov dword [eax + 0x18], ecx
mov dword [eax], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x128]
push ebx
mov byte [ebp - 4], 6
mov byte [ecx], al
call fcn.1002376b
mov al, byte [ebp - 0xd]
lea edi, [esi + 0x154]
push ebx
mov ecx, edi
mov byte [ebp - 4], 7
mov byte [edi], al
call fcn.1002376b
mov byte [edi + 0x30], bl
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x188]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x1a0]
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1c4], ebx
mov byte [ebp - 4], 0xb
mov dword [esi], 0x10057584
mov dword [esi + 0xb0], 0x10057580
mov dword [esi + 0xc0], 0x10057564
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xe4], ebx
mov byte [esi + 0x1c0], bl
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1b8], 0x64
mov dword [esi + 0x118], ebx
mov byte [esi + 0x1b0], bl
mov byte [esi + 0x198], bl
call fcn.10022480
mov byte [0x1006ce10], bl
mov byte [esi + 0x139], 1
mov edi, 0x1006ceac
push edi
mov ecx, 0x1006ce0c
call fcn.10002a36
push edi
mov ecx, 0x1006ce80
call fcn.10002a36
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov byte [esi + 0x138], bl
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
mov byte [esi + 0x1e8], bl
mov byte [esi + 0xdc], bl
mov dword [esi + 0x19c], ebx
mov dword [esi + 0xe0], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100074df
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ecx, dword [ecx]
push esi
push edi
lea eax, [ebp + 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x10007513
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x10007536
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x10007541
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x1000754a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x1005101c
call fcn.100457f4
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.100074a1
mov edi, eax
cmp edi, esi
je 0x10007594
cmp dword [ebp - 0x10], esi
je 0x1000758d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10007631
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x100
call edi
test eax, eax
jne 0x10007605
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000754a
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x100075f2
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x100
jmp 0x100075b7
cmp dword [ebp - 0x10], esi
je 0x10007600
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x10007631
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10007618
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x1000762f
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10009b39
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, ecx
add ecx, 4
neg eax
sbb eax, eax
and eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10009b83
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x10009b7c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10009b7c
push eax
mov ecx, 0x1006cf54
call fcn.10002a36
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x1001be1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xb4]
push 1
call fcn.10040a95
mov ebx, dword [ebp + 0x14]
and dword [ebx], 0
cmp dword [edi + 0x1b4], 0
je 0x1001bf25
cmp dword [ebp + 0xc], 9
jne 0x1001bf25
call dword [sym.imp.USER32.dll_GetFocus]
push edi
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.10009d08
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001bed2
test eax, eax
jl 0x1001bed2
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test al, al
jne 0x1001be86
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
jmp 0x1001be62
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x1001be9b
dec dword [ebp - 0xc]
sub dword [ebp - 8], 4
jmp 0x1001bea2
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001beba
test eax, eax
jl 0x1001beba
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x1001beca
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebx], 1
jmp 0x1001bf25
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call esi
mov ebx, eax
push ebx
call esi
push dword [edi + 4]
mov dword [ebp + 0xc], eax
call esi
cmp eax, dword [ebp + 0xc]
jne 0x1001bf25
cmp ebx, dword [edi + 4]
je 0x1001bf25
mov edi, dword [edi + 0x1b4]
mov eax, dword [edi + 0x194]
test eax, eax
je 0x1001bf1c
mov ecx, dword [edi + 0x198]
sub ecx, eax
test ecx, 0xfffffffc
je 0x1001bf1c
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10