joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424658
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov al, byte [0x45e298]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
xor ebx, ebx
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x28], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x424693
xor edx, edx
cmp dword [0x460944], ebx
sete dl
jmp 0x424699
mov edx, dword [0x460944]
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x104]
cmp edx, ebx
rep stosd dword es:[edi], eax
je 0x424766
cmp dword [ebp + 0xc], ebx
jne 0x4246ba
mov dword [ebp + 0xc], 0x40adb0
push 1
call fcn.004235b4
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x42475e
and byte [ebp - 0x208], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
cmp dword [ebp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, 0x103
stosb byte es:[edi], al
mov dword [ebp + 0x28], edx
jne 0x424700
lea eax, [ebp - 0x208]
lea esi, [ebp + 0x28]
mov dword [ebp + 0x20], eax
jmp 0x424703
mov esi, dword [ebp + 0x24]
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ada8
lea eax, [ebp - 0x104]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [esi]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x20]
push dword [eax]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebx]
call fcn.00438eb3
add esp, 0x2c
dec al
neg al
sbb eax, eax
neg eax
jmp 0x42480c
push 1
pop eax
jmp 0x42480c
or edx, 0xffffffff
mov edi, 0x40ad8c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x104]
sub edi, ecx
mov eax, ecx
mov dword [ebp + 0x28], esi
mov esi, edi
mov edi, dword [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 0xc], ebx
rep movsb byte es:[edi], byte [esi]
je 0x4247f1
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x104]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
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]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHEnumValueA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425231
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402c20
push 0x45c1d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x260], 1
or dword [ebp - 0x264], 0xffffffff
push 0x40aaf8
push dword [ebp + 8]
push 0x40aa38
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
call esi
add esp, 0x14
and byte [ebp - 0x159], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x4252c4
or dword [ebp - 4], eax
xor eax, eax
jmp 0x425438
mov ecx, 0x40aaf4
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x4252f1
test dl, dl
je 0x4252ed
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x4252f1
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x4252cf
xor eax, eax
jmp 0x4252f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4253b3
mov ecx, 0x40aaf0
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x42532b
test dl, dl
je 0x425327
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x42532b
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425309
xor eax, eax
jmp 0x425330
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4253b3
test byte [ebp - 0x158], 0x10
je 0x42537d
test byte [ebp + 0xc], 3
je 0x4253b3
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40ab20
push edi
lea eax, [ebp - 0x368]
push eax
call esi
and byte [ebp - 0x265], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x368]
push eax
call fcn.00425231
add esp, 0x1c
mov dword [ebp - 0x260], eax
jmp 0x4253b3
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aa38
push edi
lea eax, [ebp - 0x46c]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x369], 0
test byte [ebp + 0xc], 1
je 0x4253b3
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4252c4
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
test byte [ebp + 0xc], 3
je 0x42542e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x42542e
test byte [ebp + 0xc], 8
je 0x42542e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42542e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
mov dword [ebp - 8], 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0x40ae40
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4256c3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40ae80
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x4256c8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 4
pop ebx
lea eax, [ebp - 8]
push eax
push 0x40ae40
push SysReAllocStringLen
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42573e
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x40ae80
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x4259e2
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402c30
push 0x45c1d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
mov ecx, esi
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x425a88
push dword [ebp + 8]
push 0x40a158
dec esi
push esi
jmp 0x425a7e
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425cce
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00425c74
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x425d2a
cmp dword [ebp - 4], 0
jbe 0x425d2a
push 0x40a7ec
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x425d2a
push esi
push 1
push dword [ebp - 4]
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x425d2c
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4266ac
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x4266d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4266d1
push 1
pop eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x426820
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x42685d
cmp dword [ebp - 0x90], 5
jne 0x42685d
push 1
pop eax
cmp dword [ebp - 0x8c], eax
je 0x42685f
xor eax, eax
leave
ret

Function at 0x426b23
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 1
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x426b88
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x426b88
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
je 0x426b81
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x426b81
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40a158
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [edi + esi - 1], 0
add esp, 0x10
push 1
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop esi
ret

Function at 0x426bdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40ad24]
cmp eax, 0xffffffff
jne 0x426c53
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40ad24], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b01c
push 0x40aff4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x426c4d
push 3
lea eax, [ebp - 0x10c]
push 0x40aff0
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x426c4d
mov dword [0x40ad24], esi
mov eax, dword [0x40ad24]
pop esi
leave
ret
Function at 0x426fc5
Capabilities:
Create process on windows
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
and byte [ebp - 0x130], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
mov ebx, 0x40b044
push 0x40b040
mov edi, SysReAllocStringLen
push ebx
push edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
call esi
test eax, eax
je 0x427048
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x45e298
push ebx
push edi
mov dword [ebp - 8], 0x104
call esi
lea edi, [ebp - 0x130]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42709a
lea eax, [ebp - 0x930]
push 0x800
push eax
push dword [ebp + 8]
call fcn.00424811
add esp, 0xc
lea eax, [ebp - 0x930]
push 0xa
push 0
push eax
lea eax, [ebp - 0x130]
push eax
push 0x40a814
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x42713b
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x427140
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x427140
lea eax, [ebp - 4]
push eax
push 0x403740
push 0x15
push edi
push 0x403710
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x427140
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x42713b
lea edx, [ebp + 8]
mov dword [ebp + 8], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp + 8], edi
je 0x427105
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x2c]
mov word [ebp - 0x1c], di
mov word [ebp - 0x2c], 8
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
jmp 0x427142
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4275b6
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4275cd
push 1
pop eax
pop ecx
ret
call fcn.00427543
test eax, eax
jne 0x4275c8
push eax
push 0x40b110
call sub.SensApi.dll_IsDestinationReachableA
pop ecx
ret
Function at 0x4277cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and byte [ebp - 0x108], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
push 0x40a0d0
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x108]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x427843
push 1
pop eax
jmp 0x427848
and byte [edi], 0
xor eax, eax
pop edi
leave
ret

Function at 0x42784b
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 dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x103
push 0x40b128
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
pop edi
jne 0x4278ea
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call fcn.004277cf
add esp, 0xc
leave
ret
mov eax, dword [ebp + 0xc]
and byte [eax], 0
xor eax, eax
leave
ret

Function at 0x4279c3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor eax, eax
push edi
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
mov esi, 0xfa000
push dword [ebp + 8]
mov edi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4279f7
push 1
pop eax
jmp 0x427a36
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
jae 0x427a01
mov edi, ebx
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x427a23
cmp edi, ebx
je 0x427a28
sub ebx, esi
add dword [ebp + 0xc], edi
jmp 0x4279fb
push 1
pop esi
jmp 0x427a2a
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x428e60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
push dword [esi + 4]
lea eax, [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esi + 4]
add esp, 0xc
lea ebx, [esi + 0x34]
mov dword [ebp + 8], eax
xor edi, edi
push 0
push dword [ebp + 8]
push ebx
call fcn.0041c5b3
sub eax, dword [ebp + 8]
add dword [ebp + 8], eax
add edi, eax
add ebx, eax
cmp edi, 5
jl 0x428e88
mov eax, dword [esi + 4]
mov dword [esi + 0x30], edi
sub edi, ebx
xor ecx, ecx
push 5
mov byte [ebp - 8], 0xe9
lea eax, [edi + eax - 5]
mov cl, ah
mov byte [ebp - 7], al
mov byte [ebp - 6], cl
xor ecx, ecx
shr eax, 0x10
mov byte [ebp - 5], al
mov cl, ah
lea eax, [ebp - 8]
mov byte [ebp - 4], cl
push eax
push ebx
call fcn.004387a0
lea eax, [esi + 0x18]
push 5
push eax
push dword [esi + 4]
call fcn.004387a0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42fd37
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x2c]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x2c], 0x2c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
mov dword [esi + 0x24], eax
push dword [esi + 4]
call edi
push 0
push dword [esi + 4]
call edi
pop edi
pop esi
leave
ret
Function at 0x4313e1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45d5e8
call fcn.0045c170
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00431e77
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.00431e77
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], 0x402c84
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4313ec
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45d5e8
call fcn.0045c170
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00431e77
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.00431e77
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], 0x402c84
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x431b74
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 0x431c40
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x431c40
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 0x431c40
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 0x431c40
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.004272b5
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 0x431c49
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x431bfd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
mov ecx, esi
call fcn.00431c56
push 1
pop eax
jmp 0x431c42
Function at 0x431c56
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, 0x495e88
push 6
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.0045173f
push 1
push 6
push edi
mov ecx, ebx
call fcn.00451e1b
push edi
mov ecx, ebx
call fcn.00450833
cmp dword [esi + 0x20], 0xffffffff
je 0x431df7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431df7
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 0x431df7
mov dword [0x4606cc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x431a3f
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4606c8], eax
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esi + 0x20]
mov ecx, ebx
push dword [esi + 0xc]
push 0x3ec
call fcn.004503cb
mov eax, dword [esi + 0x1c]
mov dword [0x531f64], 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 0x431d9e
or dword [esi + 0x20], 0xffffffff
push ebp
push eax
push 0x111
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x431db1
push 0x1b
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x431db1
or dword [esi + 0x20], 0xffffffff
push dword [0x4606c8]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4606c8], ebp
mov dword [0x4606cc], ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431ded
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 0x431cab
mov dword [esi + 0x1c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4