joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50de80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x50df0c
cmp word [esi + 0x67a], 0
je 0x50dec0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x50dee3
cmp dword [ebp - 4], 0
jbe 0x50dedf
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x50dee3
xor ebx, ebx
jmp 0x50dee5
mov bl, 1
test bl, bl
jne 0x50df2a
mov eax, dword [0x5256b4]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x50df2a
mov eax, dword [0x5256b4]
mov eax, dword [eax]
call fcn.004cc440
push 1
call sub.kernel32.dll_Sleep_1
cmp byte [esi + 0x610], 0
jne 0x50df2a
mov edx, 0xd4
mov eax, esi
call fcn.004d4dd4
test ax, ax
jne 0x50de9d
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x515920
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5159e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406cdc
mov dl, 1
mov eax, dword [0x44d7fc]
call fcn.0044f958
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5159c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0044fa40
xor ecx, ecx
mov edx, 0x5159fc
mov eax, dword [ebp - 4]
call fcn.0044fb88
test al, al
je 0x5159a7
lea ecx, [ebp - 8]
mov edx, 0x515a8c
mov eax, dword [ebp - 4]
call fcn.004505b8
lea eax, [ebp - 8]
mov edx, 0x515aa4
call fcn.00407634
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0040749c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5159cc
mov eax, dword [ebp - 4]
call fcn.0044fa10
mov eax, dword [ebp - 4]
call fcn.00405378
ret
Function at 0x51783c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x517845
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407220
mov eax, dword [ebp - 8]
call fcn.00407220
xor eax, eax
push ebp
push 0x517a55
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov edx, dword [0x525764]
mov edx, dword [edx]
call fcn.004078f8
je 0x5179f0
xor eax, eax
push ebp
push 0x5179e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.0040749c
mov edx, dword [ebp - 0x18]
mov ecx, 0x517a6c
mov eax, ebx
call fcn.005165ac
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00407488
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040749c
mov edx, dword [ebp - 0x24]
mov ecx, 0x517a6c
mov eax, ebx
call fcn.005165ac
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00407488
mov edx, dword [ebp - 0x1c]
mov eax, 0x517a88
call fcn.0041adf4
mov esi, eax
test esi, esi
jle 0x51792d
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00407960
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 0x517a98
call fcn.004076f4
cmp word [ebx + 0x37a], 0
je 0x51797c
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.0049c964
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.0040749c
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe]
push eax
push 0
lea eax, [ebp - 0x34]
call fcn.00515920
lea eax, [ebp - 0x34]
mov edx, 0x517aac
call fcn.00406f18
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0x37c]
call dword [ebx + 0x378]
cmp byte [ebp - 0xe], 0
jne 0x5179db
xor eax, eax
push ebp
push 0x5179cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004072c4
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x517ad0
mov edx, dword [ebp - 0xc]
call fcn.004076f4
mov eax, dword [ebp - 0x38]
call fcn.004072c4
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5179db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5179f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517a5c
lea eax, [ebp - 0x38]
call fcn.00407228
lea eax, [ebp - 0x34]
call fcn.00406cdc
lea eax, [ebp - 0x30]
call fcn.00407228
lea eax, [ebp - 0x2c]
call fcn.00406cdc
lea eax, [ebp - 0x28]
call fcn.00407228
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406cf4
lea eax, [ebp - 0x1c]
call fcn.00407228
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406cf4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407230
ret
Function at 0x51920c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
test byte [eax + 0x3c4], 1
je 0x519222
or edx, 0x10000000
jmp 0x519228
or edx, 0x20000000
test byte [eax + 0x3c4], 2
je 0x519239
or edx, 0x40000000
jmp 0x51923f
or edx, 0x80000000
test byte [eax + 0x3c4], 4
je 0x51924d
or edx, 1
jmp 0x519250
or edx, 1
test byte [eax + 0x3c4], 8
je 0x51925e
or edx, 2
jmp 0x519261
or edx, 2
test byte [eax + 0x3c4], 0x10
je 0x51926f
or edx, 4
jmp 0x519272
or edx, 4
test byte [eax + 0x3c4], 0x20
je 0x519280
or edx, 6
jmp 0x519283
or edx, 6
test byte [eax + 0x3c4], 0x40
je 0x519291
or edx, 8
jmp 0x519294
or edx, 8
push edx
mov eax, dword [eax + 0x2b0]
push eax
call sub.shlwapi.dll_SHAutoComplete
pop ebp
ret
Function at 0x402690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402728
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402708
xor eax, eax
push ebp
push 0x402701
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402744
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402708
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402d70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x402dd1
cmp word [0x405208], 0xd7b2
jne 0x402d99
cmp dword [0x405210], 0
jbe 0x402d99
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402df8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x402ded
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403068
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4030ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00402f6c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402584
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4030b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030d5
lea eax, [ebp - 0x10]
call fcn.00402eec
ret

Function at 0x40345c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x403424
call fcn.004032c8
push 1
push 0x403498
push 0x403498
push 0x40349c
push 0x4034cc
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
call fcn.00402dfc
call fcn.00402dfc
add byte [eax], al
add byte [eax], al
add byte [esi], ch
pop esp
inc esp
push edx
dec ecx
push esi
inc ebp
push edx
pop esp
push ebp
push ebx
inc edx
mov dh, 0xcc
rol ch, 1
ret
Function at 0x402d78
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x47c008], 0x8088405
inc edx
mov dword [ebx + 0x47c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4031d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47c024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403268
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403248
xor eax, eax
push ebp
push 0x403241
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403284
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403248
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47c024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47c024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f34
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47e04c], 0
je 0x403f95
cmp word [0x47e220], 0xd7b2
jne 0x403f5d
cmp dword [0x47e228], 0
jbe 0x403f5d
mov eax, 0x47e21c
call dword [0x47e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47c070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403fbc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47c034], 0
jne 0x403fb1
push 0
push 0x47c068
push 0x47c070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040277c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040b0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405f88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405fee
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004043a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d94
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fd8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ff5
lea eax, [ebp - 0x10]
call fcn.00404134
ret

Function at 0x408b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004045f4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408b29
test al, 0x10
jne 0x408b2d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b6a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b6d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404224
jmp 0x40b6e2
mov eax, ebx
mov edx, esi
call fcn.00404188
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b6ec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b70d
mov al, byte [esp]
jmp 0x40b70f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bd94
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc0c
mov eax, dword [0x47dbb4]
cmp byte [eax], 0
je 0x40be10
mov eax, dword [0x47d888]
call fcn.00402be4
call fcn.004028e4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408d18
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40be58
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be46
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47d80c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47e668]
call fcn.00405480
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c700
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041cc
lea eax, [ebp - 8]
call fcn.00404644
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045f4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c7c0
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045f4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c7a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c7e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c7a3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7c0
mov eax, dword [ebp - 0x10]
call fcn.0040279c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7dd
lea eax, [ebp - 8]
call fcn.00404134
ret

Function at 0x40cd5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cdc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004043a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408770
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdc7
lea eax, [ebp - 0xc]
call fcn.00404134
ret

Function at 0x41dfb4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041de0c
dec esi
jne 0x41dfd6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41f118
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47e88c
cmp dword [edi], 0
jne 0x41f194
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47e888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47c480
mov ecx, 2
call fcn.00402978
mov edx, 0x41f0f0
lea eax, [esi + 5]
call fcn.0041f110
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f110
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41f169
mov dword [0x47e888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4207f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4207fe
ret

Function at 0x422d10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x422d61
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422d48
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422d38
jmp 0x422d61
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x422d49
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ce0c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004045e4
xor eax, eax
push ebp
push 0x42cf3a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42cf0d
xor eax, eax
push ebp
push 0x42cf06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043f4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42cedb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42ceca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043f4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045f4
mov edx, ebx
pop ecx
call fcn.00402978
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ced1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47d754]
mov dl, 1
mov eax, dword [0x4074c8]
call fcn.0040bf24
call fcn.00403aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cf41
lea eax, [ebp - 4]
call fcn.00404134
ret
Function at 0x42cf48
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d0f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004047e4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42d110
call fcn.00404440
mov eax, ebx
call fcn.0041e6ac
mov edi, eax
dec edi
test edi, edi
jl 0x42d000
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e680
mov edx, dword [0x43aa14]
call fcn.004034ec
test al, al
je 0x42cffc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041e680
lea edx, [ebp - 0x14]
call fcn.00444228
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004047e4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044b4
inc esi
dec edi
jne 0x42cfae
mov al, byte [0x42d114]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42d120
mov eax, dword [ebp - 0xc]
call fcn.0040d334
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004041cc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00444228
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42d110
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00444228
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42d110
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42d110
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42d12c
call fcn.004093e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d100
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404158
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404158
lea eax, [ebp - 0x14]
call fcn.00404134
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404158
ret

Function at 0x43ebf4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43eb40
call sub.user32.dll_EnumWindows
ret