joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb2a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb2a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb2a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb2a06a
add dl, dl
jne 0xb2a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb2a0dc
xor eax, eax
add dl, dl
jne 0xb2a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb2a17d
add dl, dl
jne 0xb2a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb2a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb2a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb2a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb2a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb2a075
mov eax, 1
add dl, dl
jne 0xb2a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb2a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb2a0e1
sub eax, ebx
mov ebx, 1
jne 0xb2a128
mov ecx, 1
add dl, dl
jne 0xb2a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb2a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb2a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb2a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb2a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb2a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb2a136
cmp eax, 0x7d00
jae 0xb2a16d
cmp eax, 0x500
jb 0xb2a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb2a075
cmp eax, 0x7f
ja 0xb2a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb2a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb2a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb2a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6107c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push pe_nt_image_headers32
call fcn.006151ee
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x619299
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push pe_nt_image_headers32
call fcn.006151ee
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x619299
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.0060d120
mov eax, 0
cmp eax, ecx
jl 0x610848
push 0
push 0x4011022
push 1
call fcn.006151f4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.0060d120
mov eax, 0
cmp eax, ecx
jl 0x61087b
push 0x29
push 0x4011022
push 1
call fcn.006151f4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x610891
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x6108b9
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x6108b3
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x6108d2
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00615e50
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x61092e
push ebx
call fcn.006151e8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x610943
mov ebx, dword [ebp - 4]
push ebx
call fcn.006151e8
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.006151e8
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x61366c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fsub qword [0x6192b9]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0060d0f9
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x9dc
call fcn.00615620
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00616060
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x6193fd
push dword [ebp - 0x14]
push 0x619406
mov ecx, 3
call fcn.0061105e
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x613716
push ebx
call fcn.006151e8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x61372a
push ebx
call fcn.006151e8
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0060d01c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 0x40
push 6
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x613773
push 0xdb
push 0x4010c73
push 6
call fcn.006151f4
add esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.0060f4b3
mov dword [ebp - 0x10], eax
push 6
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0060f4d8
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x61379f
push ebx
call fcn.006151e8
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x6137a5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fsub qword [0x6192b9]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0060d0f9
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x9dc
call fcn.00615620
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00616060
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x6193fd
push dword [ebp - 0x14]
push 0x61940f
mov ecx, 3
call fcn.0061105e
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x61384f
push ebx
call fcn.006151e8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x613863
push ebx
call fcn.006151e8
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0060d01c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 0x40
push 6
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x6138ac
push 0x11c
push 0x4010dfb
push 6
call fcn.006151f4
add esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.0060f4b3
mov dword [ebp - 0x10], eax
push 6
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0060f4d8
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x6138d8
push ebx
call fcn.006151e8
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x6169c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x6169de
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x6169d3
pop esi
ret

Function at 0x616d60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x616df2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x616de4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x616ddc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x616da5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x616e00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x616e69
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00615470
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x617340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x617361
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x6173bb
inc edi
cmp edi, esi
jl 0x617355
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x6173f0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x6173aa
cmp byte [eax], bl
je 0x6173c5
cmp byte [eax + 1], bl
je 0x6173ce
cmp byte [eax + 2], bl
je 0x6173d8
cmp byte [eax + 3], bl
je 0x6173e4
add eax, 4
cmp eax, edi
jb 0x617381
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x401c00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x401c2a
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.00401d1e
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x401ccb
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00401d1e
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x401c70
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00401000
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
jle 0x401d09
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x401d09
push ecx
call fcn.00401d27
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x401cf1
push ebp
call fcn.00401d27
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x48b240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Fox_
lea edi, [esi - 0x86000]
push edi
jmp 0x48b25a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48b261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b250
mov eax, 1
add ebx, ebx
jne 0x48b273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48b284
jne 0x48b2a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b2a3
dec eax
add ebx, ebx
jne 0x48b290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48b268
add ebx, ebx
jne 0x48b29f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48b2f5
xor ecx, ecx
sub eax, 3
jb 0x48b2bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48b32a
sar eax, 1
mov ebp, eax
jmp 0x48b2c6
add ebx, ebx
jne 0x48b2c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b294
inc ecx
add ebx, ebx
jne 0x48b2d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b294
add ebx, ebx
jne 0x48b2e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48b2d6
jne 0x48b2f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48b2d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48b314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48b306
jmp 0x48b256
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48b314
add edi, ecx
jmp 0x48b256
pop esi
mov edi, esi
mov ecx, 0x234
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48b332
cmp byte [edi], 1
jne 0x48b332
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 0x48b337
lea edi, [esi + 0x89000]
mov eax, dword [edi]
or eax, eax
je 0x48b3af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8dbe4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8dc98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48b364
mov ecx, edi
jns 0x48b393
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 + 0x8dc9c]
or eax, eax
je 0x48b3a9
mov dword [ebx], eax
add ebx, 4
jmp 0x48b381
call dword [esi + 0x8dcac]
mov ebp, dword [esi + 0x8dca0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x48b3e3
sub esp, 0xffffff80
jmp 0x403325
Function at 0x484990
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ee21b
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.004e0bb7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x484a12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004de49d
mov eax, dword [eax]
push 0x563240
push eax
call fcn.004d0e24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e0e42
test bl, bl
je 0x484a12
push 0x563240
lea ecx, [esp + 0xc]
call fcn.004e121e
push 0x566da4
lea ecx, [esp + 0xc]
call fcn.004e121e
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 0x484a4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e0e42
jmp 0x484b19
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 0x484ad2
lea edx, [esp + 0x7c]
push 0x566da0
push edx
call fcn.004d0e24
add esp, 8
test eax, eax
je 0x484ad2
lea eax, [esp + 0x7c]
push 0x566d9c
push eax
call fcn.004d0e24
add esp, 8
test eax, eax
je 0x484ad2
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 0x484a62
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.004e0e42
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 0x485310
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 0x485372
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 0x485380
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ee29b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x56ddb0]
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 0x4854b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4853e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e0e42
xor eax, eax
jmp 0x48552f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e0fcb
push esi
lea ecx, [esp + 0xc]
call fcn.004e125a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x566ddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x48550d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00485310
test eax, eax
jne 0x48550d
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.00485310
test eax, eax
jne 0x48550d
lea eax, [esp + 0x14]
push 0x566db8
push eax
call fcn.004d1fd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4854ec
lea ecx, [esp + 0x14]
push 0x566db4
push ecx
call fcn.004d1f50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4854ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4854ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e0f7b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4853fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e0e42
xor eax, eax
jmp 0x48552f
mov byte [esi], 0
push 0x566db0
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.004e0e42
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 0x495af0
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 0x495b5e
cmp si, 0x69
ja 0x495b5e
add esi, 0xffd0
cmp si, 0x11
je 0x495b2e
push 0x11
call edi
test ax, ax
jge 0x495b2e
or esi, 0x2000
cmp si, 0x10
je 0x495b43
push 0x10
call edi
test ax, ax
jge 0x495b43
or esi, 0x4000
cmp si, 0x12
je 0x495b58
push 0x12
call edi
test ax, ax
jge 0x495b58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x495b6b
mov esi, 0xbd
jmp 0x495b1f
cmp si, 0x6e
jne 0x495b78
mov esi, 0xbe
jmp 0x495b1f
cmp si, 0x6f
jne 0x495b19
mov esi, 0xbf
jmp 0x495b1f

Function at 0x497320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x57ebe0]
xor edx, edx
cmp eax, edx
jne 0x497346
xor eax, eax
mov byte [eax + 0x57eae0], al
inc eax
cmp eax, 0x100
jl 0x49732e
mov dword [0x57ebe0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x57eae0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4973d7
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 0x4973aa
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 0x497378
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x497450
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 0x4974a3
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 0x49748a
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