joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43672e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x4365a1
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x436a70
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x24
mov eax, 0x4470ad
call fcn.0043fe4c
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x30], esi
mov byte [esi], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040221e
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x436ac2
lea ecx, [ebp - 0x2c]
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
call fcn.00402286
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040221e
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x8003
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x436afe
lea ecx, [ebp - 0x2c]
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
call fcn.00402286
mov eax, esi
call fcn.0043fd9e
ret
Function at 0x436b44
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4470dd
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x467034]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x467034]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
push esi
add ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push esi
push esi
push esi
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 0x400
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
push str.Failed_CryptHashData
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0040221e
and dword [esp + 0x448], 0
push 0
push esi
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x436bf6
lea ecx, [esp + 0x1c]
call fcn.00432e5f
or dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402286
xor esi, esi
cmp dword [edi + 0xc], esi
jg 0x436ba5
jl 0x436c15
cmp dword [edi + 8], esi
ja 0x436ba5
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0043ca20
mov esp, ebp
pop ebp
ret 4

Function at 0x436ddb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x467034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x436e35
cmp dword [ebp - 0x108], 2
jne 0x436e35
cmp dword [ebp - 0x114], 6
jb 0x436e35
mov al, 1
jmp 0x436e37
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ca20
leave
ret
Function at 0x437bec
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x44718d
call fcn.0043fe16
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0x10]
and dword [ebp - 4], 0
push 8
pop esi
cmp dword [edi + 0x14], esi
jb 0x437c10
mov eax, dword [edi]
jmp 0x437c12
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437c77
cmp dword [edi + 0x14], esi
jb 0x437c26
mov eax, dword [edi]
jmp 0x437c28
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437c77
lea ecx, [ebp - 0x18]
call fcn.00432e86
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x14], esi
jb 0x437c52
mov edi, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x14]
push edi
push str.Failed_to_delete_fileName__S_:__S
push eax
call fcn.00402357
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00402409
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], esi
jb 0x437c83
mov eax, dword [edi]
jmp 0x437c85
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437cea
cmp dword [edi + 0x14], esi
jb 0x437c99
mov eax, dword [edi]
jmp 0x437c9b
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437cea
lea ecx, [ebp - 0x14]
call fcn.00432e86
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x14], esi
jb 0x437cc5
mov edi, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x18]
push edi
push str.Failed_to_delete_path__S_:__S
push eax
call fcn.00402357
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00402409
xor edx, edx
cmp byte [ebx + 4], dl
push ecx
sete dl
push 0
push str.SoftwareRobloxRegETags
lea ecx, [ebp - 0x28]
add edx, 0x80000001
call fcn.00432fc2
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x437d15
mov eax, dword [eax]
push 1
push 0x449158
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e437
cmp dword [ebp - 0x28], 0
je 0x437d34
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043fd7b
ret 0xc
Function at 0x4387f7
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447502
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x183c
call fcn.0043fd50
mov eax, dword [0x467034]
xor eax, esp
mov dword [esp + 0x1838], eax
push ebx
push esi
push edi
mov eax, dword [0x467034]
xor eax, esp
push eax
lea eax, [esp + 0x1850]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x24]
push eax
push 0x1000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, dword [esp + 0x24]
xor ebx, ebx
and dword [esp + 0x20], ebx
xor esi, esi
shr edi, 2
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
and dword [esp + 0x1858], ebx
test edi, edi
je 0x438957
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x28], esi
push 0x400
lea eax, [esp + 0x1048]
push eax
push esi
mov byte [esp + 0x1864], 1
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x43892a
xor eax, eax
and dword [esp + 0x3c], eax
mov word [esp + 0x1842], ax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
call fcn.0040c531
lea eax, [ebx + 0x5c]
mov byte [esp + 0x1858], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4388fe
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040c5b0
cmp eax, 0xffffffff
je 0x43891d
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.0041aa8f
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.0040253d
mov byte [esp + 0x1858], 0
test esi, esi
je 0x43893d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
dec edi
jne 0x438887
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, esi
mov byte [eax + 0x58], 0
cmp esi, ebx
je 0x43897f
mov esi, eax
push dword [edi]
mov ecx, esi
call fcn.00438558
add edi, 4
cmp edi, ebx
jne 0x438967
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov bl, byte [eax + 0x58]
test esi, esi
je 0x43898e
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1838]
xor ecx, esp
call fcn.0043ca20
mov esp, ebp
pop ebp
ret
Function at 0x439235
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x439293
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x439293
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439263
shr eax, 4
and eax, 1
jmp 0x439295
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x4392af
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, ebx
call fcn.00439235
push edi
test eax, eax
jne 0x43929c
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x439293
xor eax, eax
inc eax
jmp 0x439295
Function at 0x4392b4
Capabilities:
Timestomp file

Disassembly:
push 0x4c
mov eax, 0x447664
call fcn.0043fde0
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_couldnt_open__S
push eax
mov dword [ebp - 4], ebx
call fcn.0040f796
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x439301
mov ecx, eax
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.0040f796
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x439342
mov ecx, ebx
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.0040f796
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
shr ecx, 0x10
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
jne 0x439383
mov ecx, ebx
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.0040f796
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x4393c0
mov ecx, ebx
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.0040f796
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x439402
mov ecx, edi
call fcn.00432e5f
lea ecx, [ebp - 0x2c]
call fcn.00402286
test esi, esi
je 0x439415
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043fd8f
ret 8

Function at 0x4394c4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43f790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4401a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467034]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x4670ec]
cmp eax, 0xffffffff
jne 0x43f7c9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x43f7d6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x43f83d
jmp 0x43f80c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x43f87a
test edi, edi
jne 0x43f880
push 0x43ebb0
push 0x46fadc
call fcn.0043e940
mov eax, dword [0x4670ec]
add esp, 8
cmp eax, 0xffffffff
je 0x43f83d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x43f866
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43f866
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x43f8b8
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x43f8a9
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43f880
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x43f800
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x43f917
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x43f8fc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x43f917
jmp 0x43f8f0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x43f8f0
jmp 0x43f917
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43f915
cmp esi, dword [eax + 8]
jne 0x43f915
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43f905
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x43f92b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x43f92b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.0042d1af
cmp esi, ebx
jne 0x43f8d0
mov ebp, dword [esp + 0x14]
jmp 0x43f800
Function at 0x43f950
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43f9c0
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x43f97a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x43f99e
cmp eax, 0xffffffff
je 0x43f99e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x41a2b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x480f8b
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.004756af
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a332
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004730a0
mov eax, dword [eax]
push 0x8d4220
push eax
call fcn.00465394
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047593a
test bl, bl
je 0x41a332
push 0x8d4220
lea ecx, [esp + 0xc]
call fcn.00475cca
push 0x8d7d9c
lea ecx, [esp + 0xc]
call fcn.00475cca
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 0x41a36e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047593a
jmp 0x41a439
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 0x41a3f2
lea edx, [esp + 0x7c]
push 0x8d7d98
push edx
call fcn.00465394
add esp, 8
test eax, eax
je 0x41a3f2
lea eax, [esp + 0x7c]
push 0x8d7d94
push eax
call fcn.00465394
add esp, 8
test eax, eax
je 0x41a3f2
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 0x41a382
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.0047593a
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 0x41ac30
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 0x41ac92
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 0x41aca0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48100b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8e0348]
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 0x41add8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ad06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047593a
xor eax, eax
jmp 0x41ae4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475a77
push esi
lea ecx, [esp + 0xc]
call fcn.00475d06
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 0x41ae2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041ac30
test eax, eax
jne 0x41ae2d
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 closesocket
mov ecx, edi
call fcn.0041ac30
test eax, eax
jne 0x41ae2d
lea eax, [esp + 0x14]
push 0x8d7db0
push eax
call fcn.004663d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ae0c
lea ecx, [esp + 0x14]
push 0x8d7dac
push ecx
call fcn.00466350
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ae0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41ae0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00475a27
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ad1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047593a
xor eax, eax
jmp 0x41ae4f
mov byte [esi], 0
push 0x8d7da8
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.0047593a
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 0x42c640
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 0x42c6ae
cmp si, 0x69
ja 0x42c6ae
add esi, 0xffd0
cmp si, 0x11
je 0x42c67e
push 0x11
call edi
test ax, ax
jge 0x42c67e
or esi, 0x2000
cmp si, 0x10
je 0x42c693
push 0x10
call edi
test ax, ax
jge 0x42c693
or esi, 0x4000
cmp si, 0x12
je 0x42c6a8
push 0x12
call edi
test ax, ax
jge 0x42c6a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c6bb
mov esi, 0xbd
jmp 0x42c66f
cmp si, 0x6e
jne 0x42c6c8
mov esi, 0xbe
jmp 0x42c66f
cmp si, 0x6f
jne 0x42c669
mov esi, 0xbf
jmp 0x42c66f

Function at 0x42de70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8f0b80]
xor edx, edx
cmp eax, edx
jne 0x42de96
xor eax, eax
mov byte [eax + 0x8f0a80], al
inc eax
cmp eax, 0x100
jl 0x42de7e
mov dword [0x8f0b80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8f0a80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42df27
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 0x42defa
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 0x42dec8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42dfa0
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 0x42dff3
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 0x42dfda
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