joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408520
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x58
mov eax, dword [0x413dd0]
push esi
mov esi, dword [esp + 0x60]
push 0x88
push eax
mov dword [esp + 0xc], 0x58
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], 0x7d0
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0x1c]
push 0x58
push ecx
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esp + 0x64]
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop esi
add esp, 0x58
ret

Function at 0x408590
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x412df0]
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 8], ecx
push 0x104
push edx
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x50
call fcn.00408b84
add esp, 4
lea eax, [esp]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x114]
push 0x50
test eax, eax
je 0x40860c
mov edx, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.windows
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 1
jmp 0x408629
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push str.windows
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
mov eax, dword [0x413cfc]
push 0xf1
push 0x42f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x110
ret
Function at 0x408650
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x200
lea eax, [esp + 0x100]
push ebx
push esi
push edi
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._syschg.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jne 0x408711
lea eax, [esp + 0x10c]
lea ecx, [esp + 0xc]
push eax
push 0xff
push ecx
push 0
push 0x412840
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4087e9
mov esi, 0x41204c
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4087d1
test cl, cl
je 0x40870a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4087d1
add eax, 2
add esi, 2
test cl, cl
jne 0x4086de
xor eax, eax
jmp 0x4087d6
cmp eax, 2
jne 0x408773
lea eax, [esp + 0x10c]
lea ecx, [esp + 0xc]
push eax
push 0xff
push ecx
push 0
push str.hidetask
push str.ICON
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4087e9
mov esi, 0x41204c
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4087d1
test cl, cl
je 0x40876f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4087d1
add eax, 2
add esi, 2
test cl, cl
jne 0x40874b
xor eax, eax
jmp 0x4087d6
cmp eax, 3
jne 0x4087e9
lea eax, [esp + 0x10c]
lea ecx, [esp + 0xc]
push eax
push 0xff
push ecx
push 0
push str.pass
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4087e9
mov esi, 0x41204c
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4087d1
test cl, cl
je 0x4087cd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4087d1
add eax, 2
add esi, 2
test cl, cl
jne 0x4087a9
xor eax, eax
jmp 0x4087d6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4087e9
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x200
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x200
ret

Function at 0x408800
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push 0x50
call fcn.00408b84
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 1
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [esp + 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push esi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
not eax
and eax, esi
pop esi
add esp, 0xc
ret
Function at 0x408870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push 0x50
call fcn.00408b84
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, esi
je 0x4088d4
mov eax, str.Microsoft_Internet_Explorer
pop esi
add esp, 0xc
ret

Function at 0x4088e0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0x50
call fcn.00408b84
mov ecx, dword [esp + 0xc]
add esp, 4
lea eax, [esp]
push eax
push 0x20006
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
push 0x50
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop ecx
ret

Function at 0x408930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push 0x50
call fcn.00408b84
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x408990
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
push 4
call fcn.00408b84
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 1
jne 0x4089ad
mov byte [esi], 1
jmp 0x4089bc
mov byte [esi], 0
mov byte [esi + 1], 0
mov byte [esi + 2], 0
mov byte [esi + 3], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4089f9
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 4
push 0
push 0
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push 4
push esi
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ecx
ret
Function at 0x408aa0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
call fcn.00408a20
cmp eax, 0x7d0
jne 0x408b0d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 4]
mov dword [esp + 0xc], 1
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push 0
push edx
push 0
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 4
push 1
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x1c
ret

Function at 0x40b029
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412fd8
cmp edx, dword [eax]
je 0x40b04b
add eax, 8
inc ecx
cmp eax, 0x413068
jl 0x40b03c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412fd8]
jne 0x40b179
mov eax, dword [0x413e6c]
cmp eax, 1
je 0x40b153
test eax, eax
jne 0x40b07c
cmp dword [0x412e60], 1
je 0x40b153
cmp edx, 0xfc
je 0x40b179
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b0b3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040c5c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b4f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b0f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b4f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4106d8
push edi
call fcn.0040e450
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040c5c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c5d0
lea eax, [ebp - 0xa0]
push 0x4106b8
push eax
call fcn.0040c5d0
push dword [esi + 0x412fdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c5d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e3c5
add esp, 0x2c
pop edi
jmp 0x40b179
lea eax, [ebp + 8]
lea esi, [esi + 0x412fdc]
push 0
push eax
push dword [esi]
call fcn.0040b4f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001c49
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001230
call fcn.01001de8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001c84
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001c84
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001c9c
cmp eax, 0x20b
je 0x1001c89
mov dword [ebp - 0x1c], edi
jmp 0x1001cb0
cmp dword [ecx + 0x84], 0xe
jbe 0x1001c84
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001caa
cmp dword [ecx + 0x74], 0xe
jbe 0x1001c84
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003018], 0xffffffff
or dword [0x100301c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003014]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003010]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003020], eax
call fcn.01001de2
cmp dword [section..data], edi
jne 0x1001d0b
push fcn.01001de2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001dd0
push 0x1001154
push 0x1001150
call sub.msvcrt.dll__initterm
mov eax, dword [0x100300c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1003008]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100114c
push 0x1001148
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001be3
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001d82
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001db7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001e21
ret
Function at 0x4e1fb7
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x8c], edi
lea esp, [esp + 0x8c]
jmp 0x4e2003
pop word [esp + 0x1d]
pop word [esp + 3]
mov byte [esp + 0x12], ah
jmp 0x4e1f52
mov esi, dword [esp + 0x28]
mov cx, word [esp]
lea eax, [ecx + edx]
call 0x4e1fb7
shl dword [esi - 9], 1
shr bl, 1
push esp
inc ebx
rol byte [eax + 0x27], cl
shr byte [edi + eax*8 + 0x57], cl
invalid
neg cx
xchg ah, bl
call fcn.004e1fec
add dl, byte [esi + 0x2d9e6304]
nop
or ebx, dword [ebx + reloc.kernel32.dll_DeleteCriticalSection]
cmp dword [eax], ebx
xchg dh, al
jmp 0x4e1fcf
pushfd
stc
je 0x4e1fe8
xchg dh, al
neg cx
xchg ah, bl
jmp 0x4e1fa6

Function at 0x4ed600
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x4d779c
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0x4d77b3
pop ebx
ret
lea esp, [esp + 8]
jmp 0x4d7790

Function at 0x502457
Capabilities:
Encrypt data using aes

Disassembly:
pop word [esp]
add esp, 1
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x502477
and edi, 0xff000000
sub esp, 0x1e
lea esp, [esp + 2]
xor ecx, edi
jmp 0x5024c6
cmc
pushal
push dword [esp + 0xe]
mov dword [esp + 0xf], esi
jmp 0x50252a
lea edi, [ebx + ebp]
rcr di, cl
bsr di, cx
mov edi, dword [esp]
mov edi, edx
jmp 0x502488
lea esp, [esp + 0x40]
movzx edi, byte [edi*4 + 0x4df010]
jmp 0x5024f0
and edx, esi
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
shr edi, 0x18
jmp 0x50250b

Function at 0x5027b9
Capabilities:
Encrypt data using aes

Disassembly:
pushal
push word [esp + 0xb]
push word [esp + 7]
jmp 0x502668

Function at 0x502ad6
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esp + 0xb], eax
lea esp, [esp + 0x13]
lea esp, [esp + 1]
jmp 0x502b13
mov dword [edx], edi
jmp 0x502afd

Function at 0x502c02
Capabilities:
Encrypt data using aes

Disassembly:
lea edi, [ebp - 0xff]
mov di, si
jmp 0x502ccf
jmp 0x503388
lea esp, [esp + 4]
cmp eax, 1
call 0x502c02
out 0x66, al
push dword [esp + 3]
lea esp, [esp + 2]
jmp 0x502c3a
mov byte [esp + 2], ah
jmp 0x502bf5
xchg cx, di
jmp 0x502f0b
lea esp, [esp + 4]
jle 0x5027fa
pushal
xchg byte [esp + 0x16], dl
mov bl, 0x30
jmp 0x502c24
add esi, 0x10
neg dh
mov dh, ch
setge dh
jmp 0x502d0d
lea edx, [edi*4]
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
clc
mov di, bx
lea edi, [esi - 0x95]
jmp 0x502c93
mov bh, 0xc3
movzx ebx, byte [esi + 0x11]
xchg di, dx
lea edi, [ecx*4]
mov dx, word [esp]
jmp 0x502caa
mov edx, dword [esi]
call fcn.00502ce5
js 0x502d10
sar edi, 1
invalid
push 0x5a3bfa0f
fisttp word [edi + 0x2a]
fldenv [eax + esi*4]
xor byte [esi - 0x5271cf3f], ah
mov esp, 0xd1bd0f66
bsr dx, cx
clc
mov ecx, 0xff
jmp 0x5027df
lea esp, [esp + 0x20]
lea ecx, [eax - 1]
xchg edx, ebx
mov dword [ebp - 4], ecx
jmp 0x502d28
Function at 0x502d72
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
and edi, ecx
pushal
jmp 0x502eca
pop word [esp]
add esp, 1
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x502d5c
sete bl
movzx ebx, byte [esi + 2]
sub esp, 8
add esp, 5
lea esp, [esp + 3]
jmp 0x502dd5
and ebx, ecx
lea esp, [esp + 0x58]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
bswap ebx
jmp 0x502df1
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
push edx
mov word [esp], di
sub esp, 0x10
pushal
jmp 0x502e5a

Function at 0x502e04
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmc
jmp 0x502e14
cmc
cmc
and edx, ecx
jmp 0x502e88
mov edx, dword [esp]
mov edx, dword [esi + 4]
push esp
add esp, 1
lea esp, [esp + 3]
jmp 0x502ea2
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
setbe dh
lea edx, [ecx*4]
lea edx, [esp + edx]
jmp 0x502e6b
mov dword [esi], edi
mov edi, 0x91b1d6e4
mov edi, dword [esp]
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x502edf
mov edi, edx
call 0x502ee7
ljmp 1

Function at 0x502fec
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
call fcn.00503072
add dword [eax + reloc.kernel32.dll_DeleteCriticalSection], eax
mov ecx, 0x47b4ad3d
or dword [edi + ebx - reloc.kernel32.dll_DeleteCriticalSection], 0xc4830cec
add eax, 0x324648d
sub esp, 0xc
add esp, 5
lea esp, [esp + 3]
jmp 0x502fbb
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x502fd3

Function at 0x50308e
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esp], esi
and ebx, ecx
push edx
pushal
jmp 0x5030cc

Function at 0x5032c1
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 1
lea esp, [esp + 3]
jmp 0x50335f
and ebx, ecx
call fcn.0050333d
sbb byte [edi + 0x28916207], dl
xchg byte [eax], cl
sahf
stc
or byte [ebp + 0x6ec75425], bh
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmc
sub esp, 0x18
and edi, ecx
call fcn.00502f57
push edx
jmp 0x5033c1
lea esp, [esp + 4]
pop edi
mov si, 0xb863
jmp 0x5034ca
mov esi, dword [esp]
pushal

Function at 0x6051ee
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0x10], eax
call fcn.006051b6
mov byte [esp + 4], bh
push esp
push word [esp + 7]
pop dword [esp]
pop dword [esp]
lea esp, [esp + 3]
jmp 0x605272
lea esp, [esp + 1]
mov dword [esp + 0x20], esi
push esp
pop word [esp]
lea esp, [esp + 1]
mov byte [esp], bh
jmp 0x605256

Function at 0x60522a
Capabilities:
Parse pe header

Disassembly:
push esp
lea esp, [esp + 1]
mov dword [esp + 0x24], ebp
push edx
mov word [esp], bx
push word [esp + 3]
jmp 0x6051f7
pop word [esp]
lea esp, [esp + 1]
jmp 0x605211
Function at 0x605294
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push word [esp + 7]
push dword [esp]
lea esp, [esp + 2]
mov dword [esp + 0x24], esp
call fcn.0060522a
lea esp, [esp]
push esp
push dword [esp + 1]
lea esp, [esp + 1]
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
jmp 0x60529b
push edx
mov byte [esp + 1], bh
jmp 0x605241
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x6052ad
mov eax, dword [eax]
jmp 0x6052d9
Function at 0x10014230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10089d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1007cd27
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10016910
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10014284
jmp dword [ecx*4 + 0x100143ec]
mov al, byte [esi]
test al, al
je 0x100142b2
cmp al, 0x20
je 0x1001429e
cmp al, 0xa1
jne 0x100142b2
cmp byte [esi + 1], al
jne 0x100142b2
test al, 0x80
je 0x100142aa
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100142b2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10014291
test ecx, ecx
je case.default.0x10014284
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10014284
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100142f8
cmp dl, 0xa1
jne 0x100142ec
cmp byte [eax + 1], 0xa1
jne 0x100142ec
test ecx, ecx
jne 0x100142e4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1001430c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10014326
jmp 0x1001430c
cmp dl, 0x20
jne 0x1001430a
test ecx, ecx
jne 0x10014303
mov edi, eax
mov ecx, 1
jmp 0x1001430c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100142cc
cmp ecx, 1
jne case.default.0x10014284
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10014284
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10014284
mov al, byte [esi]
test al, al
je 0x1001437e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10014364
mov cl, byte [esi + 1]
test cl, cl
je 0x1001437e
cmp al, 0xa1
jne 0x10014354
cmp cl, al
je 0x10014361
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10016be0
inc esi
jmp 0x10014376
cmp al, 0x20
je 0x10014376
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10016c20
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001433d
push 0
lea ecx, [esp + 0x14]
call fcn.10016c20
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10025960
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100143b1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1015c8e0
call fcn.10016b10
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ccb9
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1001e1c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008a59b
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.1007ca2e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1001e242
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1007a41d
mov eax, dword [eax]
push 0x10170220
push eax
call fcn.1006c774
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1007ccb9
test bl, bl
je 0x1001e242
push 0x10170220
lea ecx, [esp + 0xc]
call fcn.1007d095
push 0x10173d9c
lea ecx, [esp + 0xc]
call fcn.1007d095
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 0x1001e27e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1007ccb9
jmp 0x1001e349
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 0x1001e302
lea edx, [esp + 0x7c]
push 0x10173d98
push edx
call fcn.1006c774
add esp, 8
test eax, eax
je 0x1001e302
lea eax, [esp + 0x7c]
push 0x10173d94
push eax
call fcn.1006c774
add esp, 8
test eax, eax
je 0x1001e302
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 0x1001e292
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.1007ccb9
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 0x1001eb40
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 0x1001eba2
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