joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fccc
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x490770
mov eax, esi
mov edx, 8
test al, 1
je 0x44fce8
shr eax, 1
xor eax, 0xedb88320
jmp 0x44fcea
shr eax, 1
dec edx
jne 0x44fcdb
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x44fcd4
pop esi
ret

Function at 0x44fd17
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x49076c], 0
jne 0x44fd23
call fcn.0044fccc
push 1
push 0x49076c
call fcn.004057e8
mov eax, edi
test esi, esi
je 0x44fd4e
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x490770]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x44fd29
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4679bc
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov esi, eax
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.0044f5ec
lea edx, [esp + 4]
mov ecx, 0x40
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
cmp eax, 0x40
jne 0x467a22
cmp byte [esp + 4], 0x4d
jne 0x467a22
cmp byte [esp + 5], 0x5a
jne 0x467a22
cmp dword [esp + 0x40], 0
je 0x467a22
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.0044f5ec
mov edx, esp
mov ecx, 4
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
cmp eax, 4
jne 0x467a22
cmp dword [esp], 0x4550
jne 0x467a22
mov bl, 1
mov eax, ebx
add esp, 0x44
pop edi
pop esi
pop ebx
ret

Function at 0x48ac90
Capabilities:
Encode data using xor

Disassembly:
adc byte [edi + 0x19], bh
mov esp, 0xbf966174
xlatb
sub dword [ebp + 0x2f3bb5c8], edi
mov edi, 0xc8bd29d7
mov ch, 0x3b
das
dec esi
xor al, dl
add eax, ebx
insb byte es:[edi], dx
jns 0x48ac97
adc ebp, dword [edi]
xor esi, dword [ebx]
imul esp, dword [edi - 0x38], 0x21
popfd
xchg ebp, eax
lock xor edi, dword [ecx + ecx*4 + 0x2dfa1bc7]
mov eax, 0x713a6a52
inc ebp
push edx
add eax, dword [eax]
or eax, dword [edi - 0x64]
jo 0x48acd8
lodsb al, byte [esi]
out dx, ax
push ebp
test byte [ecx], dh
das
push cs
invalid
int3
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x6c4189
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 3], ah
and di, 0xda4a
mov di, word [esp]
mov eax, dword [esp + 2]
btc ecx, ebx
pop ebp
jmp 0x6c411c
jmp 0x6c4135

Function at 0x6c43c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], ebx
bsf dx, si
pop esi
not dx
mov ebp, 0xc0ffb928
neg ebx
jmp 0x6c43c5
cmc
jmp 0x6c43a3
lea esi, [eax*4]
mov bp, word [esp]
add esp, 0
mov esi, dword [esp]
xchg si, ax
push edx
jmp 0x6c43f7
Function at 0x6c4665
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop dword [esp + 0x10]
mov dword [esp + 0x1e], ecx
rdtsc
lea esp, [esp + 0xf]
neg bx
mov bx, word [esp + 0x12]
jmp 0x6c47cc
xchg bh, cl
lea edx, [esi*4]
pop cx
xchg dh, al
pushal
jmp 0x6c4647
lea esp, [esp + 0x10]
not ah
mov word [esp], bx
rdtsc
xchg edi, esi
mov ecx, dword [esp]
jmp 0x6c4778
xchg esi, eax
cld
pop si
push edx
not cx
mov byte [esp + 5], dh
jmp 0x6c4689
push esp
mov esi, dword [esp + 7]
mov si, word [esp + 0x1e]
sub di, 0x1ba0
push esp
not ah
jmp 0x6c4736
setae bh
xchg word [esp + 4], ax
rdtsc
and cx, 0x64fa
inc al
pushal
jmp 0x6c46b4
mov ah, byte [esp]
not ecx
sub esp, 8
mov byte [esp + 5], bh
mov dl, dh
stc
jmp 0x6c46d4
lea esp, [esp + 0x4f]
btc ebp, edi
push esp
lea esi, [ecx*4]
jmp 0x6c475d
neg ax
mov ah, byte [esp + 0x19]
mov al, 0x2e
mov ebx, ecx
sub esp, 0x1c
jmp 0x6c4706
btc edx, edi
xchg ch, dl
mov bx, 0xb0f
rdtsc
mov bl, bh
xchg ch, dl
jmp 0x6c471f
inc bl
xchg word [esp], dx
push word [esp + 1]
bsr bp, cx
jmp 0x6c478b
mov dx, word [esp + 2]
ror ebx, 1
pop word [esp]
clc
mov byte [esp], bh
mov edi, ebp
jmp 0x6c4747
bswap edx
mov al, 0x16
xchg di, si
xchg bh, cl
add esi, ebp
btc edi, edi
jmp 0x6c46f5
add al, dh
push dword [esp + 2]
ror edx, 0x19
lea esp, [esp + 5]
cpuid
btc ebp, ebx
jmp 0x6c4811
xchg bh, cl
mov cl, 0x72
pop ax
push dword [esp + 8]
mov si, dx
cpuid
jmp 0x6c46a5
mov di, 0x717b
sub esp, 0x16
pop dword [esp + 8]
btc eax, ebx
add esp, 0x1f
neg ecx
jmp 0x6c47b1
mov dword [esp + 0x10], esi
bsf ax, si
pushal
push dword [esp + 0xa]
lea esp, [esp + 0x43]
cmc
jmp 0x6c4886
bswap edi
xchg byte [esp + 8], al
pop word [esp + 2]
mov bh, byte [esp + 9]
jmp 0x6c47e1
btr ebp, esp
pop di
pushal
mov byte [esp + 0x1b], ah
mov ebx, esi
bswap esi
jmp 0x6c47fa
shl ax, cl
shr edx, 0x11
btr ebp, edx
call 0x6c4848
mov dword [esp + 1], eax
mov word [esp + 0x12], bx
setl ch
sub edx, eax
bswap ebx
inc ax
jmp 0x6c4b57
mov bx, dx
mov si, word [esp + 0xc]
mov dword [esp + 4], ebp
mov bl, bh
jmp 0x6c490a
ror dh, 7
pop dword [esp + 7]
btr ebx, esp
cpuid
mov cl, 0x32
mov bp, 0xb50f
jmp 0x6c48e0
xchg word [esp + 7], di
call fcn.006c4936
outsd dx, dword [esi]
out dx, al
jl 0x6c4933
not byte [ebx + edi*2]
add edx, dword [ebx + reloc.USER32.dll_MessageBoxA]
int1
btr eax, esp
btr eax, esp
inc bx
bswap ebp
inc cx
xchg word [esp + 1], ax
pop di
pop edi
jmp 0x6c48f6
xchg ecx, eax
setg dh
mov edi, 0x14126ab8
not ch
xchg ecx, ebx
mov word [esp + 1], dx
jmp 0x6c4924
mov dword [esp + 3], esi
mov bl, bh
xchg dword [esp], edx
rdtsc
mov edi, ebp
xchg byte [esp + 0x10], cl
jmp 0x6c495a
mov dx, di
btr edx, esp
setne dh
pop word [esp + 6]
mov ch, byte [esp + 7]
mov edx, ecx
jmp 0x6c4998
Function at 0x6c49e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
push word [esp]
mov edi, 0xbbde838c
push word [esp + 6]
mov dx, 0x5e93
rdtsc
jmp 0x6c49fa
xchg word [esp + 8], ax
pop edi
lea esi, [ebx + ebx]
bswap esi
pop dword [esp + 9]
cmc
jmp 0x6c49ab
jmp 0x6c49c8
sub esp, 0x10
cmc
mov al, ah
rdtsc
bsf ax, si
xchg dword [esp + 4], ecx
jmp 0x6c4a47
neg bx
bsr bp, bp
lea edi, [edi*4]
xchg word [esp + 0x1e], dx
neg ebx
clc
jmp 0x6c49e2
rdtsc
xchg edx, ebp
mov cl, 0x52
pop word [esp + 0x19]
add esp, 3
and cl, bh
jmp 0x6c4a2e

Function at 0x6c4be8
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
lea edi, [eax + ebx]
mov si, 0x9703
lea edx, [esp + esi]
sub esp, 8
xchg bh, cl
jmp 0x6c4bb1
mov edx, eax
mov cx, word [esp + 0x19]
lea esp, [esp + 0x11]
mov al, ah
pop cx
jmp 0x6c4c64
pop word [esp + 0xb]
mov dword [esp + 0x12], ecx
not bp
push dword [esp + 0xc]
mov esi, 0x82e4002c
cpuid
jmp 0x6c4b70
mov esi, ebp
xchg edi, ebp
rdtsc
pop esi
mov bl, bh
mov si, word [esp + 0x17]
jmp 0x6c4b82
lea esi, [edi*4]
xchg dword [esp + 0xf], ecx
pop edx
pop word [esp + 0x18]
jmp 0x6c4b98
push dword [esp + 0x1a]
lea ecx, [ebx + esi]
mov si, word [esp + 0x17]
push word [esp + 0x1c]
jmp 0x6c4bcd
xchg byte [esp + 0xd], bl
cld
bsr dx, cx
pop word [esp + 0xd]
xchg byte [esp + 2], al
sub esp, 2
jmp 0x6c4c10
xchg ecx, eax
mov dword [esp + 1], ebp
mov ah, byte [esp + 5]
push dword [esp + 0xa]
mov dword [esp + 7], esi
push word [esp + 1]
jmp 0x6c4c29
pop dx
rcr ebp, 3
mov edx, esi
pop dword [esp + 2]
mov bl, 0x10
push dword [esp + 4]
jmp 0x6c4c46

Function at 0x6c4d41
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, dh
jmp 0x6c4da1
bsr di, cx
mov bh, byte [esp + 7]
rdtsc
mov word [esp], dx
bswap ebx
jmp 0x6c4e03
xchg word [esp + 4], bx
setns ch
lea edx, [edi + ebp]
mov byte [esp + 1], dh
jmp 0x6c4d89
mov dword [esp + 6], ebp
mov byte [esp + 7], dh
add esp, 4
and cl, bh
lea ebx, [eax + 0x51]
xchg byte [esp + 2], cl
jmp 0x6c4dcc
xchg word [esp + 1], ax
xchg ebp, eax
lea eax, reloc.USER32.dll_MessageBoxA
mov dx, 0xcadd
rcr ah, 1
push word [esp + 7]
jmp 0x6c4de9

Function at 0x6c70f2
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
call int.006c3dfd
push eax
jmp 0x6c3df8
call 0x6c700a
jmp 0x6c7080
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x6c7097
movzx ebx, word [eax + 0x3c]
jmp 0x6c709d
lea esp, [esp + 0x50]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x6c7055
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x6c70d4
push eax
jmp 0x6c7005
add ebx, eax
cmp word [ebx], 0x4550
je 0x6c4e3f
jne 0x6c70d6
push esp
invalid
pop word [esp + 1]
push word [esp + 3]
pushal
lea esp, [esp + 0x19]
lea esp, [esp + 3]
mov dword [esp + 0x50], edi
jmp 0x6c7071
je 0x6c705f
sub eax, 0x10000
jmp 0x6c7084
jmp 0x6c70bb
Function at 0x463660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x61000]
push edi
or ebp, 0xffffffff
jmp 0x463682
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x463689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x463678
mov eax, 1
add ebx, ebx
jne 0x46369b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4636ac
jne 0x4636cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4636cb
dec eax
add ebx, ebx
jne 0x4636b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x463690
add ebx, ebx
jne 0x4636c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46371d
xor ecx, ecx
sub eax, 3
jb 0x4636e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x463752
sar eax, 1
mov ebp, eax
jmp 0x4636ee
add ebx, ebx
jne 0x4636ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4636bc
inc ecx
add ebx, ebx
jne 0x4636fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4636bc
add ebx, ebx
jne 0x463709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4636fe
jne 0x46371a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4636fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46373c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46372e
jmp 0x46367e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46373c
add edi, ecx
jmp 0x46367e
pop esi
mov edi, esi
mov ecx, 0x11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46375a
cmp byte [edi], 0
jne 0x46375a
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 0x46375f
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x4637ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbdb9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbdbec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46378c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbdbf0]
or eax, eax
je 0x4637c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4637a9
call dword [esi + 0xbdc00]
mov ebp, dword [esi + 0xbdbf4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x463802
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x487aa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5047ab
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.004f6eb2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x487b22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f4930
mov eax, dword [eax]
push 0x54f240
push eax
call fcn.004e6384
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f713d
test bl, bl
je 0x487b22
push 0x54f240
lea ecx, [esp + 0xc]
call fcn.004f7519
push 0x552dd8
lea ecx, [esp + 0xc]
call fcn.004f7519
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 0x487b5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f713d
jmp 0x487c29
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 0x487be2
lea edx, [esp + 0x7c]
push 0x552dd4
push edx
call fcn.004e6384
add esp, 8
test eax, eax
je 0x487be2
lea eax, [esp + 0x7c]
push 0x552dd0
push eax
call fcn.004e6384
add esp, 8
test eax, eax
je 0x487be2
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 0x487b72
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.004f713d
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 0x488420
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 0x488482
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 0x488490
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50482b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x55c508]
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 0x4885c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4884f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f713d
xor eax, eax
jmp 0x48863f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004f72c6
push esi
lea ecx, [esp + 0xc]
call fcn.004f7555
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x552e10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x48861d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00488420
test eax, eax
jne 0x48861d
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 0x80000000
mov ecx, edi
call fcn.00488420
test eax, eax
jne 0x48861d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004e7560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4885fc
lea ecx, [esp + 0x14]
push 0x552de8
push ecx
call fcn.004e74e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4885fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4885ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004f7276
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48850e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f713d
xor eax, eax
jmp 0x48863f
mov byte [esi], 0
push 0x552de4
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.004f713d
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 0x49a4c0
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 0x49a52e
cmp si, 0x69
ja 0x49a52e
add esi, 0xffd0
cmp si, 0x11
je 0x49a4fe
push 0x11
call edi
test ax, ax
jge 0x49a4fe
or esi, 0x2000
cmp si, 0x10
je 0x49a513
push 0x10
call edi
test ax, ax
jge 0x49a513
or esi, 0x4000
cmp si, 0x12
je 0x49a528
push 0x12
call edi
test ax, ax
jge 0x49a528
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x49a53b
mov esi, 0xbd
jmp 0x49a4ef
cmp si, 0x6e
jne 0x49a548
mov esi, 0xbe
jmp 0x49a4ef
cmp si, 0x6f
jne 0x49a4e9
mov esi, 0xbf
jmp 0x49a4ef

Function at 0x49bc60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56d340]
xor edx, edx
cmp eax, edx
jne 0x49bc86
xor eax, eax
mov byte [eax + 0x56d240], al
inc eax
cmp eax, 0x100
jl 0x49bc6e
mov dword [0x56d340], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56d240
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49bd17
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 0x49bcea
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 0x49bcb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49bd90
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 0x49bde3
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 0x49bdca
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 0x4a2890
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 0x4a2a28
cmp ebp, ebx
jle 0x4a2a28
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4a28ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4a28f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4a2904
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4a290b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004f6e7e
add esp, 4
cmp eax, ebx
je 0x4a292c
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.004f6e7e
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 0x4a2a1e
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 0x4a2a05
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4a29f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4a29e6
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 0x4a29f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4a29f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4a2990
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 0x4a2981
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 0x4a5a60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x505e98
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 0x4a5a99
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.004fe97b
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004fea03
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.004a5b20
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004fea40
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24