joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcda73c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
ror ecx, 3
and dx, dx
bswap ecx
inc ecx
xor ecx, 0x6f0322bb
jmp 0xcdc18d
movzx cx, byte [edi + eax*2 - 0x49073538]
sub ax, ax
mov dl, byte [edi + eax*2 - 0x4905fffe]
dec eax
sbb ax, 0x2b1d
lea edi, [edi + eax - 0x2482d4e0]
adc cl, dl
and eax, 0x962caa87
push eax
push eax
mov word [eax + edi - 0x4008082], cx
rol al, 0x67
add ax, ax
mov eax, dword [ebp + eax*8 - 0x20000410]
add ebp, 4
xor eax, ebx
mov ecx, dword [esp + 4]
sar ecx, cl
sbb dword [esp + ecx - 0x100201c], ecx
ror eax, 1
push ecx
pop edx
and word [esp + ecx - 0x100201e], dx
bswap eax
xor cx, 0x104
not eax
sar cx, cl
xchg edx, ecx
ror eax, 1
sub eax, 0xb6b9dc26
pop ecx
neg eax
and ecx, ecx
ror ecx, cl
call fcn.0084eff8
jl 0xbe9df8
push 0x9fa1a093
shr ax, cl
mov word [ebp], ax
dec dword [esp + 4]
mov ecx, 0x7b97290a
add dword [esp + ecx - 0x7b972908], 0x950ca682
mov dword [esp + ecx - 0x7b97290a], edi
ret 0xc
not dx
mov word [edx + ebp - 0xff89], cx
push eax
call fcn.00c85e35
mov ecx, dword [ebp + eax - 0x40276fcf]
lea edx, [eax + eax*4 + 0x38b8be89]
add dx, ax
neg edx
lea ebp, [ebp + eax - 0x40276fcb]
xor ecx, ebx
bswap ecx
neg dl
adc eax, eax
sbb dx, dx
lea ecx, [ecx + eax*2 - 0x2b0c3015]
jge 0xbd02a3
pop ecx
lea esi, [eax + esi - 0x40276fcd]
mov word [esi + eax - 0x40276fcf], dx
ja 0xc8da32
mov eax, 0x24839a9c
jmp 0xbe9d49
xor ebx, ecx
sal edx, 0x54
adc edi, ecx
movzx ecx, dx
sal eax, 0x61
add edx, edi
jmp edx

Function at 0xce2808
Capabilities:
Encrypt data using speck

Disassembly:
inc ecx
movsx ebp, ax
dec esp
add esi, ecx
dec eax
mov dword [esp + ebx*2 - 0x56687c3a], 0x6199c8b3
dec esp
mov ecx, dword [esi + ebp]
dec esp
add dword [esp + ebx - 0x2b343e15], eax
dec ecx
lea edx, [eax + 0x5261131]
dec eax
dec dword [esp + ebp*8 + 0xa]
inc edx
mov cl, byte [esi + eax - 0x4328fff8]
dec ecx
lea edi, [eax + edx*4 + 0x163bfe86]
dec ecx
shl ecx, cl
inc sp
xadd dword [esp + ebx - 0x2b343e14], eax
dec edx
mov dword [esp + eax - 0x4329c2c8], 0x9bad77b5
inc edx
sub byte [esp + eax - 0x4329c2b8], ch
dec esp
mov dword [ebx + esi - 0x2b343e23], ecx
inc esi
movzx ecx, word [ebp + ebx - 6]
inc edx
not dword [esp + eax - 0x4329c2b7]
inc ebp
movzx edx, ax
dec ebp
lea ebx, [ebx + ebx*2 - 0x56687c50]
inc bp
xor ecx, ebp
call fcn.00b96e23

Function at 0xce73cc
Capabilities:
Encrypt data using speck

Disassembly:
inc ax
lea ecx, [esp + ecx + 4]
push eax
push eax
jg 0xbd248f
sub ecx, 0xa9a8eca6
jmp 0x7269c5
mov byte [ecx + eax - 0x35185e32], dl
or word [esp + eax - 0x35185e31], ax
mov edx, dword [edi + eax*2 - 0x6a30bc64]
lea ecx, [eax*8 - 0x7a4010d7]
and ecx, eax
or eax, 0x92a14d82
lea edi, [ecx + edi - 0x2400402c]
xor edx, ebx
inc edx
rol eax, 0xac
neg cl
ror cl, 1
not cl
add eax, 0x35185e31
mov dword [esp + eax*2 - 0x6a30bc62], eax
xor bl, cl
jmp 0x7e46f8

Function at 0xcef04f
Capabilities:
Encrypt data using speck

Disassembly:
dec eax
and ebp, 0x9131f339
dec esp
mov dword [esp + eax], ecx
dec eax
lea esi, [esi + eax*2 + 4]
jp 0x7f5a8f
Function at 0xcf03ab
Capabilities:
Execute syscall

Disassembly:
jp 0x7a4a1e
mov edx, dword [eax + esi - 0x5f27a]
lea ecx, [eax + eax - 0x32625ff1]
mov dword [esp + eax - 0x5f27a], ecx
jbe 0xbbb406

Function at 0xcfa6c5
Capabilities:
Encrypt data using speck

Disassembly:
xor cl, bl
add byte [esp + 4], dl
adc eax, 0x21d0f89
rol cl, 1
call fcn.00864ab8
movzx ecx, byte [ebp]
add ebp, 1
inc eax
jnp 0x85e4b0

Function at 0xcfbd17
Capabilities:
Encrypt data using speck

Disassembly:
xor ebx, 0x161ce192
inc dx
sar dword [esp + eax - 0x5cd00000], 0xa
dec esi
mov dword [esp - 0x1df0], ebp
call fcn.0076a750
dec edx
mov dword [esp + edx - 0x1dfffff0], 0x71328505
inc ebx
mov ebx, dword [edx + ebx - 0x1e000000]
sar dl, 1
inc ecx
rol bh, 0x21
dec ecx
shl edi, 0x53
inc ecx
xor ebx, ebp
not ebx
ror ebx, 1
dec edi
lea edx, [esp - 0x48ce8a4a]
inc ecx
lea ebx, [edx + ebx - 0x67d9466c]
inc dx
xchg dword [esp + edx + 0x48ce304e], edx
not eax
jmp 0x84cb11
dec ebp
adc esi, edi
inc ebx
mov ebx, dword [ebx + ecx - 0xffff056]
inc ebp
xadd al, cl
dec edi
lea ebx, [ebx + ecx*2 - 0x1fffe122]
inc ecx
xor ebx, ebp
dec ebp
lea esp, [edx + edx*8 + 0x770c4002]
dec esi
xadd dword [esp + ecx*2 - 0x1fffe10e], eax
inc ecx
mov edi, 0xcb915627
dec ebx
inc dx
rol dword [esp + ecx - 0xffff07a], 0x65
inc ecx
setae dl
jae 0xbc2956
neg ebx
inc ecx
sal ecx, 0x21
xor ebx, 0x8809b502
inc edx
lea ebx, [ebx + ecx*2 + 0x722165dd]
dec esi
mov dword [esp + ecx - 0x1fffe100], ebp
dec ecx
lea edi, [ecx + ebp*2 + 0x359cee9e]
inc edx
xor dword [esp + ecx - 0x1fffe100], ebx
dec edx
mov dword [esp + ecx*2 - 0x3fffc230], edx
dec eax
lea ebp, [ecx*8 - 0x366333dd]
dec esi
mov ebp, dword [esp + ecx*2 - 0x3fffc218]
mov dword [esi + eax*2 - 0x126], ebx
mov ebx, 0x23a80eae
call fcn.00b70591
Function at 0x930630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35a000]
push edi
jmp 0x93064a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x930651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x930640
mov eax, 1
add ebx, ebx
jne 0x930663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x930674
jne 0x930693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x930693
dec eax
add ebx, ebx
jne 0x930680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x930658
add ebx, ebx
jne 0x93068f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9306e5
xor ecx, ecx
sub eax, 3
jb 0x9306ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x93071a
sar eax, 1
mov ebp, eax
jmp 0x9306b6
add ebx, ebx
jne 0x9306b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x930684
inc ecx
add ebx, ebx
jne 0x9306c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x930684
add ebx, ebx
jne 0x9306d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9306c6
jne 0x9306e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9306c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x930704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9306f6
jmp 0x930646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x930704
add edi, ecx
jmp 0x930646
pop esi
mov edi, esi
mov ecx, 0xf599
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x930722
cmp byte [edi], 0x26
jne 0x930722
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 0x930727
lea edi, [esi + 0x51c000]
mov eax, dword [edi]
or eax, eax
je 0x93079f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53b5f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53b744]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x930754
mov ecx, edi
jns 0x930783
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x53b748]
or eax, eax
je 0x930799
mov dword [ebx], eax
add ebx, 4
jmp 0x930771
call dword [esi + 0x53b758]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9307d0
cmp al, 0xef
ja 0x9307c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9307a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9307b2
mov ebp, dword [esi + 0x53b74c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x930804
sub esp, 0xffffff80
jmp 0x4ab3cb
Function at 0x1001ed0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10013d8
call fcn.010020b8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001f0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001f0d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001f25
cmp eax, 0x20b
je 0x1001f12
mov dword [ebp - 0x1c], ebx
jmp 0x1001f39
cmp dword [ecx + 0x84], 0xe
jbe 0x1001f0d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1001f33
cmp dword [ecx + 0x74], 0xe
jbe 0x1001f0d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003464], 0xffffffff
or dword [0x1003468], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003050]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100304c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100346c], eax
call fcn.010020b4
cmp dword [section..data], ebx
jne 0x1001f94
push fcn.010020b4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010020a2
push 0x10010c8
push 0x10010c4
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003048]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1003044]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10010c0
push 0x10010bc
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x100202a
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001ffe
cmp al, 0x22
jne 0x1001ff0
cmp byte [esi], 0x22
jne 0x1002007
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1002011
cmp al, 0x20
jbe 0x1002003
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x1002035
movzx eax, word [ebp - 0x48]
jmp 0x1002038
cmp byte [esi], 0x20
jbe 0x1002007
inc esi
mov dword [ebp - 0x34], esi
jmp 0x100202a
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1002055
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100208a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010020f1
ret
Function at 0x139ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x20550]
and dword [ebp - 4], 0
push esi
mov esi, dword [0x2054c]
push edi
mov edi, dword [0x20554]
add eax, edi
add eax, dword [0x20548]
xor ecx, esi
xor edx, esi
add eax, esi
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [ebp - 8], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
add dword [ebp - 4], eax
dec dword [ebp - 8]
mov esi, edx
shl esi, 4
add esi, dword [ebp + 0xc]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, edx
xor esi, edi
add ecx, esi
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, ecx
xor esi, edi
add edx, esi
cmp dword [ebp - 8], 0
ja 0x13a44
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
leave
ret 8

Function at 0x13a9a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [0x20554]
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x20550]
add ecx, eax
mov eax, dword [ebp + 0xc]
add ecx, dword [0x2054c]
push edi
mov edi, dword [eax + 0xc]
add ecx, dword [0x20548]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 8], 0x20
shl edx, 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 0xc]
dec dword [ebp - 8]
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, esi
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
lea edi, [edx + esi]
xor eax, edi
sub dword [ebp - 4], eax
sub edx, ecx
cmp dword [ebp - 8], 0
ja 0x13aee
mov eax, dword [0x2054c]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x2054c]
xor eax, esi
pop edi
mov dword [ecx + 4], eax
pop esi
leave
ret 8

Function at 0x13bf6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x13c24
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x27140]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x13c05
not eax
pop ebp
ret 8
Function at 0x409a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x473d8b
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.00468809
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00466720
mov eax, dword [eax]
push 0x48d1c0
push eax
call fcn.004587d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468a94
test bl, bl
je 0x409aa2
push 0x48d1c0
lea ecx, [esp + 0xc]
call fcn.00468e24
push 0x490d2c
lea ecx, [esp + 0xc]
call fcn.00468e24
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 0x409ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468a94
jmp 0x409ba9
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 0x409b62
lea edx, [esp + 0x7c]
push 0x490d28
push edx
call fcn.004587d4
add esp, 8
test eax, eax
je 0x409b62
lea eax, [esp + 0x7c]
push 0x490d24
push eax
call fcn.004587d4
add esp, 8
test eax, eax
je 0x409b62
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 0x409af2
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.00468a94
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 0x40a3a0
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 0x40a402
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 0x40a410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x473e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49e514]
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 0x40a548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468a94
xor eax, eax
jmp 0x40a5bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468bd1
push esi
lea ecx, [esp + 0xc]
call fcn.00468e60
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 0x40a59d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0040a3a0
test eax, eax
jne 0x40a59d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0040a3a0
test eax, eax
jne 0x40a59d
lea eax, [esp + 0x14]
push 0x490d40
push eax
call fcn.004598f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a57c
lea ecx, [esp + 0x14]
push 0x490d3c
push ecx
call fcn.00459870
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a57c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a57f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468b81
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a48e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468a94
xor eax, eax
jmp 0x40a5bf
mov byte [esi], 0
push 0x490d38
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.00468a94
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 0x41aa70
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 0x41aade
cmp si, 0x69
ja 0x41aade
add esi, 0xffd0
cmp si, 0x11
je 0x41aaae
push 0x11
call edi
test ax, ax
jge 0x41aaae
or esi, 0x2000
cmp si, 0x10
je 0x41aac3
push 0x10
call edi
test ax, ax
jge 0x41aac3
or esi, 0x4000
cmp si, 0x12
je 0x41aad8
push 0x12
call edi
test ax, ax
jge 0x41aad8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41aaeb
mov esi, 0xbd
jmp 0x41aa9f
cmp si, 0x6e
jne 0x41aaf8
mov esi, 0xbe
jmp 0x41aa9f
cmp si, 0x6f
jne 0x41aa99
mov esi, 0xbf
jmp 0x41aa9f

Function at 0x41c190
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4aebf8]
xor edx, edx
cmp eax, edx
jne 0x41c1b6
xor eax, eax
mov byte [eax + 0x4aeaf8], al
inc eax
cmp eax, 0x100
jl 0x41c19e
mov dword [0x4aebf8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4aeaf8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c247
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 0x41c21a
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 0x41c1e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c2c0
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 0x41c313
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 0x41c2fa
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 0x422d50
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 0x422ee8
cmp ebp, ebx
jle 0x422ee8
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 0x422dae
dec eax
or eax, 0xfffffff8
inc eax
je 0x422db5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x422dc4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x422dcb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004687d5
add esp, 4
cmp eax, ebx
je 0x422dec
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.004687d5
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 0x422ede
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 0x422ec5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x422eb1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x422ea6
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 0x422eb4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x422eb4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422e50
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 0x422e41
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