joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470d4c
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470ea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x47ee58]
call fcn.004045f0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x470e13
mov dl, 1
mov eax, dword [0x416d10]
call fcn.0040332c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x470e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x470eac
mov edx, 0x470eac
mov eax, dword [0x47e668]
call fcn.004696e4
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470e0a
mov eax, dword [ebp - 0x10]
call fcn.0040335c
ret
push 1
push dword [0x47ee58]
push 0x470ebc
lea edx, [ebp - 0x1c]
mov eax, dword [0x47dad0]
mov eax, dword [eax]
call fcn.0045cdcc
push dword [ebp - 0x1c]
push 0x470ec8
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004044b0
mov eax, dword [ebp - 0x18]
call fcn.004045f0
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x470e80
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
jmp 0x470e85
call fcn.00469774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470ea7
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404154
ret

Function at 0x470f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x47105b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x47dad0]
mov eax, dword [eax]
call fcn.0045cdcc
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00408e98
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040cdb8
lea eax, [ebp - 0x144]
mov edx, 0x471070
call fcn.004043f8
mov eax, dword [ebp - 0x144]
call fcn.004045f0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47103d
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.004043a0
mov eax, dword [ebp - 0x150]
call fcn.00408e00
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x471005
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471062
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404154
ret
Function at 0x471570
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415ad8]
call fcn.00404abc
xor eax, eax
push ebp
push 0x4716b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47d594], 0
jne 0x4715c3
mov ecx, dword [0x47d6e0]
mov dl, 1
mov eax, dword [0x407578]
call fcn.0040c194
call fcn.00403ae8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d70
mov eax, ebx
call fcn.0040496c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4716c4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b88
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040497c
test eax, eax
jle 0x47165b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x471654
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043a0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040839c
test eax, eax
jne 0x471654
mov ebx, 0x15
jmp 0x471660
mov ebx, 0x10
jmp 0x471660
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x47d594]
call fcn.004714c8
mov eax, dword [ebp - 8]
call fcn.004714c8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4716bb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404154
lea eax, [ebp - 0x10]
mov edx, dword [0x415ad8]
call fcn.00404b8c
ret

Function at 0x47944c
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x479478
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret
Function at 0x47951c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x479525
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004045e0
xor eax, eax
push ebp
push 0x47971f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479480
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479480
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004041c8
mov eax, dword [ebp - 0x10]
call fcn.004043f0
sar eax, 1
jns 0x479585
adc eax, 0
test eax, eax
jle 0x4796e4
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4795a5
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004041c8
lea eax, [ebp - 0x18]
call fcn.00404130
mov eax, dword [ebp - 0x14]
call fcn.004043f0
mov edi, eax
sar edi, 1
jns 0x4795be
adc edi, 0
test edi, edi
jle 0x4796da
mov ebx, 1
mov edx, 0x479730
lea eax, [ebp - 0x28]
call fcn.00402c54
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402c24
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402c54
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402c24
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404394
mov eax, dword [ebp - 0x24]
call fcn.004088e4
mov byte [ebp - 0x19], al
mov edx, 0x479730
lea eax, [ebp - 0x28]
call fcn.00402c54
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402c24
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402c54
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402c24
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00404394
mov eax, dword [ebp - 0x34]
call fcn.004088e4
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404318
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00479480
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.004043f8
inc ebx
dec edi
jne 0x4795cb
inc esi
dec dword [ebp - 0x20]
jne 0x479595
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.00404184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479726
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404154
lea eax, [ebp - 0x24]
call fcn.00404130
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404154
ret
Function at 0x479e94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004045e0
xor eax, eax
push ebp
push 0x479f7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4169fc]
call fcn.0040332c
mov dword [0x47eed0], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x47eed0]
call fcn.0041a21c
push 1
push 0
push 0x479f88
push 0x479fb0
push 0x479fc0
push 0
call sub.shell32.dll_ShellExecuteA
push 1
push 0
push 0x479fc8
push 0x479fb0
push 0x479fc0
push 0
call sub.shell32.dll_ShellExecuteA
push 1
push 0
push 0x479ff0
push 0x479fb0
push 0x479fc0
push 0
call sub.shell32.dll_ShellExecuteA
lea ecx, [ebp - 8]
mov edx, 4
mov eax, dword [0x47eed0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 8]
call fcn.004088e4
imul edx, eax, 0x3e8
mov eax, dword [ebx + 0x318]
call fcn.0042edb0
mov dl, 1
mov eax, dword [ebx + 0x318]
call fcn.0042eda0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f82
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404154
ret
Function at 0x100017c0
Capabilities:
Enumerate process modules

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push 0x1000
push ecx
mov dword [esi], 0
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x100017ec
mov edx, dword [esp + 0xc]
shr edx, 2
mov dword [esi], edx
pop esi
ret

Function at 0x10001cb0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10001cd0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x10001ce6
push 0x80004005
call fcn.10001350
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x10001d10
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x10001d28
push 0x80004005
call fcn.10001350
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10001d35
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x10002910
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x1000297e
test ecx, ecx
je 0x10002970
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x1000298c
test ecx, ecx
je 0x10002a31
push ecx
jmp 0x10002a2b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x100029fe
jmp 0x100029c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10002910
mov edi, eax
test edi, edi
jne 0x10002a4d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100029c0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002a15
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002a31
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10028cdf
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10002a5c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10002a33
Function at 0x100030a0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1214
call fcn.100292d0
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x1210], eax
push ebx
mov ebx, dword [esp + 0x121c]
call fcn.10065ba1
test eax, eax
je 0x100032cc
call fcn.10099455
cmp eax, 3
jne 0x100032cc
lea eax, [ebx + 0x1090]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100030e4
sub eax, edx
sar eax, 1
je 0x100032ca
push ebp
xor ebp, ebp
cmp dword [ebx + 0x108c], ebp
jbe 0x100032c9
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], ebp
call fcn.100017c0
mov edi, dword [esp + 0x14]
add esp, 8
cmp edi, ebp
jbe 0x100032c8
push esi
lea esp, [esp]
mov esi, dword [esp + ebp*4 + 0x18]
xor eax, eax
lea ecx, [ebx + 0x8c]
lea esp, [esp]
cmp dword [ecx], esi
je 0x1000323f
add eax, 1
add ecx, 4
cmp eax, edi
jb 0x10003140
mov ecx, dword [0x1003d8c0]
mov edx, dword [str._unknown_]
mov eax, dword [0x1003d8bc]
push 0x1f4
mov dword [esp + 0x1024], ecx
mov dword [esp + 0x101c], edx
mov edx, dword [0x1003d8c4]
mov dword [esp + 0x1020], eax
mov eax, dword [0x1003d8c8]
lea ecx, [esp + 0x1030]
push 0
push ecx
mov dword [esp + 0x1030], edx
mov dword [esp + 0x1034], eax
call fcn.10028cf0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100031f1
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x100031ea
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x101c]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x1018]
push eax
call fcn.10029cec
add esp, 4
lea ecx, [ebx + 0x1090]
lea eax, [esp + 0x1018]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10003236
test dx, dx
je 0x10003232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10003236
add eax, 4
add ecx, 4
test dx, dx
jne 0x10003210
xor eax, eax
jmp 0x1000323b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000324f
add ebp, 1
cmp ebp, edi
jb 0x10003130
jmp 0x100032c7
mov edi, 8
cmp dword [ebx + 0x3c], edi
jb 0x1000325e
mov eax, dword [ebx + 0x28]
jmp 0x10003261
lea eax, [ebx + 0x28]
mov ecx, dword [esp + ebp*4 + 0x18]
lea esi, [esp + ebp*4 + 0x18]
push ecx
push eax
call fcn.100101d0
add esp, 8
cmp dword [ebx + 0x1890], 0x100
jb 0x10003289
mov dword [ebx + 0x1890], 0
mov edx, dword [ebx + 0x1890]
mov ecx, dword [ebx + edx*4 + 0x1490]
test ecx, ecx
je 0x100032b1
cmp dword [ebx + 0x3c], edi
jb 0x100032a4
mov eax, dword [ebx + 0x28]
jmp 0x100032a7
lea eax, [ebx + 0x28]
push ecx
push eax
call fcn.100104b0
add esp, 8
mov eax, dword [ebx + 0x1890]
mov ecx, dword [esi]
mov dword [ebx + eax*4 + 0x1490], ecx
add dword [ebx + 0x1890], 1
pop esi
pop edi
pop ebp
xor eax, eax
mov ecx, dword [esp + 0x1214]
pop ebx
xor ecx, esp
call fcn.10028cdf
add esp, 0x1214
ret 4
Function at 0x100110b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor dl, dl
xor eax, eax
lea esi, [edi + 2]
nop
mov byte [esi + eax], al
add eax, 1
cmp eax, 0x100
jb 0x100110c0
xor ecx, ecx
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x18]
mov bl, byte [esi]
movzx edx, dl
movzx eax, byte [edx + eax]
movzx ebp, bl
add eax, ecx
add eax, ebp
and eax, 0x800000ff
jns 0x100110f9
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, al
mov al, byte [ecx + edi + 2]
mov byte [esi], al
lea eax, [edx + 1]
xor edx, edx
div dword [esp + 0x1c]
add esi, 1
sub dword [esp + 0x14], 1
mov byte [ecx + edi + 2], bl
jne 0x100110d7
mov byte [edi + 1], 0
mov byte [edi], 0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10011130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x100111de
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
sub ebp, edi
mov edi, edi
movzx ecx, byte [eax]
add ecx, 1
and ecx, 0x800000ff
jns 0x10011166
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax], cl
movzx ecx, cl
movzx edx, byte [ecx + eax + 2]
lea esi, [ecx + eax + 2]
movzx ecx, byte [eax + 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x1001118a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax + 1], cl
mov dl, byte [esi]
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
mov byte [esi], cl
movzx ecx, byte [eax + 1]
mov byte [ecx + eax + 2], dl
movzx edx, byte [eax + 1]
movzx ecx, byte [edx + eax + 2]
movzx edx, byte [eax]
movzx edx, byte [edx + eax + 2]
add ecx, edx
and ecx, 0x800000ff
jns 0x100111c4
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, byte [ecx + eax + 2]
xor cl, byte [edi + ebp]
add edi, 1
sub ebx, 1
mov byte [edi - 1], cl
jne 0x10011150
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100111e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x118
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, dword [esp + 0x124]
mov al, 0x38
mov byte [esp + 0x109], al
mov byte [esp + 0x113], al
push 0x10
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x114], 0xb
mov byte [esp + 0x116], 0x79
mov byte [esp + 0x117], 0x2b
mov byte [esp + 0x118], 0xa5
mov byte [esp + 0x119], 0x20
mov byte [esp + 0x11a], 0x4c
mov byte [esp + 0x11b], 0x70
mov byte [esp + 0x11c], 0x57
mov byte [esp + 0x11d], 0x29
mov byte [esp + 0x11e], 3
mov byte [esp + 0x120], 0x4e
mov byte [esp + 0x121], 0x1d
mov byte [esp + 0x122], 0x5f
mov byte [esp + 0x123], 0x65
call fcn.100110b0
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x12c]
push edx
push esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10011130
mov ecx, dword [esp + 0x134]
add esp, 0x1c
pop esi
xor ecx, esp
call fcn.10028cdf
add esp, 0x118
ret
Function at 0x10011f20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 1
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, ebx
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10011f40
push 0
push ebx
mov ecx, 9
mov esi, str.Softland_novaPDF
push 0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x10011f79
cmp eax, 0xb7
je 0x10011f79
cmp eax, 0x50
je 0x10011f79
xor eax, eax
ret
mov eax, 1
ret

Function at 0x10012680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x424]
push ebx
push ebp
mov ebp, dword [esp + 0x430]
push esi
mov esi, dword [esp + 0x42c]
push edi
xor ebx, ebx
push 0x3fe
lea ecx, [esp + 0x2a]
push ebx
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x30], bx
call fcn.10028cf0
mov eax, esi
add esp, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100126d7
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xfffffffe
jmp 0x100126f0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100126f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10]
push edx
push 0x20019
mov ecx, eax
push ebx
lea eax, [esp + 0x30]
push eax
and ecx, 3
push SysReAllocString
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100127dd
mov edx, dword [ebp]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ecx
call esi
cmp dword [esp + 0x18], 1
jne 0x100127c9
cmp eax, ebx
je 0x1001277c
cmp eax, 0xea
je 0x1001277c
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp eax, 2
setne dl
push ecx
add edx, 0xfffffffe
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100127e2
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x100127b5
push eax
call fcn.1002893e
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
push edi
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100127e2
mov ecx, dword [esp + 0x10]
push ecx
mov dword [ebp], ebx
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100127e2
mov ecx, dword [esp + 0x10]
push ecx
mov esi, 0xfffffffb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100127e2
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10028cdf
add esp, 0x418
ret