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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57464a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
lea edi, [esi + 0x50]
push edi
mov dword [ebp - 4], ebx
call fcn.004acfe0
mov dword [esi], vtable.CAutoCompleteEdit.0
mov dword [esi + 0x2c], vtable.CAutoCompleteEdit.1.0
mov dword [edi], vtable.CAutoCompleteEdit.2.0
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov byte [ebp - 4], 4
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x1a8], eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 5
push ecx
mov byte [esi + 0x1ac], bl
mov dword [esi + 0x1b0], 0xffffffff
call fcn.004c8990
lea edx, [esi + 0x1cc]
push edx
mov byte [ebp - 4], 6
call fcn.004c8990
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46e800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e879
cmp dword [edi + 0x1a4], 0
lea eax, [edi + 0x1a4]
je 0x46e879
push esi
mov esi, dword [ebp + 0x10]
call fcn.00473f30
test eax, eax
jne 0x46e878
mov al, 0x80
test byte [ebp + 8], al
je 0x46e84f
cmp byte [edi + 0x1ac], 0
jne 0x46e843
push edi
call fcn.0046eec0
mov byte [edi + 0x1ac], 0
pop esi
pop ebp
ret 0xc
test byte [ebp + 0xc], al
je 0x46e878
mov esi, dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x46e878
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46e878
mov ecx, dword [edi + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 0xc
Function at 0x46f980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bfe8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
je 0x46fa17
cmp dword [edi + 0x1a0], 0
je 0x46fa17
mov eax, dword [edi + 0x1a0]
test eax, eax
jne 0x46f9c9
push 0x80004003
call fcn.0053d640
lea esi, [ebp - 0x10]
call fcn.00470c40
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x46f9fa
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
lea ecx, [ebp + 8]
push ecx
push esi
mov dword [ebp + 8], 0
call edx
mov ecx, dword [ebp + 8]
jmp 0x46f9fd
or ecx, 0xffffffff
mov edx, edi
call fcn.0046f650
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46fa17
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [edi + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46fa31
mov eax, dword [edi + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x471560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578030
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call edx
push 0
push 1
push 0
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x30]
mov eax, dword [eax]
push 0
lea ecx, [edi + 0x50]
push edx
push ecx
mov ecx, eax
call fcn.004ad400
test al, al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4715df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4715f7
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x471608
push 0x80004003
call fcn.0053d640
lea esi, [ebp - 0x10]
call fcn.00471070
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4716be
push 0
push 0x3e8
lea esi, [ebp - 0x14]
mov eax, ebx
call fcn.00471100
lea esi, [edi + 0x19c]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00473d00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x471657
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi], 0
je 0x4716be
mov eax, dword [esi]
test eax, eax
jne 0x47166c
push 0x80004003
call fcn.0053d640
push 0
push 0x3e9
lea esi, [ebp - 0x14]
call fcn.00471100
lea esi, [edi + 0x1a0]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00470480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47169f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi], 0
je 0x4716be
push 0
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x18], esp
call fcn.00473d80
lea eax, [edi + 0x50]
push eax
mov edx, edi
call fcn.004ae1e0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4716d1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4716f0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esi + 0x1b5], 0
je 0x47172a
mov eax, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1b0]
push eax
mov eax, dword [esi + 0x1a4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
ret
Function at 0x477bd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x10]
call fcn.00478360
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x10]
test edi, edi
sete al
test al, al
je 0x477c41
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x477dd2
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x1c0], eax
jne 0x477c90
cmp dword [ebx + 0x1c4], ecx
jne 0x477c90
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x477dd2
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x1bc]
test eax, eax
je 0x477cbb
test edi, edi
jne 0x477ca8
push 0x80004003
call fcn.0053d640
mov ecx, dword [edi]
mov edx, dword [ecx + 0x24]
push eax
push edi
call edx
mov dword [ebx + 0x1bc], 0
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
push eax
lea esi, [ebp - 0x24]
call fcn.004d4620
mov esi, eax
add esp, 4
test esi, esi
je 0x477dbf
push 0x64
lea ecx, [ebp + 8]
push 0x58f384
push ecx
mov ecx, esi
call fcn.004d3a00
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], 0
je 0x477d92
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push ecx
mov edx, esp
mov dword [ebp + 0xc], esp
push edx
mov edi, str.disable_resize
mov dword [ebx + 0x1c0], eax
mov dword [ebx + 0x1c4], ecx
call fcn.00422950
push ecx
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00422950
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x477d56
push 0x80004003
call fcn.0053d640
mov byte [ebp - 4], 1
call fcn.00478260
mov dword [ebx + 0x1bc], eax
mov ebx, dword [ebx + 0x1b8]
test ebx, ebx
jne 0x477d79
push 0x80004003
call fcn.0053d640
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x128]
push eax
push ebx
call edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x10]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477dbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x477dd2
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47b8f0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 1
push esi
push edi
cmp dword [0x5d3384], eax
jne 0x47b932
mov edi, ebx
mov ecx, 0x45
mov esi, 0x5d3270
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
push 0x5d3270
mov dword [0x5d3384], eax
mov dword [0x5d3270], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x47ba01
push 0x3f
push eax
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x43]
push eax
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x48]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47b9c3
movsx ecx, byte [ebp - 0x44]
lea edx, [ebp - 0x42]
sub ecx, 0x30
push edx
mov dword [0x5d3280], 2
mov dword [0x5d3274], ecx
call fcn.00543fb3
add esp, 4
mov dword [0x5d3278], eax
jmp 0x47ba01
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
shr edx, 8
movzx edx, dl
movzx ecx, al
mov dword [0x5d3278], edx
mov edx, 4
cmp edx, ecx
mov dword [0x5d3274], ecx
sbb ecx, ecx
neg ecx
inc ecx
mov dword [0x5d3280], ecx
cmp eax, 0x80000000
jae 0x47ba01
shr eax, 0x10
mov dword [0x5d327c], eax
mov ecx, 0x45
mov esi, 0x5d3270
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5d3274]
cmp eax, 6
ja 0x47ba24
jne 0x47ba62
cmp dword [0x5d3278], 2
jb 0x47ba62
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x5d3270], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ba62
push 0x5d3270
call eax
test eax, eax
jne 0x47ba62
mov ecx, 0x45
mov esi, 0x5d3270
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0053d78d
mov esp, ebp
pop ebp
ret

Function at 0x47bd30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47bd9d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x47bd8d
cmp eax, 4
jne 0x47bd9d
cmp dword [ebp - 0x110], 0x5a
jb 0x47bd9d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x47c8e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor ecx, ecx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
call fcn.0047c6b0
add esp, 4
mov eax, esi
call fcn.0047c7c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 8], edx
xor ecx, ebp
mov dword [edi + 0xc], eax
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret

Function at 0x47c960
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
push esi
cmp eax, edx
jne 0x47c98b
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
push ecx
lea esi, [ebp - 0x74]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
call fcn.0047c6b0
add esp, 4
mov eax, esi
call fcn.0047c7c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x47ca80
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x47ca9b
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x47cab5
mov eax, 1
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x47cb8a
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x47cb0a
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call fcn.0047ca30
add esp, 4
test eax, eax
je 0x47cb70
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x47cb50
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x47cb57
push esi
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47cba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x104], 0
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x47cc04
test byte [ebp - 0xf2], 0x80
jne 0x47cc04
push esi
push 1
push esi
push 0x12
call ebx
mov esi, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, eax
test esi, esi
je 0x47cc1b
push 0
push 3
push 0
push 0x12
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d78d
mov esp, ebp
pop ebp
ret

Function at 0x47cc30
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
call fcn.0047ca80
test eax, eax
jne 0x47cc44
mov ecx, esi
pop esi
jmp fcn.0047cba0
pop esi
ret
Function at 0x47ce20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00557a10
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2010], eax
cmp esi, ebx
je 0x47ceef
push 0x1fff
lea ecx, [ebp - 0x2003]
push ebx
push ecx
mov byte [ebp - 0x2004], bl
call fcn.00545940
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
push esi
mov dword [ebp - 0x2014], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x47ceef
cmp eax, 0x1fff
ja 0x47ceef
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47cede
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push eax
push 0x58c9b0
lea ecx, [ebp - 0x2004]
push ecx
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47cede
mov eax, dword [ebp - 0x2008]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2010]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov bl, 1
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop ebx
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x47cff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5687c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
lea ebx, [esi + 0x4c]
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x18], 1
mov dword [esp + 0x28], 1
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x28], 2
test edi, edi
jne 0x47d05e
xor eax, eax
jmp 0x47d072
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d063
sub eax, edx
sar eax, 1
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004253c0
lea ecx, [esp + 0x10]
push ecx
lea edi, [esi + 0x2c]
call fcn.0047e150
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47d0b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
cmp dword [esi + 4], 0
mov dword [esi + 0x10], 0
jne 0x47d0f2
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 4], 0
jne 0x47d0ef
push 0
push 0
push esi
push 0x47e5d0
push 0
push 0
call fcn.0053e671
add esp, 0x18
mov dword [esi + 4], eax
push edi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47d10d
push 0
push 1
push eax
call edi
mov dword [esi + 0x10], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x47d122
push 0
push 1
push esi
call edi
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e4b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x22
cmp ax, word [esi]
jne 0x47e55b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e4d6
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x47e55b
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.00545940
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e507
sub eax, edx
sar eax, 1
add eax, 0xfffffffe
push eax
lea edx, [esi + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0053f3a2
add esp, 0xc
lea eax, [ebp - 0x20c]
call fcn.00423290
test eax, eax
jne 0x47e585
mov ecx, fcn.0047d410
test ecx, ecx
je 0x47e54b
push esi
call fcn.0047d410
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
mov eax, esi
call fcn.00423290
test eax, eax
jne 0x47e585
mov edx, fcn.0047d410
test edx, edx
je 0x47e54b
push esi
call fcn.0047d410
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
push 5
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x47e730
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x11c
lea eax, [ebp - 0x530]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x534], esi
call fcn.00545940
push 0x11c
push 0
push ebx
mov dword [ebp - 0x530], 0x11c
call fcn.00545940
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
jne 0x47e7a5
call fcn.0047e630
test eax, eax
je 0x47e7a5
mov dword [esi + 4], 0
jmp 0x47e892
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e7c9
lea ecx, [ebp - 0x530]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
push edi
lea edi, [eax + edx*2]
mov eax, dword [ebp - 0x52c]
mov edx, dword [ebp - 0x528]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x47e7fd
mov ecx, 0x47
lea esi, [ebp - 0x530]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00545940
add esp, 0xc
lea esi, [ebp - 0x414]
call fcn.0047e680
test eax, eax
jl 0x47e884
lea edx, [ebp - 0x568]
push edx
mov eax, esi
call fcn.0047e8b0
test eax, eax
je 0x47e884
mov ecx, dword [ebp - 0x558]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x47e875
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x554]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x534]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x47e891
mov edx, dword [ebp - 0x534]
mov dword [edx + 4], 0
jmp 0x47e891
mov eax, dword [ebp - 0x534]
mov dword [eax + 4], 0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 4