joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466e10
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x466e32
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x466e46
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x466e5a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x466fed
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x466fbe
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x466ebc
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x466f26
mov eax, dword [esp + 0x14]
push eax
call fcn.0046f457
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046f36e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x466fd3
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x466fd3
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x466ff4
jmp 0x466eac
push ecx
push str.Illegal_character__c_in_input._n
call fcn.00470b7e
add esp, 8
push 1
call fcn.0047011d
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x468650
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4686f3
test eax, eax
jbe 0x4686f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4686f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46869e
xor esi, esi
jmp 0x4686a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4686cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0046bfc0
add esi, eax
push esi
mov ebx, esi
call fcn.0046bfc0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4686b0
pop ebp
test edi, edi
pop edi
jne 0x4686f3
test ebx, ebx
je 0x4686f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046f270
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x468835
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46894d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46894d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00480fe2
mov esi, eax
test esi, esi
je 0x46894d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46894d
mov ecx, esi
call fcn.004687a0
cmp edi, eax
jge 0x46894d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4688d3
mov dword [esp + 0x34], 1
jmp 0x46892e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46894d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00467cc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x481986
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4819be
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.0047fa3d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047fa15
jmp 0x4819ca
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x483078
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 0x4830ba
call fcn.00488b73
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4830ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4830b1
xor eax, eax
jmp 0x4830c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004830c8
pop edi
pop esi
pop ebx
ret 4

Function at 0x4890a3
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 0x4890d1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4890ef
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489009
jmp 0x4890ef
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4890ef
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00489009
test edi, edi
mov eax, edi
jne 0x4890d9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x64a4bb
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x64a6f6
movzx esi, byte [eax + 0xe]
xor edx, esi
sub di, 0xbc30
bsr bp, cx
xchg bl, bh
lea esp, [esp + 4]
jmp 0x64a4c0

Function at 0x887a99
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x88202e
call fcn.00882033
movzx ebx, word [eax + 0x3c]
jmp 0x887baa
push word [esp + 9]
pushal
pop word [esp + 0x1d]
mov word [esp + 0xc], di
jmp 0x887b9b
cmp word [eax], 0x5a4d
jmp 0x887f7f
mov dword [esp + 0x6c], ebp
push esp
push word [esp + 3]
call fcn.00887b80
add ebx, eax
cmp word [ebx], 0x4550
je 0x881f56
jne 0x887f85
mov edx, 0x28d9be28
retf 0x74c5
je 0x886225
sub eax, 0x10000
jmp 0x887b6d

Function at 0x887ac9
Capabilities:
Parse pe header

Disassembly:
call fcn.00886444
pop dword [esp]
mov dword [esp], ebp
jmp 0x887b46
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
jmp 0x887b5b
push word [esp + 5]
mov dword [esp + 5], ecx
push dword [esp + 8]
mov word [esp + 0xa], bx
jmp 0x887b0f
mov dword [esp], ecx
pop word [esp]
mov word [esp], di
mov byte [esp], ah
push esp
push dword [esp + 4]
jmp 0x887b2c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x887bc9
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x88643f

Function at 0x887b80
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
lea esp, [esp + 6]
mov byte [esp], ch
lea esp, [esp + 1]
mov dword [esp + 0x68], esi
call fcn.00887ae4
push word [esp + 5]
lea esp, [esp + 7]
push word [esp + 3]
jmp 0x887afb

Function at 0x40100b
Capabilities:
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x4010ad
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x40102e
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011b8
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401048
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011b8
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x401134
mov word [ebx], 0x5c
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011b8
mov dword [ebp - 0x108], eax
push 0x401023
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4011ad
push 0x3e8
call eax
test eax, eax
je 0x4011ad
push eax
push 0x40
push 0x3000
push 0x10000
push 0
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
je 0x40119a
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x4010a7]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40108c]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40104d]
push 0x10
push 0x4010a7
push eax
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4161f7
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 0x416239
call fcn.0041ad55
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x416239
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x416230
xor eax, eax
jmp 0x416241
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00416247
pop edi
pop esi
pop ebx
ret 4

Function at 0x417e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41dcac
call fcn.00409108
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041ad55
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x417e7f
call fcn.0041ad55
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417e8d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x417e9b
or eax, 0xffffffff
jmp 0x417f83
mov ecx, esi
call fcn.00417db6
mov dword [ebp - 0x14], eax
call fcn.0041483f
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x417ed2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x417ed2
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004147f3
push dword [ebp - 0x14]
call fcn.00414376
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00417b4e
cmp eax, edi
je 0x417f45
test byte [esi + 0x24], 0x10
je 0x417f13
push 4
mov ecx, esi
pop ebx
call fcn.00413bca
test ah, 1
je 0x417f0b
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00416392
cmp dword [esi + 0x1c], edi
je 0x417f45
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00413cb0
jmp 0x417f45
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x417f59
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x417f72
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x417f72
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00417df0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41a8ce
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 0x41a8fc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41a91a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041a834
jmp 0x41a91a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41a91a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041a834
test edi, edi
mov eax, edi
jne 0x41a904
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x446b6f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x446b98
jb 0x446bbd
and al, 1
je 0x446b98
push 0
pop eax
int 0x24
adc byte [esi - 0x18], dl
cmc
aas
invalid
push ebx
push edi
mov ebp, dword [esi - 0x387470dc]
invalid

Function at 0x4501c7
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ecx, dword [esi - 0x7d]
in al, dx
inc eax
push ebx
push esi
push edi
push 0x40
je 0x45022a
lea eax, [ebp - 0x6d]
push 0x36
push eax
call fcn.004731a0
xor eax, dword [ebp + ebp*4 - 0x3c]
or al, 0x39
dec ebp
adc byte [esi + 0x1b], bh
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub esi, dword [edx - 0x558254c5]
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
cmp ebp, dword [ebx + 0x448daa7d]
or eax, 0x7148ac0
xor byte [ecx], ch
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x4501f1
mov ebx, dword [ebp + 8]
outsb dx, byte [esi]
call 0x4e44ff65
push esp
dec edx
shl byte fs:[esi + ebp*8 + 0x4a], 0xdc
invalid
dec ebp
adc byte [esi + 0x1b], bh
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x57]
sub eax, dword [0xb774ce3b]
cmp ecx, esi
je 0x4501f1
lea eax, [ebp + ecx - 0x40]
mov bh, dh
pop es
xor byte [eax], dl
xlatb
cmp ecx, dword [ebp + 0x10]
jl 0x450236
not byte [ebx + 0x2d]
push edx
call fcn.0044ffc9
push esi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0044fff4
push esi
lea eax, [ebp - 0x42]
push 0
push eax
call fcn.004731a0
adc dword [ebx + 0x5b5ebcb6], 0xffffff88
ret
Function at 0x45f181
Capabilities:
Encode data using xor

Disassembly:
inc ebx
add cl, al
push ecx
and al, byte [eax]
in al, dx
add ah, ch
push ebx
inc ebx
add byte [ebx - 0x48ffbcad], ch
push ecx
inc ebx
mov ebx, dword [eax]
push ecx
xchg ecx, eax
add byte [esi], bl
popal
inc ebx
mov dh, 0x29
push ecx
inc ebx
add dl, ch
mov esp, 0x51d96743
inc ebx
add byte [ecx + 0x51], cl
cmp eax, 0x43515e00
pop esi
push ecx
inc ebx
add byte [ebp + 0x51], ah
xor eax, dword [eax]
xor al, 2
inc ebx
add byte [ebp + 0xa004351], ch
lodsd eax, dword [esi]
push ecx
inc ebx
add byte [edx], cl
push edx
inc ebx
add byte [0xecc143ed], bl
push ebx
inc ebx
add byte [0xecba4311], dl
push ebx
inc ebx
add byte [ebx + edx*2 + 0x52280043], al
inc ebx
add byte [esi - 1], dl
push esi
invalid
je 0x45f0cd
adc al, 0x8b
je 0x45f0c8
or al, 0xff
je 0x45f14e
adc al, 0xec
inc esi
pushal
push eax
push esi
jp 0x45f0f2
std
inc dword [ebx - 0x417cf33c]
sbb edi, dword [esi + esi*4]
add byte [ebp + esi*2 - 0xcc56c3], al
inc edi
xor dh, al
mov dword [esi + 0x3c08], edi
call fcn.0045b118
and dword [esi + 0xcb3c18], 0
add byte [eax], al
mov edi, 0xa683ffff
sbb byte [ebx + ecx*8], bh
add byte [eax], al
push esi
mov dword [esi - 0x1dff6544], edi
popfd
enter 0xffffffffffffae47, 0x24
cmp dword [esi + 0xa63c], 2
add byte [eax], al
add bl, byte [ecx + 0x5f]
inc edi
scasb al, byte es:[edi]
and al, 0x83
mov esi, 0xa63c
add byte [eax], al
add bl, byte [ecx + 0x5f]
je 0x45f0fe
and esi, eax
call fcn.0045c757
and dword [esi + 0xc4c008], 0xffffff8b
and eax, 0x55555ef6
mov ebp, esp
mov esp, 0x7539f633
adc byte [esi + 0x73], bh
mov eax, dword [ebp + 0x39]
add eax, esi
mov cl, byte [eax]
cmp cl, 0xa
jne 0x45f1a1
push 0xffffffffffffffd5
push 0x6890a0
jmp 0x45f1a9
test cl, 0x60
je 0x45f1b6
push 1
push eax
mov bl, 1
push dword [ebp + 8]
call fcn.0045f156
add esp, 0x10
inc esi
std
jne 0x45f1ca
jl 0x45f161
xor eax, eax
pop esi
pop ebp
ret
jns 0x45f243
and byte [ebx], dh
out 0x22, eax
pause
test dword [edi + 0x6a000001], ecx
or al, 0x6a
add eax, ebp
rcl byte [eax + 0x75]
dec dword [ebx + 0x407736f0]
pop ecx
mov dword [esi], ebx
mov dword [esi - 0x77], ebx
cmp dword [edi + 8], ebx
pop ecx
je 0x45f22b
mov eax, dword [edi - 0x21]
cmp esp, ebx
je 0x45f22b
push eax
mov dl, 2
cmp eax, 0x6b8b0001
push ebx
test dword [esi], eax
add al, 0xff
jne 0x45f20f
call 0x45f181
mov eax, dword [edi + 4]
add esp, 0x10
cmp byte [edi], 0x18
mov cl, byte [edx]
scasd eax, dword es:[edi]
adc bh, byte [esi + 1]
push 0x6545f93c
push dword [ebp - 0x65]
inc ebp
pop ecx
invalid
mov eax, dword [edi + 0xc]
test eax, eax
or al, 0x33
push eax
call fcn.00473200
mov ebx, eax
push ebx
push dword [edi + 0x29]
push dword [ebp + 8]
call 0x45f181
mov eax, dword [edi - 0x1c]
add esp, 0x10
cmp dh, 3
dec dword [edx]
invalid
invalid
Function at 0x468338
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jecxz 0x4683b8
or byte [edx + 0x17], cl
sub esp, edi
inc dword [ebx - 0x797cf33c]
push dword [ebp + 0x17]
push dword [ebp + 0x10]
in eax, dx
push 0xc
invalid
push dword [ebx]
mov dword [0x472b00], ebx
mov eax, dword [0x472aec]
cmp eax, ebx
je 0x4683f4
push dword [0x472725]
call dword [eax + 4]
push ebx
push ebx
push dword [0x474ecc]
mov dword [0x4727c0], ebx
mov dword [ecx + 0x472a96], eax
adc dword [esi - 0x17ffb8d6], 0xffffb646
push ebx
call fcn.00465942
add esp, 0x14
xor edi, edi
push es
push 0x40
lea esi, [edi + 0xc127b8]
mov dword [esi], esi
dec eax
mov al, 0x53
inc ebp
push ebp
xor al, 0xc4
cwde
inc esi
add byte [edx + 0x40], ch
xchg ebp, eax
push 0x30
push dword [esi]
xor edx, dword [0x4553a4]
add edi, 4
cmp edi, 8
jb 0x4683f6
pop edi
pop esi
mov dword [0x47722b], ebx
pop ebx
ret

Function at 0x473200
Capabilities:
Encode data using xor

Disassembly:
jo 0x47325d
and al, 4
imul dword [edx]
add edi, dword [eax + 0x24742700]
mov al, byte [ecx]
rol cl, cl
invalid
test al, al
aad 0xf4
invalid
Function at 0x40bbf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48431b
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.00478af9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40bc72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00476650
mov eax, dword [eax]
push 0x4a21d0
push eax
call fcn.00468a74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00478d84
test bl, bl
je 0x40bc72
push 0x4a21d0
lea ecx, [esp + 0xc]
call fcn.00479114
push 0x4a5d58
lea ecx, [esp + 0xc]
call fcn.00479114
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 0x40bcae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00478d84
jmp 0x40bd79
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 0x40bd32
lea edx, [esp + 0x7c]
push 0x4a5d54
push edx
call fcn.00468a74
add esp, 8
test eax, eax
je 0x40bd32
lea eax, [esp + 0x7c]
push 0x4a5d50
push eax
call fcn.00468a74
add esp, 8
test eax, eax
je 0x40bd32
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 0x40bcc2
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.00478d84
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 0x40c570
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48439b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ae17c]
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 0x40c6a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c5d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478d84
xor eax, eax
jmp 0x40c71f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00478ec1
push esi
lea ecx, [esp + 0xc]
call fcn.00479150
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a5d90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c6fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4a5d88
push closesocket
call fcn.00456940
test eax, eax
jne 0x40c6fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4a5d74
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00456940
test eax, eax
jne 0x40c6fd
lea eax, [esp + 0x14]
push 0x4a5d6c
push eax
call fcn.00469ab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c6dc
lea ecx, [esp + 0x14]
push 0x4a5d68
push ecx
call fcn.00469a30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c6dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c6df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00478e71
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c5ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478d84
xor eax, eax
jmp 0x40c71f
mov byte [esi], 0
push 0x4a5d64
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.00478d84
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