joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f7d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
jmp dword [ecx]
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004046d3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404688
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
pop ss
cld
invalid
inc dword [eax]
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004046d3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404688
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004046c3
or al, 0xcc
mov dl, 0x5a
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004046d3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404688
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004046c3
mov cl, 0x76
fcomp dword [ebx - 0x6635a80]
invalid
Function at 0x4055b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004046a1
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004046d3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404688
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004046c3
mov dword [ebx], esi
invalid

Function at 0x405ab2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00404634
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x405ad0
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x405b19
invalid
test dword [eax], eax
stc

Function at 0x4063b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.004046d3
Function at 0x404956
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
leave
ret

Function at 0x404b06
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebp, ebp
je 0x404b63
push ebx
push edi
push ebp
call sub.msvcrt.dll_wcslen
pop ecx
lea ebx, [eax + eax + 2]
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x404b61
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x404b6e
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00404924
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x404c00
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x404be9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404be9
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x404bf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404c09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x404cca
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40515c
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x416594
push eax
push eax
push dword [esp + 0x14]
push 0x416e94
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret
Function at 0x405750
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov esi, 0x208
xor ebx, ebx
push esi
lea eax, [ebp - 0x22e]
push ebx
push eax
mov word [ebp - 0x230], bx
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x43a]
push ebx
push eax
mov word [ebp - 0x43c], bx
call sub.msvcrt.dll_memset
push 7
xor eax, eax
pop ecx
mov word [ebp - 0x24], bx
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
push eax
mov esi, 0x104
lea eax, [ebp - 0x230]
push esi
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00405584
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push 0xf
push eax
mov eax, dword [ebp + 8]
call fcn.00405584
lea eax, [ebp - 0x24]
push eax
call sub.msvcrt.dll__wtoi
add esp, 0x34
mov edi, eax
push esi
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x230]
push eax
neg edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x40581a
push 0x200
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40581f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], 0x416f44
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret

Function at 0x405862
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
and word [ebp - 0x800], 0
push esi
push 0x7fe
lea eax, [ebp - 0x7fe]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp word [0x41d028], 0
mov esi, 0x41d028
jne 0x4058aa
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [0x41d234], eax
lea eax, [ebp - 0x800]
push esi
push eax
call sub.msvcrt.dll_wcscpy
lea esi, [ebp - 0x800]
call fcn.0040497a
push dword [ebp + 8]
mov eax, esi
push eax
call sub.msvcrt.dll_wcscat
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x10
push eax
call esi
test eax, eax
jne 0x4058e4
push dword [ebp + 8]
call esi
pop esi
leave
ret

Function at 0x40653e
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x41bf50
push dword [esp + 0xc]
push esi
push 0x416594
push dword [esp + 0x14]
push 0x41c160
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
ret
Function at 0x409566
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x4c8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x2e4], edi
je 0x409649
cmp dword [esi + 0x2ec], edi
je 0x40960c
push 0x2b0
lea eax, [esp + 0x22c]
push edi
push eax
mov dword [esp + 0x230], edi
call sub.msvcrt.dll_memset
push 0x208
lea eax, [esp + 0x2a]
push edi
push eax
mov word [esp + 0x30], di
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4001
push 0x2b4
lea eax, [esp + 0x22c]
push eax
push edi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi + 0x2d0]
mov dword [esi + 0x2d8], eax
call ebx
jmp 0x409649
call fcn.00405978
push 0x60
pop ecx
shl eax, 4
xor edx, edx
div ecx
push 1
push 1
push 0x19
push eax
push eax
call ebp
push 3
lea edi, [esi + 0x2d8]
push eax
mov dword [edi], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [edi]
push 1
push 0x1003
push dword [esi + 0x2d0]
call ebx
xor edi, edi
cmp dword [esi + 0x2e8], edi
je 0x40968c
call fcn.00405978
push 0x60
pop ecx
shl eax, 5
xor edx, edx
div ecx
push 1
push 1
push 0x19
push eax
push eax
call ebp
push 3
lea edi, [esi + 0x2dc]
push eax
mov dword [edi], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [edi]
push 0
push 0x1003
push dword [esi + 0x2d0]
call ebx
call fcn.00405978
push 0x60
pop ecx
shl eax, 4
xor edx, edx
div ecx
push 1
push 1
push 0x19
mov edi, eax
push edi
push edi
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esi + 0x2d4], eax
call ebp
push 0x1000
push edi
push edi
push 0
push 0x85
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
mov dword [esp + 0x14], eax
call ebp
push 0x1000
push edi
push edi
push 0
push 0x86
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
push dword [esi + 0x2d4]
mov ebp, eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push dword [esi + 0x2d4]
call edi
push dword [esp + 0x14]
push ebp
push dword [esi + 0x2d4]
call edi
push dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push ebp
call edi
mov eax, dword [esi + 0x2d4]
mov esi, dword [esi + 0x2d0]
push eax
push 0
push 0x1208
push esi
call fcn.00403cb6
pop ecx
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c8
ret
Function at 0x409e41
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
movzx eax, word [esi + 0x2cc]
cmp word [esp + 0x10], ax
push edi
jb 0x409e94
movzx edi, word [esp + 0x14]
movzx eax, ax
add eax, dword [esi + 0x308]
cmp edi, eax
jge 0x409e94
push 0x10
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x409e77
inc ebx
movzx ecx, word [esi + 0x2cc]
push ebx
mov eax, edi
push 0
sub eax, ecx
call fcn.004076de
call fcn.00409e9d
xor eax, eax
inc eax
jmp 0x409e96
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x40b579
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov byte [ebx + 3], 0
call edi
test ax, ax
jns 0x40b60a
push 0x10
call edi
test ax, ax
jns 0x40b60a
push 0x12
call edi
test ax, ax
js 0x40b60a
inc dword [0x41d444]
mov eax, dword [0x41d444]
cmp byte [eax + ebx], 0
jne 0x40b611
mov eax, dword [esi + 0x698]
xor edi, edi
add eax, 0xa0
cmp dword [eax], edi
mov dword [0x41d444], edi
jne 0x40b5e3
push edi
push 0xfa
push 2
mov dword [eax], 0x7d0
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40b5fd
push 2
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x698]
mov dword [eax + 0xa0], edi
mov eax, dword [esi + 0x69c]
call fcn.0040975d
jmp 0x40b611
and dword [0x41d444], 0
xor eax, eax
inc eax
pop edi
ret

Function at 0x40c18f
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40c1c1
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x417d6c
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi + 0x69c]
push 1
push 1
push 2
lea ecx, [ebp - 0x208]
push ecx
push eax
call fcn.0040beda
test eax, eax
je 0x40c245
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c220
lea eax, [ebp - 0x208]
push eax
call fcn.00404b6e
pop ecx
jmp 0x40c226
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c238
push dword [esi + 0x208]
mov ecx, eax
call fcn.0040499d
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
leave
ret

Function at 0x40c549
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
lea eax, [ebp - 4]
push eax
push dword [edi + 0x69c]
call fcn.00407a94
test eax, eax
je 0x40c5b1
and word [ebp - 0x804], 0
push esi
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
call fcn.0040346d
push dword [edi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop esi
je 0x40c5b1
lea eax, [ebp - 0x804]
push eax
call fcn.00404b06
pop ecx
leave
ret
Function at 0x40d24d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x86c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
push esi
push edi
xor esi, esi
push esi
push dword [eax + 0x21c]
call ebx
push esi
push eax
call ebx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, esi
jle 0x40d298
mov edi, eax
push 0x400
push esi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DeleteMenu]
dec edi
jne 0x40d285
push 0x2c
lea eax, [esp + 0x20]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x30
pop edi
push 0x12
pop ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x42
mov dword [esp + 0x28], 0xbdd7
call fcn.00406015
mov ebx, dword [sym.imp.USER32.dll_InsertMenuItemW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push dword [esp + 0x20]
call ebx
lea eax, [esp + 0x18]
push eax
push 1
push esi
push dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0x800
call ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x6e8]
cmp edi, esi
mov dword [esp + 0x10], esi
jle 0x40d3d9
push 0x2c
lea eax, [esp + 0x50]
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x1c]
add eax, 0xbd74
push 0x7fe
mov dword [esp + 0x68], eax
lea eax, [esp + 0x8a]
push esi
push eax
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x64], 0x42
mov word [esp + 0x90], si
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
sub edi, ecx
add esp, 0x18
add eax, 0x6cc
dec edi
call fcn.00405a87
cmp edi, 0xa
push eax
jge 0x40d39d
push edi
push str._d____s
lea eax, [esp + 0x84]
push 0x3ff
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
jmp 0x40d3ac
mov eax, 0x3ff
lea edi, [esp + 0x7c]
call fcn.00404c14
pop ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x48]
push eax
push 1
push esi
push dword [esp + 0x20]
call ebx
mov eax, dword [ebp + 8]
inc dword [esp + 0x10]
mov edi, dword [eax + 0x6e8]
cmp dword [esp + 0x10], edi
jl 0x40d31e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4104ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35

Function at 0x4104fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00410124

Function at 0x410520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.004100d9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00410124
push eax
push esi
push dword [ebp + 8]
call fcn.004100d9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00410114
dec esi
dec edx
pushal
cmp eax, 0xff7c9d88
invalid
Function at 0x46f8d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd07090]
xor edx, edx
cmp eax, edx
jne 0x46f8f6
xor eax, eax
mov byte [eax + 0xd06f90], al
inc eax
cmp eax, 0x100
jl 0x46f8de
mov dword [0xd07090], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd06f90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46f987
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 0x46f95a
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 0x46f928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46f990
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 0x46f9e3
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 0x46f9ca
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