joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4209ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4209ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4209ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4209ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4209ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2b001859
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2b03bee0]
jne 0x2b001863
repz ret
jmp fcn.2b02c235

Function at 0x2b004abc
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x2b004ae4
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x2b004ae2
mov ecx, esi
pop esi
jmp fcn.2b004af5
pop esi
ret

Function at 0x2b00be72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x2b00be81
pop dword [ebp - 0x50]
mov eax, 0xcfde5a80
add eax, 0x5b226401
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x482dfc4a
add dword [ebp - 0x60], 0x6244901
mov dword [ebp - 0x5c], 0x7a507864
add dword [ebp - 0x5c], 0xb7e2d3e1
mov dword [ebp - 0x58], 0xbb87112e
sub dword [ebp - 0x58], 0x6f3acd00
mov dword [ebp - 0x54], 0x1375894b
add dword [ebp - 0x54], 0xec8a76b5
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xc8782281
sub dword [ebp - 0x60], 0x5405b92b
mov dword [ebp - 0x5c], 0xf149ae09
add dword [ebp - 0x5c], 0x5022b36c
mov dword [ebp - 0x58], 0x4c246c46
sub dword [ebp - 0x58], 0xe8b4ffda
mov dword [ebp - 0x54], 0x737ed6b1
sub dword [ebp - 0x54], 0x737ed6b1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x269a1779
add eax, 0x468e917
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x4014b
push 0
call eax
mov ecx, 0x3cc6
mov esi, eax
mov edi, 0x2b04ae00
add edi, dword [ebp - 0x50]
mov edx, 0xe873783b
add edx, 0x6799f4cd
xor dword [ebp - 8], 0x8b136c1f
mov ebx, dword [edi]
sub dword [ebp - 0x10], 0x2dd6f0e2
xor ebx, edx
sub dword [ebp - 0x4c], edi
mov dword [esi], ebx
sub dword [ebp - 4], 0xcefb8da5
add esi, 4
add edi, 0x80050414
sub edi, 0x80050410
loop 0x2b00bf92
add eax, 0x37e2eb33
add eax, 0xc81dfab8
mov ebx, eax
add eax, 5
mov ecx, 0xec7c3835
sub ecx, 0xc17c3835
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406492
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4064b6
xor eax, eax
test eax, eax
je 0x4064c8
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4064c8
xor ecx, ecx
jmp 0x4064cb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4065b7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce24], 0
push esi
jne 0x4065ee
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065c8
mov dword [ecx*4 + 0x42ce20], eax
inc ecx
cmp ecx, 0x100
jl 0x4065c3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40661f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce20]
xor eax, esi
inc ecx
dec edx
jne 0x406601
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x407467
pop dword [ebp - 0x40]
mov eax, 0xbf444cd7
sub eax, 0xbf03d870
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xe4106751
sub dword [ebp - 0x50], 0x95be2206
mov dword [ebp - 0x4c], 0xa489fa7b
add dword [ebp - 0x4c], 0x8da951ca
mov dword [ebp - 0x48], 0x278067e2
add dword [ebp - 0x48], 0x24cbdc4c
mov dword [ebp - 0x44], 0x2899ad88
sub dword [ebp - 0x44], 0x2899ad88
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x53ff759d
add dword [ebp - 0x50], 0x2072f3b9
mov dword [ebp - 0x4c], 0x45dc29a8
sub dword [ebp - 0x4c], 0x46fc833
mov dword [ebp - 0x48], 0xe67bc476
add dword [ebp - 0x48], 0x7cf3a7f6
mov dword [ebp - 0x44], 0xed56c5c4
add dword [ebp - 0x44], 0x12a93a3c
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e61c
push 0
call eax
mov ecx, 0xc1522b4b
sub ecx, 0xc151c62c
mov edi, eax
mov edx, 0x459200
add edx, dword [ebp - 0x40]
mov esi, 0xc5e8a496
sub esi, 0x2dfe4967
xor dword [ebp - 0x20], 0xa101ecef
mov ebx, dword [edx]
xor dword [ebp - 0x2c], ecx
add ebx, esi
sub dword [ebp - 0x20], 0x82d031e7
mov dword [edi], ebx
add dword [ebp - 0x30], 0x73a5141
add edi, 4
add edx, 0xb3455e1c
sub edx, 0xb3455e18
loop 0x407579
add eax, 0x67cf1b19
add eax, 0x98326c36
mov ebx, eax
add eax, 0xd0a131d2
add eax, 0x2f5ece33
mov ecx, 0x82993041
sub ecx, 0x82593041
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0xeec000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xeec00a
jmp 0xeee00f
jmp fcn.00bf8058
Function at 0x4095d7
Capabilities:
Authenticate hmac

Disassembly:
out dx, eax
mov dword [0x671f424b], eax
push ebx
aas
scasb al, byte es:[edi]
jge 0x409641
dec eax
and dword [ebx - 0x1fe4f382], eax
push 0x37
mov bh, 0xa4
wait
xchg ecx, eax
imul esi, edi, 0xffffffbf
out dx, eax
aad 0x11
aas
cmpsb byte [esi], byte es:[edi]
das
mov bh, dl
cmp al, 0xba
dec ebp
xchg ebp, eax
cmp edx, dword [eax]
or dword [ecx + 0x59], eax
invalid
pop ebx
xor eax, 0xd7fbc146
outsd dx, dword [esi]
enter 0xffffffffffffe7c9, 0xd
add edi, ebx
dec esi
in al, dx
sbb ebx, ebp
jl 0x40966a
inc ebx
iretd
invalid

Function at 0x40a6cb
Capabilities:
Encode data using xor

Disassembly:
lcall 0x7712, 0x28a69592
xor edx, edx
sbb bl, byte [edx + 0x6972e8e2]
inc ecx
xor eax, 0xd19687a3
push ecx
pop ebx
imul ebp, dword [ebx + 0x25], 0xd185a136
sub dword [ebx - 0x7c], esp
pop ecx
or dword [edx], esi
sub dword [eax + eax*8 + 1], esi
sti
xor byte [edi + 0x763048d3], cl
nop
pop edi
mov al, byte [0x3f894442]
dec ecx
imul ebx, ecx, 0xffffffd9
jcxz 0x40a6e0
invalid
imul edi, dword [eax - 0x2fce339a], 0x7739aba4
cmpsb byte [esi], byte es:[edi]
dec ebx
adc dword [ebx], edi
push ecx
pushal
popal
stosb byte es:[edi], al
cmpsb byte [esi], byte es:[edi]
dec eax
jo 0x40a726
sbb dword [edx], edx
pop ds
retf 0xf800
popal
and ah, byte [ebp + 0x38]
outsb dx, byte [esi]
jns 0x40a74a
test eax, 0x7b83a0d7
pushal
ja 0x40a79e
or bl, byte [ebx + eax*4]
cmp dword [edi + 0xfb03c7a], esp
pop ds
lcall 0xd856, 0x5a896945
mov ebx, 0x2b07382d
pop ds
sub ebx, dword [edi]
lodsd eax, dword [esi]
mov ebp, 0xf5abbf22
insd dword es:[edi], dx
jb 0x40a6f5
inc esi
stosb byte es:[edi], al
cld
rcr dword [edi], 1
ljmp 0x6039
invalid
movsd dword es:[edi], dword [esi]
push esp
outsd dx, dword [esi]
cmpsd dword [esi], dword es:[edi]
pushal
pop eax
imul edx, dword [0x4263283d], 0xc55f7dea
mov eax, dword [0x5158f1bc]
js 0x40a768
push 0xffffffffffffffe9
call 0xb587de35
add dword [eax - 0x4398c904], 0x709f5256
cdq
dec ebp
inc ecx
wait
in eax, 0x9f
push ds
sub bl, byte [esp + ebp]
sahf
cli
cmp ah, bl
sub ch, dl
invalid
Function at 0x4bda30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c7488
cmp edx, dword [eax]
je 0x4bda52
add eax, 8
inc ecx
cmp eax, 0x4c7518
jl 0x4bda43
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c7488]
jne 0x4bdb80
mov eax, dword [0x4c9d2c]
cmp eax, 1
je 0x4bdb5a
test eax, eax
jne 0x4bda83
cmp dword [0x4c52d0], 1
je 0x4bdb5a
cmp edx, 0xfc
je 0x4bdb80
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bdaba
lea eax, [ebp - 0x1a4]
push 0x4c1b30
push eax
call fcn.004beb90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bec80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bdafd
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bec80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1b2c
push edi
call fcn.004bf640
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1b10
push eax
call fcn.004beb90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004beba0
lea eax, [ebp - 0xa0]
push 0x4c1b0c
push eax
call fcn.004beba0
push dword [esi + 0x4c748c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004beba0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1ae4
push eax
call fcn.004bf5b2
add esp, 0x2c
pop edi
jmp 0x4bdb80
lea eax, [ebp + 8]
lea esi, [esi + 0x4c748c]
push 0
push eax
push dword [esi]
call fcn.004bec80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x5b210c3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x6771600f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x410310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4878bb
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.0047c071
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410392
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00479d13
mov eax, dword [eax]
push 0x757cdc
push eax
call fcn.0046c754
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047c2fc
test bl, bl
je 0x410392
push 0x757cdc
lea ecx, [esp + 0xc]
call fcn.0047c68c
push 0x757ce8
lea ecx, [esp + 0xc]
call fcn.0047c68c
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 0x4103ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047c2fc
jmp 0x410499
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 0x410452
lea edx, [esp + 0x7c]
push 0x757ce4
push edx
call fcn.0046c754
add esp, 8
test eax, eax
je 0x410452
lea eax, [esp + 0x7c]
push 0x757ce0
push eax
call fcn.0046c754
add esp, 8
test eax, eax
je 0x410452
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 0x4103e2
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.0047c2fc
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 0x410ca0
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 0x410d02
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 0x410d10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48793b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x761740]
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 0x410e48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410d76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047c2fc
xor eax, eax
jmp 0x410ebf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047c439
push esi
lea ecx, [esp + 0xc]
call fcn.0047c6c8
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 0x410e9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410ca0
test eax, eax
jne 0x410e9d
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.00410ca0
test eax, eax
jne 0x410e9d
lea eax, [esp + 0x14]
push 0x757cf8
push eax
call fcn.0046d8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410e7c
lea ecx, [esp + 0x14]
push 0x757cf4
push ecx
call fcn.0046d820
mov esi, eax
add esp, 8
test esi, esi
jne 0x410e7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410e7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047c3e9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410d8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047c2fc
xor eax, eax
jmp 0x410ebf
mov byte [esi], 0
push 0x757cf0
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.0047c2fc
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 0x4223f0
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 0x42245e
cmp si, 0x69
ja 0x42245e
add esi, 0xffd0
cmp si, 0x11
je 0x42242e
push 0x11
call edi
test ax, ax
jge 0x42242e
or esi, 0x2000
cmp si, 0x10
je 0x422443
push 0x10
call edi
test ax, ax
jge 0x422443
or esi, 0x4000
cmp si, 0x12
je 0x422458
push 0x12
call edi
test ax, ax
jge 0x422458
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42246b
mov esi, 0xbd
jmp 0x42241f
cmp si, 0x6e
jne 0x422478
mov esi, 0xbe
jmp 0x42241f
cmp si, 0x6f
jne 0x422419
mov esi, 0xbf
jmp 0x42241f

Function at 0x423cf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x771ef8]
xor edx, edx
cmp eax, edx
jne 0x423d16
xor eax, eax
mov byte [eax + 0x771df8], al
inc eax
cmp eax, 0x100
jl 0x423cfe
mov dword [0x771ef8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x771df8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423da7
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 0x423d7a
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 0x423d48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423e20
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 0x423e73
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 0x423e5a
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 0x42b320
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 0x42b4b8
cmp ebp, ebx
jle 0x42b4b8
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 0x42b37e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42b385
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42b394
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42b39b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047c03d
add esp, 4
cmp eax, ebx
je 0x42b3bc
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.0047c03d
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 0x42b4ae
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 0x42b495
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42b481
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42b476
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 0x42b484
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42b484
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42b420
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 0x42b411
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