joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431b90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467848
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x431bc9
inc eax
mov dword [esi + 0x10], eax
jmp 0x431cdc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x431bdd
mov eax, 0xffffffc7
jmp 0x431cde
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x431bee
cmp dword [esi + 8], eax
jne 0x431bdd
cmp dword [esi + 8], eax
jne 0x431c07
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431c07
mov eax, 0xffffffc7
jmp 0x431cde
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x431c1b
push eax
mov ecx, ebx
call fcn.004313c0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403ca0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x431c4c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403cc0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430b30
test eax, eax
mov dword [esp + 0x38], eax
je 0x431c7f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537348
call fcn.00403ea0
mov eax, dword [esp + 0x38]
jmp 0x431cde
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004319f0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431cc3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431a10
mov esi, eax
test esi, esi
jne 0x431cf3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004319f0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431c95
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537348
call fcn.00403ea0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537348
call fcn.00403ea0
mov eax, esi
jmp 0x431cde

Function at 0x434e20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x434e80
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x434e80
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x434e80
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x434e80
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x434ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43add0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00460ef2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043a770
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00460e20
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045d6e4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045d6e4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045d68c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045d68c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460f64
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43af50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00460ef2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043a770
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00460e20
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b014
cmp dword [esp + 0x40], 1
jne 0x43b012
cmp ecx, eax
jge 0x43b014
mov eax, ecx
cmp eax, 0xc8
jge 0x43b020
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043add0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460f64
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43b7a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467f03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045bb04
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046119a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004626b6
test eax, eax
je 0x43b8bc
mov ecx, dword [esp + 0x3c]
call fcn.004611c7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b880
push edi
mov ecx, esi
call fcn.0045e82b
mov ecx, esi
call fcn.0043ba20
cmp dword [esp + 0x38], 1
jne 0x43b8b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045e966
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43e2e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e313
push esi
call fcn.004413d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e30c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e399
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e382
mov eax, dword [esi + 8]
test eax, eax
je 0x43e337
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e37e
cmp eax, 2
je 0x43e382
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e32a
cmp eax, 3
je 0x43e35d
cmp eax, 1
jne 0x43e32a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43e32a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e32a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e3c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e3a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e3c0
add esp, 4
pop esi
ret

Function at 0x45c8fa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45c932
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045a9ae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045a986
jmp 0x45c93e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45dfe8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45e02a
call fcn.00463aa1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45e02a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e021
xor eax, eax
jmp 0x45e032
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e038
pop edi
pop esi
pop ebx
ret 4

Function at 0x463fd1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x463fff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46401d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00463f37
jmp 0x46401d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46401d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00463f37
test edi, edi
mov eax, edi
jne 0x464007
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404654
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406a0c
test esi, esi
jne 0x40468c
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406b48
jmp 0x4046aa
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404538
mov edi, eax
test esi, esi
je 0x4046aa
cmp dword [ebx], 0
je 0x4046aa
dec esi
jmp 0x404693
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405f18
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x556054], 0
je 0x405f79
cmp word [0x556330], 0xd7b2
jne 0x405f41
cmp dword [0x556338], 0
jbe 0x405f41
mov eax, 0x55632c
call dword [0x556348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x405fa4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x54d030], 0
jne 0x405f95
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408ae4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408c4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406a0c
cmp si, word [0x54d7dc]
jb 0x408b7e
cmp si, word [0x54d9dc]
ja 0x408b7e
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408b7e
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x54d7dc]
jae 0x408b58
mov edi, ebx
dec edi
jmp 0x408b79
cmp si, word [ebx*8 + 0x54d7dc]
jbe 0x408b68
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408b79
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x54d7e0]
call fcn.004089f4
jmp 0x408b7e
cmp edi, dword [ebp - 0xc]
jae 0x408b42
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408c2d
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408c2d
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406c0c
push dword [ebp - 0x164]
push 0x408c68
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406c0c
push dword [ebp - 0x168]
push 0x408c78
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406c0c
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c52
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406a04
ret
Function at 0x44d318
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
or esp, dword [eax]
test al, 0x2c
fsub dword [esi]
add eax, 0x17d8fd4a
div byte [eax - 0x36]
add eax, dword [ecx - 0x34]
push edi
mov esp, dword [ecx - 0x28f080f]
cmp dword [ebx + 0x4fcd0f8b], esi
pop es
enter 0xffffffffffffab76, 0xffffffffffffffcb
imul ebp, ecx, 0x7e
dec ebx
enter 0x1731, 0xffffffffffffffb6
fistp qword [ebp - 0x25359376]
dec ebx
pop eax
imul ebx, edx, 0xf1bb8cd
mov al, byte [0x6b07a8bb]
mov al, byte [0x852fbd3b]
invalid

Function at 0x44f014
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
int3
insd dword es:[edi], dx
dec ecx
loopne 0x44eee3
mov bh, 0x8b
iretd
cmp ebx, dword [0xba153bce]
adc esp, dword [edx]
or eax, 0xa250be66
xor dword [ebx + 6], ebp
xor ebp, dword [esi]
out dx, eax
push ebp
bound edx, qword [eax]
inc edi
cmp dword [ebx - 0x1e], esp
mov byte [0x9aafbf8d], al
cmp edx, ebp
mov edi, 0xd53b9aaf
salc
mov ds, word [ecx - 0x136f6165]
xor byte [eax], 0xa9
dec ebx
jb 0x44ef84
mov bl, 0x6b
jge 0x44f02c
cmp al, 0x79
cmp byte [edi - 0x4b], cl
sub dh, cl
loope 0x44ef58
fisttp word [ebx]
invalid
test dword [eax - 0x2da7e1dd], 0x53075007
sub ah, bl
and ebx, esp
invalid
jae 0x44efcc
lea edi, [esi]
nop
scasb al, byte es:[edi]
or cl, byte [eax - 0x21]
dec esi
or ah, byte [esi + 0xd]
jg 0x44f019
out dx, eax
mov dword [0x7e28491a], eax
and byte [eax + 0x71], 0xc0
lodsd eax, dword [esi]
dec esi
mov al, byte [0xd12e8dd4]
cmp dword [0x2363df15], 0xffffff9e
adc eax, 0x9e2363df
adc eax, 0x9e2363df
jb 0x44efa1
stosb byte es:[edi], al
push 0x35
sti
stc
ret
loope 0x44eff1
mov dh, 0x47
and ah, byte [edx - 0x54320598]
and eax, 0x7b23a81a
invalid

Function at 0x4874d0
Capabilities:
Encode data using xor

Disassembly:
cwde
ror byte [ebp - 0x4cfa28bf], cl
lea esp, [ebx]
aas
adc bh, ah
adc esi, ebx
sahf
sbb eax, esi
adc eax, 0x278829f3
jge 0x487563
mov esp, 0x708e2f80
mov ch, 0x88
jg 0x487518
lidt [edi + 0x5be6bdff]
mov ebp, 0x99013441
or byte [edx], cl
cmpsd dword [esi], dword es:[edi]
mov ecx, 0xd1aa7521
cli
and dword [ebp - 0x56], esi
sar edx, 1
xchg ecx, eax
mov byte [0x2cf79a12], al
mov bl, 0x37
xchg ecx, eax
xor edi, dword [ecx + 0x49e178c4]
mov dh, 0xdf
xor bl, al
jge 0x487501
fdivr dword [ebp - 0x1a]
insd dword es:[edi], dx
sbb esi, dword [eax - 0xf7fd4ef]
sub al, 0x71
add al, 0x45
sub esi, ecx
add ebx, ecx
arpl word [eax + 0x3a], bx
in al, 0x5a
mov byte [edi + 0x47], cl
xchg edi, eax
pop ss
outsb dx, byte [esi]
sub al, 0x61
adc eax, 0x11fd34ed
or dword gs:[ecx], edx
pop ecx
mov ch, 0xae
push eax
xchg dh, dh
in al, 0x16
or ebx, edx
push cs
mov byte [0xf7eeb7bc], al
mov edi, 0x8878b9a
pop eax
mov eax, 0x1c666c21
hlt
push edx
out dx, eax
dec edx
int3
Function at 0x4b7558
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x6f
imul esp, ebp, 0xbd03b6eb
jnp 0x4b7451
in al, dx
mov ebp, dword [ecx + 0x28]
sub ecx, ebx
cmc
retf 0x37a7
outsb dx, byte [esi]
je 0x4b7497
push edi
aam 0xf0
out dx, eax
salc
lodsb al, byte [esi]
push 0x62
fld dword [edx + eax*8 - 0x24]
fdiv qword [ebp - 0x1d]
push ebp
and bl, ch
xchg edx, eax
jae 0x4b75d2
sbb dword [ebp + 0x1435344e], ebx
popfd
je 0x4b74f2
js 0x4b75e4
cld
xchg ecx, eax
sbb byte [eax + 0x6f90d5fd], ah
push es
pop edi
xor ch, dh
sub dword [edi + 0x16], edx
mov dl, 0xc4
xor dword [edi - 0x58fa0a76], edx
leave
lcall 0xc0df, 0x4858c66c
mov dh, ch
add eax, 0x6c9ac9a7
invalid

Function at 0x4e2e00
Capabilities:
Encode data using xor

Disassembly:
xor esi, dword [ebp - 0x6c391637]
rol dword [edx + 0x48941511], 1
dec ecx
xor al, 0xf9
invalid

Function at 0x53896c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x538982
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x53897b
mov eax, esp
mov esi, edx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 0xc], edx
test esi, esi
jl 0x5389e1
mov edx, esi
inc edx
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [ebx]
call fcn.0044cc90
mov ecx, eax
mov eax, ecx
and eax, 0xff
mov edi, esi
cdq
idiv edi
add dword [ebp - 4], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv edi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv edi
add dword [ebp - 0xc], eax
add ebx, 4
dec dword [ebp - 0x10]
jne 0x5389a1
movzx eax, byte [ebp - 4]
movzx edx, byte [ebp - 8]
shl edx, 8
or eax, edx
movzx edx, byte [ebp - 0xc]
shl edx, 0x10
or eax, edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x486570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51efeb
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.00513c0e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4865f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00511b32
mov eax, dword [eax]
push 0x5da268
push eax
call fcn.00503764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00513e99
test bl, bl
je 0x4865f2
push 0x5da268
lea ecx, [esp + 0xc]
call fcn.00514229
push 0x5dddd8
lea ecx, [esp + 0xc]
call fcn.00514229
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 0x48662e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00513e99
jmp 0x4866f9
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 0x4866b2
lea edx, [esp + 0x7c]
push 0x5dddd4
push edx
call fcn.00503764
add esp, 8
test eax, eax
je 0x4866b2
lea eax, [esp + 0x7c]
push 0x5dddd0
push eax
call fcn.00503764
add esp, 8
test eax, eax
je 0x4866b2
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 0x486642
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.00513e99
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 0x486ef0
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 0x486f52
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 0x486f60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51f06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5eaa88]
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 0x487098
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x486fc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00513e99
xor eax, eax
jmp 0x48710f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00513fd6
push esi
lea ecx, [esp + 0xc]
call fcn.00514265
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5dde10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4870ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00486ef0
test eax, eax
jne 0x4870ed
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.00486ef0
test eax, eax
jne 0x4870ed
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00504930
mov esi, eax
add esp, 8
test esi, esi
jne 0x4870cc
lea ecx, [esp + 0x14]
push 0x5ddde8
push ecx
call fcn.005048b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4870cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4870cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00513f86
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x486fde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00513e99
xor eax, eax
jmp 0x48710f
mov byte [esi], 0
push 0x5ddde4
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.00513e99
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