joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d605
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44d71d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d71d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00469720
mov esi, eax
test esi, esi
je 0x44d71d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44d71d
mov ecx, esi
call fcn.0044d570
cmp edi, eax
jge 0x44d71d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44d6a3
mov dword [esp + 0x34], 1
jmp 0x44d6fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44d71d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044bde0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46a0c3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a0fb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046817a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00468152
jmp 0x46a107
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46b7b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46b7f6
call fcn.0047149a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46b7f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46b7ed
xor eax, eax
jmp 0x46b7fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046b804
pop edi
pop esi
pop ebx
ret 4
Function at 0x4719ca
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4719f8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471a16
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471930
jmp 0x471a16
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471a16
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471930
test edi, edi
mov eax, edi
jne 0x471a00
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401133
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40119c
cmp dword [ebp + 0x10], 1
je 0x401174
cmp dword [ebp + 0x10], 2
je 0x401174
push 0xd
pop eax
jmp 0x40119c
mov eax, dword [ebp - 4]
test edi, edi
je 0x401196
test eax, eax
je 0x401191
test al, 1
jne 0x40116f
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x401196
jmp 0x40116f
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x40131c
Capabilities:
Check if file exists

Disassembly:
call fcn.004010c6
test eax, eax
je 0x401329
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x401368
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401368
push esi
call fcn.00409cf0
pop ecx
test eax, eax
je 0x401368
push esi
call fcn.004011a2
pop ecx
test eax, eax
jne 0x401368
push 1
call fcn.004099a0
push eax
push esi
call fcn.00409bb0
add esp, 0xc
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret

Function at 0x40136d
Capabilities:
Create process on windows

Disassembly:
push 8
push 0x41f8d8
call fcn.00409e7c
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x4013a8
push dword [esi + 0x10]
call fcn.0040131c
pop ecx
test eax, eax
je 0x4013a8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], 0xfffffffe
jmp 0x4013b1
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.00409ec1
ret

Function at 0x40192b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40197c
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x40198d
push 0xd
pop eax
jmp 0x4019ba
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401990
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x401f21
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x422780]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.004010f2
mov ebx, eax
cmp ebx, esi
je 0x401f91
lea ecx, [ebp - 0x70]
call fcn.004010d7
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a452
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x401fa9
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401f21
cmp eax, esi
jne 0x401fdb
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x401f99
lea ecx, [ebp - 0x70]
call fcn.004010d7
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00401876
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004010d7
mov eax, esi
jmp 0x401f77
Function at 0x4048f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x404922
xor ecx, ecx
jmp 0x40492e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x4049e1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
jne 0x404954
mov dword [esp + 0x10], esi
jmp 0x4049b4
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x4049ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4049a0
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x4049b4
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4049b4
push 0x41ccb0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4049b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x4049d7
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x404946
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x4049f5
mov ecx, dword [edi]
add ecx, 8
call fcn.00404770
test eax, eax
je 0x4049f5
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x401180
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4042eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
mov edi, dword [0x40502c]
push eax
push str.SOFTWAREUFSOFTWFV8.510U8SMS
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 0xff
mov esi, 1
call edi
mov ebp, dword [0x405014]
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
jne 0x401247
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push str.Port
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov dword [esp + 0x128], 0
mov eax, dword [edx - 8]
test eax, eax
je 0x401233
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREUFSOFTWFV8.510U8SMS
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4012a3
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push str.Mode
push ecx
call ebp
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40129a
push eax
call ebx
add esp, 4
mov dword [0x406b04], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x120]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x4012c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40430b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 8]
mov dword [esp + 0x114], 0
push eax
push str.SOFTWAREUFSOFTWFV8.510U8SMS
push reloc.WS2_32.dll_bind
mov dword [esp + 0x10], 0xff
call dword [0x40502c]
test eax, eax
jne 0x40138e
push 0x406b08
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.Code
push eax
call dword [0x405014]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp]
mov eax, dword [edx - 8]
test eax, eax
jne 0x401374
push str.8613800100500
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator
push 0
push 0xffffffffffffffff
push 0x406078
call fcn.004013c0
add esp, 0xc
mov eax, dword [0x406858]
push eax
call dword [0x405144]
lea ecx, [esp]
call sub.MFC42.DLL_CString::AllocSysString
mov dword [0x406858], eax
lea ecx, [esp]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x401580
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebx
push edi
push 0
push 0xffffffffffffffff
push 0x406184
mov ebx, 1
call fcn.004013c0
add esp, 0xc
push 2
push 0
push 0
call dword [0x405020]
mov edi, eax
test edi, edi
jne 0x4015bf
push ebx
push 0xffffffffffffffff
push 0x406170
call fcn.004013c0
add esp, 0xc
xor eax, eax
pop edi
pop ebx
ret
push ebp
push esi
push 0x406b08
push 0
push 0
push 0
push 0
push 0x4069ec
push 1
push 2
push 0x10
push 0x10
push str.UFSoft_SMS_Platform
push str.U8SmsSrv
push edi
call dword [0x405018]
mov ebp, dword [0x405028]
mov esi, eax
test esi, esi
jne 0x401615
push 1
push 0xffffffffffffffff
push 0x40614c
call fcn.004013c0
add esp, 0xc
xor ebx, ebx
push edi
call ebp
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
ret
push 0
push 0xffffffffffffffff
push 0x40613c
call fcn.004013c0
add esp, 0xc
push 0
push 0
push esi
call dword [0x40501c]
test eax, eax
jne 0x401648
push 1
push 0xffffffffffffffff
push 0x40612c
call fcn.004013c0
add esp, 0xc
xor ebx, ebx
push 0
push 0xffffffffffffffff
push 0x406118
call fcn.004013c0
add esp, 0xc
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
ret

Function at 0x401670
Capabilities:
Delete service

Disassembly:
sub esp, 0x1c
push ebx
push edi
push 0
push 0xffffffffffffffff
push 0x4061d4
mov edi, 1
call fcn.004013c0
add esp, 0xc
push 0x40000000
push 0
push 0
call dword [0x405020]
mov ebx, eax
test ebx, ebx
jne 0x4016b8
push edi
push 0xffffffffffffffff
push 0x406170
call fcn.004013c0
add esp, 0xc
xor eax, eax
pop edi
pop ebx
add esp, 0x1c
ret
push ebp
push esi
push 0x10000
push str.U8SmsSrv
push ebx
call dword [0x405024]
mov ebp, dword [0x405028]
mov esi, eax
test esi, esi
jne 0x4016f7
push 1
push 0xffffffffffffffff
push 0x4061c0
call fcn.004013c0
add esp, 0xc
xor edi, edi
push ebx
call ebp
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x10]
push eax
push 0x20
push esi
call dword [0x405010]
push 0x7d0
call dword [0x405044]
push esi
call dword [section..rdata]
test eax, eax
jne 0x40172e
push 1
push 0xffffffffffffffff
push 0x4061b0
call fcn.004013c0
add esp, 0xc
xor edi, edi
push 0
push 0xffffffffffffffff
push 0x40619c
call fcn.004013c0
add esp, 0xc
push esi
call ebp
push ebx
call ebp
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
add esp, 0x1c
ret
Function at 0x40bbd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46884b
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.0045d204
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40bc52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045aeda
mov eax, dword [eax]
push 0x49b1c0
push eax
call fcn.0044dba4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d48f
test bl, bl
je 0x40bc52
push 0x49b1c0
lea ecx, [esp + 0xc]
call fcn.0045d81f
push 0x49ed3c
lea ecx, [esp + 0xc]
call fcn.0045d81f
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 0x40bc8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d48f
jmp 0x40bd59
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 0x40bd12
lea edx, [esp + 0x7c]
push 0x49ed38
push edx
call fcn.0044dba4
add esp, 8
test eax, eax
je 0x40bd12
lea eax, [esp + 0x7c]
push 0x49ed34
push eax
call fcn.0044dba4
add esp, 8
test eax, eax
je 0x40bd12
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 0x40bca2
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.0045d48f
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 0x40c550
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 0x40c5b2
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 0x40c5c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4688cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a51e0]
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 0x40c6f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c626
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d48f
xor eax, eax
jmp 0x40c76f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d5cc
push esi
lea ecx, [esp + 0xc]
call fcn.0045d85b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c74d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040c550
test eax, eax
jne 0x40c74d
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 0x80000000
mov ecx, edi
call fcn.0040c550
test eax, eax
jne 0x40c74d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044ebe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c72c
lea ecx, [esp + 0x14]
push 0x49ed4c
push ecx
call fcn.0044eb60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c72c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c72f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d57c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c63e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d48f
xor eax, eax
jmp 0x40c76f
mov byte [esi], 0
push 0x49ed48
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.0045d48f
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 0x41e1e0
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 0x41e24e
cmp si, 0x69
ja 0x41e24e
add esi, 0xffd0
cmp si, 0x11
je 0x41e21e
push 0x11
call edi
test ax, ax
jge 0x41e21e
or esi, 0x2000
cmp si, 0x10
je 0x41e233
push 0x10
call edi
test ax, ax
jge 0x41e233
or esi, 0x4000
cmp si, 0x12
je 0x41e248
push 0x12
call edi
test ax, ax
jge 0x41e248
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41e25b
mov esi, 0xbd
jmp 0x41e20f
cmp si, 0x6e
jne 0x41e268
mov esi, 0xbe
jmp 0x41e20f
cmp si, 0x6f
jne 0x41e209
mov esi, 0xbf
jmp 0x41e20f

Function at 0x41f990
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b5868]
xor edx, edx
cmp eax, edx
jne 0x41f9b6
xor eax, eax
mov byte [eax + 0x4b5768], al
inc eax
cmp eax, 0x100
jl 0x41f99e
mov dword [0x4b5868], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b5768
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41fa47
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 0x41fa1a
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 0x41f9e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41fac0
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 0x41fb13
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 0x41fafa
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