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

Disassembly:
push dword [esp + 0x14]
mov ah, byte [esp + 8]
setg dl
jmp 0x117b92a
not esi
pop dword [esp + 0x18]
lea esp, [esp + 0x1c]
xchg byte [esp + 5], ah
jmp 0x117b9a4
mov ecx, dword [esp + 0x1f]
mov dl, 0x98
sub esp, 0xf
mov esi, ebx
mov word [esp + 0x19], dx
neg ebx
jmp 0x117b914
push ecx
push word [esp + 4]
bswap ebx
xchg di, bx
xchg bx, ax
bswap ebp
jmp 0x117b988
mov edi, dword [esp + 0x15]
sub esp, 0x10
mov dl, bl
setg ch
lea edi, reloc.iphlpapi.dll_GetAdaptersInfo
add esp, 4
jmp 0x117b93e
rdtsc
clc
bt si, sp
mov cx, 0x814b
push dword [esp + 3]
rol ebp, 0x12
jmp 0x117b954
shl bx, cl
cld
mov ecx, dword [esp + 3]
xchg dword [esp + 0x1c], ebp
lea eax, [ebx + ebp]
mov ecx, 0xbe110eaf
jmp 0x117b9d4
lea eax, [edx + 0xe0]
lea ecx, [ebx + edi]
pop word [esp + 1]
mov word [esp + 5], si
xchg dh, ch
xchg bx, cx
jmp 0x117b974
neg di
not bl
sub esp, 0x1b
lea esp, [esp + 0x45]
jmp 0x117bb63
cld
rdtsc
push word [esp + 9]
xchg word [esp + 0x12], ax
mov eax, 0x1089816f
mov dword [esp + 0xc], ebx
jmp 0x117b9be
mov dword [esp + 0x15], ebx
push word [esp + 0xd]
mov al, bh
pushal
lea esp, [esp + 0x46]
adc eax, 0x2474ff66
or eax, 0x8d60c78a
and al, 0x46
stc
jmp 0x117ba34
mov dx, word [esp + 4]
mov dh, ch
push dword [esp + 6]
push ebp
mov eax, ebp
xchg bh, bl
jmp 0x117b9fc
cmc
xchg cx, di
mov edx, 0x9ed947dd
mov dh, ah
cld
rdtsc
jmp 0x117bb28
lea ebp, [edx*4]
sub esp, 0x13
lea edx, [edi + 1]
xchg edi, edx
rol dx, 0xd
lea ecx, [esi + ebp]
jmp 0x117ba22
not dh
call fcn.0117baaf
loop 0x117bae5
call [edx - 0x7ff72f97]
push ss
jno 0x117b9ff
push esp
mov ebp, 0x8b661f8c
ret 0xb966
mov ax, dx
mov cx, 0xc86c
rdtsc
dec bh
lea edi, [esp + ebx]
xchg ebx, eax
jmp 0x117ba6d
fcom dword [esi - 0x3c]
mov dword [reloc.iphlpapi.dll_GetAdaptersInfo], eax
stc
btc ebx, eax
bts dx, cx
bsr si, cx
cpuid
cmp dh, 0x43
cmc
jmp 0x117ba83
bswap esi
not dh
mov esi, dword [esp]
not bl
std
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0x117baee
mov si, 0x5fce
xchg ebp, eax
mov ecx, ebx
cld
setg dl
sub esp, 9
jmp 0x117ba55

Function at 0x117c176
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec bx
not bl
mov edx, dword [esp + 9]
shr ebp, cl
xchg dl, al
lea edi, [esp + ebx]
jmp 0x117c13d
mov byte [esp + 3], cl
xchg cl, dl
pushfd
ror bp, cl
std
xchg byte [esp + 8], bl
jmp 0x117c100
cpuid
mov bl, 0x16
mov eax, dword [esp + 9]
xor bx, 0x9fb3
or dx, sp
jmp 0x117c152
push dword [esp]
lea eax, reloc.iphlpapi.dll_GetAdaptersInfo
dec ebp
rcl cx, cl
mov dword [esp + 7], ebx
xchg dh, bl
jmp 0x117c127
pop bp
dec dx
cpuid
xchg edi, ebx
xchg dword [esp + 7], ebx
not si
jmp 0x117c19f
push word [esp + 2]
mov ecx, 0xb7d6a3a5
push word [esp + 4]
cpuid
jmp 0x117c116
xchg byte [esp + 0x3a], bh
push dword [esp + 3]
sub esp, 0x15
lea esp, [esp + 0x55]
jmp 0x117c1b1
rdtsc
mov byte [esp + 6], al
sub esp, 0x1b
pushfd
sub esp, 0xd
setne bl
jmp 0x117c189
sub esp, 9
sub esp, 0x1c
lea eax, reloc.iphlpapi.dll_GetAdaptersInfo
pop bp
mov word [esp + 0x1e], ax
add esp, 0xc
jmp 0x117c295
lea eax, [ebx*4]
mov word [esp + 0xa], si
rdtsc
xchg dh, ah
lea edx, [ebp*4]
pop dword [esp + 7]
jmp 0x117c20b
Function at 0x117c777
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.0117b63d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x117c78d
push word [esp + 2]
mov byte [esp], bl
lea esp, [esp + 2]
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0x117c758
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x117b638
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x3c33700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03c3378f
jae 0x3c3370e
xor ecx, ecx
call fcn.03c3378f
jae 0x3c3373d
xor eax, eax
call fcn.03c3378f
jae 0x3c3374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03c3378f
adc al, al
jae 0x3c3372f
jne 0x3c33779
stosb byte es:[edi], al
jmp 0x3c33711
call fcn.03c3379b
sub ecx, ebx
jne 0x3c33756
call fcn.03c33799
jmp 0x3c33775
lodsb al, byte [esi]
shr eax, 1
je 0x3c33783
adc ecx, ecx
jmp 0x3c33772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03c33799
cmp eax, 0x7d00
jae 0x3c33772
cmp ah, 5
jae 0x3c33773
cmp eax, 0x7f
ja 0x3c33774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3c33711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x3c53700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03c5378f
jae 0x3c5370e
xor ecx, ecx
call fcn.03c5378f
jae 0x3c5373d
xor eax, eax
call fcn.03c5378f
jae 0x3c5374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03c5378f
adc al, al
jae 0x3c5372f
jne 0x3c53779
stosb byte es:[edi], al
jmp 0x3c53711
call fcn.03c5379b
sub ecx, ebx
jne 0x3c53756
call fcn.03c53799
jmp 0x3c53775
lodsb al, byte [esi]
shr eax, 1
je 0x3c53783
adc ecx, ecx
jmp 0x3c53772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03c53799
cmp eax, 0x7d00
jae 0x3c53772
cmp ah, 5
jae 0x3c53773
cmp eax, 0x7f
ja 0x3c53774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3c53711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x409660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.CArmReport.0
push 0x104
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4096ab
jmp 0x4096d7
push str.AdobeARM_
push 0x104
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.004063f0
push str.ArmReport.ini
push 0x104
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.004063f0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x409a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
clc
clc
jae 0x409a66
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x409a57
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00409812
stc
loop 0x409a9f
lea eax, [ebp - 0x58]
push eax
call fcn.00409822
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004097d7
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x409b00
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00409812
punpckldq mm2, dword [ecx]
or byte [ebp - 0x17af3fbb], 0xc5
cld
invalid
Function at 0x1002acc0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002ae84
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
or ebp, 0xffffffff
jmp 0x1002acea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002acf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002ace0
mov eax, 1
add ebx, ebx
jne 0x1002ad03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002acf8
jne 0x1002ad14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002acf8
xor ecx, ecx
sub eax, 3
jb 0x1002ad28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002ad9a
mov ebp, eax
add ebx, ebx
jne 0x1002ad33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002ad40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002ad64
inc ecx
add ebx, ebx
jne 0x1002ad50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002ad45
jne 0x1002ad61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002ad45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002ad84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002ad75
jmp 0x1002ace6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002ad84
add edi, ecx
jmp 0x1002ace6
pop esi
mov edi, esi
mov ecx, 0x53c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002ada2
cmp byte [edi], 1
jne 0x1002ada2
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 0x1002ada7
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x1002ae16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a280]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a2f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002add4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a2fc]
or eax, eax
je 0x1002ae10
mov dword [ebx], eax
add ebx, 4
jmp 0x1002adf1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002ae47
cmp al, 0xef
ja 0x1002ae3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002ae1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002ae29
mov ebp, dword [esi + 0x2a300]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1002ae7b
sub esp, 0xffffff80
jmp 0x1000b0c0
Function at 0x4d2fb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x575cfb
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.0056a232
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d3032
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00567adf
mov eax, dword [eax]
push 0x7aad3c
push eax
call fcn.00559a74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0056a4bd
test bl, bl
je 0x4d3032
push 0x7aad3c
lea ecx, [esp + 0xc]
call fcn.0056a84d
push 0x7aad48
lea ecx, [esp + 0xc]
call fcn.0056a84d
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 0x4d306e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0056a4bd
jmp 0x4d3139
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 0x4d30f2
lea edx, [esp + 0x7c]
push 0x7aad44
push edx
call fcn.00559a74
add esp, 8
test eax, eax
je 0x4d30f2
lea eax, [esp + 0x7c]
push 0x7aad40
push eax
call fcn.00559a74
add esp, 8
test eax, eax
je 0x4d30f2
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 0x4d3082
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.0056a4bd
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 0x4d3940
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 0x4d39a2
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 0x4d39b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x575d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7bc0b4]
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 0x4d3ae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4d3a16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056a4bd
xor eax, eax
jmp 0x4d3b5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0056a5fa
push esi
lea ecx, [esp + 0xc]
call fcn.0056a889
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7aad7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4d3b3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004d3940
test eax, eax
jne 0x4d3b3d
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 bind
mov ecx, edi
call fcn.004d3940
test eax, eax
jne 0x4d3b3d
lea eax, [esp + 0x14]
push 0x7aad58
push eax
call fcn.0055abc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d3b1c
lea ecx, [esp + 0x14]
push 0x7aad54
push ecx
call fcn.0055ab40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d3b1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4d3b1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0056a5aa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4d3a2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056a4bd
xor eax, eax
jmp 0x4d3b5f
mov byte [esi], 0
push 0x7aad50
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.0056a4bd
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 0x4e67d0
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 0x4e683e
cmp si, 0x69
ja 0x4e683e
add esi, 0xffd0
cmp si, 0x11
je 0x4e680e
push 0x11
call edi
test ax, ax
jge 0x4e680e
or esi, 0x2000
cmp si, 0x10
je 0x4e6823
push 0x10
call edi
test ax, ax
jge 0x4e6823
or esi, 0x4000
cmp si, 0x12
je 0x4e6838
push 0x12
call edi
test ax, ax
jge 0x4e6838
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4e684b
mov esi, 0xbd
jmp 0x4e67ff
cmp si, 0x6e
jne 0x4e6858
mov esi, 0xbe
jmp 0x4e67ff
cmp si, 0x6f
jne 0x4e67f9
mov esi, 0xbf
jmp 0x4e67ff

Function at 0x4e8200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7cca48]
xor edx, edx
cmp eax, edx
jne 0x4e8226
xor eax, eax
mov byte [eax + 0x7cc948], al
inc eax
cmp eax, 0x100
jl 0x4e820e
mov dword [0x7cca48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7cc948
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e82b7
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 0x4e828a
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 0x4e8258
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e82c0
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 0x4e8313
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 0x4e82fa
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