joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ae7
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x46d6fb
call fcn.004550bc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x404b89
call fcn.00442144
push eax
lea ecx, [ebp - 0x10]
call fcn.0040132d
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0044a148
mov byte [ebp - 0x14], 0x41
test bl, 1
je 0x404b73
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00404ac7
push 0x4788e4
lea ecx, [ebp - 0x10]
call fcn.004041d2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x404b73
cmp eax, 1
je 0x404b73
cmp eax, 5
je 0x404b73
cmp eax, 4
je 0x404b73
cmp eax, 2
je 0x404b73
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
mov ecx, esi
call fcn.0044a503
shr ebx, 1
inc byte [ebp - 0x14]
cmp byte [ebp - 0x14], 0x5a
jle 0x404b27
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010af
call fcn.0045515b
ret
Function at 0x407f19
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x407f33
xor eax, eax
jmp 0x407f72
test al, 0x10
jne 0x407f2f
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00457260
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x407f87
xor eax, eax
ret
test al, 0x10
je 0x407f95
xor eax, eax
cmp dword [esp + 8], eax
setne al
ret
xor eax, eax
cmp dword [esp + 8], eax
sete al
ret

Function at 0x4081fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xb0]
push ebx
push esi
mov esi, dword [ebp + 0xa8]
push edi
mov edi, dword [ebp + 0xac]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xb4]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00457260
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0xf003f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408269
xor eax, eax
jmp 0x4082c1
xor esi, esi
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x4082b5
push ebx
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push eax
call fcn.00407fbb
add esp, 0xc
test eax, eax
je 0x4082b2
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push eax
push dword [ecx + 8]
call fcn.0044a58a
inc esi
jmp 0x40826b
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004550ad
add ebp, 0xa0
leave
ret
Function at 0x4082d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov edx, dword [ebp + 0xb4]
mov ecx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp + 0xb8]
mov dword [ebp - 0x74], edx
lea edx, [ebp - 0x68]
push edx
push 0xf003f
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40832d
xor eax, eax
jmp 0x4083ab
push ebx
push 0x800
call fcn.004412fb
pop ecx
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x80]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x104
mov dword [ebp - 0x78], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x408395
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
call fcn.00407fbb
add esp, 0xc
test eax, eax
je 0x408392
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
push dword [ecx + 8]
call fcn.0044a58a
inc ebx
jmp 0x40833e
push dword [ebp - 0x6c]
call fcn.004412f6
pop ecx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.004550ad
add ebp, 0xa4
leave
ret

Function at 0x408b8e
Capabilities:
Read .ini file

Disassembly:
push 0x110
mov eax, 0x46e243
call fcn.00455125
mov edi, dword [ebp + 8]
and dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], edi
mov esi, 0x477979
push esi
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.00401c93
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov dword [ebp - 0x118], 1
mov byte [ebp - 0x114], 0
call fcn.00457260
mov ebx, dword [ebp + 0xc]
add esp, 0xc
push ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push esi
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x408c21
lea eax, [ebp - 0x114]
push eax
push 0x47ae64
push edi
call fcn.004023ec
add esp, 0xc
jmp 0x408c3a
lea eax, [ebp + 0x18]
push eax
mov ecx, edi
call fcn.0040170c
mov eax, dword [edi]
push ebx
push eax
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebx - 0x10]
call fcn.004010af
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004010af
lea ecx, [esi - 0x10]
call fcn.004010af
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.004010af
mov eax, edi
call fcn.0045516f
ret
Function at 0x409893
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x46e3f9
call fcn.004550bc
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00401c93
and dword [ebp - 4], 0
push 1
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00402c5e
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x4098ec
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f15
push 0
push dword [eax]
call edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
inc esi
push esi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00402c5e
mov esi, eax
cmp esi, 0xffffffff
jne 0x4098c2
push 0
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010af
mov eax, esi
call fcn.0045515b
ret

Function at 0x409db7
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x11c
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
push ebx
push esi
push 0x47b3b4
push eax
mov dword [ebp + 0x50], ecx
call fcn.004589a9
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
pop ecx
jne 0x409df1
xor eax, eax
inc eax
jmp 0x409e51
push edi
push ebx
push 0x3c
push esi
call fcn.00458860
push esi
push 1
lea eax, [ebp + 0x54]
push 2
push eax
call fcn.004587be
movsx eax, word [ebp + 0x54]
push ebx
push eax
push esi
call fcn.00458860
push esi
push 0xf8
lea eax, [ebp - 0xac]
push 1
push eax
call fcn.004587be
add esp, 0x38
xor eax, eax
cmp dword [ebp - 0x38], ebx
jbe 0x409e46
mov edi, dword [ebp + eax*8 - 0x34]
cmp edi, ebx
je 0x409e40
cmp eax, 2
je 0x409e62
inc eax
cmp eax, dword [ebp - 0x38]
jb 0x409e33
push esi
call fcn.004584a6
xor eax, eax
pop ecx
inc eax
pop edi
mov ecx, dword [ebp + 0x6c]
pop esi
xor ecx, ebp
pop ebx
call fcn.004550ad
add ebp, 0x70
leave
ret
mov eax, dword [ebp - 0x20]
push eax
mov dword [ebp + 0x4c], eax
call fcn.004412fb
push 0
push edi
push esi
mov ebx, eax
call fcn.00458860
push esi
push dword [ebp + 0x4c]
push 1
push ebx
call fcn.004587be
push esi
call fcn.004584a6
xor eax, eax
mov byte [ebp + 0x58], 0
lea edi, [ebp + 0x59]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x4c]
push ebx
call fcn.00438b3c
add esp, 0x30
push 8
pop esi
lea eax, [ebp + 0x58]
mov edi, esi
mov dword [ebp + 0x54], esi
mov cl, byte [eax + 8]
xor byte [eax], cl
inc eax
dec edi
jne 0x409eb3
push ebx
call fcn.004412f6
push esi
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x50]
call fcn.0045517e
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x54], eax
push esi
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x50]
call fcn.004568a0
movsx eax, word [ebp + 0x54]
add esp, 0x1c
jmp 0x409e50
Function at 0x409f6a
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e462
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a946c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.00442144
push eax
lea ecx, [esp + 0x1c]
call fcn.0040132d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x24], edi
push edi
lea eax, [esp + 0x1c]
push str.EraserL.F0D19C73_EF5F_422a_9F0C_524C7F76E090._u
push eax
call fcn.004023ec
mov ebx, dword [esp + 0x24]
add esp, 0xc
push ebx
push 1
push 0
call ebp
test eax, eax
mov dword [esi + 0xac], eax
je 0x40a0a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a015
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xac], 0
cmp edi, 0x63
jne 0x40a00d
push 0
push 0x30
push 4
call fcn.0044c045
inc edi
cmp edi, 0x64
jb 0x409fb1
jmp 0x40a019
mov dword [esp + 0x14], edi
xor eax, eax
cmp dword [esi + 0xac], eax
je 0x40a0a7
cmp dword [esp + 0x2c], eax
je 0x40a0a7
cmp dword [esp + 0x14], eax
jbe 0x40a0a7
dec dword [esp + 0x14]
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push str.EraserL.F0D19C73_EF5F_422a_9F0C_524C7F76E090._u
push eax
call fcn.004023ec
mov ebx, dword [esp + 0x24]
add esp, 0xc
push ebx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edi, eax
test edi, edi
je 0x40a0a0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
push 0
call ebp
mov edi, eax
test edi, edi
je 0x40a0a7
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xac], edi
cmp dword [esp + 0x14], 0
ja 0x40a033
lea ecx, [ebx - 0x10]
call fcn.004010af
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x40de60
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov esi, 0x9c
push esi
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push eax
xor edi, edi
call fcn.00457260
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x40deb7
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call esi
test eax, eax
je 0x40df3a
mov eax, dword [ebp - 0x18]
sub eax, ebx
je 0x40df35
dec eax
je 0x40df18
dec eax
jne 0x40df38
cmp dword [ebp - 0x24], 6
jne 0x40ded2
cmp dword [ebp - 0x20], ebx
jne 0x40df38
push 0x6a
pop edi
cmp dword [ebp - 0x24], 5
jne 0x40df0e
cmp dword [ebp - 0x20], 2
jne 0x40dee1
push 0x69
pop edi
cmp dword [ebp - 0x20], 1
jne 0x40df06
push 0x67
pop edi
push str.Service_Pack_2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40df00
push 0x68
pop edi
cmp dword [ebp - 0x24], 5
jne 0x40df0e
cmp dword [ebp - 0x20], ebx
jne 0x40df38
push 0x66
pop edi
cmp dword [ebp - 0x24], 4
ja 0x40df38
push 0x65
jmp 0x40df37
cmp dword [ebp - 0x24], 4
jne 0x40df38
cmp dword [ebp - 0x20], ebx
jne 0x40df26
push 0x64
pop edi
cmp dword [ebp - 0x20], 0xa
jne 0x40df2f
push 0x64
pop edi
cmp dword [ebp - 0x20], 0x5a
jne 0x40df38
push 0x64
pop edi
mov eax, edi
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004550ad
add ebp, 0x78
leave
ret
Function at 0x4124fa
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x608
lea ebp, [esp - 4]
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x608], eax
push 0x10
mov eax, 0x46f3a5
call fcn.004550bc
call fcn.00442144
push eax
lea ecx, [ebp - 0x10]
call fcn.0040132d
push dword [0x4aa864]
xor ebx, ebx
push ebx
push str.ItemCount
mov edi, str.FileForceDelOption
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jle 0x412645
mov esi, 0x477979
push ebx
lea eax, [ebp + 0x5f4]
push str.FileForceDelOption_d
push eax
call fcn.004572da
add esp, 0xc
push dword [0x4aa864]
lea eax, [ebp + 0x400]
push 0x1f4
push eax
push esi
lea eax, [ebp + 0x5f4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp + 0x400], 0x31
jne 0x41263b
lea eax, [ebp + 0x402]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401759
push 0x2c
lea ecx, [ebp - 0x10]
call fcn.00406f03
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f15
push dword [eax]
lea eax, [ebp + 0x200]
push eax
call fcn.00457460
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010af
push 0x2c
lea ecx, [ebp - 0x10]
call fcn.00406f03
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402cac
push dword [eax]
lea eax, [ebp]
push eax
call fcn.00457460
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010af
push 1
lea eax, [ebp + 0x200]
push eax
call sub.ERASER.dll_DeleteX
lea eax, [ebp]
push esi
push eax
call fcn.00458c60
test eax, eax
pop ecx
pop ecx
je 0x41263b
lea eax, [ebp]
push eax
lea eax, [ebp + 0x200]
push eax
call sub.ERASER.dll_ReplaceX
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x412559
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x608]
xor ecx, ebp
call fcn.004550ad
add ebp, 0x60c
leave
ret
Function at 0x4128e1
Capabilities:
Create process on windows
Get session user name

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x1c
mov eax, 0x46f435
call fcn.004550bc
mov ebx, ecx
call fcn.00442144
push eax
lea ecx, [ebp - 0x10]
call fcn.0040132d
mov eax, dword [0x4bbdf4]
push dword [eax]
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00401c93
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0xc8
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x412956
lea eax, [ebp]
push str.Administrator
push eax
call fcn.00457460
pop ecx
pop ecx
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00406f03
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401f15
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040170c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010af
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._s_subinacl.exe
push eax
call fcn.004023ec
mov eax, dword [ebp - 0x10]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401482
push edi
push eax
call fcn.00456885
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x4129eb
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x47f1d8
push eax
call fcn.004023ec
mov esi, dword [ebp - 0x10]
add esp, 0xc
push edi
push edi
push esi
call fcn.0044bffc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
lea ecx, [esi - 0x10]
jmp 0x412ab6
add ebx, 0x98
mov ecx, ebx
call fcn.00411f44
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
jle 0x412a94
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.004501a1
cmp eax, edi
push edi
push dword [ebp - 0x18]
mov ecx, ebx
je 0x412a49
lea eax, [ebp - 0x24]
push eax
call fcn.00449eb5
lea ecx, [ebp]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push str._s_subinacl.exe__subkeyreg___s___deny_sS
push eax
call fcn.004023ec
mov ecx, dword [ebp - 0x24]
jmp 0x412a70
lea eax, [ebp - 0x20]
push eax
call fcn.00449eb5
lea ecx, [ebp]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
push str._s_subinacl.exe__subkeyreg___s___Grant_sS
push eax
call fcn.004023ec
mov ecx, dword [ebp - 0x20]
add esp, 0x14
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010af
push edi
push dword [ebp - 0x10]
call esi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x412a0c
cmp dword [ebp - 0x1c], edi
je 0x412aa5
push edi
push edi
push 0x47f174
call fcn.0044bffc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.004550ad
add ebp, 0xcc
leave
ret
Function at 0x413d87
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
mov eax, dword [0x4a946c]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xac]
push 0x47f868
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], ebp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebp
call fcn.00401759
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x158], 1
push dword [0x4aa864]
mov edi, str.Option
push ebp
push str.File
push edi
call ebx
mov dword [esi + 0x90], eax
push dword [0x4aa864]
push ebp
push str.Disk
push edi
call ebx
mov dword [esi + 0x8c], eax
push dword [0x4aa864]
push ebp
push str.Recyler
push edi
call ebx
mov dword [esi + 0x88], eax
push dword [0x4aa864]
push ebp
push str.AutoRun
push edi
call ebx
mov dword [esi + 0x98], eax
push dword [0x4aa864]
push ebp
push str.ShutDown
push edi
call ebx
mov dword [esi + 0x9c], eax
push dword [0x4aa864]
push ebp
push str.AutoHide
push edi
call ebx
mov dword [esi + 0xa0], eax
push dword [0x4aa864]
push ebp
push str.HideAll
push edi
call ebx
mov dword [esi + 0xa4], eax
push dword [0x4aa864]
push ebp
push 0x47f81c
push edi
call ebx
mov dword [esi + 0xa8], eax
push dword [0x4aa864]
push 1
push str.AlarmTimer
push edi
call ebx
mov dword [esi + 0x158], eax
push dword [0x4aa864]
push 1
push str.IncludeMySetting
push edi
call ebx
mov dword [esi + 0x1b0], eax
push dword [0x4aa864]
push 1
push str.NotShowWindow
push edi
call ebx
mov dword [esi + 0x1b4], eax
push dword [0x4aa864]
lea eax, [esp + 0x14]
push 0xc
push eax
push 0x47f868
push str.Timer
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xac]
call fcn.00401759
mov ecx, esi
call fcn.00458396
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004550ad
add esp, 0x10
ret

Function at 0x41420a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x414231
push 0x4a6ff0
lea ecx, [ebp - 0xc]
call fcn.004598a2
push 0x49b58c
lea eax, [ebp - 0xc]
push eax
call fcn.00459987
push esi
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x41424d
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x14]
jl 0x414240
pop edi
pop esi
leave
ret 8
Function at 0x4155ce
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 2
push 0
push esi
call fcn.00458860
push esi
call fcn.00459b69
add esp, 0x10
cmp eax, 0x160
jge 0x415600
xor eax, eax
jmp 0x415630
push 0
push 0
push esi
call fcn.00458860
push esi
push 0x10
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004587be
push 0x10
lea eax, [ebp - 0x14]
push str.tHiSenCrYptfIlE
push eax
call fcn.0045517e
add esp, 0x28
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004550ad
leave
ret

Function at 0x415762
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
mov byte [ebp - 0x24], 0
xor eax, eax
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
push 2
stosw word es:[edi], ax
push 0
push ebx
stosb byte es:[edi], al
call fcn.00458860
push ebx
call fcn.00459b69
mov edi, eax
add esp, 0x10
cmp edi, 0x134
jae 0x4157ad
xor al, al
jmp 0x41581d
push 0
lea eax, [edi - 0x114]
push eax
push ebx
call fcn.00458860
push ebx
push 0x114
push 1
push esi
call fcn.004587be
mov eax, dword [esi + 0x110]
add esp, 0x1c
cmp eax, edi
jne 0x4157a9
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x108]
lea edx, [edx + ecx + 0x134]
cmp eax, edx
jne 0x4157a9
push 0
push ecx
push ebx
call fcn.00458860
push ebx
push 0x20
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.004587be
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045517e
add esp, 0x28
neg eax
sbb al, al
inc al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004550ad
leave
ret

Function at 0x415cdf
Capabilities:
Read file on windows

Disassembly:
push 0x434
mov eax, 0x46f7c6
call fcn.00455125
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x440]
push edi
push eax
call fcn.00457460
push 0
push 0x10
push esi
call fcn.00458860
push esi
xor esi, esi
push 0x10
inc esi
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004587be
lea eax, [ebp - 0x40]
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x440]
push eax
call fcn.00438b3c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.00438b3c
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0045517e
add esp, 0x48
test eax, eax
jne 0x415d67
lea ecx, [edi - 0x10]
call fcn.004010af
mov eax, esi
call fcn.0045516f
ret
xor esi, esi
jmp 0x415d57