joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad18
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000ad76
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1000ad6d
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x1000ae98
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push 0
push 1
lea eax, [esi + edi]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000aed0
add esi, eax
cmp esi, 2
jb 0x1000aec8
cmp byte [esi + edi - 1], 0xa
jne 0x1000aec8
cmp byte [esi + edi - 2], 0xd
je 0x1000aed6
cmp esi, 0x800
jb 0x1000ae9e
or eax, 0xffffffff
pop esi
pop ebp
ret
mov byte [esi + edi - 2], 0
mov eax, esi
jmp 0x1000aed3

Function at 0x1000af43
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.100025a5
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000af69
push eax
call sub.WS2_32.dll_closesocket
jmp 0x1000afbd
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x10], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0xc], 0x100007f
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1000af98
push esi
jmp 0x1000af62
push 0x78
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1000af95
push dword [ebp + 0xc]
push esi
call fcn.1000adff
push eax
push 0x1000aedf
call fcn.1000a772
add esp, 0x10
pop esi
leave
ret
Function at 0x1000b19d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x1000b1c7
push 6
mov dword [ecx], eax
pop eax
jmp 0x1000b2a9
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x1000b246
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x1000b1e9
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x1000b29c
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x1000b258
movzx esi, byte [esi + 1]
jmp 0x1000b25a
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x1000b292
and esi, 0xf
movsx eax, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1000b295
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000cb1e
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x1000cd63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x10033c78]
mov ebx, eax
push edi
mov eax, esi
call fcn.1000db13
test eax, eax
jne 0x1000ce65
mov ecx, dword [0x10033c7c]
cmp ecx, 1
jl 0x1000ce62
cmp ecx, 0x80
jg 0x1000ce62
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x1000ce62
test cl, 3
jne 0x1000ce62
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x10037ee0]
test edx, edx
je 0x1000cddb
push 0x10033d00
push 0x10033c80
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x1000ce65
cmp dword [ebp + 0xc], 0
je 0x1000ce5e
mov edi, 0x10033c80
jmp 0x1000cdee
mov esi, dword [0x10033c78]
xor edx, edx
test ecx, ecx
jle 0x1000ce15
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x10033c80]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x10033c7c]
jl 0x1000cdf9
mov esi, dword [0x10033c78]
imul esi, esi, 0x60
push 0x10033d00
push ebx
push edi
call dword [esi + 0x10037ec4]
add esp, 0xc
test eax, eax
jne 0x1000ce65
mov ecx, dword [0x10033c7c]
xor edx, edx
test ecx, ecx
jle 0x1000ce54
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x10033c80]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x10033c7c]
add edx, 4
cmp edx, ecx
jl 0x1000ce3c
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x1000cde8
xor eax, eax
jmp 0x1000ce65
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000d1a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100315e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10034da0]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.1000db13
test eax, eax
jne 0x1000d2b1
mov ecx, dword [0x10034da4]
cmp ecx, 1
jl 0x1000d2ae
cmp ecx, 0x80
jg 0x1000d2ae
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x1000d2ae
test cl, 3
jne 0x1000d2ae
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x10037ee4]
test ecx, ecx
je 0x1000d22f
push 0x10034e28
push 0x10034da8
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x1000d2b1
cmp dword [ebp + 8], 0
je 0x1000d2aa
jmp 0x1000d23d
mov esi, dword [0x10034da0]
imul esi, esi, 0x60
push 0x10034e28
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x10037ec8]
add esp, 0xc
test eax, eax
jne 0x1000d2b1
mov eax, dword [0x10034da4]
xor edi, edi
test eax, eax
jle 0x1000d29a
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x10034da8
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x10034da8]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x10034da4]
add edi, 4
cmp edi, eax
jl 0x1000d276
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x1000d237
xor eax, eax
jmp 0x1000d2b1
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c09e
leave
ret
Function at 0x1000e1fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.1000e0ea
test eax, eax
jne 0x1000e33a
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x10038fb0]
push dword [esi + 0x10038fb4]
mov dword [ebp - 8], edi
call fcn.10014855
push edi
mov dword [ebp - 4], eax
call fcn.10014855
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x1000e32b
test edi, edi
je 0x1000e322
push edi
push ebx
call dword [esi + 0x10039004]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x1000e300
cmp dword [esi + 0x10038fb4], eax
jbe 0x1000e286
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x10038fb4]
jb 0x1000e26b
push ebx
call dword [esi + 0x10038ffc]
mov edi, eax
pop ecx
test edi, edi
jne 0x1000e300
push dword [esi + 0x10038fb4]
push dword [ebp - 4]
push ebx
call dword [esi + 0x10039000]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000e300
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x10039000]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000e300
push dword [ebp - 4]
push ebx
call dword [esi + 0x10039004]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x1000e300
cmp dword [ebp - 8], ecx
jbe 0x1000e2f9
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x1000e2f9
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x1000e2e2
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.10014778
push dword [ebp - 0xc]
call fcn.10014778
push dword [ebp - 4]
call fcn.10014778
add esp, 0xc
mov eax, edi
jmp 0x1000e339
push dword [ebp - 4]
call fcn.10014778
pop ecx
test edi, edi
je 0x1000e336
push edi
call fcn.10014778
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x1000e33d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.1000e0ea
test eax, eax
jne 0x1000e378
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x10038fb0]
push dword [esi + 0x10038fb4]
mov dword [ebp - 4], eax
call fcn.10014855
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000e37b
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x10038fb4]
call fcn.10014855
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x1000e3a1
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.10014778
pop ecx
mov eax, ebx
jmp 0x1000e377
mov ecx, dword [esi + 0x10038fb4]
cmp ecx, 0x10
jae 0x1000e3e9
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x10036f80
mov eax, ebx
call fcn.1000d400
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1000e469
mov eax, dword [esi + 0x10038fb4]
cmp dword [ebp - 4], eax
jae 0x1000e419
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x1000e411
push 0x10
push 0x10036f80
push eax
call fcn.1001b0a0
mov eax, dword [esi + 0x10038fb4]
add esp, 0xc
cmp eax, 0x10
jbe 0x1000e419
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.1000e0b7
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x10038fb4], eax
jbe 0x1000e43e
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x10038fb4]
jb 0x1000e423
push edi
call dword [esi + 0x10038ffc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1000e469
push dword [esi + 0x10038fb4]
push dword [ebp - 8]
push edi
call dword [esi + 0x10039000]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000e394
push dword [edi + 0xe8]
call fcn.10014778
pop ecx
jmp 0x1000e394
Function at 0x1001c09e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100315e8]
jne 0x1001c0a8
repz ret
jmp fcn.1001fa02

Function at 0x1001d005
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.10019475
and dword [ebp - 4], 0
cmp dword [0x100337e4], 0
mov ebx, eax
jne 0x1001d0b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001d167
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001d167
push eax
call fcn.10019403
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100337e4], eax
call esi
push eax
call fcn.10019403
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100337e8], eax
call esi
push eax
call fcn.10019403
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100337ec], eax
call esi
push eax
call fcn.10019403
pop ecx
mov dword [0x100337f4], eax
test eax, eax
je 0x1001d0b6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10019403
pop ecx
mov dword [0x100337f0], eax
mov eax, dword [0x100337f0]
cmp eax, ebx
je 0x1001d10e
cmp dword [0x100337f4], ebx
je 0x1001d10e
push eax
call fcn.1001947e
push dword [0x100337f4]
mov esi, eax
call fcn.1001947e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001d10e
test edi, edi
je 0x1001d10e
call esi
test eax, eax
je 0x1001d105
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001d105
test byte [ebp - 0xc], 1
jne 0x1001d10e
or dword [ebp + 0x10], 0x200000
jmp 0x1001d147
mov eax, dword [0x100337e8]
cmp eax, ebx
je 0x1001d147
push eax
call fcn.1001947e
pop ecx
test eax, eax
je 0x1001d147
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001d147
mov eax, dword [0x100337ec]
cmp eax, ebx
je 0x1001d147
push eax
call fcn.1001947e
pop ecx
test eax, eax
je 0x1001d147
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100337e4]
call fcn.1001947e
pop ecx
test eax, eax
je 0x1001d167
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001d169
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a9b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed8db
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.004e2316
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44aa32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e019a
mov eax, dword [eax]
push 0x52ee14
push eax
call fcn.004d2154
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e25a1
test bl, bl
je 0x44aa32
push 0x52ee14
lea ecx, [esp + 0xc]
call fcn.004e2931
push 0x52ee20
lea ecx, [esp + 0xc]
call fcn.004e2931
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 0x44aa6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e25a1
jmp 0x44ab39
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 0x44aaf2
lea edx, [esp + 0x7c]
push 0x52ee1c
push edx
call fcn.004d2154
add esp, 8
test eax, eax
je 0x44aaf2
lea eax, [esp + 0x7c]
push 0x52ee18
push eax
call fcn.004d2154
add esp, 8
test eax, eax
je 0x44aaf2
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 0x44aa82
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.004e25a1
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 0x44b340
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 0x44b3a2
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 0x44b3b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed95b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5464c0]
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 0x44b4e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44b416
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e25a1
xor eax, eax
jmp 0x44b55f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e26de
push esi
lea ecx, [esp + 0xc]
call fcn.004e296d
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 0x44b53d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0044b340
test eax, eax
jne 0x44b53d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0044b340
test eax, eax
jne 0x44b53d
lea eax, [esp + 0x14]
push 0x52ee30
push eax
call fcn.004d32c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b51c
lea ecx, [esp + 0x14]
push 0x52ee2c
push ecx
call fcn.004d3240
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b51c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44b51f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e268e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44b42e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e25a1
xor eax, eax
jmp 0x44b55f
mov byte [esi], 0
push 0x52ee28
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.004e25a1
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 0x45c3c0
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 0x45c42e
cmp si, 0x69
ja 0x45c42e
add esi, 0xffd0
cmp si, 0x11
je 0x45c3fe
push 0x11
call edi
test ax, ax
jge 0x45c3fe
or esi, 0x2000
cmp si, 0x10
je 0x45c413
push 0x10
call edi
test ax, ax
jge 0x45c413
or esi, 0x4000
cmp si, 0x12
je 0x45c428
push 0x12
call edi
test ax, ax
jge 0x45c428
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45c43b
mov esi, 0xbd
jmp 0x45c3ef
cmp si, 0x6e
jne 0x45c448
mov esi, 0xbe
jmp 0x45c3ef
cmp si, 0x6f
jne 0x45c3e9
mov esi, 0xbf
jmp 0x45c3ef

Function at 0x45e080
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x556cc8]
xor edx, edx
cmp eax, edx
jne 0x45e0a6
xor eax, eax
mov byte [eax + 0x556bc8], al
inc eax
cmp eax, 0x100
jl 0x45e08e
mov dword [0x556cc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x556bc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45e137
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 0x45e10a
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 0x45e0d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45e140
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 0x45e193
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 0x45e17a
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