joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f3e0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x94
mov edi, dword [esp + 0xa0]
lea esi, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, esp
push eax
call dbg.ffDetectTerminalFont
add esp, 4
lea ecx, [edi + 0x20]
test al, al
je 0x45f52a
cmp dword [edi + 0x3c], 0
je 0x45f58b
lea eax, [esp + 0x18]
lea edx, [esp + 0x24]
lea edi, [esp + 0x30]
mov dword [esp + 0x74], 7
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 7
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0xa
mov dword [esp + 0x90], edi
lea eax, [esp + 0x74]
push eax
push 4
push 0
push ecx
push 0
push str.Terminal_Font
call dbg.ffPrintFormat
jmp 0x45f542
push dword [esp + 8]
push 0x4f6a55
push 0
push ecx
push 0
push str.Terminal_Font
call dbg.ffPrintError
add esp, 0x18
cmp dword [esp], 0
mov dword [esp + 4], 0
je 0x45f566
mov dword [esp], 0
push dword [esp + 8]
call sym._free
add esp, 4
lea edi, [esp + 0x40]
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
push esi
call dbg.ffFontDestroy
add esp, 4
push edi
call dbg.ffFontDestroy
add esp, 0x98
pop esi
pop edi
ret
push 0
push ecx
push 0
push str.Terminal_Font
call dbg.ffPrintLogoAndKey
add esp, 0x10
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [esp + 0x14]
push 1
push dword [esp + 0x20]
call sym._fwrite
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x45f5fb
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call edi
add esp, 4
push eax
push 1
push 3
push 0x4f6a58
call sym._fwrite
add esp, 0x10
push 1
call edi
add esp, 4
push eax
push dword [esp + 0x48]
push 1
push dword [esp + 0x54]
call sym._fwrite
add esp, 0x10
push 0xa
call sym._putchar
add esp, 4
jmp 0x45f545
Function at 0x466890
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x2c]
call dbg.ffDetectVulkan
mov esi, eax
mov ecx, dword [eax + 0x40]
lea eax, [edi + 0x20]
test ecx, ecx
je 0x4668c1
push ecx
push 0x4f728b
push 0
push eax
push 0
push str.Vulkan
call dbg.ffPrintError
jmp 0x466913
cmp dword [edi + 0x3c], 0
je 0x466919
mov dword [esp], 7
mov dword [esp + 4], esi
mov dword [esp + 8], 7
lea ecx, [esi + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 7
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 7
add esi, 0x24
mov dword [esp + 0x1c], esi
mov ecx, esp
push ecx
push 4
push 0
push eax
push 0
push str.Vulkan
call dbg.ffPrintFormat
add esp, 0x38
pop esi
pop edi
ret
push 0
push eax
push 0
push str.Vulkan
call dbg.ffPrintLogoAndKey
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x466978
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [esi + 0x10]
push 1
push dword [esi + 0x14]
call sym._fwrite
add esp, 0x10
cmp dword [esi + 4], 0
je 0x46699a
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 3
push 0x4f729f
call sym._fwrite
add esp, 0x10
cmp dword [esi + 4], 0
jne 0x46697e
jmp 0x46699a
cmp dword [esi + 4], 0
je 0x4669a9
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [esi + 4]
push 1
push dword [esi + 8]
call sym._fwrite
add esp, 0x10
push 0xa
call sym._putchar
add esp, 0x24
jmp 0x466916
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [esi + 0x28]
push 1
push dword [esi + 0x2c]
call sym._fwrite
add esp, 0x10
push str.__Software_only_
call sym._puts
add esp, 0x24
jmp 0x466916

Function at 0x468f40
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x14
mov esi, dword [esp + 0x20]
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
mov edi, esp
push edi
push esi
call dbg.ffDetectWeather
add esp, 8
lea ecx, [esi + 0x20]
test eax, eax
je 0x468f8b
push eax
push 0x4f744a
push 0
push ecx
push 0
push str.Weather
call dbg.ffPrintError
jmp 0x468fb3
cmp dword [esi + 0x3c], 0
je 0x468fdd
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push ecx
push 0
push str.Weather
call dbg.ffPrintFormat
add esp, 0x18
cmp dword [esp], 0
mov dword [esp + 4], 0
je 0x468fd7
mov dword [esp], 0
push dword [esp + 8]
call sym._free
add esp, 4
add esp, 0x14
pop esi
pop edi
ret
push 0
push ecx
push 0
push str.Weather
call dbg.ffPrintLogoAndKey
add esp, 0x10
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
push eax
push dword [esp + 8]
push 1
push dword [esp + 0x14]
call sym._fwrite
add esp, 0x10
push esi
push 0xa
call sym._fputc
add esp, 8
jmp 0x468fb6
Function at 0x46b880
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0x2c
cmp dword [0x505d04], 0
jne 0x46b948
mov dword [0x505cc4], 0
mov dword [0x505cc8], 0
mov eax, dword [0x5052b0]
mov dword [0x505ccc], eax
mov dword [0x505cd0], 0
mov dword [0x505cd4], 0
mov dword [0x505cd8], eax
mov dword [0x505cdc], 0
mov dword [0x505ce0], 0
mov dword [0x505ce4], eax
mov dword [0x505ce8], 0
mov dword [0x505cec], 0
mov dword [0x505cf0], eax
mov dword [0x505cf4], 0
mov dword [0x505cf8], 0
mov dword [0x505cfc], eax
mov dword [0x505d04], 0x38
mov dword [0x505d0c], 0
mov dword [0x505d08], 0
mov dword [0x505d00], 0
push 0x505cc4
call dbg.ffConnectDisplayServerImpl
add esp, 4
mov esi, dword [esp + 0x34]
cmp dword [0x505cd4], 0
je 0x46b9e7
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
cmp byte [esi + 0x48], 0
je 0x46b982
mov eax, esp
push eax
call dbg.ffDetectWMPlugin
add esp, 4
lea eax, [esi + 0x20]
cmp dword [esi + 0x3c], 0
je 0x46ba03
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], 0x505cc4
mov dword [esp + 0x14], 7
mov dword [esp + 0x18], 0x505cd0
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], 0x505cdc
mov dword [esp + 0x24], 7
mov ecx, esp
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push eax
push 0
push 0x4f76f4
call dbg.ffPrintFormat
add esp, 0x18
jmp 0x46badb
add esi, 0x20
push str.No_WM_found
push 0
push esi
push 0
push 0x4f76f4
call dbg.ffPrintError
add esp, 0x40
pop esi
ret
push 0
push eax
push 0
push 0x4f76f4
call dbg.ffPrintLogoAndKey
add esp, 0x10
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [0x505cd4]
push 1
push dword [0x505cd8]
call sym._fwrite
add esp, 0x10
cmp dword [0x505ce0], 0
je 0x46ba87
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call esi
add esp, 4
push eax
push 1
push 2
push 0x4f7703
call sym._fwrite
add esp, 0x10
push 1
call esi
add esp, 4
push eax
push dword [0x505ce0]
push 1
push dword [0x505ce4]
call sym._fwrite
add esp, 0x10
push 0x29
call sym._putchar
add esp, 4
cmp dword [esp + 4], 0
je 0x46bad1
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call esi
add esp, 4
push eax
push 1
push 7
push str.__with
call sym._fwrite
add esp, 0x10
push 1
call esi
add esp, 4
push eax
push dword [esp + 8]
push 1
push dword [esp + 0x14]
call sym._fwrite
add esp, 0x10
push 0x29
call sym._putchar
add esp, 4
push 0xa
call sym._putchar
add esp, 4
cmp dword [esp], 0
mov dword [esp + 4], 0
je 0x46bafc
mov dword [esp], 0
push dword [esp + 8]
call sym._free
add esp, 4
add esp, 0x2c
pop esi
ret
Function at 0x473f40
Capabilities:
Get system firmware table

Disassembly:
cmp dword [0x505ee8], 0
je 0x473f4f
mov eax, 0x505eec
ret
push edi
push esi
sub esp, 0x10
movaps xmm0, xmmword [str.BMSR]
movups xmmword [esp], xmm0
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
call edi
mov esi, eax
push eax
call sym._malloc
add esp, 4
mov dword [0x505ee8], eax
push esi
push eax
push 0
push 0x52534d42
call edi
mov ecx, dword [0x505ee8]
mov eax, dword [ecx + 4]
test eax, eax
jle 0x474008
lea esi, [ecx + eax]
add esi, 8
add ecx, 8
jmp 0x473fa8
inc edi
mov ecx, edi
inc ecx
cmp ecx, esi
jae 0x474008
movzx eax, byte [ecx]
cmp eax, 0x7e
ja 0x473fd0
cmp dword [eax*4 + 0x505eec], 0
jne 0x473fd5
mov dword [eax*4 + 0x505eec], ecx
jmp 0x473fd5
cmp eax, 0x7f
je 0x474008
movzx eax, byte [ecx + 1]
lea edi, [ecx + eax]
cmp byte [ecx + eax], 0
je 0x473fa0
nop word cs:[eax + eax]
push edi
call sym._strlen
add esp, 4
lea ecx, [eax + edi]
inc ecx
cmp byte [eax + edi + 1], 0
mov edi, ecx
jne 0x473ff0
jmp 0x473fa3
pop esi
pop edi
mov eax, 0x505eec
ret
Function at 0x474350
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x18]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esi, eax
cmp eax, 2
jb 0x47440d
mov ebp, dword [esp + 0x1c]
cmp dword [ebp], 0
je 0x47439f
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov ecx, dword [ebp]
lea ebx, [ebp + 4]
mov dword [ebp + 4], 0
mov edx, ecx
sub edx, 1
setb al
jb 0x4743b8
cmp edx, esi
jb 0x4743b8
mov eax, dword [ebp + 8]
jmp 0x4743ff
mov eax, dword [0x5052b0]
mov dword [ebp + 8], eax
lea eax, [ebp + 4]
mov dword [esp], eax
mov dword [ebp + 4], 0
mov al, 1
jmp 0x4743c0
mov dword [esp], ebx
cmp ecx, 1
ja 0x4743c5
mov ecx, 0x20
lea edx, [esi + 1]
nop dword [eax + eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x4743d0
test al, al
je 0x4743ea
push ebx
call sym._malloc
add esp, 4
mov byte [eax], 0
jmp 0x4743f6
push ebx
push dword [ebp + 8]
call sym._realloc
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp], ebx
mov ebx, dword [esp]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esi - 1]
mov dword [ebx], eax
cmp esi, 2
setae al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x474430
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov ebx, dword [esp + 0x220]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push esi
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
mov dword [esp], 0
push 0xfffffffffffffff5
call edi
mov edi, eax
push ebx
call sym._strlen
add esp, 4
mov ecx, esp
push 0
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 1
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x4744b7
push dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov eax, str.WaitForSingleObject___failed_or_timeout
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 4]
lea ebx, [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
jmp 0x4744ea
push edi
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 1
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x47449c
mov dword [esp + 4], 0
push edi
push 1
push ebx
push esi
call ebp
test eax, eax
je 0x474514
cmp word [esp + 0xc], 1
jne 0x4744d0
movzx eax, word [esp + 0x1a]
cmp eax, 0xd
je 0x4744d0
cmp eax, 0xa
je 0x4744d0
mov dword [esp], 0
push 0
lea eax, [esp + 4]
push eax
push 0x1ff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov eax, dword [esp]
test eax, eax
je 0x474569
mov byte [esp + eax + 0xc], 0
lea eax, [esp + 0x228]
mov dword [esp + 4], eax
push eax
push dword [esp + 0x228]
push ebx
call dbg.__mingw_vsscanf
add esp, 0xc
xor eax, eax
jmp 0x4744ac
mov eax, str.ReadFile___failed
jmp 0x4744ac

Function at 0x474580
Capabilities:
Get routing table

Disassembly:
push ebx
push edi
push esi
push eax
mov dword [esp], 0
mov edi, esp
push 1
push edi
push 0
call sym._GetIpForwardTable_12
cmp eax, 0x7a
jne 0x4745bd
push dword [esp]
call sym._malloc
add esp, 4
mov esi, eax
push 1
push edi
push eax
call sym._GetIpForwardTable_12
test eax, eax
sete bl
je 0x4745c1
test esi, esi
jne 0x4745f6
xor ebx, ebx
jmp 0x4745ff
mov eax, dword [esi]
test eax, eax
je 0x4745f6
mov ecx, dword [esp + 0x18]
mov edx, esi
add edx, 0x14
jmp 0x4745e6
add edx, 0x38
dec eax
je 0x4745f6
cmp dword [edx - 0x10], 0
jne 0x4745e0
cmp dword [edx - 0xc], 0
jne 0x4745e0
mov eax, dword [edx]
mov dword [ecx], eax
push esi
call sym._free
add esp, 4
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x474ba0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea eax, [esi + 4]
mov ecx, esp
lea edx, [esp + 4]
push ecx
push 1
push edx
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x474c2b
mov edi, dword [esp + 0x1c]
test ebx, ebx
je 0x474be9
lea eax, [esp + 0x20]
push 4
push eax
push 0x1006
push 0xffff
push dword [esi]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
add eax, edx
not edx
add edx, ecx
test ecx, ecx
cmove edx, ecx
push 0
push edx
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x474c19
add eax, dword [edi + 4]
mov dword [edi + 4], eax
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0
push dword [esi]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [edi + 4], 0x11
jae 0x474c37
xor eax, eax
jmp 0x474c66
push dword [esi]
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x474c66
mov eax, dword [edi + 8]
movdqu xmm0, xmmword [eax]
movzx eax, byte [eax + 0x10]
movd xmm1, eax
pcmpeqb xmm0, xmmword [0x4f7a60]
pcmpeqb xmm1, xmmword [0x4f7a70]
pand xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
sete al
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x478b40
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp], 0
mov esi, esp
push esi
push 0
push 0
push 8
call sym._NtQuerySystemInformation_16
mov edi, str.NtQuerySystemInformation_SystemProcessorPerformanceInformation__NULL__failed
cmp eax, 0xc0000004
jne 0x478c87
mov edi, dword [esp]
push edi
call sym._malloc
add esp, 4
mov ebx, eax
push esi
push edi
push eax
push 8
call sym._NtQuerySystemInformation_16
test eax, eax
js 0x478c6d
mov eax, dword [esp]
xor edi, edi
cmp eax, 0x30
jb 0x478c72
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
add ebx, 0x20
xor esi, esi
jmp 0x478bef
lea ecx, [edx + 1]
mov dword [ebp + 8], ecx
imul edx, dword [ebp + 4]
mov dword [eax + edx + 4], esi
mov dword [eax + edx], edi
mov ecx, dword [esp + 0xc]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + edx + 8], ecx
mov esi, dword [esp + 0x14]
inc esi
mov eax, dword [esp + 4]
mov ecx, 0xaaaaaaab
mul ecx
shr edx, 5
add ebx, 0x30
cmp esi, edx
jae 0x478c78
mov dword [esp + 0x14], esi
mov edi, dword [ebx]
mov ecx, dword [ebx - 0x20]
mov ebp, dword [ebx - 0x1c]
mov eax, dword [ebx - 0x14]
mov edx, dword [ebx - 0x18]
sub edx, ecx
sbb eax, ebp
add edi, dword [ebx - 8]
mov esi, dword [ebx + 4]
adc esi, dword [ebx - 4]
add edi, edx
adc esi, eax
mov dword [ebx - 0x18], edi
mov dword [ebx - 0x14], esi
add edi, dword [ebx - 0x10]
adc esi, dword [ebx - 0xc]
add ecx, edi
adc ebp, esi
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
jne 0x478bb0
lea ecx, [edx + edx]
test edx, edx
mov edx, 0x10
cmove ecx, edx
mov dword [ebp + 0xc], ecx
imul ecx, dword [ebp + 4]
push ecx
push eax
call sym._realloc
add esp, 8
mov dword [ebp], eax
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
mov dword [esp + 4], ecx
jmp 0x478bb0
mov edi, str.NtQuerySystemInformation_SystemProcessorPerformanceInformation__size__failed
test ebx, ebx
jne 0x478c7e
jmp 0x478c87
xor edi, edi
mov ebx, dword [esp + 8]
push ebx
call sym._free
add esp, 4
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x478ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x18]
lea edi, [esi + 0x18]
mov eax, esp
push edi
push eax
push str.Control_PanelCursors
push 0x80000001
call dbg.ffRegOpenKeyForRead
add esp, 0x10
test al, al
je 0x478d1a
push edi
push esi
push 0
push dword [esp + 0xc]
call dbg.ffRegReadStrbuf
add esp, 0x10
test al, al
je 0x478d1a
mov eax, dword [esp]
mov dword [esp + 8], 4
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0x18
push str.CursorBaseSize
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x478d1a
add esi, 0xc
push dword [esp + 4]
push 0x4f9720
push esi
call dbg.ffStrbufAppendF
add esp, 0xc
mov eax, dword [esp]
test eax, eax
je 0x478d28
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
pop esi
pop edi
ret
Function at 0x47e020
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x50
xorps xmm0, xmm0
movaps xmmword [esp], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp], 0x40
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47e075
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub ecx, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax], ecx
xor eax, eax
jmp 0x47e07a
mov eax, str.GlobalMemoryStatusEx___failed
mov esp, ebp
pop ebp
ret
Function at 0x482aa0
Capabilities:
Get file version info

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov edi, ecx
lea eax, [esp + 8]
push eax
push ecx
call sym._GetFileVersionInfoSizeW_8
test eax, eax
je 0x482b32
mov ebx, eax
push eax
call sym._malloc
add esp, 4
mov esi, eax
push eax
push ebx
push dword [esp + 0x10]
push edi
call sym._GetFileVersionInfoW_16
test eax, eax
je 0x482b25
mov eax, esp
lea ecx, [esp + 4]
push eax
push ecx
push 0x4fb254
push esi
call sym._VerQueryValueW_16
test eax, eax
je 0x482b25
cmp dword [esp], 0
je 0x482b25
mov eax, dword [esp + 4]
cmp dword [eax], 0xfeef04bd
jne 0x482b25
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
movzx edx, cx
shr ecx, 0x10
movzx edi, ax
shr eax, 0x10
push edi
push eax
push edx
push ecx
push 0x4fb258
push 0x505e28
call dbg.ffStrbufAppendF
add esp, 0x18
test esi, esi
je 0x482b32
push esi
call sym._free
add esp, 4
add esp, 0xc
pop esi
pop edi
pop ebx
ret
Function at 0x484030
Capabilities:
Enumerate process modules

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x430
call dbg.ffDetectTerminal
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x48406f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
push edi
push 8
call sym._CreateToolhelp32Snapshot_8
mov esi, eax
test eax, eax
jne 0x484079
call ebx
cmp eax, 0x18
je 0x484050
mov edi, str.CreateToolhelp32Snapshot_TH32CS_SNAPMODULE__pid__failed
jmp 0x48421f
mov edi, str.Unable_to_find_a_GUI_program
jmp 0x48422e
mov eax, dword [0x5052b4]
test eax, eax
je 0x4840e9
mov edi, str.ffInitCom___failed
cmp byte [eax], 0
jne 0x48421f
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4841b7
sub esp, 0x24
movaps xmm0, xmmword [0x4fc440]
movups xmmword [esp + 0x10], xmm0
movaps xmm0, xmmword [0x4fc450]
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x4841c3
push dbg.CoUninitializeWrap()
call dbg.atexit
add esp, 4
mov dword [0x5052b4], 0
mov dword [esp + 8], 0x428
lea edi, [esp + 8]
push edi
push esi
call sym._Module32FirstW_8
test eax, eax
je 0x48421d
lea ebp, [esp + 0x28]
jmp 0x48411f
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push edi
push esi
call sym._Module32NextW_8
test eax, eax
je 0x48421d
push str.wbhelp64.dll
push ebp
call sym._wcscmp
add esp, 8
test eax, eax
je 0x484143
push str.wbhelp.dll
push ebp
call sym._wcscmp
add esp, 8
test eax, eax
jne 0x484110
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push dword [0x4fc538]
push 0
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x484110
mov ebx, dword [esp + 4]
mov dword [esp], 0
mov eax, dword [ebx]
mov ecx, esp
push ecx
push dword [0x4fc53c]
push ebx
call dword [eax + 0x44]
test eax, eax
js 0x48410a
mov ebp, edi
mov edi, dword [esp]
push str.WindowBlinds_Helper_DLL
push edi
call sym._wcscmp
add esp, 8
test eax, eax
je 0x4841d5
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov edi, ebp
lea ebp, [esp + 0x28]
jmp 0x484110
mov eax, str.CoInitializeEx___failed
mov dword [0x5052b4], eax
jmp 0x48421f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, str.CoInitializeSecurity___failed
mov dword [0x5052b4], eax
jmp 0x48421f
mov ebp, dword [esp + 0x444]
cmp dword [ebp], 0
je 0x4841fb
mov dword [ebp + 4], 0
mov dword [ebp], 0
push dword [ebp + 8]
call sym._free
add esp, 4
mov dword [ebp], 0
mov dword [ebp + 4], 0xc
mov dword [ebp + 8], str.WindowBlinds
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
xor edi, edi
mov eax, esi
inc eax
cmp eax, 2
jb 0x48422e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add esp, 0x430
pop esi
pop edi
pop ebx
pop ebp
ret