joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003b50
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [0x10011690]
test ebp, ebp
je 0x10003b7d
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call ebp
pop ebp
ret 0x1c
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003b8d
mov eax, dword [0x100116a8]
jmp 0x10003bc6
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003ba1
mov eax, dword [0x100116a8]
jmp 0x10003bbc
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003bde
push 0x1001205c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10003bf7
jmp 0x10003be0
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10003c0b
push 0x1001205c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [0x10011690], ebp
test ebp, ebp
jne 0x10003b5b
xor eax, eax
pop ebp
ret 0x1c
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10003c25
push 0x100120b8
call dword [0x1000c250]
jmp 0x10003c30
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10003bf7
mov dword [0x100116ac], eax
jmp 0x10003be9

Function at 0x10003c3c
Capabilities:
Get file attributes

Disassembly:
push edi
push ebp
mov edi, dword [esp + 0xc]
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003c52
mov eax, dword [0x100116a8]
jmp 0x10003c8b
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003c66
mov eax, dword [0x100116a8]
jmp 0x10003c81
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003c9f
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10003cb4
jmp 0x10003ca1
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10003cbb
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov eax, ebp
pop ebp
pop edi
ret 4
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10003cd5
push 0x100120b8
call dword [0x1000c250]
jmp 0x10003ce0
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10003cb4
mov dword [0x100116ac], eax
jmp 0x10003caa
Function at 0x10003cec
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [0x10011694]
test ebp, ebp
je 0x10003d01
push dword [esp + 8]
call ebp
pop ebp
ret 4
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003d11
mov eax, dword [0x100116a8]
jmp 0x10003d4a
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003d25
mov eax, dword [0x100116a8]
jmp 0x10003d40
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003d62
push 0x1001200c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10003d7b
jmp 0x10003d64
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10003d92
push 0x1001200c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [0x10011694], ebp
test ebp, ebp
jne 0x10003cf7
mov eax, 0xffffffff
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10003dac
push 0x100120b8
call dword [0x1000c250]
jmp 0x10003db7
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10003d7b
mov dword [0x100116ac], eax
jmp 0x10003d6d

Function at 0x10003dc4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [0x100116a0]
test ebp, ebp
je 0x10003ddd
push dword [esp + 0xc]
push dword [esp + 0xc]
call ebp
pop ebp
ret 8
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003ded
mov eax, dword [0x100116a8]
jmp 0x10003e26
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003e01
mov eax, dword [0x100116a8]
jmp 0x10003e1c
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003e3e
push 0x1001201c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10003e57
jmp 0x10003e40
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10003e6b
push 0x1001201c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [0x100116a0], ebp
test ebp, ebp
jne 0x10003dcf
xor eax, eax
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10003e85
push 0x100120b8
call dword [0x1000c250]
jmp 0x10003e90
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10003e57
mov dword [0x100116ac], eax
jmp 0x10003e49
Function at 0x10003e9c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [0x10011698]
test ebp, ebp
je 0x10003ec1
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call ebp
pop ebp
ret 0x14
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003ed1
mov eax, dword [0x100116a8]
jmp 0x10003f0a
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003ee5
mov eax, dword [0x100116a8]
jmp 0x10003f00
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003f22
push 0x10012040
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10003f3b
jmp 0x10003f24
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10003f4f
push 0x10012040
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [0x10011698], ebp
test ebp, ebp
jne 0x10003ea7
xor eax, eax
pop ebp
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10003f69
push 0x100120b8
call dword [0x1000c250]
jmp 0x10003f74
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10003f3b
mov dword [0x100116ac], eax
jmp 0x10003f2d

Function at 0x10003f80
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [0x1001169c]
test ebp, ebp
je 0x10003f99
push dword [esp + 0xc]
push dword [esp + 0xc]
call ebp
pop ebp
ret 8
mov eax, dword [0x100116a4]
test eax, eax
je 0x10003fa9
mov eax, dword [0x100116a8]
jmp 0x10003fe2
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10003fbd
mov eax, dword [0x100116a8]
jmp 0x10003fd8
push 0x1001206c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001207c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100116a8], eax
mov dword [0x100116a4], 1
test eax, eax
je 0x10003ffa
push 0x1001202c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x10004013
jmp 0x10003ffc
xor ebp, ebp
mov eax, dword [0x100116ac]
test eax, eax
je 0x10004027
push 0x1001202c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [0x1001169c], ebp
test ebp, ebp
jne 0x10003f8b
xor eax, eax
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x10004041
push 0x100120b8
call dword [0x1000c250]
jmp 0x1000404c
push 0x100120c8
call dword [0x1000c254]
test eax, eax
je 0x10004013
mov dword [0x100116ac], eax
jmp 0x10004005
Function at 0x403499
Capabilities:
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x4d3590], 0x594
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x4034de
push 0x402b50
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
push 0x402bac
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x422d28]
mov ebx, dword [0x422d2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00403492
mov eax, dword [0x422d30]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x422d34]
add edi, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl ecx, 4
cmp dword [0x4d3590], 0xc
mov dword [ebp - 4], ecx
jne 0x40357f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x444]
push eax
push esi
push 0x402bc4
push 0x402bd8
push 0x402be8
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 4], ecx
mov ecx, dword [0x4d3590]
cmp ecx, 0xfa9
jne 0x40359d
mov dword [0x4d2b2c], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x4035ab
mov dword [0x4d24dc], esi
lea ecx, [edi + eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
shr eax, cl
mov dword [0x4d2b28], 0xf4ea3dee
add eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x4d3590], 0x213
mov dword [ebp - 0x14], ecx
jne 0x4035e9
push esi
push 0x402bfc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x4d3590], 0xc
jne 0x403632
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push esi
lea eax, [ebp - 0xc44]
push eax
push 0x402c28
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [edi + eax]
shr eax, cl
add eax, ebx
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
add edi, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403517
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x40367d
Capabilities:
Create pipe
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.0040bc50
mov eax, dword [0x4d3590]
mov ecx, dword [0x4d24e0]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40377a
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x4d3590], 0x959
jne 0x403768
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
push esi
push esi
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402c90
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402cf8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402d28
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x1030]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00403499
add ebx, 8
dec dword [ebp - 4]
jne 0x4036aa
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40560b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422494]
jne 0x405615
repz ret
jmp fcn.00408e2c

Function at 0x40ac4b
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.00406bd6
and dword [ebp - 4], 0
cmp dword [0x424108], 0
mov ebx, eax
jne 0x40acfc
push 0x4021bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40adad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021b0
push edi
call esi
test eax, eax
je 0x40adad
push eax
call fcn.00406b64
mov dword [esp], 0x4021a0
push edi
mov dword [0x424108], eax
call esi
push eax
call fcn.00406b64
mov dword [esp], 0x40218c
push edi
mov dword [0x42410c], eax
call esi
push eax
call fcn.00406b64
mov dword [esp], 0x402170
push edi
mov dword [0x424110], eax
call esi
push eax
call fcn.00406b64
pop ecx
mov dword [0x424118], eax
test eax, eax
je 0x40acfc
push 0x402158
push edi
call esi
push eax
call fcn.00406b64
pop ecx
mov dword [0x424114], eax
mov eax, dword [0x424114]
cmp eax, ebx
je 0x40ad54
cmp dword [0x424118], ebx
je 0x40ad54
push eax
call fcn.00406bdf
push dword [0x424118]
mov esi, eax
call fcn.00406bdf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ad54
test edi, edi
je 0x40ad54
call esi
test eax, eax
je 0x40ad4b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ad4b
test byte [ebp - 0xc], 1
jne 0x40ad54
or dword [ebp + 0x10], 0x200000
jmp 0x40ad8d
mov eax, dword [0x42410c]
cmp eax, ebx
je 0x40ad8d
push eax
call fcn.00406bdf
pop ecx
test eax, eax
je 0x40ad8d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ad8d
mov eax, dword [0x424110]
cmp eax, ebx
je 0x40ad8d
push eax
call fcn.00406bdf
pop ecx
test eax, eax
je 0x40ad8d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424108]
call fcn.00406bdf
pop ecx
test eax, eax
je 0x40adad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40adaf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x459f90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4df89b
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.004d1b6a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45a012
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cf4ce
mov eax, dword [eax]
push 0x52dd38
push eax
call fcn.004c1284
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d1df5
test bl, bl
je 0x45a012
push 0x52dd38
lea ecx, [esp + 0xc]
call fcn.004d21d1
push 0x52dd44
lea ecx, [esp + 0xc]
call fcn.004d21d1
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 0x45a04e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d1df5
jmp 0x45a119
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 0x45a0d2
lea edx, [esp + 0x7c]
push 0x52dd40
push edx
call fcn.004c1284
add esp, 8
test eax, eax
je 0x45a0d2
lea eax, [esp + 0x7c]
push 0x52dd3c
push eax
call fcn.004c1284
add esp, 8
test eax, eax
je 0x45a0d2
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 0x45a062
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.004d1df5
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 0x45a920
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 0x45a982
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 0x45a990
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4df91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5386f4]
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 0x45aac8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45a9f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d1df5
xor eax, eax
jmp 0x45ab3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d1f7e
push esi
lea ecx, [esp + 0xc]
call fcn.004d220d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x52dd78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45ab1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.0045a920
test eax, eax
jne 0x45ab1d
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 connect
mov ecx, edi
call fcn.0045a920
test eax, eax
jne 0x45ab1d
lea eax, [esp + 0x14]
push 0x52dd54
push eax
call fcn.004c2490
mov esi, eax
add esp, 8
test esi, esi
jne 0x45aafc
lea ecx, [esp + 0x14]
push 0x52dd50
push ecx
call fcn.004c2410
mov esi, eax
add esp, 8
test esi, esi
jne 0x45aafc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45aaff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d1f2e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45aa0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d1df5
xor eax, eax
jmp 0x45ab3f
mov byte [esi], 0
push 0x52dd4c
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.004d1df5
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 0x461226
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x46124e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x46b820
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 0x46b88e
cmp si, 0x69
ja 0x46b88e
add esi, 0xffd0
cmp si, 0x11
je 0x46b85e
push 0x11
call edi
test ax, ax
jge 0x46b85e
or esi, 0x2000
cmp si, 0x10
je 0x46b873
push 0x10
call edi
test ax, ax
jge 0x46b873
or esi, 0x4000
cmp si, 0x12
je 0x46b888
push 0x12
call edi
test ax, ax
jge 0x46b888
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46b89b
mov esi, 0xbd
jmp 0x46b84f
cmp si, 0x6e
jne 0x46b8a8
mov esi, 0xbe
jmp 0x46b84f
cmp si, 0x6f
jne 0x46b849
mov esi, 0xbf
jmp 0x46b84f

Function at 0x46d7c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x549718]
xor edx, edx
cmp eax, edx
jne 0x46d7e6
xor eax, eax
mov byte [eax + 0x549618], al
inc eax
cmp eax, 0x100
jl 0x46d7ce
mov dword [0x549718], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x549618
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46d877
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 0x46d84a
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 0x46d818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46d8f0
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 0x46d943
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 0x46d92a
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 0x470f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e0c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.004d8a3e
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00470e30
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004d8ab0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret