joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x31496cf8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
mov ecx, 0x11fc1944
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x48e320
Capabilities:
Encode data using xor

Disassembly:
xor ah, ch
out 0x57, eax
cmp dl, 0xbc
xor eax, 0xc8629bcc
leave
inc esi
sub eax, 0xf63dbee5
mov edx, 0x1dd0031
mov ah, 0xdc
jge 0x48e237
pop eax
scasd eax, dword es:[edi]
or bl, dl
lds edx, [ecx + edi*2]
mov esi, 0x37a72e7
mov byte [edi], ch
das
invalid
push ds
dec eax
in al, 0x96
mov ebp, 0xb83e168d
int1
push ds
dec edi
adc byte [ebx - 0x1698dc96], cl
jnp 0x48e29f
pop ebx
mov byte [0x4b4e1808], al
or byte [eax], bl
dec esi
dec ebx
lds edx, [eax]
outsd dx, dword [esi]
dec ecx
fcom st(2)
sub dword [eax], 0xffffffef
sub bh, ch
or esp, dword [esi + ecx*4]
pushal
xchg ecx, eax
jbe 0x48e20d
jne 0x48e1e4
retf
mov al, byte [0x52353010]
add edx, dword [ebp - 0x1c7abbb2]
dec esi
inc esp
test ebx, esp
inc ecx
lcall 0x7345, 0xefc70832
xchg edx, eax
rcr byte [edx - 0x1a6f671d], 1
sbb dl, ah
push eax
pop esi
jae 0x48e258
mov al, byte [0x3149e7cd]
push es
int 0xe7
dec ecx
xor dword [esi], eax
xlatb
xchg ebx, eax
or edi, ecx
dec edx
xchg ecx, eax
jb 0x48e24d
mov ebx, edi
mov esi, 0x76d61cf0
jbe 0x48e298
rcl dword [ebx - 5]
imul byte [edx - 0x47cd47af]
retf
stosb byte es:[edi], al
push ecx
mov eax, 0x19cbb832
add dword [ecx + ecx*4 - 0x50], edx
and bl, byte [ecx + 0x2e]
mov ch, 0xec
daa
xor byte [eax - 0x30], 0xf6
ret 0x6def
jo 0x48e2b7
test dl, 0xef
insd dword es:[edi], dx
xlatb
mov dh, byte [ecx + ebp*2]
fcom qword [esi - 0x73]
or ebx, dword [esi + 0x65be0ba0]
lds esp, [0xef223587]
sahf
loopne 0x48e2d3
pushal
stc
sub eax, 0x88eed617
sub edi, dword [eax + 0x79]
invalid
xchg esi, eax
or dword [esi - 0x58], esi
mov eax, dword [0x982bd645]
clc
fisub dword [ecx + 2]
daa
push esp
xchg esp, eax
daa
stc
push edi
dec ecx
adc byte [edx + 0x12], dh
fdivr dword [ebx + 0x722afa27]
pop esi
aad 8
push esi
pop ds
mov ebp, 0xbb725e3b
xor byte [esi], dh
cmp ecx, dword [ebp - 0x516f11d5]
xchg edx, eax
stosd dword es:[edi], eax
mov esi, 0xaa675fcf
loop 0x48e349
sbb byte [eax - 0x76765af4], 0xb8
jns 0x48e2e5
invalid
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x854
push ebx
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
push 0x400
push eax
push 0
mov dword [esp + 0x28], 0x44
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
test ecx, ecx
jle 0x401056
mov al, byte [esp + ecx + 0x60]
mov byte [esp + ecx + 0x60], 0
cmp al, 0x5c
je 0x401056
dec ecx
test ecx, ecx
jg 0x401044
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
test ecx, ecx
jle 0x40107b
cmp byte [esp + ecx + 0x60], 0x5c
je 0x40107b
mov byte [esp + ecx + 0x60], 0
dec ecx
test ecx, ecx
jg 0x40106a
or ecx, 0xffffffff
mov edi, str.FSCOMMAND_
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x460]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x460]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.CF_Client_Installer.exe]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x64]
push ecx
push edx
push 0
push 0x4000020
push 0
push 0
push 0
lea eax, [esp + 0x480]
push 0x4054d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x854
ret 0x10
Function at 0x401d85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405128
cmp edx, dword [eax]
je 0x401da7
add eax, 8
inc ecx
cmp eax, 0x4051b8
jl 0x401d98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405128]
jne 0x401ed5
mov eax, dword [0x4054dc]
cmp eax, 1
je 0x401eaf
test eax, eax
jne 0x401dd8
cmp dword [0x40507c], 1
je 0x401eaf
cmp edx, 0xfc
je 0x401ed5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401e0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004024a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401e52
lea eax, [ebp - 0x1a4]
push eax
call fcn.004024a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404378
push edi
call fcn.00403130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402340
lea eax, [ebp - 0xa0]
push 0x404358
push eax
call fcn.00402340
push dword [esi + 0x40512c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402340
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040309e
add esp, 0x2c
pop edi
jmp 0x401ed5
lea eax, [ebp + 8]
lea esi, [esi + 0x40512c]
push 0
push eax
push dword [esi]
call fcn.004024a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402914
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402951
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402971
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404244
add esp, 0x210
pop esi
pop ebx
ret

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

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

Function at 0x4030f4
Capabilities:
Query or enumerate registry value

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

Function at 0x403e58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a704c], 0
je 0x403eb9
cmp word [0x4a7220], 0xd7b2
jne 0x403e81
cmp dword [0x4a7228], 0
jbe 0x403e81
mov eax, 0x4a721c
call dword [0x4a7238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a1070
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 0x403ee0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a1034], 0
jne 0x403ed5
push 0
push 0x4a1068
push 0x4a1070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e88
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 0x405eee
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.00404244
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cb8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ed8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ef5
lea eax, [ebp - 0x10]
call fcn.00403fd4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404494
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408b49
test al, 0x10
jne 0x408b4d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408c94
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404494
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x408ca8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404494
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408cca
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb84
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 0x40bbbd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040c4
jmp 0x40bbc6
mov eax, ebx
mov edx, esi
call fcn.00404028
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbd0
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 0x40bbf1
mov al, byte [esp]
jmp 0x40bbf3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c278
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0f0
mov eax, dword [0x4a6d40]
cmp byte [eax], 0
je 0x40c2f4
mov eax, dword [0x4a6adc]
call fcn.00402b08
call fcn.004028a0
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.004092a4
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 0x40c33c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c32a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a6a74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a7668]
call fcn.0040539c
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 0x40cbd8
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 0x40ccae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040406c
lea eax, [ebp - 8]
call fcn.004044e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404494
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc98
mov eax, ebx
call fcn.00402738
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc91
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.00404494
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc7b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ccc0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc7b
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 0x40cc98
mov eax, dword [ebp - 0x10]
call fcn.00402758
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccb5
lea eax, [ebp - 8]
call fcn.00403fd4
ret

Function at 0x40d314
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 0x40d378
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.00404244
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408790
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d37f
lea eax, [ebp - 0xc]
call fcn.00403fd4
ret
Function at 0x41e8cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a7888
cmp dword [edi], 0
jne 0x41e948
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a7884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a1400
mov ecx, 2
call fcn.004029ac
mov edx, 0x41e8a4
lea eax, [esi + 5]
call fcn.0041e8c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e8c4
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 0x41e91d
mov dword [0x4a7884], 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 0x41ff24
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 0x41ff2a
ret

Function at 0x4224f4
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 0x422545
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42252c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42251c
jmp 0x422545
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 0x42252d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c538
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.00404484
xor eax, eax
push ebp
push 0x42c666
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c639
xor eax, eax
push ebp
push 0x42c632
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404294
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c607
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 0x42c5f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404294
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404494
mov edx, ebx
pop ecx
call fcn.004029ac
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 0x42c5fd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a69f8]
mov dl, 1
mov eax, dword [0x407444]
call fcn.0040c3fc
call fcn.00403a10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c66d
lea eax, [ebp - 4]
call fcn.00403fd4
ret
Function at 0x42c674
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 0x42c825
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404684
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42c83c
call fcn.004042e0
mov eax, ebx
call fcn.0041de4c
mov edi, eax
dec edi
test edi, edi
jl 0x42c72c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041de20
mov edx, dword [0x43f21c]
call fcn.00403410
test al, al
je 0x42c728
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041de20
lea edx, [ebp - 0x14]
call fcn.0044b9f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404684
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404354
inc esi
dec edi
jne 0x42c6da
mov al, byte [0x42c840]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42c84c
mov eax, dword [ebp - 0xc]
call fcn.0040d8ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040406c
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.0044b9f0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42c83c
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.0044b9f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42c83c
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, 0x42c83c
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, 0x42c858
call fcn.00409994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c82c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403ff8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403ff8
lea eax, [ebp - 0x14]
call fcn.00403fd4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403ff8
ret