joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403270
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x420600], ebx
je 0x4032a8
xor eax, eax
cmp dword [0x4205f4], ebx
pop ebx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a151
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00411290
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edx, edx
cmp dword [ebp - 0x88], 2
push str.USER32
sete dl
mov dword [0x420604], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x403399
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419de4
push esi
call edi
mov dword [0x4205e4], eax
cmp eax, ebx
je 0x403399
push str.MonitorFromWindow
push esi
call edi
mov dword [0x4205e8], eax
cmp eax, ebx
je 0x403399
push str.MonitorFromRect
push esi
call edi
mov dword [0x4205ec], eax
cmp eax, ebx
je 0x403399
push str.MonitorFromPoint
push esi
call edi
mov dword [0x4205f0], eax
cmp eax, ebx
je 0x403399
push str.EnumDisplayMonitors
push esi
call edi
mov dword [0x4205f8], eax
cmp eax, ebx
je 0x403399
push str.GetMonitorInfoA
push esi
call edi
mov dword [0x4205f4], eax
cmp eax, ebx
je 0x403399
push str.EnumDisplayDevicesA
push esi
call edi
mov dword [0x4205fc], eax
cmp eax, ebx
je 0x403399
pop edi
mov eax, 1
pop esi
mov dword [0x420600], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a151
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x4205e4], ebx
mov dword [0x4205e8], ebx
mov dword [0x4205ec], ebx
mov dword [0x4205f0], ebx
mov dword [0x4205f4], ebx
mov dword [0x4205f8], ebx
mov dword [0x4205fc], ebx
xor ecx, ebp
mov dword [0x420600], 1
xor eax, eax
pop ebx
call fcn.0040a151
mov esp, ebp
pop ebp
ret
Function at 0x403810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.00415130
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x2014]
push edx
mov esi, ecx
push 0x20019
xor ecx, ecx
push ecx
push esi
push 0x80000002
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2010], 0x1000
mov dword [ebp - 0x2018], 1
mov word [ebp - 0x200c], cx
call edi
test eax, eax
je 0x40389c
lea eax, [ebp - 0x2014]
push eax
push 0x20119
push 0
push esi
push 0x80000002
call edi
test eax, eax
je 0x40389c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a151
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2010]
push ecx
mov ecx, dword [ebp - 0x2014]
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2018]
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x2014]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2018]
cmp eax, 1
je 0x4038e0
cmp eax, 2
jne 0x40388a
test esi, esi
jne 0x40388a
mov eax, dword [ebp - 0x2010]
cmp eax, 0xfd2
jbe 0x4038fc
mov eax, 0xfd2
mov dword [ebp - 0x2010], eax
mov ecx, dword [ebp - 0x201c]
push eax
lea eax, [ebp - 0x200c]
push eax
push ecx
call fcn.0040a494
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0040a151
mov esp, ebp
pop ebp
ret

Function at 0x403930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, 2
test esi, esi
je 0x403945
mov eax, 0x102
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403990
mov eax, 0xf003f
test esi, esi
je 0x40396a
mov eax, 0xf013f
push 0
lea edx, [ebp - 4]
push edx
push 0
push eax
push 0
push 0
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403990
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403995
mov ecx, dword [ebp + 8]
sub eax, edx
mov edx, dword [ebp - 4]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x102
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4044cc
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4044cc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404500
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREVB_AudioMultiCable
push 0x80000002
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x404542
lea ecx, [ebp - 4]
push ecx
push str.SOFTWAREVB_AudioMultiCable
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x404542
xor esi, esi
jmp 0x40456c
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
test esi, esi
sete dl
mov esi, edx
lea eax, [ebp - 4]
push eax
push str.SYSTEMCurrentControlSetServicesVB_MultiCable
push 0x80000002
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4045a3
lea ecx, [ebp - 4]
push ecx
push str.SYSTEMCurrentControlSetServicesVB_MultiCable
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4045a3
xor eax, eax
jmp 0x4045ce
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
sete al
or esi, eax
cmp dword [ebp + 0xc], 1
jne 0x4045fb
push ebx
push edi
mov eax, str.SOFTWAREVB_AudioMultiCable
call fcn.00404480
or esi, eax
push ebx
push edi
mov eax, str.SYSTEMCurrentControlSetServicesVB_MultiCable
call fcn.00404480
add esp, 0x10
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409fc0
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x41d004]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push str.VB_Audio_Voicemeeter_VAIO___Control_Panel__Mutex_12783DE4_C2B5_4698_9D26_EA7E355B50E9
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x40a04f
mov edx, ebx
call fcn.00404610
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a09c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x41e1d8]
push 0x41abe8
push 0x409ed0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x420a60]
test esi, esi
js 0x40a069
test eax, eax
je 0x40a04f
push 0
add esi, 0x400
push esi
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0040a151
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
je 0x40a082
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x420a60]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0040a151
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.00402c20
add esp, 4
push esi
call fcn.004046b0
add esp, 4
push str.3.3.1.6
push 0x41abe8
lea ecx, [esp + 0x30]
push str._s__Version__s_
push ecx
call fcn.0040a4f6
lea edx, [esp + 0x38]
push edx
mov eax, esi
call fcn.00409de0
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
add esp, 0x14
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
je 0x40a123
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea ecx, [esp + 0xc]
push ecx
call ebx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x40a100
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004031a0
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a151
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a151
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d004]
jne 0x40a15b
repz ret
jmp fcn.0040a89a
Function at 0x410f1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c5b5
and dword [ebp - 0x14], 0
cmp dword [0x420058], 0
mov dword [ebp - 0x18], eax
jne 0x410fce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411076
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x411076
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420058], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42005c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420060], eax
call edi
push eax
call esi
mov dword [0x420068], eax
test eax, eax
je 0x410fce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420064], eax
mov eax, dword [0x420064]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411027
cmp dword [0x420068], ecx
je 0x411027
push eax
call esi
push dword [0x420068]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411027
test ebx, ebx
je 0x411027
call edi
test eax, eax
je 0x41101e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41101e
test byte [ebp - 8], 1
jne 0x411027
or dword [ebp + 0x10], 0x200000
jmp 0x41105a
mov eax, dword [0x42005c]
cmp eax, dword [ebp - 0x18]
je 0x41105a
push eax
call esi
test eax, eax
je 0x41105a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41105a
mov eax, dword [0x420060]
cmp eax, dword [ebp - 0x18]
je 0x41105a
push eax
call esi
test eax, eax
je 0x41105a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420058]
call esi
test eax, eax
je 0x411076
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411078
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a151
leave
ret
Function at 0x405d07
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ca1c], 0
push esi
jne 0x405d3e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d18
mov dword [ecx*4 + 0x42ca18], eax
inc ecx
cmp ecx, 0x100
jl 0x405d13
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d6f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ca18]
xor eax, esi
inc ecx
dec edx
jne 0x405d51
pop edi
not eax
pop esi
ret 0xc
Function at 0x408d60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d3a8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c6465
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408de2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c3e7a
mov eax, dword [eax]
push 0x5e7d1c
push eax
call fcn.004b4ca4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c66f0
test bl, bl
je 0x408de2
push 0x5e7d1c
lea ecx, [esp + 0xc]
call fcn.004c6acc
push 0x5e7d28
lea ecx, [esp + 0xc]
call fcn.004c6acc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x408e1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c66f0
jmp 0x408ee9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x408ea2
lea edx, [esp + 0x7c]
push 0x5e7d24
push edx
call fcn.004b4ca4
add esp, 8
test eax, eax
je 0x408ea2
lea eax, [esp + 0x7c]
push 0x5e7d20
push eax
call fcn.004b4ca4
add esp, 8
test eax, eax
je 0x408ea2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408e32
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c66f0
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4096f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409752
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409760
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d3b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6032a8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409898
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4097c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c66f0
xor eax, eax
jmp 0x40990f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c6879
push esi
lea ecx, [esp + 0xc]
call fcn.004c6b08
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5e7d5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4098ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004096f0
test eax, eax
jne 0x4098ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004096f0
test eax, eax
jne 0x4098ed
lea eax, [esp + 0x14]
push 0x5e7d38
push eax
call fcn.004b5dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4098cc
lea ecx, [esp + 0x14]
push 0x5e7d34
push ecx
call fcn.004b5d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4098cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4098cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c6829
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4097de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c66f0
xor eax, eax
jmp 0x40990f
mov byte [esi], 0
push 0x5e7d30
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c66f0
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41a480
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41a4ee
cmp si, 0x69
ja 0x41a4ee
add esi, 0xffd0
cmp si, 0x11
je 0x41a4be
push 0x11
call edi
test ax, ax
jge 0x41a4be
or esi, 0x2000
cmp si, 0x10
je 0x41a4d3
push 0x10
call edi
test ax, ax
jge 0x41a4d3
or esi, 0x4000
cmp si, 0x12
je 0x41a4e8
push 0x12
call edi
test ax, ax
jge 0x41a4e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a4fb
mov esi, 0xbd
jmp 0x41a4af
cmp si, 0x6e
jne 0x41a508
mov esi, 0xbe
jmp 0x41a4af
cmp si, 0x6f
jne 0x41a4a9
mov esi, 0xbf
jmp 0x41a4af

Function at 0x41bd90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x614c00]
xor edx, edx
cmp eax, edx
jne 0x41bdb6
xor eax, eax
mov byte [eax + 0x614b00], al
inc eax
cmp eax, 0x100
jl 0x41bd9e
mov dword [0x614c00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x614b00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41be47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41be1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41bde8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41bf13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41befa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e400
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d5c38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00428c40
test eax, eax
je 0x42e508
lea ecx, [esp + 0xc]
call fcn.00402c60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00428c40
mov ecx, eax
call fcn.00426330
test eax, eax
je 0x42e4ef
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42e4ef
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42e4ef
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402e60
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42e4d1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42e4ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x615058]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x5acb58
call fcn.00402e60
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42e560
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00428c40
test eax, eax
je 0x42e64f
mov ecx, edi
call fcn.00428c40
mov ecx, eax
call fcn.004261e0
test eax, eax
jne 0x42e64f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42e64f
mov eax, dword [0x615058]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42e5c2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00428c40
mov ecx, eax
call fcn.00426410
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42e64f
cmp ebx, eax
jne 0x42e64f
cmp dword [esp + 0x10], eax
jne 0x42e635
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc