joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef00e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ef046
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ed089
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ed061
jmp 0x4ef052
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f080e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4f0850
call fcn.004f6a3e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f0850
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f0847
xor eax, eax
jmp 0x4f0858
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f085e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f6f6e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4f6f9c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f6fba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f6ed4
jmp 0x4f6fba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f6fba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f6ed4
test edi, edi
mov eax, edi
jne 0x4f6fa4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x501050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa5000]
push edi
jmp 0x50106a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x501071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501060
mov eax, 1
add ebx, ebx
jne 0x501083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x501094
jne 0x5010b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5010b3
dec eax
add ebx, ebx
jne 0x5010a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x501078
add ebx, ebx
jne 0x5010af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x501105
xor ecx, ecx
sub eax, 3
jb 0x5010cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50113a
sar eax, 1
mov ebp, eax
jmp 0x5010d6
add ebx, ebx
jne 0x5010d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5010a4
inc ecx
add ebx, ebx
jne 0x5010e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5010a4
add ebx, ebx
jne 0x5010f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5010e6
jne 0x501102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5010e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x501124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x501116
jmp 0x501066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x501124
add edi, ecx
jmp 0x501066
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x501142
cmp byte [edi], 0x17
jne 0x501142
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 0x501147
lea edi, [esi + 0xfb000]
mov eax, dword [edi]
or eax, eax
je 0x5011b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12026c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x120300]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x501174
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x120308]
or eax, eax
je 0x5011b0
mov dword [ebx], eax
add ebx, 4
jmp 0x501191
call dword [esi + 0x120304]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5011e7
cmp al, 0xef
ja 0x5011da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5011bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5011c9
mov ebp, dword [esi + 0x12030c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x50121b
sub esp, 0xffffff80
jmp 0x435126
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
invalid
invalid
invalid

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
Function at 0x40ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
add byte [eax], al
add byte [ecx + 0x5318244c], cl
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
add byte [edi - 0x75], dl
jge 0x40ec6f
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
mov word [esp + 0x54], 1
push 8
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x38], 1
call fcn.0041fddb
mov ecx, dword [edi]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 1
mov dword [edx], 0x14
mov dword [edx + 4], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], 0x17
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x49c470]
mov dword [esp + 0x70], ecx
movsx eax, word [eax + 0xa]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
add byte [eax], al
add byte [ecx + 0x5318244c], cl
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
add byte [edi - 0x75], dl
jge 0x40ec6f
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
mov word [esp + 0x54], 1
push 8
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x38], 1
call fcn.0041fddb
mov ecx, dword [edi]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 1
mov dword [edx], 0x14
mov dword [edx + 4], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], 0x17
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x49c470]
mov dword [esp + 0x70], ecx
movsx eax, word [eax + 0xa]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [edx]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], ebx
Function at 0x41c574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0xff
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x45b8ca
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test al, 1
jne 0x45b8d1
and eax, 0x800
mov dword [ebp + 8], eax
je 0x45b9c9
mov dword [ebp - 0x18], esi
cmp esi, ebx
ja 0x41c5ec
mov edi, dword [ebp - 8]
mov eax, ebx
sub eax, esi
inc ecx
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
pop es
movzx ecx, byte [edx + edi]
bts ecx, eax
inc esi
mov byte [edx + edi], cl
cmp esi, ebx
jbe 0x41c5ca
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x41c5f9
mov esi, 0x100
cmp edi, esi
jae 0x45b9e0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
or al, 0xc7
add cl, ch
ja 0x8b4fa3f4
jmp 0x45b8dc
inc ebp
or al, 0xc7
add byte [eax + eax], dh
mov edx, dword [ebx]
sti
sti
or al, 0x8b
inc eax
add al, 0xf
mov dh, 0x14
cmp byte [ebx - 0x350407bb], cl
shr ecx, 3
and edx, 7
movzx eax, byte [ecx + eax]
add al, 1
bts eax, edx
mov ah, 0xfb
clc
inc edi
mov byte [ecx + edx], al
cmp edi, ebx
jbe 0x45b9b2
mov edi, dword [ebp + 0x14]
cmpsd dword [esi], dword es:[edi]
sti
jne 0x45ba4a
dec ebp
cld
jmp 0x4641c5c6
mov dword [edx], edi

Function at 0x41c633
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
push esi
push edi
movzx eax, byte [eax + 0x4c2140]
mov edi, edx
xor edx, edx
mov dword [ebp - 4], edi
inc edx
lea ecx, [ecx + eax*2]
call fcn.0041c935
mov esi, eax
cmp esi, edi
jae case.0x41c74a.119
push 0x77
pop ebx
movzx edi, word [esi]
mov edx, esi
Function at 0x41f98e
Capabilities:
Encode data using xor

Disassembly:
test byte [0x830003cf], cl
call 0xe7c6bc95
into
add eax, dword [eax]
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
call dword [0x49c740]
mov esi, eax
cmp ebx, esi
jne 0x45f467
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
jle 0x45f4a1
add byte [edi], cl
test byte [eax], bh
add eax, 0x515774fc
call dword [0x4d49c728]
mov cl, 0x4d
or al, 0xe8
sub al, 5
cld
inc ebp
jmp 0x7541f98d
je 0x45f4c7
je 0x45f4ae
push 9
push ebx
call dword [0x4d49c728]
push ebx
mov dword [ebp - 0x10], edi
call dword [0x8b49c5e4]
je 0x45f4de
jne 0x41ad89
push edi
push esi
mov esi, dword [0x49c66c]
xor eax, 0x49c66c
add bh, bh
salc
call esi
mov edi, eax
dec eax
jge 0x45f4c3
call dword [0x8b49c180]
push 0xffffffffffffffc6
push ebx
mov dword [ebp - 4], eax
call esi
mov esi, dword [0x49c670]
xor eax, 0x49c670
push 1
push eax
dec dword [ebx - 0x7ba76f1]
call esi
push 1
push edi
dec dword [ebx + 0x6ad6ff0f]
add ebp, edi
jne 0x45f4f3
ud0
push edi
call esi
push ebx
call dword [0x8b49c5e4]
je 0x45f52b
jne 0x45f565
mov edi, dword [0x49c698]
add dword [eax + 0x50], edx
push 0x12
call edi
mov esi, dword [0x4d49c750]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
add dword [eax + 0x50], edx
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [0x8b49c5e4]
mov esi, dword [0x49c670]
mov edi, dword [ebp - 0xc]
je 0x45f583
je 0x45f56a
push 0xffffffffffffffff
inc esp
push 3
pop ebx
jmp 0x45f56d
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
dec dword [ebx + 0x6ad6ff0f]
add byte [edi - 1], dl
mov ecx, dword [edi]
call esi
push 0
std
jne 0x45f57c
ud0
clc
push edi
call esi
jmp 0x45f58c
mov eax, ebx
pop edi
jmp fcn.0041f9c9

Function at 0x466453
Capabilities:
Encode data using xor

Disassembly:
sbb byte [edi], cl
mov dh, 0x7e
out 0xf, eax
mov dh, 0x42
out 0x2b, eax
clc
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp edi, ebx
je 0x421cea
push esi
call 0x556feb
mov eax, dword [ebx + 8]
cmp dword [edi + 0xc], eax
jae 0x4664ad
push 8
pop edx
cmp eax, edx
jb 0x46647c
mov edx, eax
mov dword [edi + 0xc], edx
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x7541fe29
cmp dword [edi + 4], 0
mov esi, eax
pop ecx
je 0x4664a7
std
ja 0x4664a5
call fcn.0041fe32
pop ecx
call [ecx - 0x77]
ja 0x4664ae
mov dword [edi + 4], esi
mov eax, dword [ebx + 8]
and dword [ebp + 8], 0xffffffff
or bh, bh
mov dword [edi + 8], eax
je 0x4664da
je 0x4664e9
push 0x10
call fcn.0041fdf9
pop ecx
mov ecx, dword [ebx + 4]
sub eax, 0x8458b8d
mov ecx, dword [ecx + eax*4]
and dword [esi + 8], 0
mov esi, 0x27fcffde
pushfd
cli
test dword [ebx + 0x4f8b0845], ecx
add al, 0x89
xor al, 0x81
mov ecx, dword [edi + 4]
mov dword [ecx + eax*4], esi
inc eax
mov dword [ebp + 8], eax
or byte [ebx], bh
inc edi
or byte [edx - 0x31], dh
Function at 0x47337c
Capabilities:
Encode data using xor

Disassembly:
mov edi, ecx
lea ecx, [esi + 0x38]
call 0xfc9498c8
dec dword [esi + 0x18]
call 0xfc9498c8
dec dword [esi + 8]
call 0x6a4fcfd9
or dword [eax + 0x56], ebx
call 0x241fe06
dec ebp
or al, 0x85
leave
insb byte es:[edi], dx
invalid
Function at 0x407090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b4fb
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.0047038e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e2a0
mov eax, dword [eax]
push 0x4b5c50
push eax
call fcn.00460fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470619
test bl, bl
je 0x407112
push 0x4b5c50
lea ecx, [esp + 0xc]
call fcn.004709a9
push 0x4b5c5c
lea ecx, [esp + 0xc]
call fcn.004709a9
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 0x40714e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470619
jmp 0x407219
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 0x4071d2
lea edx, [esp + 0x7c]
push 0x4b5c58
push edx
call fcn.00460fb4
add esp, 8
test eax, eax
je 0x4071d2
lea eax, [esp + 0x7c]
push 0x4b5c54
push eax
call fcn.00460fb4
add esp, 8
test eax, eax
je 0x4071d2
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 0x407162
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.00470619
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 0x407a20
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 0x407a82
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 0x407a90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bf618]
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 0x407bc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407af6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470619
xor eax, eax
jmp 0x407c3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00470756
push esi
lea ecx, [esp + 0xc]
call fcn.004709e5
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 0x407c1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00407a20
test eax, eax
jne 0x407c1d
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 accept
mov ecx, edi
call fcn.00407a20
test eax, eax
jne 0x407c1d
lea eax, [esp + 0x14]
push 0x4b5c6c
push eax
call fcn.00462030
mov esi, eax
add esp, 8
test esi, esi
jne 0x407bfc
lea ecx, [esp + 0x14]
push 0x4b5c68
push ecx
call fcn.00461fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x407bfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x407bff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00470706
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407b0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470619
xor eax, eax
jmp 0x407c3f
mov byte [esi], 0
push 0x4b5c64
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.00470619
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 0x419ad0
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 0x419b3e
cmp si, 0x69
ja 0x419b3e
add esi, 0xffd0
cmp si, 0x11
je 0x419b0e
push 0x11
call edi
test ax, ax
jge 0x419b0e
or esi, 0x2000
cmp si, 0x10
je 0x419b23
push 0x10
call edi
test ax, ax
jge 0x419b23
or esi, 0x4000
cmp si, 0x12
je 0x419b38
push 0x12
call edi
test ax, ax
jge 0x419b38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x419b4b
mov esi, 0xbd
jmp 0x419aff
cmp si, 0x6e
jne 0x419b58
mov esi, 0xbe
jmp 0x419aff
cmp si, 0x6f
jne 0x419af9
mov esi, 0xbf
jmp 0x419aff

Function at 0x41b390
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cfd68]
xor edx, edx
cmp eax, edx
jne 0x41b3b6
xor eax, eax
mov byte [eax + 0x4cfc68], al
inc eax
cmp eax, 0x100
jl 0x41b39e
mov dword [0x4cfd68], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cfc68
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41b447
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 0x41b41a
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 0x41b3e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41b4c0
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 0x41b513
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 0x41b4fa
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 0x422610
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 0x4227a8
cmp ebp, ebx
jle 0x4227a8
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 0x42266e
dec eax
or eax, 0xfffffff8
inc eax
je 0x422675
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x422684
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42268b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047035a
add esp, 4
cmp eax, ebx
je 0x4226ac
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.0047035a
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 0x42279e
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 0x422785
mov al, byte [edx]
cmp al, 0xc0
jbe 0x422771
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x422766
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 0x422774
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x422774
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422710
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 0x422701
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