joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432c1c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45fdb8
call fcn.0045e9d0
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004336b2
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.004336b2
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x402c44
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x432c27
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45fdb8
call fcn.0045e9d0
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004336b2
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.004336b2
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x402c44
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4333af
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 4], 0x104
mov esi, ecx
jne 0x43347b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x43347b
push 0x14
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [esi + 0x2c]
push eax
push 0x410
push dword [esi + 0x30]
call edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x50
push ecx
push eax
push 0x41d
mov dword [ebp - 0x4c], 0x101
push dword [esi + 0x30]
call edi
test byte [ebp - 0x48], 8
jne 0x43347b
mov al, byte [ebx + 8]
and byte [ebp + 0xa], 0
xor ebx, ebx
mov byte [ebp + 8], 0x26
cmp dword [esi + 0x28], ebx
mov byte [ebp + 9], al
jle 0x43347b
and byte [ebp - 0x154], 0
lea eax, [ebp - 0x154]
push eax
push ebx
push 0x42d
push dword [esi + 0xc]
call edi
lea eax, [ebp - 0x154]
push eax
call fcn.00427ea8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
jne 0x433484
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x433438
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
mov ecx, esi
call fcn.00433491
push 1
pop eax
jmp 0x43347d
Function at 0x433491
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov ebx, 0x49a108
push 6
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.00453d82
push 1
push 6
push edi
mov ecx, ebx
call fcn.0045445e
push edi
mov ecx, ebx
call fcn.00452e2e
cmp dword [esi + 0x20], 0xffffffff
je 0x433632
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433632
push ebp
push 0xffffffffffffffff
push 0x448
push dword [esi + 0xc]
call edi
push 1
push dword [esi + 0x20]
push 0x403
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x433
mov dword [esi + 0x44], eax
push dword [esi + 0xc]
call edi
lea eax, [esp + 0x18]
push 2
push eax
push ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [esi + 0x20]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_GetSubMenu]
cmp eax, ebp
mov dword [esi + 0x1c], eax
je 0x433632
mov dword [0x46452c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x43327a
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x464528], eax
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esi + 0x20]
mov ecx, ebx
push dword [esi + 0xc]
push 0x3ec
call fcn.00452995
mov eax, dword [esi + 0x1c]
mov dword [0x5361e8], eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
push ebp
push dword [esi + 0x30]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x20]
push 0x4180
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, ebp
je 0x4335d9
or dword [esi + 0x20], 0xffffffff
push ebp
push eax
push 0x111
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4335ec
push 0x1b
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4335ec
or dword [esi + 0x20], 0xffffffff
push dword [0x464528]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x464528], ebp
mov dword [0x46452c], ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433628
push ebp
push dword [esi + 0x44]
push 0x403
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x20], 0xffffffff
jne 0x4334e6
mov dword [esi + 0x1c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x4336fe
Capabilities:
Check os version

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
cmp al, 5
call esi
push 4
mov dword [0x464588], eax
call esi
push 4
mov dword [0x4645a4], eax
call esi
push 7
mov dword [0x4645a0], eax
call esi
push 0xe
mov dword [0x46459c], eax
call esi
push 0x11
mov dword [0x464598], eax
call esi
push 0x10
mov dword [0x464594], eax
call esi
push 0x10
mov dword [0x464590], eax
call esi
push 4
mov dword [0x46458c], eax
call esi
push 1
mov dword [0x464584], eax
pop eax
mov dword [0x46455c], 0xa
push 0x10
mov dword [0x464580], eax
pop ecx
mov dword [0x464568], eax
push ecx
mov dword [0x464578], ecx
pop edx
mov dword [0x464548], eax
push 3
mov dword [0x46457c], edx
pop edx
push 2
mov dword [0x46456c], edx
pop ecx
mov dword [0x464558], edx
mov dword [0x464570], ecx
mov dword [0x464560], ecx
xor ecx, ecx
pop esi
mov dword [0x464550], ecx
mov dword [0x46454c], ecx
mov dword [0x46453c], ecx
ret
Function at 0x434d7f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x434e30
mov eax, dword [ebp + 8]
push esi
push 0x40a240
xor esi, esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], edi
je 0x434e2c
push ebx
push 2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, ebx
push dword [ebp + 0xc]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
rep stosb byte es:[edi], al
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, ebx
jne 0x434e19
push ebx
push esi
push dword [ebp + 8]
call fcn.00434ca2
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.MSVCRT.dll_free]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ecx
pop ebx
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret

Function at 0x434e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x434e8d
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x434e8d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x434e86
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push dword [ebp + 8]
call fcn.00434ca2
add esp, 0xc
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x4361ad
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45ff58
call fcn.0045e9d0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], fcn.00436225
mov dword [esi + 4], 0x402e48
mov dword [esi + 8], 0x402e34
mov dword [esi + 0xc], 0x402e24
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 3
call fcn.00412266
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00412266
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00412266
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00412266
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x2c]
call fcn.00412266
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43635b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x45ff6c
call fcn.0045e9d0
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
push edi
push 0x40b99c
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00423d41
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push 0x103
push eax
push 0x460a68
push 0x40b988
push 0x40b980
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push 1
pop ecx
cmp eax, ecx
jne 0x4363db
mov dword [esi + 0x4c], ecx
jmp 0x4363de
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x14]
push SysReAllocStringLen
push ecx
push eax
push 0x40ad48
mov dword [ebp - 0x14], ebx
call fcn.00424c7c
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
setne al
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.00412266
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43697e
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x45ffd0
call fcn.0045e9d0
sub esp, 0x55c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x568]
push 0x103
push eax
mov dword [ebp - 0x18], ecx
push dword [0x536190]
call fcn.00426857
add esp, 0x10
lea eax, [ebp - 0x568]
push 0x40aad4
push eax
push 0x40b9d8
lea eax, [ebp - 0x360]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x25c]
mov byte [ebp - 0x25d], bl
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x436a06
xor eax, eax
jmp 0x436b2f
mov esi, 0x40aad0
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x436a33
cmp cl, bl
je 0x436a2f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x436a33
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x436a11
xor eax, eax
jmp 0x436a38
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x436aff
mov esi, 0x40aacc
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x436a6d
cmp cl, bl
je 0x436a69
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x436a6d
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x436a4b
xor eax, eax
jmp 0x436a72
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x436aff
test byte [ebp - 0x25c], 0x10
je 0x436aff
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x568]
push eax
push 0x40b9c0
lea eax, [ebp - 0x11c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
xor eax, eax
lea edi, [ebp - 0x463]
mov byte [ebp - 0x464], bl
push 0x40
mov byte [ebp - 0x19], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x464]
push 0x103
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0042692e
pop ecx
cmp eax, ebx
pop ecx
je 0x436aff
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.00436d9b
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436a06
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00437494
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x437849
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46003c
call fcn.0045e9d0
sub esp, 0x120
and byte [ebp - 0x12c], 0
push esi
push edi
mov dword [ebp - 0x18], ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x103
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x46476c
push eax
call fcn.00414a38
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x464764
push eax
call fcn.00414a38
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp dword [ebp - 0x10], 0
pop edi
pop esi
je 0x43790d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00414932
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x14]
mov ecx, 0x4645f4
call fcn.00414a38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00412266
mov ecx, dword [ebp - 0x18]
call fcn.0043697e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x437cea
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x10], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x437d3e
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x43b9d9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
xor eax, eax
push ebx
cmp dword [ebp + 8], eax
push esi
push edi
mov esi, ecx
je 0x43ba99
cmp dword [0x474dc8], eax
je 0x43ba99
cmp dword [esi + 0x20], eax
je 0x43ba99
and byte [ebp - 0x904], al
mov ecx, 0x1ff
lea edi, [ebp - 0x903]
and byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x904]
mov ebx, 0x49a108
push 0x7ff
push eax
mov ecx, ebx
call fcn.0045541d
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
and dword [esi + 0x20], 0
push 0x103
push eax
lea eax, [ebp - 0x904]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0043b7a3
test eax, eax
je 0x43ba99
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ba99
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, ebx
call fcn.00451ad1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43ede8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and byte [ebp - 0x10c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x210], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push 0x460a68
push 0x40b050
push SysReAllocStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43ee90
push 0x40e708
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x536190]
call fcn.00426857
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x18
test eax, eax
jne 0x43ee90
mov eax, edi
jmp 0x43ee92
xor eax, eax
pop edi
leave
ret

Function at 0x43eef5
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ef56
and byte [ebp - 0x104], al
push 0x40
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40a37c
push dword [ebp + 8]
stosb byte es:[edi], al
push 0x40e734
lea eax, [ebp - 0x104]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop edi
leave
ret
Function at 0x43ef59
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
xor eax, eax
push edi
push eax
push 0x26
push ebx
push eax
mov byte [ebx], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x40e73c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x43ef9d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x208]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x208]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x40
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40e768
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ax, word [0x40e764]
mov ecx, ebx
and ecx, 3
mov word [ebp - 0x104], ax
rep movsb byte es:[edi], byte [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x102]
push 5
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0x40a7e0
rep stosd dword es:[edi], eax
push 1
push 0x460a68
push dword [ebp + 8]
stosw word es:[edi], ax
push SysReAllocStringLen
call ebx
cmp dword [ebp + 0xc], 0
je 0x43f08d
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43f073
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43f0a0
lea eax, [ebp - 0x103]
push 0x103
push eax
push dword [0x536190]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x43f0a0
lea eax, [ebp - 0x103]
push 0x104
push eax
call fcn.0043ef59
pop ecx
pop ecx
mov edi, 0x40e75c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x104]
push ecx
push eax
push 1
lea eax, [ebp - 0x208]
push 0x460a68
push eax
push SysReAllocStringLen
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443b68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x9ac4c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
xor ebx, ebx
cmp dword [esi + 0x9ac64], ecx
jle 0x443bb3
lea edx, [esi + 0x9a84c]
mov eax, dword [edx]
cmp dword [esp + 0x10], eax
jne 0x443b96
mov ebx, ecx
imul eax, eax, 0x9a8
inc ecx
add edx, 4
mov dword [eax + esi + 0x9cc], 1
cmp ecx, dword [esi + 0x9ac64]
jl 0x443b8c
mov eax, dword [esi + 0x9ac6c]
cmp eax, 0xffffffff
je 0x443bda
mov eax, dword [esi + eax*4 + 0x9a84c]
push 0
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9e4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.00446d68
mov eax, dword [esi + 0x9ac6c]
mov ecx, 0x4789e8
mov eax, dword [esi + eax*4 + 0x9a84c]
imul eax, eax, 0x9a8
mov dword [eax + esi + 0x9cc], 2
mov eax, dword [esi + 0x9ac6c]
push dword [esi + eax*4 + 0x9a84c]
call fcn.004162c3
cmp dword [0x4768e0], 0
je 0x443c42
mov eax, dword [esi + 0x9ac6c]
mov ecx, 0x5358f0
mov eax, dword [esi + eax*4 + 0x9a84c]
imul eax, eax, 0x9a8
lea eax, [eax + esi + 0x4c]
push eax
call fcn.0042e554
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x4994a0
mov ecx, edi
call fcn.00442fd8
mov eax, dword [esi + 0x9ac6c]
mov ecx, edi
mov eax, dword [esi + eax*4 + 0x9a84c]
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9f0]
add eax, esi
push dword [eax + 0x9ec]
call fcn.0044335b
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
Function at 0x444347
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
push dword [0x536190]
push 0x1000
push dword [ebx + 4]
push 0x10
push 0x38
push esi
push esi
push 0x5600b94c
push esi
push 0x40a91c
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x44448b
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x14
push 0x41e
push eax
call edi
push 0xa000a
push esi
push 0x420
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x374]
xor eax, eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x421
mov dword [ebp - 0x18], 0x423
mov dword [ebp - 0x14], 0x422
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
lea esi, [ebp - 0x64]
jmp 0x4443e8
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
push 0x104
push dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov byte [esi + 4], 4
mov byte [esi + 5], 0x10
and dword [esi + 8], 0
push dword [eax]
push dword [0x536190]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp - 8]
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
add dword [ebp - 8], 0x104
mov dword [esi + 0xc], eax
add esi, 0x14
cmp dword [ebp - 4], 3
jl 0x4443e5
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
push 3
push 0x414
push esi
call edi
push 8
push 0
push 0x454
push esi
call edi
push 0
push 0
push 0x421
push esi
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, ebx
mov dword [ebx + 0x9ac98], esi
call fcn.004439b6
mov eax, dword [0x476684]
push 2
push 0
lea ecx, [ebx + 8]
push dword [ebx + 4]
mov dword [ebx + 0x9ac68], eax
call fcn.0041e47e
pop edi
pop esi
pop ebx
leave
ret