joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40efe1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.00412df0
cmp dword [ebp + 8], 0
je 0x40f046
test esi, esi
je 0x40f034
push 0x22
push esi
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x40f034
and word [ebp - 0x20000], 0
push esi
push str.__s_
lea eax, [ebp - 0x20000]
push 0xfffe
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20000]
push eax
jmp 0x40f038
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
leave
ret

Function at 0x40f05e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.00412df0
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40f0bd
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.004056ec
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40f0fe
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x413548
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.00405775
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40f104
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40f122
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040ef94
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret

Function at 0x40f175
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f1ae
mov ecx, dword [ebp - 4]
cmp ecx, 2
jb 0x40f1aa
shr ecx, 1
and word [esi + ecx*2], ax
leave
ret
and word [esi], 0
leave
ret
Function at 0x40f60d
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
push edi
mov esi, eax
call fcn.0040f560
xor edi, edi
cmp dword [0x41a9b8], edi
je 0x40f652
call fcn.00404f50
cmp dword [eax + 0x10], 1
jne 0x40f643
cmp esi, 0x19
je 0x40f652
cmp esi, 0x17
je 0x40f652
cmp esi, 0x16
je 0x40f652
push edi
push esi
push ebx
push edi
call dword [0x41a9b8]
jmp 0x40f6f4
push 0x206
lea eax, [ebp - 0x24a]
push edi
push eax
mov word [ebp - 0x24c], di
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, 0x19
je 0x40f67d
cmp esi, 0x17
je 0x40f67d
cmp esi, 0x16
jne 0x40f693
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x40f6a7
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40f6dd
lea ecx, [ebp - 0x44]
mov eax, esi
call fcn.0040f58f
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 4]
mov eax, 0x104
lea esi, [ebp - 0x24c]
call fcn.0040f175
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.msvcrt.dll_wcscpy
xor eax, eax
cmp word [ebx], di
pop ecx
pop ecx
setne al
pop edi
pop esi
leave
ret
Function at 0x410d5c
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push 0x35
push str.ServicesActive
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x410dde
push esi
push edi
push 0x34
push str.RemoteRegistry
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x410dd9
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x410dd6
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x410dc0
cmp dword [ebp - 0x1c], 4
je 0x410dd6
push eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x410dd3
cmp dword [ebp - 0x1c], 4
jne 0x410dd6
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 4], eax
push esi
call edi
push ebx
call edi
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
leave
ret
Function at 0x411b4b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x411cdd
push ebx
mov eax, edi
call fcn.00401b53
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x415790
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x411bce
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x411c1d
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x413548
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.00411abc
test eax, eax
jne 0x411c2d
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x4171dc
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.00411abc
push 0x4171f4
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.00411abc
push 0x417214
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.00411abc
push 0x41722c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.00411abc
push 0x41724c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.00411abc
push 0x417264
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.00411abc
push 0x417280
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.00411abc
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.00411abc
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x411d82
Capabilities:
Link many functions at runtime

Disassembly:
push str.wevtapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi], eax
je 0x411e99
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EvtOpenLog
push eax
call edi
push str.EvtGetLogInfo
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.EvtOpenSession
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.EvtClose
push dword [esi]
mov dword [esi + 0xc], eax
call edi
mov ebx, str.EvtFormatMessage
push ebx
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.EvtNext
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.EvtQuery
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.EvtGetObjectArrayProperty
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.EvtGetObjectArraySize
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.EvtCreateRenderContext
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.EvtGetQueryInfo
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.EvtRender
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
push str.EvtOpenChannelEnum
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.EvtNextChannelPath
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push str.EvtOpenChannelConfig
push dword [esi]
mov dword [esi + 0x38], eax
call edi
push str.EvtGetChannelConfigProperty
push dword [esi]
mov dword [esi + 0x3c], eax
call edi
push str.EvtOpenPublisherMetadata
push dword [esi]
mov dword [esi + 0x40], eax
call edi
push ebx
push dword [esi]
mov dword [esi + 0x44], eax
call edi
push str.EvtSetChannelConfigProperty
push dword [esi]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x48], eax
push str.EvtSaveChannelConfig
push dword [esi]
call edi
push str.EvtClearLog
push dword [esi]
mov dword [esi + 0x4c], eax
call edi
pop edi
mov dword [esi + 0x50], eax
pop ebx
ret
Function at 0x412b76
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x413480
call fcn.00412d84
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x412bb1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412bb1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x412bc9
cmp eax, 0x20b
je 0x412bb6
mov dword [ebp - 0x1c], edi
jmp 0x412bdd
cmp dword [ecx + 0x84], 0xe
jbe 0x412bb1
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x412bd7
cmp dword [ecx + 0x74], 0xe
jbe 0x412bb1
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x4289f0], 0xffffffff
or dword [0x4289f4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x419adc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x419ad8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4289ec], eax
call fcn.00401b39
cmp dword [section..data], edi
jne 0x412c3a
push fcn.00401b39
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00412d72
push 0x413458
push 0x413454
call sub.msvcrt.dll__initterm
mov eax, dword [0x419ad4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x419ad0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x413450
push 0x413428
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x412ca0
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x412d5a
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x412cee
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x412cbc
cmp ax, 0x22
jne 0x412ca9
cmp word [esi], 0x22
jne 0x412cc7
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x412cd5
cmp ax, 0x20
jbe 0x412cc2
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x412cfb
movzx eax, word [ebp - 0x48]
jmp 0x412cfe
cmp word [esi], 0x20
jbe 0x412cc7
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x412cee
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x412d1f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x412d54
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00412dbd
ret
Function at 0x405d20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call 0x40dc20
test dword [edi + ecx + 0x9385], esp
stc
cmp dword [0x4108dc], 0x14
and al, 0xb0
out dx, al
add byte [eax], al
add byte [ecx + 0x410384], ah
in al, 0xc0
jne 0x405e2e
mov dword [0x410384], 0x5501
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esi - 0x7b]
div byte [esi + esi - 0x5f]
pop eax
add eax, dword [ecx + 0x33]
test eax, eax
jne 0x405dc3
stc
lodsb al, byte [esi]
adc byte [edx], cl
inc eax
shr dword [edx + 4], 0xe8
push ecx
dec ebx
add byte [eax], al
scasb al, byte es:[edi]
or al, 0xa3
pop eax
add eax, dword [ecx]
test dword [ecx + 0xf], ebp
test dh, ah
add byte [eax], al
add bh, cl
dec ebp
cld
push ecx
push esi
call [esi - 0x97a0f75]
je 0x405db3
mov edx, dword [ebp - 4]
mov eax, dword [edi - 0x62a9adf4]
call int.004071d0
mov ecx, dword [ebp + 8]
add esp, 0xc
push esi
mov dword [ecx], eax
retf 0x5815
push ebx
invalid
inc eax
xchg dword [eax - 0x18], edx
test esp, esp
add byte [ebp - 0x75], al
jge 0x405dde
add esp, 0xc
test edi, edi
je 0x405e35
lea esi, [eax*4 + 0x93]
push esi
jmp dword [ebx + 0xe8c1e8]
mov dword [0xe8c1e8], eax
add esp, 4
lea edi, [eax - 0x3edbea01]
loopne 0x405dee
mov edi, dword [ebp - 0x75]
into
in al, 0x30
add edx, ecx
sar dword [edx + eax], 0xf3
movsd dword es:[edi], dword [esi]
mov ebx, dword [edx]
das
loope 0x405e03
dec ecx
mov esp, 0x5015de53
rol byte [eax], 0x8b
push ss
ficom word [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edx, dword [esi]
sub byte [ebx - 0x2900ffc0], ah
mov ecx, dword [eax + 0x74c9195b]
invalid
xor eax, eax
pop edi
into
mov eax, ecx
pop ebp
pop ds
or al, 0
and eax, 0x60159e01
rol byte [eax], 0xe9
outsb dx, byte [esi]
invalid

Function at 0x4094c5
Capabilities:
Encode data using xor

Disassembly:
call 0x4093c9
mov ecx, 0x200
call 0x4094c5
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x4094c8
mov eax, 0x50402ec
out dx, al
clc
div esi
cmc
retf 0x3d52
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x40108c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 8]
call fcn.004013fe
call fcn.0040e2b5
test eax, eax
je 0x4010dd
push 0x10
push 0x46bd8e
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MesqageZoxA]
jmp 0x4012b3
cmp dword [0x48b7e8], 0
mov ebx, 0x48b7fc
jne 0x40110b
push 0xffffffffffffffff
push dword [0x48b7f0]
mov esi, 0x48d8b0
push 1
call fcn.004065b2
mov al, byte [0x4795bd]
mov byte [0x48d8b2], al
jmp 0x401159
lea eax, [ebp - 2]
push eax
push 0x48b7e8
mov esi, ebx
mov eax, 0x48d8b0
call fcn.00406bfc
test al, al
jne 0x401133
mov dword [0x4795d4], 1
jmp 0x4012a6
mov al, byte [0x48d8b0]
mov byte [0x48b7ec], al
mov al, byte [0x48d8b1]
push 0x48b7e4
mov byte [ebp - 1], al
lea eax, [ebp - 0x430]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
push dword [0x48b7e8]
push ebx
call fcn.00418bd1
test eax, eax
je 0x40118f
mov edi, 0x48d8b0
call fcn.0040677e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4795d4], 1
jmp 0x4012b3
cmp byte [ebp - 1], 1
jne 0x401241
cmp byte [0x48b7bd], 1
jne 0x401241
call fcn.0040d99a
test al, al
jne 0x401241
push edi
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x40121a
mov edi, 0x46bdf8
push edi
lea esi, [ebp - 0x10]
call fcn.0040e30a
push ebx
mov eax, esi
call fcn.0040e505
push edi
mov eax, esi
call fcn.0040e505
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x430]
push eax
push 0x46bdfc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call fcn.0044e722
pop ecx
jmp 0x40129c
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x430]
push eax
push 0x46bdfc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40129c
call fcn.004012ba
call fcn.0040138d
cmp byte [0x48b7ec], 0
jne 0x40125e
mov edi, 0x48c258
call fcn.00409f5a
push 1
mov ecx, 0x48ba08
call fcn.00418d3c
cmp byte [0x48b7ec], 0
jne 0x40129c
mov edi, 0x48d07c
mov esi, dword [edi]
test esi, esi
je 0x401291
push dword [esi + 8]
call fcn.0044e722
pop ecx
push esi
call fcn.0044e722
and dword [edi], 0
pop ecx
add edi, 4
cmp edi, 0x48d898
jl 0x401278
mov edi, 0x48d8b0
call fcn.0040677e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4060c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20630
call fcn.00453ed0
push ebx
xor ebx, ebx
push esi
push edi
push 0x400
mov byte [0x48d8b0], bl
mov byte [0x48d8b1], bl
mov byte [0x48d8b2], bl
mov dword [0x48d8b4], ebx
mov dword [0x48d8b8], ebx
mov dword [0x48d8bc], ebx
mov dword [0x48d8c0], ebx
mov dword [0x48d8c4], 0x46c75c
mov dword [0x48d8c8], ebx
mov dword [0x48d8cc], ebx
mov dword [0x48d8d0], ebx
mov dword [0x48d8d4], 0x46c75c
mov dword [0x48d8d8], ebx
mov dword [0x48d8dc], ebx
mov dword [0x48d8e0], ebx
mov dword [0x48d8e8], ebx
mov dword [0x48d8f0], ebx
call fcn.0044e9ed
pop ecx
mov dword [0x48d8e4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004514e8
push esi
lea eax, [ebp - 0x424]
push str.Include
push eax
call fcn.00451532
push ebx
push ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0045156f
mov edi, 0x20a
push edi
call fcn.0044e9ed
mov ecx, dword [0x48d8e4]
mov edx, dword [0x48d8e8]
mov dword [ecx + edx*4], eax
mov ecx, dword [0x48d8e8]
mov eax, dword [0x48d8e4]
mov eax, dword [eax + ecx*4]
inc dword [0x48d8e8]
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.0044e973
add esp, 0x40
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40632f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20630]
push eax
push ebx
push ebx
push str.Include
push dword [ebp - 0xc]
mov dword [ebp - 4], 0x1fffe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406326
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
add eax, eax
mov word [ebp + eax - 0x20630], bx
mov word [ebp + eax - 0x2062e], bx
lea eax, [ebp - 0x20630]
mov word [ebp - 0x21c], bx
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 0x48d8b0
pop ebx
leave
ret

Function at 0x4071ae
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebx + eax], ecx
jle 0x4071bb
xor ax, 0x483c
inc ecx
cmp ecx, edi
je 0x4071b3
neg dword [edi + 0x5b]
pop edi
pop ebx
leave
ret 4

Function at 0x408e10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ch, ah
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xa]
call fcn.00408e35
sti
jne fcn.00408e35
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.00408f3f
pop ebx
push ebp
ret 0x40c
Function at 0x408e35
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebp
push edi
mov edi, eax
push 2
pop edi
call dword [0x677548]
cmp dword [ebx + 0x240], 1
mov esi, eax
je 0x408f08
cmp edi, 0x14
je 0x408f08
cmp edi, 0x8000090
je 0x408f08
cmp edi, 0x91
je 0x408f08
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
or byte [ebp + edi - 0x304], 0x80
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_BmoseClipfoard_]
xor edx, edx
shl esi, 0
inc edx
or esi, edx
cmp byte [ebp + 8], dl
je 0x408ebe
cmp edi, 0x2d
je 0x408eb8
mov edx, edi
call fcn.004088d2
jmp 0x408eba
mov eax, edx
cmp al, dl
jne 0x408ec4
or esi, 0x1000000
mov ecx, dword [ebx + 0x23c]
test bl, cl
mov eax, 0x18020100
jne fcn.00408edb
test eax, ecx
jne 0x408edc
retf
test al, 8
jne 0x408ef7
push esi
push edi
xor edx, edx
inc edx
cmp byte [ebp + 8], dl
jl 0x408f28
mov edi, edi
and eax, 0xc78b0974
call fcn.004088d2
sti
add al, byte [edx + 0x74c23ac2]
add al, 0x6a
add bl, ch
add edx, dword [edx + 0x56]
push edx
push esi
pop ss
call fcn.00408381
mov edi, dword [edi + 4]
push ebx
call fcn.004094db
pop edi
pop esi
leave
ret 4