joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f300
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov cx, word [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov word [eax], cx
xor ecx, ecx
xor esi, esi
cmp edi, ecx
mov word [eax + 2], 2
mov byte [eax + 4], cl
mov byte [eax + 5], cl
mov word [eax + 6], 1
mov word [eax + 8], cx
jle 0x44f360
mov cx, word [eax + 8]
xor edx, edx
mov dl, byte [eax + esi + 0x10]
mov ebx, ecx
and ebx, 0xffff
shr ebx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
mov cx, word [edx*2 + 0x4ac260]
xor cx, bx
inc esi
cmp esi, edi
mov word [eax + 8], cx
jl 0x44f331
mov edx, dword [esp + 0x1c]
mov cl, byte [eax]
mov dword [eax + 0xc], edx
mov dl, byte [eax + 4]
add dl, cl
lea esi, [eax + 1]
mov byte [eax + 4], dl
mov word [eax + 0xa], di
mov cl, dl
mov dl, byte [esi]
add dl, cl
inc esi
mov byte [eax + 4], dl
pop edi
mov cl, byte [esi]
add dl, cl
inc esi
mov byte [eax + 4], dl
mov bl, byte [eax + 4]
mov dl, byte [esi]
add esi, 2
add bl, dl
mov byte [eax + 4], bl
mov cl, byte [esi]
mov dl, bl
add dl, cl
inc esi
mov byte [eax + 4], dl
mov bl, byte [eax + 4]
mov dl, byte [esi]
add bl, dl
inc esi
mov byte [eax + 4], bl
mov dl, bl
mov cl, byte [esi]
add dl, cl
inc esi
mov byte [eax + 4], dl
mov bl, byte [eax + 4]
mov dl, byte [esi]
add bl, dl
inc esi
mov byte [eax + 4], bl
mov dl, bl
mov cl, byte [esi]
add dl, cl
inc esi
mov byte [eax + 4], dl
mov bl, byte [eax + 4]
mov dl, byte [esi]
add bl, dl
inc esi
mov byte [eax + 4], bl
mov dl, bl
mov cl, byte [esi]
add dl, cl
inc esi
mov byte [eax + 4], dl
mov bl, byte [eax + 4]
mov dl, byte [esi]
add bl, dl
inc esi
mov byte [eax + 4], bl
mov cl, byte [esi]
add bl, cl
mov byte [eax + 4], bl
mov dl, byte [esi + 1]
mov cl, bl
pop esi
add dl, cl
pop ebx
mov byte [eax + 4], dl
ret
Function at 0x454260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov eax, dword [ebp + 0xcc60]
mov ecx, dword [ebp + 0xcc5c]
shl eax, 6
mov edx, dword [eax + ecx + 0x1bd0]
mov ecx, 0x250
test edx, 0x100000
jne 0x454293
mov ecx, 0x264
mov ebx, dword [esp + 0x30]
xor eax, eax
mov edi, ebx
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xcc64]
mov eax, dword [ebp + 0xcc5c]
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
shl ecx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + eax + 0x125c]
shl edx, 6
mov eax, dword [edx + eax + 0x1bd0]
test ah, 0x20
je 0x4542df
mov byte [esp + 0x10], 1
jmp 0x4542f7
push 1
push edi
push eax
push ebx
call fcn.00454860
push ebx
call fcn.00454480
add esp, 0x14
mov byte [esp + 0x10], 0x41
mov esi, dword [esp + 0x28]
mov eax, 0x7482296b
imul esi
sar edx, 0xb
mov eax, edx
mov byte [esp + 0x11], 0xaa
shr eax, 0x1f
add edx, eax
mov byte [esp + 0x12], 1
push edx
call fcn.00450190
mov byte [esp + 0x17], al
mov eax, esi
cdq
mov ecx, 0x1194
idiv ecx
mov eax, 0x1b4e81b5
mov esi, edx
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call fcn.00450190
mov byte [esp + 0x1c], al
mov eax, esi
cdq
mov ecx, 0x4b
idiv ecx
push edx
call fcn.00450190
mov byte [esp + 0x21], al
mov eax, 0x7482296b
imul edi
sar edx, 0xb
mov eax, edx
mov byte [esp + 0x22], 0
shr eax, 0x1f
add edx, eax
push edx
call fcn.00450190
mov byte [esp + 0x27], al
mov eax, edi
cdq
mov ecx, 0x1194
idiv ecx
mov eax, 0x1b4e81b5
mov esi, edx
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call fcn.00450190
mov byte [esp + 0x2c], al
mov eax, esi
cdq
mov ecx, 0x4b
idiv ecx
push edx
call fcn.00450190
mov byte [esp + 0x31], al
add esp, 0x18
xor eax, eax
xor ecx, ecx
xor edx, edx
mov esi, eax
mov dl, byte [esp + ecx + 0x10]
and esi, 0xffff
mov edi, edx
xor edx, edx
shr esi, 8
xor edi, esi
mov dh, al
mov ax, word [edi*2 + 0x4ac260]
xor ax, dx
inc ecx
cmp ecx, 0xa
jl 0x4543bd
and eax, 0xffff
not eax
push eax
lea eax, [esp + 0x1e]
push eax
call fcn.0044ffd0
mov ecx, dword [ebp + 0xcc60]
mov edx, dword [ebp + 0xcc5c]
shl ecx, 6
add esp, 8
test dword [ecx + edx + 0x1bd0], 0x100000
je 0x454440
mov al, byte [esp + 0x1f]
push 0x10
or al, 0x80
add ebx, 0x930
mov byte [esp + 0x23], al
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.0047e960
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor esi, esi
mov edx, esi
and edx, 0x80000007
jns 0x454451
dec edx
or edx, 0xfffffff8
inc edx
mov cl, 7
mov eax, esi
sub cl, dl
cdq
and edx, 7
add eax, edx
sar eax, 3
mov al, byte [esp + eax + 0x10]
shr al, cl
or al, 0xfe
shl al, 6
mov byte [ebx + esi + 0x930], al
inc esi
cmp esi, 0x60
jl 0x454442
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x454480
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
xor eax, eax
mov dl, byte [eax + 0x4ac460]
mov bl, byte [ecx + eax + 0xc]
xor bl, dl
mov byte [ecx + eax + 0xc], bl
inc eax
cmp eax, 0x924
jb 0x454487
pop ebx
ret
Function at 0x454540
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x45456f
mov ecx, dword [esp + 8]
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4a0ad4]
xor eax, edx
inc ecx
dec esi
jne 0x454550
pop ebx
pop esi
ret
Function at 0x45b6b0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x104
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x45b6d8
xor eax, eax
add esp, 0x104
ret
mov eax, dword [esp + 0x108]
test eax, eax
je 0x45b751
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, str.__IC
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
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 ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Zulu2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
jmp 0x45b761
mov edx, dword [esp]
push str.Zulu2
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x104
ret

Function at 0x45b780
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplayClsid
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45b7bf
mov ecx, dword [esp]
push 1
push 0x4b32f0
push 1
push eax
push str.9E7BEACB_33F4_4c97_9775_239BB82C690E
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x45b7d0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push 1
push 5
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x45b7ed
mov eax, dword [0x4ad6a8]
mov dword [esi], eax
push esi
call fcn.00472270
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x45b800
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 1
push 0xd
push esi
push 0
call edi
test eax, eax
jne 0x45b844
push 1
push 5
push esi
push eax
call edi
test eax, eax
jne 0x45b844
push 1
push 0x35
push esi
push eax
call edi
test eax, eax
jne 0x45b844
push 1
push 0x2e
push esi
push eax
call edi
test eax, eax
jne 0x45b844
mov eax, dword [0x4ad6a8]
mov dword [esi], eax
push esi
call fcn.00472270
add esp, 4
mov eax, 1
pop edi
pop esi
ret
Function at 0x45b860
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
cmp edx, ebp
jae 0x45b89d
sub ecx, eax
add ecx, ebp
jmp 0x45b89f
xor ecx, ecx
push 0xff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0x102
je 0x45b960
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call ebx
test eax, eax
je 0x45b885
mov edx, dword [0x4d47d8]
mov eax, dword [esi + 0x1b0]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x45b944
mov eax, dword [esi + 0x198]
test eax, eax
je 0x45b902
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
test eax, eax
jne 0x45b944
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x45b918
lea edx, [esp + 0x14]
push edx
push eax
call edi
test eax, eax
jne 0x45b944
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x45b92e
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
test eax, eax
jne 0x45b944
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
call ebx
test eax, eax
jne 0x45b8cf
jmp 0x45b885
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x45fce0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x104
mov ecx, 0x11
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, str.Result____In_s.mmmuuu__Duration__Command____________________TO__Data_r_n
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0
push eax
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebx
call ebp
mov ecx, 0x1b
mov esi, str.___________________________________________________________________________________________________________r_n
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x10]
push 0
dec ecx
push edx
lea eax, [esp + 0x1c]
push ecx
push eax
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x45fea0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
xor edi, edi
mov eax, 0x4b5340
cmp dword [eax], ebp
je 0x45febf
add eax, 0x108
inc edi
cmp eax, 0x4b63c0
jl 0x45feae
cmp edi, 0x10
jne 0x45fecd
pop edi
pop esi
mov eax, 0x16
pop ebp
ret
push ebx
push 0
push 0
push ebp
call fcn.00433330
mov esi, edi
add esp, 0xc
shl esi, 5
add esi, edi
shl esi, 3
mov eax, dword [esi + 0x4b5344]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [esi + 0x4b5348]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x4b5344], eax
pop ebx
jne 0x45ff37
mov dword [esi + 0x4b5340], 0
pop edi
pop esi
mov eax, 0xcf
pop ebp
ret
push eax
call fcn.0045fce0
push 0x45fab0
push edi
push ebp
call fcn.00433330
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x461120
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
push 0x6d
call fcn.0046b600
add esp, 4
push eax
mov eax, dword [esp + 0x28]
push 1
push 0
push 0x1e
push 1
push eax
call fcn.0045d0f0
add esp, 0x1c
mov edi, eax
mov esi, 0x1e
push esi
push edi
call fcn.0045d270
push 0x3e8
push esi
push edi
call fcn.0045d240
push edi
call fcn.0045d2e0
add esp, 0x18
test eax, eax
jne 0x461173
dec esi
test esi, esi
jg 0x46114e
test esi, esi
jne 0x46118d
push esi
push edi
call fcn.0045d270
push 0xfa
push esi
push edi
call fcn.0045d240
add esp, 0x14
push 0
push edi
call fcn.0045d2f0
add esp, 8
test esi, esi
jle 0x4611a4
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
cmp dword [0x4d4448], 0x7d0
jge 0x4611c2
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
pop edi
pop esi
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x46124f
lea edx, [esp + 0x10]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46124f
push eax
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push 0
lea edx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x30], 0
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x464dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0xc360
call fcn.0047e4b0
push 0x186a0
call fcn.0047e5d8
mov dword [0x4b5314], eax
add esp, 4
mov word [eax], 0xffff
lea eax, [esp]
push eax
push str.SoftwarePrassi_TechnologyZulu2
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x464e87
lea ecx, [esp + 4]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x4ad9ac
push ecx
mov dword [esp + 0x1c], 0xc350
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x464e7c
mov eax, dword [0x4b5314]
push 0x464d90
push 0x464d60
push 0
push 0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push 2
push ecx
mov dword [0x4b5310], edx
mov dword [0x4b5318], eax
call fcn.00489080
add esp, 0x18
test eax, eax
jne 0x464e7c
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push edx
push eax
call fcn.004891e0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004894c0
add esp, 0xc
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4b5314]
mov dword [0x4b5308], eax
mov cx, word [eax]
cmp cx, 0xffff
je 0x464ee8
test cx, cx
je 0x464ee8
add eax, 6
push 0
push eax
call fcn.0047e290
inc eax
push 0
push eax
mov dword [0x4b5308], eax
call fcn.0047e290
inc eax
push 0
push eax
mov dword [0x4b5308], eax
call fcn.0047e290
inc eax
push 0
push eax
mov dword [0x4b5308], eax
call fcn.0047e290
add esp, 0x20
inc eax
mov dword [0x4b5308], eax
mov cx, word [eax]
cmp cx, 0xffff
jne 0x464e9b
add esp, 0xc360
ret

Function at 0x464ef0
Capabilities:
Set registry value

Disassembly:
mov eax, 0xc358
call fcn.0047e4b0
mov eax, dword [0x4b5314]
push 0x464d90
push 0x464d60
push 0
push 0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push 1
push edx
mov dword [0x4b5310], eax
mov dword [0x4b5318], ecx
call fcn.00489080
add esp, 0x18
test eax, eax
jne 0x464f57
mov eax, dword [0x4b5308]
mov ecx, dword [0x4b5314]
sub eax, ecx
mov ecx, dword [esp + 4]
add eax, 2
push eax
push ecx
call fcn.004891e0
mov edx, dword [esp + 0xc]
push edx
call fcn.004894c0
add esp, 0xc
mov eax, dword [0x4b5314]
push eax
call fcn.0047e3be
add esp, 4
lea ecx, [esp]
push ecx
push str.SoftwarePrassi_TechnologyZulu2
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x464faf
mov edx, dword [0x4b5318]
lea eax, [esp + 8]
sub edx, eax
lea ecx, [esp + 8]
push edx
mov edx, dword [esp + 4]
push ecx
push 3
push 0
push 0x4ad9ac
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc358
ret
Function at 0x4688c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x7530
call fcn.0047e4b0
push ebx
push esi
mov esi, dword [esp + 0x753c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x510
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
cmp ebx, 0x61a8
jle 0x468946
lea eax, [esp + 0xc]
push 0x7530
push eax
push 0x510
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ecx, ecx
lea eax, [esp + 0xc]
cmp ecx, 0x1388
jge 0x468936
push 0xa
push eax
call fcn.0047e290
add esp, 8
inc eax
mov edx, eax
lea ecx, [esp + 0xc]
sub edx, ecx
cmp edx, 0x1388
jl 0x46891a
push eax
push 0x510
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push ebx
push 0xb1
push 0x510
push esi
call edi
mov edx, dword [esp + 0x7544]
push edx
push 0
push 0xc2
push 0x510
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x7530
ret
Function at 0x46a4e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
mov byte [esp + 0xc], 0
push eax
push str.Control_PanelInternational
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x46a538
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.sThousand
push ecx
mov dword [esp + 0x1c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0xc]
push edi
test al, al
je 0x46a580
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 6
jae 0x46a580
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
mov eax, ecx
mov esi, edi
mov edi, 0x4d47d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edi
add esp, 0x10c
ret
mov cx, word [0x4ae16c]
pop edi
mov word [0x4d47d0], cx
add esp, 0x10c
ret

Function at 0x46a8f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2468
call fcn.0047e4b0
mov ecx, dword [esp + 0x246c]
lea eax, [esp + 4]
push eax
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x46a97f
lea edx, [esp]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push str.Persistent
push edx
mov dword [esp + 0x18], 0x245c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0x244c
jne 0x46a97f
cmp dword [esp + 0x2454], 0x1b39
jne 0x46a97f
lea ecx, [esp + 0xc]
push 0x244c
push ecx
push 0x4feed8
call fcn.0047e960
add esp, 0xc
add esp, 0x2468
ret
call fcn.0046a5a0
add esp, 0x2468
ret

Function at 0x46a990
Capabilities:
Delete registry key
Log keystrokes via polling
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ah, 0x80
je 0x46a9c7
push 0x11
call esi
test ah, 0x80
je 0x46a9c7
mov eax, dword [esp + 0xc]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x7d
push 0x28
call dword [sym.imp.KERNEL32.dll_Beep]
pop esi
pop ecx
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x46aa08
push 0x244c
push 0x4feed8
push 3
push eax
mov eax, dword [esp + 0x14]
push str.Persistent
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret

Function at 0x46aa10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x100
lea eax, [esp]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp]
push ecx
call fcn.00472270
mov edx, dword [esp + 0x108]
add esp, 4
lea eax, [esp]
push 0x80
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, 1
add esp, 0x100
ret
Function at 0x46aa60
Capabilities:
Get common file path
Get disk information

Disassembly:
mov eax, dword [0x4ff104]
sub esp, 0x500
test eax, eax
push ebx
push esi
push edi
je 0x46aacd
lea eax, [esp + 0x30c]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x30c]
lea esi, [esp + 0x30c]
test al, al
mov byte [esp + 0xc], 0
je 0x46aaec
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push esi
call edi
cmp eax, 3
jne 0x46aab8
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.004712c0
add esp, 8
push 0
push esi
call fcn.0047e290
add esp, 8
inc eax
mov esi, eax
cmp byte [esi], 0
jne 0x46aaa2
jmp 0x46aaec
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
push 0x4ff10c
push edx
rep stosd dword es:[edi], eax
call fcn.004712c0
add esp, 8
mov al, byte [esp + 0xc]
lea esi, [esp + 0xc]
test al, al
je 0x46ab40
mov edi, dword [esp + 0x514]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x20c]
push eax
push 0
push 0x4ae1a4
push esi
call ebx
lea ecx, [esp + 0x20c]
push 0
push ecx
call fcn.004726a0
add esp, 8
cmp eax, edi
jge 0x46ab4c
push 0
push esi
call fcn.0047e290
add esp, 8
inc eax
mov esi, eax
cmp byte [esi], 0
jne 0x46ab05
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x500
ret
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x510]
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
add esp, 0x500
ret