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

Disassembly:
mov esi, 0x5bc45c52
mov esi, dword [esp + 2]
xchg si, di
sbb ebx, edx
pop cx
jmp 0xed99bf
pushal
rdtsc
pop ecx
not bh
xchg dword [esp + 0x19], edx
push word [esp + 0x24]
jmp 0xed9960
mov di, word [esp + 0xa]
mov byte [esp + 9], bh
mov di, sp
xchg si, bp
jmp 0xed9976
push edx
mov cl, byte [esp + 2]
xchg cl, bl
and bh, ch
mov edi, dword [esp + 1]
setge ch
jmp 0xed9a7b
pushal
lea esp, [esp + 0x4b]
rdtsc
bsf di, ax
mov ch, 0xa4
lea edi, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0xed99a9
neg ch
pop word [esp + 0x19]
sub ebx, edi
push ax
mov al, byte [esp + 3]
jmp 0xed9a31
inc edi
xchg ebx, ebp
xchg word [esp], si
pushal
std
xchg word [esp + 0x1a], cx
jmp 0xed99d4
seto ah
pop word [esp]
mov word [esp], si
mov dx, word [esp + 1]
mov byte [esp], dh
cld
jmp 0xed99ea
mov edx, dword [esp + 0x13]
btc dx, ax
popal
lea eax, [edx*4]
jmp 0xed9a5c
xchg bh, ch
push cx
mov edi, dword [esp + 0xf]
mov dword [esp + 7], ecx
pop word [esp + 0xa]
cpuid
jmp 0xed9a1b
mov ebp, dword [esp]
mov cl, byte [esp]
xchg byte [esp], bh
btr ax, bp
clc
jmp 0xed9cd4
mov edx, dword [esp]
shr ebx, cl
bt ax, ax
cpuid
rol ebx, 2
xchg word [esp], si
jmp 0xed9a46
rdtsc
mov bh, byte [esp + 1]
mov esi, edx
xchg bp, ax
bswap ebx
lea eax, [esp + edx]
jmp 0xed9a05
mov di, word [esp]
lea esi, [edi + 0xc9]
setne bl
lea ebx, reloc.iphlpapi.dll_GetAdaptersInfo
inc dx
xchg ebp, eax
call fcn.00ed9c42
mov si, word [esp + 1]
push word [esp + 0xa]
bts cx, sp
mov edx, ecx
call fcn.00ed9d24
ret 0xa20f

Function at 0xed9f26
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
mov byte [esp + 2], bh
call 0xed9f10

Function at 0xed9f2f
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
call fcn.00ed8f4b
mov dword [esp], esi
pop word [esp]
push word [esp]
mov dword [esp], esi
pushal
jmp 0xed9f4b
pop dword [esp + 7]
mov word [esp + 0xd], si
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0xed9f92
mov eax, dword [eax + 0x1c]
jmp 0xed9fcd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xed9f7c
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xed8f46

Function at 0xed9f6d
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push ebp
call fcn.00ed9f2f
mov dword [esp], ebx
push cx
mov byte [esp], cl
lea esp, [esp + 2]
push esp
jmp 0xed9f45
Function at 0x41e6ce
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41e6ec
mov eax, 0x566065
push eax
push 1
mov ebx, 0x456940
call fcn.00456343
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41e716
mov eax, 0
jmp 0x41e78a
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x41e777
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41e760
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41e74f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41e740
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x43709d
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x4371b7
je 0x4371ae
cmp eax, 0x80
jg 0x437134
je 0x43712b
cmp eax, 8
jg 0x4370fd
je 0x4370f4
cmp eax, 0x80000000
je 0x4370eb
cmp eax, 2
je 0x4370e2
cmp eax, 4
jne 0x43729a
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x437122
cmp eax, 0x20
je 0x437119
cmp eax, 0x40
jne 0x43729a
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x43717a
je 0x437171
cmp eax, 0x100
je 0x437168
cmp eax, 0x200
je 0x43715f
cmp eax, 0x400
jne 0x43729a
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x4371a5
cmp eax, 0x2000
je 0x43719c
cmp eax, 0x4000
jne 0x43729a
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x437243
je 0x43723a
cmp eax, 0x80000
jg 0x43720a
je 0x437201
cmp eax, 0x10000
je 0x4371f8
cmp eax, 0x20000
je 0x4371ef
cmp eax, 0x40000
jne 0x43729a
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x437231
cmp eax, 0x200000
je 0x437228
cmp eax, 0x400000
jne 0x43729a
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x437285
je 0x43727c
cmp eax, 0x1000000
je 0x437273
cmp eax, 0x2000000
je 0x43726a
cmp eax, 0x4000000
jne 0x43729a
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x4372b2
cmp eax, 0x20000000
je 0x4372a9
cmp eax, 0x40000000
je 0x4372a0
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x455566
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x45563b
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x45563b
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x45563b
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4555c1
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x45563b
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455606
test dl, dl
je 0x455602
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455606
add ecx, 2
add eax, 2
test dl, dl
jne 0x4555e6
xor eax, eax
jmp 0x45560b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45561d
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x455628
inc esi
cmp esi, ebp
jae 0x45563b
mov edx, dword [esp + 0x10]
jmp 0x4555dc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x45589f
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4558aa
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x4558be
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4558c2
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x4558fb
cmp dword [edi + ecx], 0x4550
jne 0x4558fb
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x4558fb
test byte [edi + ecx + 0x16], 2
je 0x4558fb
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x455900
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x45593c
xor eax, eax
jmp 0x45591f
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x455945
inc edx
movzx eax, dx
cmp eax, edi
jl 0x45591f
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x45594b
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x455983
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x455991
add edx, 0x20
cmp eax, edx
jne 0x4559a2
test bx, bx
je 0x4559d7
add esi, 2
add edi, 2
jmp 0x455973
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4559b0
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x4559be
add edx, 0x20
sub ecx, edx
je 0x4559d7
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x45596c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4559f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x455ac9
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x455ac9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x455ac9
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x455a4f
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x455ac9
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455a94
test dl, dl
je 0x455a90
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455a94
add ecx, 2
add eax, 2
test dl, dl
jne 0x455a74
xor eax, eax
jmp 0x455a99
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455aab
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x455ab6
inc esi
cmp esi, ebp
jae 0x455ac9
mov edx, dword [esp + 0x10]
jmp 0x455a6a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x455ae5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x455c0d
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.00455d47
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00455c19
mov ebp, eax
test ebp, ebp
je 0x455c0d
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00455c19
mov edi, eax
test edi, edi
je 0x455c0d
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00455c19
mov ebx, eax
test ebx, ebx
je 0x455c0d
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x455be9
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x455be9
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.00455cfa
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x455c19
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x455cee
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x455cee
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x455cee
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x455c74
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x455cee
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455cb9
test dl, dl
je 0x455cb5
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455cb9
add ecx, 2
add eax, 2
test dl, dl
jne 0x455c99
xor eax, eax
jmp 0x455cbe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455cd0
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x455cdb
inc esi
cmp esi, ebp
jae 0x455cee
mov edx, dword [esp + 0x10]
jmp 0x455c8f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x455d47
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x455d7f
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x455d8d
add edx, 0x20
cmp eax, edx
jne 0x455d9e
test bx, bx
je 0x455dd3
add esi, 2
add edi, 2
jmp 0x455d6f
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x455dac
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x455dba
add edx, 0x20
sub ecx, edx
je 0x455dd3
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x455d68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x465300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x55a85b
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.0054ef8a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x465382
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0054c957
mov eax, dword [eax]
push 0xaddee8
push eax
call fcn.0053aea4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0054f215
test bl, bl
je 0x465382
push 0xaddee8
lea ecx, [esp + 0xc]
call fcn.0054f5a5
push 0xaddef4
lea ecx, [esp + 0xc]
call fcn.0054f5a5
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 0x4653be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0054f215
jmp 0x465489
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 0x465442
lea edx, [esp + 0x7c]
push 0xaddef0
push edx
call fcn.0053aea4
add esp, 8
test eax, eax
je 0x465442
lea eax, [esp + 0x7c]
push 0xaddeec
push eax
call fcn.0053aea4
add esp, 8
test eax, eax
je 0x465442
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 0x4653d2
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.0054f215
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 0x465c80
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 0x465ce2
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 0x465cf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x55a8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xb2ff74]
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 0x465e28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x465d56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054f215
xor eax, eax
jmp 0x465e9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0054f352
push esi
lea ecx, [esp + 0xc]
call fcn.0054f5e1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xaddf28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x465e7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00465c80
test eax, eax
jne 0x465e7d
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 closesocket
mov ecx, edi
call fcn.00465c80
test eax, eax
jne 0x465e7d
lea eax, [esp + 0x14]
push 0xaddf04
push eax
call fcn.0053c090
mov esi, eax
add esp, 8
test esi, esi
jne 0x465e5c
lea ecx, [esp + 0x14]
push 0xaddf00
push ecx
call fcn.0053c010
mov esi, eax
add esp, 8
test esi, esi
jne 0x465e5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x465e5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0054f302
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x465d6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054f215
xor eax, eax
jmp 0x465e9f
mov byte [esi], 0
push 0xaddefc
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.0054f215
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 0x479040
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 0x4790ae
cmp si, 0x69
ja 0x4790ae
add esi, 0xffd0
cmp si, 0x11
je 0x47907e
push 0x11
call edi
test ax, ax
jge 0x47907e
or esi, 0x2000
cmp si, 0x10
je 0x479093
push 0x10
call edi
test ax, ax
jge 0x479093
or esi, 0x4000
cmp si, 0x12
je 0x4790a8
push 0x12
call edi
test ax, ax
jge 0x4790a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4790bb
mov esi, 0xbd
jmp 0x47906f
cmp si, 0x6e
jne 0x4790c8
mov esi, 0xbe
jmp 0x47906f
cmp si, 0x6f
jne 0x479069
mov esi, 0xbf
jmp 0x47906f

Function at 0x47aa50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb40ee0]
xor edx, edx
cmp eax, edx
jne 0x47aa76
xor eax, eax
mov byte [eax + 0xb40de0], al
inc eax
cmp eax, 0x100
jl 0x47aa5e
mov dword [0xb40ee0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb40de0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47ab07
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 0x47aada
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 0x47aaa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47ab80
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 0x47abd3
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 0x47abba
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 0x47e1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55bed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00555c92
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0047e0b0
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00555d04
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret