joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004aed
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp byte [ebp + 8], bl
je 0x10004b3d
call fcn.100049e7
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
add eax, eax
push eax
call fcn.100049e7
push eax
push 1
push ebx
push 0x10044fac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10004b4b
push 0x10044fac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret

Function at 0x10004b57
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
lea eax, [ebp - 0x7c]
push eax
push 1
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x204
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x78], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x10044fac
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004bf2
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
jbe 0x10004bf2
lea eax, [ebp - 0x78]
push eax
inc esi
call fcn.100049e7
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10004bf2
push 1
call fcn.10004aed
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003e70b
add ebp, 0x194
leave
ret
Function at 0x10005209
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x20e
lea eax, [ebp - 0x212]
push ebx
push eax
mov word [ebp - 0x214], bx
call sub.MSVCR80.dll_memset
push esi
mov esi, 0x108
lea eax, [ebp - 0x214]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
push str..
lea eax, [ebp - 0x214]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0x24
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005286
xor al, al
jmp 0x100052d9
mov esi, dword [sym.imp.MSVCR80.dll_wcscmp]
lea eax, [ebp - 0x438]
push 0x10044d44
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x100052b4
lea eax, [ebp - 0x438]
push 0x10045098
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x100052c8
lea eax, [ebp - 0x464]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000528c
jmp 0x100052cb
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
test ebx, ebx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003e70b
leave
ret

Function at 0x100054fb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
cmp byte [0x100727c6], 0
jne 0x1000555b
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10005554
cmp dword [ebp - 0x7c], 6
jb 0x10005554
mov byte [0x100727c5], 1
mov byte [0x100727c6], 1
mov ecx, dword [ebp + 0x9c]
movzx eax, byte [0x100727c5]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0xa0
leave
ret
Function at 0x100069de
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x1003ffb4
call fcn.1003e7e6
xor edi, edi
mov dword [ebp - 0x20], edi
push str.SoftwareDigital_RiverSoftwarePassport_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], edi
call fcn.10002f76
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.10002f76
push 0x10045964
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call fcn.10006250
push 0x10045960
lea ecx, [ebp - 0x14]
call fcn.100064b9
push 0x10044fac
lea ecx, [ebp - 0x14]
call fcn.10006250
push 0x1004595c
lea ecx, [ebp - 0x14]
call fcn.100064b9
mov byte [ebp - 0xd], bl
mov ebx, 0x800
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x18], edi
je 0x10006ace
push ebx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esp], 0x400
mov esi, eax
push edi
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push esi
push edi
push edi
push str.BuyURL
push dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [esi], di
mov word [esi + 0x7fe], di
je 0x10006abe
mov ecx, dword [ebp + 8]
push esi
call fcn.100023d9
mov byte [ebp - 0xd], 0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], 0
je 0x10006ae6
mov eax, SysReAllocStringLen
cmp dword [ebp - 0x1c], eax
je 0x10006ae6
mov dword [ebp - 0x1c], eax
jmp 0x10006a59
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000167f
mov eax, dword [ebp + 8]
call fcn.1003e8be
ret

Function at 0x10006b95
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x90
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
push edi
mov esi, 0x10045c68
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
movsd dword es:[edi], dword [esi]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x1c], 1
jne 0x10006c26
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.ProductId
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10006c26
lea ecx, [ebp - 0x10]
push 0x10
mov eax, ebx
sub ecx, ebx
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x10006c1d
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1003e70b
add ebp, 0x74
leave
ret
Function at 0x100076cf
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x10040059
call fcn.1003e7e6
mov eax, ecx
mov ecx, dword [ebp + 0x214]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
jne 0x1000770c
mov eax, 0x80004003
jmp 0x10007856
cmp dword [eax + 0x3c], 1
je 0x1000771d
and dword [ecx], 0
xor eax, eax
inc eax
jmp 0x10007856
movzx eax, byte [eax + 0x44]
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.10007516
push dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10002bd2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.1000167f
push 0x10045cdc
lea ecx, [ebp - 0x14]
call fcn.100073fc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.10004a17
push str.autorun.inf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100073fc
push 0x10082c6c
lea ecx, [ebp - 0x10]
call fcn.10001b68
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea eax, [ebp]
push eax
mov esi, 0x10044d40
push esi
push str.icon
mov ebx, str.autorun
push ebx
mov byte [ebp - 4], 4
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100023d9
push esi
lea ecx, [ebp - 0x10]
call fcn.10004d01
test eax, eax
jne 0x100077e3
push dword [ebp - 0x18]
lea eax, [ebp]
push 0x104
push eax
push esi
push str.open
push ebx
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100023d9
mov edi, dword [ebp - 0x1c]
and dword [edi], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.10004d01
test eax, eax
je 0x10007839
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.10004f73
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10002dea
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.1000167f
push 0
lea ecx, [ebp - 0x10]
call fcn.10003da6
push eax
call fcn.100067e1
pop ecx
pop ecx
mov dword [edi], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000167f
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x14]
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x20c
leave
ret 4
Function at 0x1001388b
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push str.DAA93739_9382_4161_B73A_E73D1A6EB4AA
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
push 1
push eax
push ecx
mov ecx, esi
call fcn.1001359f
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x54], 0
pop edi
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
ret 4

Function at 0x10013b6f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x1c
mov eax, 0x10040d67
call fcn.1003e7e6
mov edi, ecx
and dword [ebp - 4], 0
push str..
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10004f0e
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.1000167f
cmp dword [ebp - 0x10], 0xffffffff
je 0x10013cca
mov esi, 0x10044eec
lea eax, [ebp + 0x2c]
push 0x10044d44
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10013cac
lea eax, [ebp + 0x2c]
push 0x10045098
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10013cac
test byte [ebp], 0x10
push esi
lea eax, [ebp + 0x25c]
push eax
je 0x10013c6c
lea eax, [ebp - 0x18]
push eax
call fcn.10004f0e
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.10004f0e
add esp, 0x18
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.1000167f
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.10002c4c
mov ecx, edi
call fcn.10013b6f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x14]
jmp 0x10013ca0
lea eax, [ebp - 0x1c]
push eax
call fcn.10004f0e
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.10004f0e
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.1000167f
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10013bdb
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x25c]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x254
leave
ret 4
Function at 0x10013da3
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10040da7
call fcn.1003e7e6
mov ebx, dword [ebp + 0x214]
xor edi, edi
cmp dword [ebp + 0x218], edi
lea eax, [ebp]
push eax
push edi
push edi
je 0x10013de4
push 0x801a
jmp 0x10013de9
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10002f76
mov esi, 0x10044eec
push esi
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.10004f0e
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.1000167f
push 0x10044fac
lea ecx, [ebp - 0x10]
call fcn.10006250
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10004f0e
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10002dea
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x20c
leave
ret 8
Function at 0x10013e90
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x30
mov eax, 0x10040ddf
call fcn.1003e7e6
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.10017124
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [esp], str..ico
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10004f0e
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov edi, eax
call fcn.1000167f
test edi, edi
je 0x10013fb1
add esi, 0x40
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10002f76
mov eax, dword [esi + 8]
push esi
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1001308d
mov eax, dword [esi + 8]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.1001308d
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001308d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.1001384d
add esp, 0x18
mov ecx, eax
call fcn.10007c00
test al, al
je 0x10013f88
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10004eb7
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.1000167f
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10013eff
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x254
leave
ret

Function at 0x100142ca
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x10040ed7
call fcn.1003e7e6
mov dword [ebp - 0x10], ecx
xor ecx, ecx
push 2
mov esi, 0x100000
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push esi
mov ebx, eax
push 0
push ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0x10
call fcn.10003da6
push eax
push esi
push ebx
push 0x10046be8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x10014363
push 0x10082c6c
lea ecx, [ebp + 8]
mov esi, ebx
call fcn.10001b68
and dword [ebp - 4], 0
push esi
lea ecx, [ebp + 8]
call fcn.100023d9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push 0
call fcn.100141bf
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x1001432f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1000167f
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.1003e8be
ret 4
Function at 0x10014372
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x10040efa
call fcn.1003e7e6
mov dword [ebp - 0x10], ecx
xor ecx, ecx
push 2
mov esi, 0x100000
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push esi
mov edi, eax
push 0
push edi
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 0xc]
add esp, 0x10
call fcn.10003da6
push eax
push esi
push edi
push 0x10046be8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x10014415
mov eax, dword [ebp + 0x10]
push 0x10082c6c
lea ecx, [ebp + 0xc]
mov dword [eax], 1
mov esi, edi
call fcn.10001b68
and dword [ebp - 4], 0
push esi
lea ecx, [ebp + 0xc]
call fcn.100023d9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.100141bf
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x100143e0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000167f
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.1003e8be
ret 0xc
Function at 0x10015a7a
Capabilities:
Check mutex on windows
Create directory
Create thread

Disassembly:
push 8
mov eax, 0x100412d6
call fcn.1003e7e6
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
jne 0x10015ada
push 0x10082c6c
lea ecx, [ebp + 0xc]
call fcn.10001b68
push 1
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10013da3
mov edi, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x10]
call fcn.100073a5
push str.ImageCatalog.xml
lea ecx, [ebp - 0x10]
call fcn.100073fc
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.1000167f
jmp 0x10015ae5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.100073a5
lea eax, [ebp + 0xc]
push eax
call fcn.1001707a
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ecx
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000167f
lea eax, [ebp + 0xc]
push eax
call fcn.10017124
pop ecx
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000167f
mov ecx, dword [esi + 0x38]
push ebx
call fcn.1001862e
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp + 8], ebx
call fcn.100145c1
lea eax, [ebp - 0x10]
lea edi, [esi + 0x34]
push eax
mov ecx, edi
call fcn.1000c1b0
push str.DAA93739_9382_4161_B73A_E73D1A6EB4AA
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
mov ecx, dword [edi]
push 1
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x50], ebx
call fcn.1001599e
test eax, eax
push dword [ebp + 0xc]
je 0x10015bd0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push 0x100140af
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x10015bb6
push dword [edi]
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov dword [esi + 0x50], 1
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
call fcn.1003e8be
ret 8
mov dword [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x10015bf3
push dword [edi]
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
xor ebx, ebx
inc ebx
jmp 0x10015bbd
Function at 0x1001707a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x100414ff
call fcn.1003e7e6
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x801a
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f76
push 0x10044eec
xor edi, edi
push eax
inc edi
push esi
mov dword [ebp - 4], edi
call fcn.10004f0e
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
call fcn.1000167f
push str.DAEMON_Tools_Lite_
mov ecx, esi
call fcn.10006250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x20c
leave
ret

Function at 0x10017124
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x100414ff
call fcn.1003e7e6
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x801a
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f76
push 0x10044eec
xor edi, edi
push eax
inc edi
push esi
mov dword [ebp - 4], edi
call fcn.10004f0e
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
call fcn.1000167f
push str.DAEMON_Tools_Lite_
mov ecx, esi
call fcn.10006250
push str.IconsCache_
mov ecx, esi
call fcn.10006250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x20c
leave
ret
Function at 0x10019a16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
mov esi, ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, 0x100732f4
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.open
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x28], str._tmp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 1
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
leave
ret