joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1314c6c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.131448dc
mov eax, dword [ebp - 8]
call fcn.131448dc
mov eax, dword [ebp + 8]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314c77c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.131448ec
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x1314c759
mov eax, dword [ebp + 8]
call fcn.131446ec
inc eax
push eax
mov eax, dword [ebp + 8]
call fcn.131448ec
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.131448ec
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314c783
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
lea eax, [ebp + 8]
call fcn.1314446c
ret
Function at 0x1314d314
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.13146c88
add esp, 0x18
pop ebx
ret

Function at 0x1314d33c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push 0
push 0
push 0
push 0
push 0x1314d3e4
call sub.wininet.dll_InternetOpenA
mov dword [esp], eax
cmp dword [esp], 0
je 0x1314d3d7
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.131448ec
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x1314d3c1
lea eax, [esp + 8]
push eax
push ebp
push edi
mov eax, dword [esp + 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x1314d3b5
mov eax, dword [esp + 4]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x1314d3d7
mov eax, dword [esp + 4]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x1314d3cc
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x1314d3d7
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
mov bl, 1
mov eax, ebx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1314eabc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314eb4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
mov eax, dword [ebp - 4]
call fcn.131446ec
mov esi, eax
inc esi
push esi
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov ebx, eax
push ebx
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.131448ec
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.13142a9c
call sub.user32.dll_EmptyClipboard
push ebx
push 1
call sub.user32.dll_SetClipboardData
push ebx
call sub.kernel32.dll_GlobalUnlock
push ebx
call sub.kernel32.dll_GlobalFree
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314eb52
lea eax, [ebp - 4]
call fcn.1314446c
ret

Function at 0x1314eb58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314ebff
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x1314ebe2
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
call fcn.131448ec
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314ebe9
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x1314ecf8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.131448dc
mov eax, dword [ebp - 8]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314ede2
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x1314ed34
mov byte [ebx], 0
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.131448ec
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x1314edc7
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.131448ec
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x1314ed77
cmp dword [ebp - 0x10], 1
je 0x1314ed82
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x1314edc7
mov ecx, dword [ebp - 0x14]
dec ecx
mov eax, esi
xor edx, edx
call fcn.1314455c
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.13144944
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.131448ec
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test ebx, ebx
je 0x1314edbe
test eax, eax
sete al
mov byte [ebx], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314ede9
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
ret
Function at 0x4243d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x708989
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x3f4]
test eax, eax
mov edi, dword [esp + 0x38]
je 0x424413
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push edi
push esi
push 0x5c3
call edx
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00424380
push 0xffffffffffffffff
mov ecx, eax
mov dword [esp + 0x34], 0
call dword [0x72a5b4]
push eax
lea ecx, [esi + 0x404]
call fcn.0045c030
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [0x72a5ac]
push edi
mov ecx, esi
call fcn.00423f50
mov ecx, esi
call fcn.00423520
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x460390
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x70ba88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0045e170
lea edi, [esi + 0x408]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.KWndTxtPic.0
call fcn.004171f0
xor eax, eax
mov dword [edi + 0x134], eax
mov dword [edi + 0x138], eax
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], eax
lea eax, [esi + 0x568]
push 0x64
push ebx
push eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
call fcn.0069517a
push edi
mov dword [esi + 0x560], ebx
mov dword [esi + 0x564], ebx
mov dword [esi + 0x55c], ebx
call fcn.00469b50
mov eax, 1
mov byte [esi + 0x424], al
mov dword [esi + 0x428], eax
add esp, 0x10
mov byte [esi + 0x425], bl
mov dword [esi + 0x558], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4b7530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x710c11
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable.KInlinePicSink.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x500330
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x712199
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x78b624]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x34], 0
push str.SELECT__FROM_Win32_Process
lea ecx, [ebp - 0x30]
call dword [0x72a59c]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x5003b6
mov eax, dword [ebp + 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x5003b6
push str._WHERE_Description__
lea ecx, [ebp - 0x30]
call dword [0x72a5a4]
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x30]
call dword [0x72a5a4]
push 0x72ba64
lea ecx, [ebp - 0x30]
call dword [0x72a5a4]
cmp dword [ebp + 0xc], 0
jne 0x5003c8
mov dword [ebp - 0x34], 1
jmp 0x5004d4
xor eax, eax
jne 0x5003b6
lea ecx, [ebp - 0x30]
call dword [0x72a5b4]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042a720
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 1
push 0x744980
lea ecx, [ebp - 0x3c]
call fcn.0042a720
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x50042e
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
jmp 0x500438
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x60]
cmp dword [edx], 0
je 0x500455
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov dword [ebp - 0x94], eax
jmp 0x50045f
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x30
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x50049f
mov ecx, dword [ebp - 0x3c]
call fcn.0042d4e0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x5004b8
mov ecx, dword [ebp - 0x38]
call fcn.0042d4e0
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x10], 0
jge 0x5004d4
mov edx, 1
test edx, edx
je 0x5004d0
mov dword [ebp - 0x34], 2
jmp 0x5004d4
xor eax, eax
jne 0x5004be
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [0x72a5ac]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0069516a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x69cb42
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, dword [edi]
push esi
mov esi, ecx
and ecx, 3
shr esi, 2
je 0x69cb5c
lea ecx, [ecx]
xor dword [eax], edx
sub esi, 1
add eax, 4
test esi, esi
ja 0x69cb50
test ecx, ecx
pop esi
jbe 0x69cb70
xor byte [eax], dl
sub ecx, 1
add eax, 1
shr edx, 8
test ecx, ecx
ja 0x69cb61
mov eax, dword [edi]
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, 0x8088405
mov dword [edi], ecx
mov eax, 1
ret

Function at 0x6a0d50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x71d1b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.006a09c0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x13d4440
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x75b97b
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0069f190
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x6a9420
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov eax, ecx
and esi, 3
shr ecx, 2
jmp 0x6a9439
test ecx, ecx
jbe 0x6a9453
lea ecx, [ecx]
sub ecx, 1
lea eax, [eax + ecx + 0x2e62e266]
xor dword [edx], eax
add edx, 4
test ecx, ecx
ja 0x6a9440
xor eax, esi
test esi, esi
jbe 0x6a9474
lea esp, [esp]
mov cl, al
and cl, 0xaf
xor byte [edx], cl
sub esi, 1
add edx, 1
shr eax, 8
test esi, esi
ja 0x6a9460
pop esi
ret
Function at 0x6a9510
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, 0x10
xor ebx, ebx
jmp 0x6a9524
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.006a94e0
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call fcn.006a94e0
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [edx]
push eax
call fcn.006a94e0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
push edx
mov dword [esp + 0x20], eax
call fcn.006a94e0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
push ecx
call fcn.006a94e0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
push eax
call fcn.006a94e0
add esp, 0x18
mov dword [esp + 0x1c], eax
mov ecx, edi
shr ecx, 5
add ecx, dword [esp + 0x14]
mov edx, edi
shl edx, 4
add edx, dword [esp + 0x10]
sub ebx, 0x61c88647
xor ecx, edx
lea eax, [edi + ebx]
xor ecx, eax
add esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [esp + 0x1c]
mov edx, esi
shl edx, 4
add edx, dword [esp + 0x18]
lea eax, [esi + ebx]
xor ecx, edx
xor ecx, eax
sub ebp, 1
add edi, ecx
test ebp, ebp
ja 0x6a9583
push esi
call fcn.006a94e0
mov esi, dword [esp + 0x30]
push edi
mov dword [esi], eax
call fcn.006a94e0
add esp, 8
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x41f6f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1d8b
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.0049684e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f772
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00494590
mov eax, dword [eax]
push 0x53ed14
push eax
call fcn.004862b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00496ad9
test bl, bl
je 0x41f772
push 0x53ed14
lea ecx, [esp + 0xc]
call fcn.00496e69
push 0x53ed20
lea ecx, [esp + 0xc]
call fcn.00496e69
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 0x41f7ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00496ad9
jmp 0x41f879
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 0x41f832
lea edx, [esp + 0x7c]
push 0x53ed1c
push edx
call fcn.004862b4
add esp, 8
test eax, eax
je 0x41f832
lea eax, [esp + 0x7c]
push 0x53ed18
push eax
call fcn.004862b4
add esp, 8
test eax, eax
je 0x41f832
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 0x41f7c2
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.00496ad9
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 0x420090
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 0x4200f2
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 0x420100
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57e958]
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 0x420238
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420166
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496ad9
xor eax, eax
jmp 0x4202af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00496c16
push esi
lea ecx, [esp + 0xc]
call fcn.00496ea5
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 0x42028d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420090
test eax, eax
jne 0x42028d
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.00420090
test eax, eax
jne 0x42028d
lea eax, [esp + 0x14]
push 0x53ed30
push eax
call fcn.00487330
mov esi, eax
add esp, 8
test esi, esi
jne 0x42026c
lea ecx, [esp + 0x14]
push 0x53ed2c
push ecx
call fcn.004872b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42026c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42026f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496bc6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42017e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496ad9
xor eax, eax
jmp 0x4202af
mov byte [esi], 0
push 0x53ed28
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.00496ad9
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 0x4325c0
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 0x43262e
cmp si, 0x69
ja 0x43262e
add esi, 0xffd0
cmp si, 0x11
je 0x4325fe
push 0x11
call edi
test ax, ax
jge 0x4325fe
or esi, 0x2000
cmp si, 0x10
je 0x432613
push 0x10
call edi
test ax, ax
jge 0x432613
or esi, 0x4000
cmp si, 0x12
je 0x432628
push 0x12
call edi
test ax, ax
jge 0x432628
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43263b
mov esi, 0xbd
jmp 0x4325ef
cmp si, 0x6e
jne 0x432648
mov esi, 0xbe
jmp 0x4325ef
cmp si, 0x6f
jne 0x4325e9
mov esi, 0xbf
jmp 0x4325ef

Function at 0x433f80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58f1e0]
xor edx, edx
cmp eax, edx
jne 0x433fa6
xor eax, eax
mov byte [eax + 0x58f0e0], al
inc eax
cmp eax, 0x100
jl 0x433f8e
mov dword [0x58f1e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58f0e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x434037
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 0x43400a
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 0x433fd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4340b0
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 0x434103
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 0x4340ea
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