joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b80
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov eax, dword [0x4144d0]
cmp dword [eax], 2
je 0x412b9d
mov byte [ebp - 1], 1
jmp 0x412d6d
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
push 0x414328
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x412d6d
xor eax, eax
push ebp
push 0x412d66
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x412bff
push 0x412d78
push 0x412d90
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x412c28
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x412d4f
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
jmp 0x412d4f
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x412c79
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
je 0x412c5a
call fcn.00402ef8
jmp 0x412d6d
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x412c79
call fcn.00402ef8
jmp 0x412d6d
xor eax, eax
push ebp
push 0x412d48
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x412cbc
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
je 0x412cbc
call fcn.00402ef8
call fcn.00402ef8
jmp 0x412d6d
mov eax, dword [ebp - 0x14]
call fcn.00402590
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x412cee
call fcn.00402ef8
call fcn.00402ef8
jmp 0x412d6d
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x412d29
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x412d25
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x412d25
mov byte [ebp - 1], 1
jmp 0x412d29
inc ebx
dec esi
jne 0x412cfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d4f
mov eax, dword [ebp - 0x18]
call fcn.004025a8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d6d
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412dac
Capabilities:
Hide graphical window

Disassembly:
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x412dbd
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x412dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x412dc9
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403798
mov eax, dword [ebp - 8]
call fcn.00403798
xor eax, eax
push ebp
push 0x412f45
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004068f8
mov eax, dword [ebp - 8]
call fcn.00406920
mov eax, dword [ebp - 8]
call fcn.004068e8
test al, al
jne 0x412f2a
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004067b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x412f2a
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040686c
sub eax, 0x14
mov dword [ebp - 0x18], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040686c
xor ecx, ecx
push ebp
push 0x412f23
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 8]
call fcn.004067f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0x8000
jle 0x412e99
lea edx, [ebp - 0x8018]
mov ecx, 0x8000
mov eax, dword [ebp - 0x14]
call fcn.00406814
mov ebx, eax
jmp 0x412eac
lea edx, [ebp - 0x8018]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00406814
mov ebx, eax
mov eax, ebx
dec eax
test eax, eax
jl 0x412ec3
inc eax
lea edx, [ebp - 0x8018]
mov cl, byte [ebp - 9]
xor byte [edx], cl
inc edx
dec eax
jne 0x412eba
mov eax, ebx
dec eax
test eax, eax
jl 0x412edc
inc eax
xor esi, esi
lea edx, [ebp - 0x8018]
mov ecx, esi
xor byte [edx], cl
inc esi
inc edx
dec eax
jne 0x412ed3
lea edx, [ebp - 0x8018]
mov ecx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00406840
sub dword [ebp - 0x18], ebx
test ebx, ebx
je 0x412f01
cmp dword [ebp - 0x18], 0
jle 0x412f01
cmp ebx, eax
je 0x412e79
mov eax, dword [ebp - 0x10]
call fcn.00406878
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412f2a
mov eax, dword [ebp - 0x14]
call fcn.00406878
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412f4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004033ac
ret
Function at 0x412f58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x412f61
mov eax, dword [ebp - 4]
add esp, 0xfffffff0
push ebx
push esi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403798
mov eax, dword [ebp - 8]
call fcn.00403798
xor eax, eax
push ebp
push 0x4130b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004068f8
mov eax, dword [ebp - 8]
call fcn.00406920
mov eax, dword [ebp - 8]
call fcn.004068e8
test al, al
jne 0x413095
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004067b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x413095
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040686c
xor ebx, ebx
push ebp
push 0x41308e
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov eax, dword [ebp - 8]
call fcn.004067f0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x8014]
mov ecx, 0x8000
mov eax, dword [ebp - 0x14]
call fcn.00406814
mov ecx, eax
test ecx, ecx
jle 0x41306c
mov eax, ecx
dec eax
test eax, eax
jl 0x41302c
inc eax
lea edx, [ebp - 0x8014]
mov bl, byte [ebp - 9]
xor byte [edx], bl
inc edx
dec eax
jne 0x413023
mov eax, ecx
dec eax
test eax, eax
jl 0x413045
inc eax
xor esi, esi
lea edx, [ebp - 0x8014]
mov ebx, esi
xor byte [edx], bl
inc esi
inc edx
dec eax
jne 0x41303c
lea edx, [ebp - 0x8014]
mov eax, dword [ebp - 0x10]
call fcn.00406840
lea edx, [ebp - 0x8014]
mov ecx, 0x8000
mov eax, dword [ebp - 0x14]
call fcn.00406814
mov ecx, eax
test ecx, ecx
jg 0x413015
mov eax, dword [ebp - 0x10]
call fcn.00406878
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413095
mov eax, dword [ebp - 0x14]
call fcn.00406878
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4130b7
lea eax, [ebp - 8]
mov edx, 2
call fcn.004033ac
ret
Function at 0x4031f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048c0
test esi, esi
jne 0x40322b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004049b0
jmp 0x40324c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403090
mov dword [esp], eax
test esi, esi
je 0x40324c
cmp dword [ebx], 0
je 0x40324c
dec esi
jmp 0x403233
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40391c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4d2020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4039b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403994
xor eax, eax
push ebp
push 0x40398d
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 0x4039d0
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 0x403994
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4d2020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4d2020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046b8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x404719
cmp word [0x4e5220], 0xd7b2
jne 0x4046e1
cmp dword [0x4e5228], 0
jbe 0x4046e1
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4d206c
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 0x404740
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d2030], 0
jne 0x404735
push 0
push 0x4d2064
push 0x4d206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404874
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.00402dc8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40483c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406aa0
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 0x406b06
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.00404b30
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004034e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406af0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b0d
lea eax, [ebp - 0x10]
call fcn.004048c0
ret

Function at 0x40ff10
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 0x40ff49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049b0
jmp 0x40ff52
mov eax, ebx
mov edx, esi
call fcn.00404914
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ff5c
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 0x40ff7d
mov al, byte [esp]
jmp 0x40ff7f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410760
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4105c8
mov eax, dword [0x4e4580]
cmp byte [eax], 0
je 0x4107dc
mov eax, dword [0x4e4318]
call fcn.00403310
call fcn.00402fbc
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.0040bdcc
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 0x410824
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x410812
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e42b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e5668]
call fcn.00405edc
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 0x4110c8
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 0x41119e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404958
lea eax, [ebp - 8]
call fcn.00404dd0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d80
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x411188
mov eax, ebx
call fcn.00402dc8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x411181
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.00404d80
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x41116b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4111b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41116b
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 0x411188
mov eax, dword [ebp - 0x10]
call fcn.00402df8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4111a5
lea eax, [ebp - 8]
call fcn.004048c0
ret

Function at 0x4117c4
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 0x411828
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.00404b30
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b7fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41182f
lea eax, [ebp - 0xc]
call fcn.004048c0
ret

Function at 0x427830
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42787d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00427688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427895
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42789c
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.00427688
dec esi
jne 0x4278be
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x428a18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4e7ab4
cmp dword [esi], 0
jne 0x428abe
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4e7ab0]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4d2d24
mov ecx, 2
call fcn.00403050
mov edx, 0x4289f0
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00428a10
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00428a10
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x428a85
mov eax, dword [ebp - 8]
mov dword [0x4e7ab0], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42a044
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 0x42a04a
ret

Function at 0x42c584
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 0x42c5d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c5bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c5ac
jmp 0x42c5d5
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 0x42c5bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e544
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d70
xor eax, eax
push ebp
push 0x43e674
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43e647
xor eax, eax
push ebp
push 0x43e640
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b80
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43e615
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43e604
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b80
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d80
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00403050
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 0x43e60b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e423c]
mov dl, 1
mov eax, dword [0x40a3e4]
call fcn.004108e4
call fcn.00404250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e67b
lea eax, [ebp - 4]
call fcn.004048c0
ret
Function at 0x43e684
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 0x43e835
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f70
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43e84c
call fcn.00404bcc
mov eax, ebx
call fcn.00427f94
mov edi, eax
dec edi
test edi, edi
jl 0x43e73c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427f68
mov edx, dword [0x437364]
call fcn.00403c48
test al, al
je 0x43e738
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427f68
lea edx, [ebp - 0x14]
call fcn.00445460
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f70
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c40
inc esi
dec edi
jne 0x43e6ea
mov al, byte [0x43e850]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43e85c
mov eax, dword [ebp - 0xc]
call fcn.00412104
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404958
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.00445460
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43e84c
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.00445460
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43e84c
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, 0x43e84c
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, 0x43e868
call fcn.0040c4ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e83c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004048e4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004048e4
lea eax, [ebp - 0x14]
call fcn.004048c0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048e4
ret

Function at 0x43fe10
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 0x43fd5c
call sub.user32.dll_EnumWindows
ret