joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63dac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x80]
mov esi, 0x75a30d
sub esp, 0x9c
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebp - 0x8c], eax
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x75a371]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 0x87]
rep movsd dword es:[edi], dword [esi]
and eax, 0xfffffff0
call fcn.005e3260
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
mov byte [ebx + eax + 0x67], 0
mov dword [esp], ebx
call fcn.006e4530
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x72d704], 0
jne 0x63dbad
mov byte [0x72d704], 1
call fcn.006fefb0
test eax, eax
je 0x63dbf1
mov ebx, dword [eax + 4]
cmp byte [ebx], 0x2a
je 0x63dbdf
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
call fcn.005e2170
mov dword [esp], 2
mov edi, eax
mov esi, dword [fcn.005f6930]
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp], 2
je 0x63db9d
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x7593fd
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
je 0x63dbe7
call fcn.006ff360
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x63db68
mov dword [esp], 2
call dword [0x72b810]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
add ebx, 1
jmp 0x63daf3
mov dword [esp], edi
call fcn.005f67d0
jmp 0x63db98
mov dword [esp], 2
call dword [0x72b810]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
sub edx, 1
mov dword [esp], eax
jne 0x63dc97
call fcn.006fee20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [esp], 2
mov ebx, eax
call esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call fcn.006ff010
jmp 0x63dc1e
call fcn.006fee20
call fcn.006ff010
jmp 0x63dc1e
Function at 0x6de2b0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
xor eax, ebx
cmp ebx, 3
jbe 0x6de2f5
lea edx, [ebx - 4]
shr edx, 2
lea esi, [ecx + edx*4 + 4]
imul edi, dword [ecx], 0x5bd1e995
add ecx, 4
mov edx, edi
shr edx, 0x18
xor edx, edi
imul edi, eax, 0x5bd1e995
imul eax, edx, 0x5bd1e995
xor eax, edi
cmp ecx, esi
jne 0x6de2d0
and ebx, 3
cmp ebx, 2
je 0x6de329
cmp ebx, 3
je 0x6de320
cmp ebx, 1
je 0x6de332
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
pop ebx
pop esi
mov edx, eax
shr edx, 0xf
xor eax, edx
pop edi
ret
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx edx, byte [ecx]
xor eax, edx
imul eax, eax, 0x5bd1e995
jmp 0x6de304

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp], eax
call fcn.006a3830
push eax
mov eax, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [esi + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
mov esi, dword [ebx + 8]
mov dword [esp + 0x4c], edi
mov edi, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], esi
mov dword [esp], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ebp
call fcn.006ebf2c
mov edx, eax
test edx, edx
jle 0x6e0201
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp edi, eax
je 0x6e0169
mov ebx, edi
sub ebx, eax
mov eax, ebx
sar eax, 3
imul eax, eax, 0xeeeeeeef
jmp 0x6e017b
mov eax, dword [esp + 0x4c]
mov edi, dword [eax - 4]
mov eax, 4
add edi, 0x1e0
cmp esi, ecx
je 0x6e018e
mov ebx, esi
sub ebx, ecx
sar ebx, 3
imul ecx, ebx, 0xeeeeeeef
jmp 0x6e01a0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx - 4]
mov ecx, 4
add esi, 0x1e0
cmp eax, edx
cmovg eax, edx
cmp eax, ecx
mov ebx, eax
cmovg ebx, ecx
imul ebp, ebx, 0x78
sar ebp, 3
imul ebp, ebp, 0xeeeeeeef
test ebp, ebp
mov dword [esp + 0x1c], edx
jle 0x6e01d8
sub edi, 0x78
sub esi, 0x78
dec ebp
mov dword [esp], edi
mov ecx, esi
call fcn.005fa69c
push eax
mov edx, dword [esp + 0x1c]
jmp 0x6e01b8
mov esi, ebx
lea ecx, [esp + 0x40]
neg esi
mov dword [esp], esi
call fcn.006a37d0
push edx
lea ecx, [esp + 0x20]
mov dword [esp], esi
call fcn.006a3878
push ecx
mov edx, dword [esp + 0x1c]
sub edx, ebx
jmp 0x6e013c
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.006a3830
push eax
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6e0220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp], eax
call fcn.006a3974
push edi
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x4c], edi
mov edi, dword [ebx + 4]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], edi
mov edi, dword [ebx + 8]
mov ebx, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
call fcn.006ebf9c
mov ebx, eax
test ebx, ebx
jle 0x6e035c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x18], eax
je 0x6e02c1
mov edi, dword [esp + 0x18]
sub edi, eax
mov eax, edi
sar eax, 3
imul eax, eax, 0xcccccccd
jmp 0x6e02d6
mov eax, dword [esp + 0x4c]
mov eax, dword [eax - 4]
add eax, 0x1e0
mov dword [esp + 0x18], eax
mov eax, 0xc
cmp edx, ecx
je 0x6e02eb
mov edi, edx
sub edi, ecx
mov ecx, edi
sar ecx, 3
imul ecx, ecx, 0xcccccccd
jmp 0x6e02fd
mov edx, dword [esp + 0x2c]
mov ecx, 0xc
mov edx, dword [edx - 4]
add edx, 0x1e0
cmp eax, ebx
cmovg eax, ebx
cmp eax, ecx
cmovle ecx, eax
xor ebp, ebp
imul eax, ecx, 0x28
mov dword [esp + 0x1c], ecx
sar eax, 3
imul eax, eax, 0xcccccccd
sub ebp, 0x28
test eax, eax
jle 0x6e0333
mov esi, dword [esp + 0x18]
lea edi, [edx + ebp]
mov ecx, 9
dec eax
add esi, ebp
rep movsd dword es:[edi], dword [esi]
jmp 0x6e0319
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
neg esi
mov dword [esp], esi
call fcn.006a3904
push edx
lea ecx, [esp + 0x20]
mov dword [esp], esi
call fcn.006a39bc
push ecx
sub ebx, dword [esp + 0x1c]
jmp 0x6e028c
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.006a3974
push eax
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6e67fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp], eax
call fcn.006a3974
push edi
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ebp, dword [ebx + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x4c], edi
mov edi, dword [ebx + 4]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], edi
mov edi, dword [ebx + 8]
mov ebx, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
call fcn.006ebf9c
mov ebp, eax
test ebp, ebp
jle 0x6e68f8
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
sub ebx, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
sar ebx, 3
sar eax, 3
imul eax, eax, 0xcccccccd
imul ebx, ebx, 0xcccccccd
cmp eax, ebx
cmovle ebx, eax
cmp ebx, ebp
cmovg ebx, ebp
xor edx, edx
imul eax, ebx, 0x28
sar eax, 3
imul eax, eax, 0xcccccccd
test eax, eax
jle 0x6e68d7
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, 9
dec eax
add edi, edx
add esi, edx
add edx, 0x28
rep movsd dword es:[edi], dword [esi]
jmp 0x6e68ba
lea ecx, [esp + 0x30]
mov dword [esp], ebx
sub ebp, ebx
call fcn.006a3904
push edx
lea ecx, [esp + 0x20]
mov dword [esp], ebx
call fcn.006a39bc
push ecx
jmp 0x6e6868
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.006a3974
push eax
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x704560
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.005f6930
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x75b07c
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.005f6930
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
pop ebp
jmp fcn.004014e0
Function at 0x4010c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call esi
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x40b790], 0
jne 0x4010fd
lea esp, [esp]
push 0x64
call esi
cmp dword [0x40b790], 0
je 0x4010f0
xor eax, eax
pop esi
ret 0x10

Function at 0x401116
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401120
repz ret
jmp fcn.004012d5

Function at 0x403263
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040213a
and dword [ebp - 4], 0
cmp dword [0x40b668], 0
mov ebx, eax
jne 0x403314
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4033c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4033c5
push eax
call fcn.004020c8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b668], eax
call esi
push eax
call fcn.004020c8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b66c], eax
call esi
push eax
call fcn.004020c8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b670], eax
call esi
push eax
call fcn.004020c8
pop ecx
mov dword [0x40b678], eax
test eax, eax
je 0x403314
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004020c8
pop ecx
mov dword [0x40b674], eax
mov eax, dword [0x40b674]
cmp eax, ebx
je 0x40336c
cmp dword [0x40b678], ebx
je 0x40336c
push eax
call fcn.00402143
push dword [0x40b678]
mov esi, eax
call fcn.00402143
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40336c
test edi, edi
je 0x40336c
call esi
test eax, eax
je 0x403363
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403363
test byte [ebp - 0xc], 1
jne 0x40336c
or dword [ebp + 0x10], 0x200000
jmp 0x4033a5
mov eax, dword [0x40b66c]
cmp eax, ebx
je 0x4033a5
push eax
call fcn.00402143
pop ecx
test eax, eax
je 0x4033a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4033a5
mov eax, dword [0x40b670]
cmp eax, ebx
je 0x4033a5
push eax
call fcn.00402143
pop ecx
test eax, eax
je 0x4033a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b668]
call fcn.00402143
pop ecx
test eax, eax
je 0x4033c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4033c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
mov ebx, 0x1390
mov edi, 0x6e4c
mov eax, 0x13e22cbd
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401014
mov eax, dword [ebp + 8]
test eax, eax
je 0x4010f0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4010f0
cmp eax, edx
jae 0x4010f0
inc esi
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*8]
sub ecx, eax
jne 0x401063
add esi, esi
jmp 0x40106c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp esi, 0x4f13
jl 0x401045
mov esi, dword [ebp + 8]
sub dword [ebp + 0xc], esi
mov edi, 0x29f1
nop
mov eax, 0x44d72045
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401080
mov edi, 0xb4a
jmp 0x4010a0
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4010a0
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
je 0x4010d0
lea esp, [esp]
mov al, byte [ecx + esi + 1]
add al, 0x55
xor byte [ecx + esi], al
inc ecx
cmp ecx, edx
jb 0x4010c0
mov edi, edi
mov eax, 0x84210843
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4010d0
pop edi
pop esi
pop ebx
pop ebp
ret
inc ecx
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x40110b
inc ecx
cmp ecx, 0x7dd2
jl 0x4010f0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
inc byte [esi + 0x11f]
movzx eax, byte [esi + 0x11f]
lea edx, [esi + 6]
add eax, edx
mov dword [ebp - 4], eax
movzx edx, byte [eax]
movzx eax, byte [esi + 0x117]
add eax, edx
mov dword [ebp + 8], eax
mov byte [esi + 0x117], al
mov edi, 0x56
mov ebx, 0x292d
mov eax, 0x656d
mov edx, 0x3e
cmp edi, edx
cmovl edi, edx
dec eax
jne 0x402b48
mov ecx, 0x48a5
mov eax, 0x487ede05
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402b55
mov ecx, 0xd
lea ecx, [ecx]
mov eax, 0x1b4e81b5
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402b70
mov eax, dword [ebp + 8]
movzx edx, al
lea edi, [esi + 6]
mov esi, dword [ebp - 4]
mov al, byte [edx + edi]
mov bl, byte [esi]
add edx, edi
mov byte [esi], al
mov byte [edx], bl
mov dl, byte [esi]
add dl, bl
mov eax, 0x154d
mov esi, 0x3d
cmp ecx, esi
cmovg ecx, esi
dec eax
jne 0x402ba8
movzx ecx, byte [ebp + 0xc]
movzx eax, dl
movzx eax, byte [eax + edi]
pop edi
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d710
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48358b
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.00475e03
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d792
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047382a
mov eax, dword [eax]
push 0x4dc254
push eax
call fcn.00465144
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047608e
test bl, bl
je 0x40d792
push 0x4dc254
lea ecx, [esp + 0xc]
call fcn.0047646a
push 0x4dfda8
lea ecx, [esp + 0xc]
call fcn.0047646a
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 0x40d7ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047608e
jmp 0x40d899
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 0x40d852
lea edx, [esp + 0x7c]
push 0x4dfda4
push edx
call fcn.00465144
add esp, 8
test eax, eax
je 0x40d852
lea eax, [esp + 0x7c]
push 0x4dfda0
push eax
call fcn.00465144
add esp, 8
test eax, eax
je 0x40d852
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 0x40d7e2
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.0047608e
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 0x40e090
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 0x40e0f2
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 0x40e100
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48360b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ecf30]
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 0x40e238
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e166
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047608e
xor eax, eax
jmp 0x40e2af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00476217
push esi
lea ecx, [esp + 0xc]
call fcn.004764a6
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 0x40e28d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e090
test eax, eax
jne 0x40e28d
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.0040e090
test eax, eax
jne 0x40e28d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004662f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e26c
lea ecx, [esp + 0x14]
push 0x4dfdb8
push ecx
call fcn.00466270
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e26c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e26f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004761c7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e17e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047608e
xor eax, eax
jmp 0x40e2af
mov byte [esi], 0
push 0x4dfdb4
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.0047608e
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 0x41ecd0
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 0x41ed3e
cmp si, 0x69
ja 0x41ed3e
add esi, 0xffd0
cmp si, 0x11
je 0x41ed0e
push 0x11
call edi
test ax, ax
jge 0x41ed0e
or esi, 0x2000
cmp si, 0x10
je 0x41ed23
push 0x10
call edi
test ax, ax
jge 0x41ed23
or esi, 0x4000
cmp si, 0x12
je 0x41ed38
push 0x12
call edi
test ax, ax
jge 0x41ed38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41ed4b
mov esi, 0xbd
jmp 0x41ecff
cmp si, 0x6e
jne 0x41ed58
mov esi, 0xbe
jmp 0x41ecff
cmp si, 0x6f
jne 0x41ecf9
mov esi, 0xbf
jmp 0x41ecff

Function at 0x420500
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4fde10]
xor edx, edx
cmp eax, edx
jne 0x420526
xor eax, eax
mov byte [eax + 0x4fdd10], al
inc eax
cmp eax, 0x100
jl 0x42050e
mov dword [0x4fde10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4fdd10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4205b7
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 0x42058a
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 0x420558
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x420630
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 0x420683
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 0x42066a
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