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

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.18202745
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.182026fa
add esp, 0xc
mov dword [ebp - 0x68c], eax
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
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.18202745
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.182026fa
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
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.18202745
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.182026fa
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.18202735
pop ebx
leave
sahf
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
sti
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.18202745
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.182026fa
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.18202735
push ds
jp 0x182031d0
ljmp 0xffff:0xf99ca580
Function at 0x18203407
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ecx]
cmp dword [ebp - 0x398], 0
je 0x18203429
cmp dword [ebp - 0x398], 0
je 0x182035f3
cmp dword [ebp + 0xc], 1
je 0x182035f3
retf 1
invalid
cmp dword [ebp + 0xc], 8
jne 0x182035bb
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
stc
invalid
call dword [eax]
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.18202745
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.182026fa
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
stc
invalid
dec dword [ebx - 0x69b7a3a]
invalid
invalid
in al, dx
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.18202735
movsd dword es:[edi], dword [esi]
int3
call fcn.18202735
outsd dx, dword [esi]
dec ecx
fcmovu st(0), st(0)
and byte [ebp - 0x544], 0
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.18202735
ret
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
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.18202713
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
cld
invalid
inc dword [eax]
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
xor dh, al
test dword [edx + 0x21fffffc], ebx
Function at 0x18204140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x182047db
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x182042b0
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
xchg esi, eax
xchg esi, eax
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
test dword [edi - 0x24000008], ebx
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
invalid
invalid
invalid
clc
invalid
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x40bc59
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
je 0x40bcb7
add ebx, 2
lea eax, [ebx*2 + 2]
push eax
push edi
push dword [0x4101c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x40bcb7
cmp dword [ebp + 0xc], 0
je 0x40bca6
push dword [ebp + 0xc]
push edi
call sub.MSVCRT.dll_wcscpy
push 0x40d020
push edi
call sub.MSVCRT.dll_wcscat
add esp, 0x10
jmp 0x40bcb3
push 0x40d020
push edi
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
mov esi, edi
jmp 0x40bcba
mov esi, dword [ebp + 0xc]
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x40bd21
mov eax, dword [0x40fbd8]
dec eax
dec eax
je 0x40bcfb
sub eax, 0x16
je 0x40bcf3
push 0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + ebx]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40bd21
push esi
call fcn.0040c1c0
jmp 0x40bd01
push esi
call fcn.0040c250
mov esi, eax
lea eax, [ebp + 0x10]
push 0
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.0040c1b0
test edi, edi
je 0x40bd34
push edi
push 0
push dword [0x4101c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x4015d4
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x10
sub ecx, edx
pop esi
mov al, byte [ecx + edx]
xor byte [edx], al
inc edx
dec esi
jne 0x4015da
pop esi
ret

Function at 0x4015e5
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor edi, edi
movzx eax, byte [edi + ecx]
mov esi, edi
shl esi, 8
xor esi, eax
xor esi, edx
mov al, byte [esi + 0x402230]
mov byte [edi + ecx], al
inc edi
cmp edi, 0x10
jb 0x4015e9
pop edi
pop esi
ret
Function at 0x404d85
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x47d084]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [ebp - 0x218]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.00405021
mov ebx, eax
cmp ebx, esi
je 0x404df1
cmp dword [ebp - 0x218], esi
je 0x404dea
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x404e89
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x404e19
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00404d85
mov dword [ebp - 0x224], eax
cmp eax, esi
jne 0x404e9a
lea eax, [ebp - 0x22c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x100
call ebx
test eax, eax
je 0x404df9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x218], esi
je 0x404e64
push dword [ebp - 0x218]
call ebx
mov dword [ebp - 0x218], esi
push dword [ebp - 0x220]
mov dword [ebp - 0x214], esi
call fcn.00404d17
mov edi, eax
cmp dword [ebp - 0x218], esi
je 0x404e87
push dword [ebp - 0x218]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410fce
leave
ret 4
cmp dword [ebp - 0x218], esi
je 0x404eae
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
jmp 0x404e89
Function at 0x40797d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x45a2f6
call fcn.00453ad4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x4079d5
call fcn.0040675a
mov esi, eax
jmp 0x407adf
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4079ee
call fcn.0040675a
jmp 0x407ad1
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x4079e4
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x407a2b
mov esi, 0x8007000e
jmp 0x407ad3
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x407a40
cmp eax, 0xffffffff
jbe 0x407a4a
push 0x80070216
call fcn.0040564d
cmp eax, 0x400
jbe 0x407a77
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00406737
jmp 0x407a83
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x407a21
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4079e4
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.0040781d
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x407af8
lea eax, [ebp - 0x418]
call fcn.00406bd0
mov eax, esi
call fcn.00453b30
ret 0xc
Function at 0x40afc9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b02d
cmp dword [ebp + 0xc], 1
je 0x40b005
cmp dword [ebp + 0xc], 2
je 0x40b005
push 0xd
pop eax
jmp 0x40b02d
mov eax, dword [ebp - 4]
test edi, edi
je 0x40b027
test eax, eax
je 0x40b022
test al, 1
jne 0x40b000
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40b027
jmp 0x40b000
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x410ca1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47f120], 0
push esi
push edi
jne 0x410c17
call fcn.00410b83
test eax, eax
je 0x410c5c
mov eax, dword [0x47f120]
cmp eax, 1
jne 0x410c38
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x410c5c
jmp 0x410c9e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x410c9e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x410c60
xor eax, eax
jmp 0x410c9e
mov eax, dword [esi]
push dword [0x47f120]
call edi
mov edi, eax
test edi, edi
je 0x410c82
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x410c9e
lea edi, [esi + 0xff0]
push esi
push dword [0x47f120]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x410c88
mov eax, esi
pop edi
pop esi
ret
jmp 0x410c03

Function at 0x410fce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47d084]
jne 0x410fd8
repz ret
jmp fcn.00414262
Function at 0x41e95b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47d084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041739b
and dword [ebp - 0x14], 0
cmp dword [0x47ff64], 0
mov dword [ebp - 0x18], eax
jne 0x41ea0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41eab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41eab6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47ff64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47ff68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47ff6c], eax
call edi
push eax
call esi
mov dword [0x47ff74], eax
test eax, eax
je 0x41ea0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47ff70], eax
mov eax, dword [0x47ff70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ea67
cmp dword [0x47ff74], ecx
je 0x41ea67
push eax
call esi
push dword [0x47ff74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ea67
test ebx, ebx
je 0x41ea67
call edi
test eax, eax
je 0x41ea5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ea5e
test byte [ebp - 8], 1
jne 0x41ea67
or dword [ebp + 0x10], 0x200000
jmp 0x41ea9a
mov eax, dword [0x47ff68]
cmp eax, dword [ebp - 0x18]
je 0x41ea9a
push eax
call esi
test eax, eax
je 0x41ea9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ea9a
mov eax, dword [0x47ff6c]
cmp eax, dword [ebp - 0x18]
je 0x41ea9a
push eax
call esi
test eax, eax
je 0x41ea9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47ff64]
call esi
test eax, eax
je 0x41eab6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41eab8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410fce
leave
ret
Function at 0x421117
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, edx
not eax
mov edx, 0xff
cmp edi, 8
jb 0x4211ce
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45dc50]
add ecx, 8
sub edi, 8
dec esi
jne 0x421131
pop ebx
test edi, edi
je 0x4211e7
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc50]
inc ecx
dec edi
jne 0x4211d2
pop edi
not eax
pop esi
ret
Function at 0x42c00e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457b62
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0xc], 0
and dword [esp + 0x30], 0
fld qword [0x477a58]
fstp qword [esp + 0x14]
mov eax, dword [ebp + 8]
fld qword [0x477a50]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fadd qword [0x477a48]
fld qword [esp + 0x14]
fmul qword [0x477a40]
fmul qword [esp + 0x1c]
fsubp st(1)
fld qword [esp + 0x14]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [esp + 0x1c]
fsub qword [esp + 0x1c]
fsub qword [0x477aa0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fsub qword [0x477a28]
fadd qword [esp + 0x14]
fadd qword [0x477a20]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x477a98]
fmul qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [esp + 0x14]
fadd qword [esp + 0x1c]
mov eax, dword [eax + 0x70]
fstp qword [esp + 0x14]
test eax, eax
je 0x42c0f9
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
and dword [esp + 0x10], 0
test eax, eax
je 0x42c119
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x45b478
push eax
call dword [ecx]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x42c139
or dword [esp + 0x30], 0xffffffff
test eax, eax
je 0x42c135
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x42c173
push dword [ebp + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
xor ecx, ecx
test eax, eax
sete cl
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
mov esi, ecx
test eax, eax
je 0x42c15e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42c171
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8