joyce8/EMBER2024-capa huggingface dataset:
Function at 0x538ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esp
push word [esp + 1]
jmp 0x538b85
pushal
pop dword [esp + 8]
pop dword [esp + 0x12]
jmp 0x538bea
add dword [esp], reloc.WINMM.dll_midiStreamOut
lea edx, [ecx*4]
mov dx, 0x108b
not dh
jmp 0x538b1e
call 0x538afa
push dword [esp]
mov word [esp], dx
jmp 0x538afc
lea esp, [esp + 0x10]
add esp, 8
call fcn.00538b51
push 0xffffffffffffffe1
jno 0x538b1c
jecxz 0x538b30
mov al, byte [0x64751ae3]
jne 0x538aa1
mov ax, word [esp]
call fcn.00538aec
invalid
not dx
jmp 0x538b5b
dec ecx
fnstcw word [eax - 0x3c9704b5]
ret
jmp 0x538aa1
mov edx, dword [esp]
je 0x538a6a
jne 0x538a4b
and esi, dword [ecx + reloc.WINMM.dll_midiStreamOut]
xor byte [ebx], dh
sub al, byte [ebp - 0x73]
and al, 4
test edx, edx
pushal
mov byte [esp + 0x12], bh
lea esp, [esp + 0x20]
jmp 0x538b13
add esp, 3
lea esp, [esp]
lea esp, [esp + 3]
mov dl, byte [eax]
jmp 0x538bdc
mov dx, 0x7003
lea edx, [ebp*4]
mov dh, byte [esp]
jmp 0x538bb1
inc ecx
and dx, 0xddde
dec edx
add dword [esp], reloc.WINMM.dll_midiStreamOut
jmp 0x538bc2
mov dh, 0xe
mov edx, dword [esp]
pushal
lea esp, [esp + 7]
lea esp, [esp + 1]
jmp 0x538c09
cmp dl, byte [ecx]
jne 0x538a6a
lea edx, [ebx + edi]
inc eax
jmp 0x538b93
pop word [esp + 0x13]
lea esp, [esp + 2]
lea esp, [esp + 0x14]
movzx eax, byte [eax]
sub esp, 0x12
jmp 0x538c59
lea esp, [esp + 0x18]
jne 0x538a4b
je 0x538a6a
and dword [ebx + reloc.WINMM.dll_midiStreamOut], edi
or dword [edx + esi + reloc.WINMM.dll_midiStreamOut], ebx
mov byte [ebx], ch
inc edx
lea esp, [esp + 1]
sub eax, ecx
lea esp, [esp + 4]
add esp, 8
jmp 0x538c84
lea esp, [esp + 2]
lea esp, [esp + 0x10]
movzx ecx, byte [ecx]
pushal
add esp, 0x1b
jmp 0x538c36

Function at 0x538aec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
bt eax, edi
mov word [esp], sp
xor eax, eax
call fcn.00538ad0
jmp 0x538ad5

Function at 0x538afa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
bt eax, edi
mov word [esp], sp
xor eax, eax
call fcn.00538ad0
jmp 0x538ad5

Function at 0x538bab
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 4]
mov byte [esp + 2], dh
jmp 0x538b74
Function at 0x62b540
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
lea esp, [esp + 4]
pushal
sub esp, 0x16
push dword [esp]
jmp 0x62b69f
pop ebp
xchg si, cx
push word [esp + 0x15]
popal
mov eax, 0xa5359c2a
add esp, 1
jmp 0x62b5b1
sub esp, 0x1e
xchg byte [esp + 0xe], dl
pop cx
mov si, word [esp + 0x16]
mov word [esp + 0x24], dx
setl ch
jmp 0x62b57a
add esp, 4
mov dh, byte [esp]
mov dl, dh
setle ah
xor dl, ch
lea esi, [edx + ebx]
jmp 0x62b5db
pop ebp
inc dl
not ch
xchg word [esp + 1], ax
mov word [esp + 4], dx
sub esp, 4
jmp 0x62b599
mov dl, 0x14
cpuid
mov bx, sp
inc bl
rdtsc
mov ah, byte [esp]
jmp 0x62b602
bswap eax
not esi
mov ebx, dword [esp + 3]
inc cx
sub esp, 8
xchg ecx, edi
jmp 0x62b5c7
stc
inc bl
mov bh, 0xc3
rdtsc
xchg ebx, ecx
neg bh
jmp 0x62b632
ror esi, 0xb
mov si, di
mov cl, 0xb2
xchg cx, bp
lea esp, [esp]
jmp 0x62b685
setl bh
pop dx
xchg edi, edx
sub bl, ah
xchg edx, eax
popal
jmp 0x62b5f1
xchg ebp, edx
rdtsc
mov ax, sp
mov bl, 0x20
cld
mov dh, byte [esp]
jmp 0x62b60f
xchg byte [esp + 0x10], al
pop dx
pop edx
mov bx, 0xc649
mov si, word [esp + 7]
add esp, 0x11
xchg dx, ax
jmp 0x62b625
shr esi, 0x17
mov ax, bx
bsf si, ax
cpuid
call fcn.0062b669
clc
pushal
not byte [ecx + 0x6c1dd760]
jg 0x62b658
mov eax, 0x83e327a
add esp, 1
lea ecx, [esp + ebx]
clc
jp 0x62b6d4
or byte ds:[ebx + 0xc8d01c4], al
sbb al, 0xf8
pushal
mov ecx, 0x850f454
jmp 0x62b653
retf

Function at 0x62b734
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0
lea esp, [esp + 1]
push dword [esp + 0xa]
mov bp, sp
jmp 0x62b71b
rdtsc
pop si
mov bh, byte [esp + 5]
setne ch
not ah
mov cx, word [esp + 0xc]
jmp 0x62b6d7
mov bx, 0xf31
mov di, dx
not ah
clc
mov dx, sp
sub esp, 8
jmp 0x62b6ed
sub dx, 0xbc38
mov di, dx
xchg word [esp + 9], ax
mov ebx, dword [esp + 0x13]
jmp 0x62b781
neg dh
cmc
mov si, word [esp]
xchg dword [esp + 5], ecx
mov esi, 0x71d1feac
jmp 0x62b709
mov dl, 0xc
lea ecx, [ebp + 0xc7]
mov dword [esp + 0xf], esi
lea esp, [esp + 0xd]
mov cl, 0x9a
cpuid
jmp 0x62b767

Function at 0x62be19
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
mov edx, ecx
mov ebx, dword [esp]
cpuid
mov edx, 0x6981716
add esp, 7
cmc
bsr bp, bp
mov cx, di
btc ebp, ebx
xor cx, 0x9fe4
jmp 0x62bd66
bswap ebx
cpuid
mov cl, ch
setle dh
lea ebx, [edi*4]
lea ecx, reloc.WINMM.dll_midiStreamOut
jmp 0x62bdcc
lea edx, [edx + ebp]
sub bl, ah
jmp 0x62bdfa

Function at 0x62c29a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bl, bh
mov byte [esp + 5], ah
pop bp
ror esi, 1
lea edx, [edi*4]
jmp 0x62c215

Function at 0x62c417
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 6]
bswap ebx
not ebp
mov ebp, 0x749096d0
mov si, 0x3365
pop bx
jmp 0x62c3ed
push dword [esp + 0xa]
neg ecx
mov dl, dh
xchg word [esp + 2], dx
cpuid
mov dl, 0xbc
jmp 0x62c3ba
lea edx, [edx + esi]
mov bl, 0x60
rdtsc
lea ebx, [ebp*4]
lea edx, reloc.WINMM.dll_midiStreamOut
lea esp, [esp + 0xb]
jmp 0x62c457
xchg dword [esp + 0xf], edx
add eax, ebp
inc cl
jmp 0x62c3da
pop eax
push word [esp + 1]
rdtsc
not dh
lea eax, reloc.WINMM.dll_midiStreamOut
mov bp, bx
jmp 0x62c43f
Function at 0x62c5cf
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, 0x24
lea edi, [eax*4]
mov eax, dword [esp]
mov si, sp
push edx
jmp 0x62ca77
cld
lea ecx, [edx + edi]
xchg byte [esp + 4], dl
push dword [esp + 0x22]
lea esp, [esp + 0x43]
rdtsc
jmp 0x62c577
stc
xchg byte [esp + 0x18], al
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0xd]
sub esp, 0x1e
xchg edi, ecx
jmp 0x62c58e
mov byte [esp + 9], dh
jmp 0x62c5a8
cpuid

Function at 0x630029
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 4], ecx
mov bl, bh
add esp, 0
xchg dword [esp], esi
rdtsc
neg ebx
jmp 0x630041
setae dh
sub bl, ah
btc ebp, edi
sub bl, ah
btr edi, esp
cpuid
jmp 0x62ffec
jmp 0x63000a
lea edi, reloc.WINMM.dll_midiStreamOut
xchg dword [esp + 1], ebx
mov bp, word [esp + 0xa]
jmp 0x6301bc
mov dword [esp], ecx
mov bp, word [esp + 0xb]
btr eax, edx
xchg byte [esp + 2], dl
clc
pop si
jmp 0x63002b
mov ax, word [esp]
setns bh
lea ecx, [ebx*4]
xchg cx, si
jmp 0x630164
inc si
bsf dx, ax
add esp, 3
btr ecx, esp
neg si
jmp 0x630092
push edx
lea esi, [edx*4]
add esp, 3
mov edi, 0x85e59a86
pop word [esp + 1]
not ch
jmp 0x6300ab
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x19]
mov di, 0x9b81
xchg ebp, edi
call fcn.00630114
mov ebx, 0x3ccdaa34
fisubr word [edi + 0x23d0b121]
retf 0x62ef
push word [esp]
push dword [esp + 0xf]
cpuid
mov cl, 0xa2
cld
xchg dword [esp + 3], edi
jmp 0x6300db
setno ah
sub esp, 8
neg eax
lea edx, reloc.WINMM.dll_midiStreamOut
lea edx, [edi*4]
mov ax, word [esp + 0xf]
jmp 0x630101
mov edi, dword [esp]
mov cx, 0x6fff
sub esp, 0xe
mov di, dx
lea eax, [esi*4]
pop cx
jmp 0x630134
add esp, 6
mov ebp, dword [esp]
mov ah, byte [esp + 2]
rdtsc
bsf bp, si
cpuid
jmp 0x6300c2

Function at 0x63037c
Capabilities:
Execute anti-debugging instructions

Disassembly:
not edi
bswap ebp
mov dx, 0x31b5
xchg ecx, esi
neg bh
mov byte [esp + 0xf], ch
jmp 0x630359
mov bl, bh
bsr ax, cx
pop ax
shr eax, 0x1f
cpuid
rdtsc
jmp 0x630303
bsr cx, bp
pop word [esp + 1]
cpuid
mov dword [esp], esi
sub esp, 0xe
rdtsc
jmp 0x630320
cpuid
mov dl, 0x34
not eax
xchg ecx, eax
pop ebx
add al, dh
jmp 0x6303d2
rdtsc
add esp, 0x1e
pop ebp
xor ecx, esi
pop dword [esp]
add esp, 0
jmp 0x6303b0
jmp 0x630344
xchg dword [esp], ebp
setae bh
xchg bh, cl
call 0x630399
pushal
jmp 0x63043b
mov bp, di
bswap esi
pushal
setne ch
pop word [esp + 2]
mov bh, byte [esp + 0x16]
jmp 0x630366
add al, 0x24
Function at 0x63074a
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, [eax + edi]
lea esp, [esp + 0x25]
mov word [esp + 2], dx
mov eax, 0x5902858c
and edi, ecx
jmp 0x63074c
jmp 0x63072d
xchg word [esp + 1], cx
mov word [esp + 6], sp
xchg dh, al
not di
push dword [esp + 6]
pop dx
jmp 0x6307c8
cmc
rdtsc
mov byte [esp + 0xa], bh
bsf ax, ax
neg ax
xchg word [esp + 1], cx
jmp 0x63088c
push dword [esp + 8]
push word [esp + 9]
mov cx, 0xcc2d
inc al
mov cl, 0x3a
mov dl, dh
jmp 0x6307af
xchg ch, dl
push dword [esp + 4]
mov cl, ch
setae dh
lea esp, [esp + 1]
xchg di, cx
jmp 0x6307f9
lea esi, [edx*4]
bswap edi
xchg ah, bl
xchg byte [esp + 3], cl
push dword [esp + 0xc]
inc dx
jmp 0x630812
mov bl, bh
rdtsc
xchg word [esp + 1], si
bsr bp, cx
xchg dword [esp + 4], edi
setg ah
jmp 0x63086c

Function at 0x630b6e
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap ecx
mov ax, word [esp]
lea eax, [ebx + esi]
push word [esp + 2]
not ebx
jmp 0x630b54
cmc
mov eax, ecx
mov al, ah
rdtsc
neg ch
bswap eax
jmp 0x630af6
sub esp, 0xa
pop dword [esp + 4]
rdtsc
add esp, 0xa
mov esi, dword [esp]
bsr di, bp
jmp 0x630b0d
neg ecx
pushal
bsf di, si
lea ebp, [ecx*4]
mov byte [esp + 0x1d], bh
jmp 0x630bc3
btr ebx, edx
bswap ecx
mov di, word [esp + 4]
mov eax, ebp
mov bx, word [esp + 2]
add esp, 4
jmp 0x630b3a
jmp 0x630b25
rdtsc
call int.00630bd7
pop word [esp]
mov al, ah
not dx
lea esi, [esi - 0x2d]
mov ecx, dword [esp]
and eax, ecx
jmp 0x630b70
mov dh, byte [esp + 6]
xchg bx, bp
mov dword [esp], esi
mov al, ah
lea edi, [esi - 0x75]
add esp, 0x1c
jmp 0x630b9b

Function at 0x630b77
Capabilities:
Execute anti-debugging instructions

Disassembly:
add edx, ebp
jmp 0x630b7f
setp dh
xchg bp, di
add esp, 8
mov word [esp + 1], bx
btc eax, edi
jmp 0x630cb2
lea ecx, [ecx*4]
add esp, 0
cpuid
lea esp, [esp]
add esp, 0
xchg byte [esp], dl
jmp 0x630c0b
mov cx, 0x1b63
add esp, 0
rdtsc
neg esi
mov si, bx
xchg edx, ecx
jmp 0x630c22
lea edx, [ecx*4]
xchg ch, dl
pop edx
mov cx, sp
mov bh, byte [esp]
xchg byte [esp], dl
jmp 0x630c77

Function at 0x630d61
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x43]
lea ecx, [ecx + ebx]
jmp 0x630d6e
lea edx, [esi + 0x1d]
not ebx
add dx, 0x9456
mov cx, 0x36d5
setge ah
jmp 0x630e8c
rdtsc
mov cl, byte [esp]
cpuid
not di
push edx
push word [esp + 1]
jmp 0x630d9d
xchg ebx, ecx
lea ebp, [ebp + 0x5f]
xchg esi, ebp
cpuid
not cx
inc dx
jmp 0x630db7
setnp ch
cmc
mov al, ah
xchg bh, cl
bswap edx
inc bl
jmp 0x630de1
lea eax, [ebp - 0x1f]
cpuid
mov cl, 0x12
rdtsc
mov bp, 0xf161
rdtsc
jmp 0x630e2d
Function at 0x13f0e43
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x13f0e5a
mov dword [ebp - 4], 0
Function at 0x13f0f1e
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x13f0f35
mov dword [ebp - 4], 0
Function at 0x40876a
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x40878c
mov eax, 0xfffffffd
jmp 0x408804
mov ebx, dword [0x533418]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4087d2
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x533418]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4087fa
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x408804
mov esp, ebp
pop ebp
ret 4

Function at 0x422455
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x4749a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd80b
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.004d024c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x474a22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cdcca
mov eax, dword [eax]
push 0x524244
push eax
call fcn.004c0844
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d04d7
test bl, bl
je 0x474a22
push 0x524244
lea ecx, [esp + 0xc]
call fcn.004d08b3
push 0x527db4
lea ecx, [esp + 0xc]
call fcn.004d08b3
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 0x474a5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d04d7
jmp 0x474b29
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 0x474ae2
lea edx, [esp + 0x7c]
push 0x527db0
push edx
call fcn.004c0844
add esp, 8
test eax, eax
je 0x474ae2
lea eax, [esp + 0x7c]
push 0x527dac
push eax
call fcn.004c0844
add esp, 8
test eax, eax
je 0x474ae2
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 0x474a72
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.004d04d7
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 0x475320
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 0x475382
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 0x475390
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd88b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x52ed30]
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 0x4754c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4753f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d04d7
xor eax, eax
jmp 0x47553f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d0660
push esi
lea ecx, [esp + 0xc]
call fcn.004d08ef
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 0x47551d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00475320
test eax, eax
jne 0x47551d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00475320
test eax, eax
jne 0x47551d
lea eax, [esp + 0x14]
push 0x527dc8
push eax
call fcn.004c1a30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4754fc
lea ecx, [esp + 0x14]
push 0x527dc4
push ecx
call fcn.004c19b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4754fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4754ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d0610
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47540e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d04d7
xor eax, eax
jmp 0x47553f
mov byte [esi], 0
push 0x527dc0
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.004d04d7
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 0x4878f0
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 0x48795e
cmp si, 0x69
ja 0x48795e
add esi, 0xffd0
cmp si, 0x11
je 0x48792e
push 0x11
call edi
test ax, ax
jge 0x48792e
or esi, 0x2000
cmp si, 0x10
je 0x487943
push 0x10
call edi
test ax, ax
jge 0x487943
or esi, 0x4000
cmp si, 0x12
je 0x487958
push 0x12
call edi
test ax, ax
jge 0x487958
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x48796b
mov esi, 0xbd
jmp 0x48791f
cmp si, 0x6e
jne 0x487978
mov esi, 0xbe
jmp 0x48791f
cmp si, 0x6f
jne 0x487919
mov esi, 0xbf
jmp 0x48791f

Function at 0x489120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x53fc90]
xor edx, edx
cmp eax, edx
jne 0x489146
xor eax, eax
mov byte [eax + 0x53fb90], al
inc eax
cmp eax, 0x100
jl 0x48912e
mov dword [0x53fc90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x53fb90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4891d7
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 0x4891aa
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 0x489178
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x489250
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 0x4892a3
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 0x48928a
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 0x48fce0
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 0x48fe78
cmp ebp, ebx
jle 0x48fe78
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 0x48fd3e
dec eax
or eax, 0xfffffff8
inc eax
je 0x48fd45
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x48fd54
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x48fd5b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004d0218
add esp, 4
cmp eax, ebx
je 0x48fd7c
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.004d0218
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 0x48fe6e
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 0x48fe55
mov al, byte [edx]
cmp al, 0xc0
jbe 0x48fe41
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x48fe36
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 0x48fe44
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x48fe44
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x48fde0
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 0x48fdd1
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
Function at 0x4933d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4df048
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x493409
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004d7d15
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004d7d9d
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00493490
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004d7dda
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24