joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aad4c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00401910
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov bl, dl
mov esi, ecx
call fcn.004abb70
movzx eax, word [eax]
cmp eax, 0x2e
je 0x4aad88
cmp eax, 0x20
je 0x4aad88
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x4aadb9
mov ecx, esi
call fcn.004ab079
test al, al
jne 0x4aadcb
push ecx
lea edx, [ebp - 0x1004]
mov ecx, esi
call fcn.004ac10a
pop ecx
test al, al
je 0x4aadcb
push 0
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x4aadcb
test bl, bl
je 0x4aadc7
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004ab0e4
xor eax, eax
jmp 0x4aade3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x4aade0
cmp eax, 3
je 0x4aade0
xor eax, eax
inc eax
jmp 0x4aade3
push 2
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00401910
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ab0d2
push ecx
lea edx, [ebp - 0x1004]
mov ecx, ebx
call fcn.004ac10a
pop ecx
test al, al
je 0x4ab0d2
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x4ab0e4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00401910
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov eax, ecx
push esi
push eax
mov dword [ebp - 0x1008], eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
setne bl
test bl, bl
jne 0x4ab142
push ecx
mov ecx, dword [ebp - 0x1008]
lea edx, [ebp - 0x1004]
call fcn.004ac10a
pop ecx
test al, al
je 0x4ab142
push esi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
setne bl
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4ab218
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1268
call fcn.00401910
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x125c]
push edi
mov edi, edx
mov dword [ebp - 0x1260], esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x1264], ebx
cmp ebx, 0xffffffff
jne 0x4ab2b0
push ecx
lea edx, [ebp - 0x100c]
mov ecx, edi
call fcn.004ac10a
pop ecx
test al, al
je 0x4ab289
lea eax, [ebp - 0x125c]
push eax
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x1264], eax
cmp eax, ebx
jne 0x4ab2b0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x4ab2a3
cmp eax, 3
je 0x4ab2a3
cmp eax, 0x12
je 0x4ab2a3
xor eax, eax
inc eax
jmp 0x4ab2a5
xor eax, eax
mov byte [esi + 0x1044], al
jmp 0x4ab37a
mov ebx, 0x800
mov edx, edi
push ebx
mov ecx, esi
call fcn.004ae191
push ebx
lea edx, [ebp - 0x1230]
mov ecx, esi
call fcn.004abcf5
mov edi, dword [ebp - 0x1258]
xor eax, eax
add eax, dword [ebp - 0x123c]
mov edx, dword [ebp - 0x1254]
mov ebx, dword [ebp - 0x1250]
mov dword [esi + 0x1000], eax
mov eax, dword [ebp - 0x125c]
mov dword [esi + 0x1008], eax
mov eax, dword [ebp - 0x1260]
mov dword [esi + 0x1028], edi
mov edi, dword [ebp - 0x1260]
pop ecx
mov dword [esi + 0x102c], edx
mov dword [esi + 0x1030], ebx
pop ecx
mov ecx, dword [ebp - 0x1240]
adc ecx, 0
mov dword [esi + 0x1004], ecx
mov esi, dword [ebp - 0x124c]
mov ecx, dword [ebp - 0x1248]
mov dword [eax + 0x1034], esi
mov dword [eax + 0x1038], ecx
mov eax, dword [ebp - 0x1244]
mov dword [edi + 0x103c], eax
mov dword [edi + 0x1010], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1258]
mov dword [ecx + 0x1014], eax
mov dword [ecx + 0x1018], edi
mov dword [ecx + 0x101c], edx
mov dword [ecx + 0x1024], esi
mov esi, ecx
mov dword [ecx + 0x1020], ebx
and dword [esi + 0x1040], 0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1264]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4ac10a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00401910
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
cmp word [edi], 0
jne 0x4ac134
xor al, al
jmp 0x4ac2df
push esi
call fcn.004ac05a
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push 0x5c
mov esi, eax
pop eax
cmp word [edi], ax
jne 0x4ac152
cmp word [edi + 2], ax
je 0x4ac172
mov ecx, edi
call fcn.004ac05a
test al, al
je 0x4ac200
movzx ecx, word [edi + 4]
call fcn.004abd55
test al, al
je 0x4ac200
mov ecx, edi
call fcn.004ac05a
test al, al
je 0x4ac1ac
lea eax, [esi + 4]
cmp eax, 0x800
jae 0x4ac2dc
push 4
push 0x4f3b18
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy]
lea eax, [ebx + 8]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0x14
jmp 0x4ac2d8
push 0x5c
pop eax
cmp word [edi], ax
jne 0x4ac2dc
add edi, 2
cmp word [edi], ax
jne 0x4ac2dc
lea eax, [esi + 6]
cmp eax, 0x800
jae 0x4ac2dc
push 4
push 0x4f3b18
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebx + 8]
push 0x4f3b24
push eax
call esi
lea eax, [ebx + 0xe]
push edi
push eax
call esi
add esp, 0x1c
jmp 0x4ac2d8
lea eax, [ebp - 0x1004]
push eax
push 0x7ff
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
test eax, eax
je 0x4ac2dc
cmp eax, 0x7ff
ja 0x4ac2dc
movzx ecx, word [edi]
call fcn.004abd55
test al, al
je 0x4ac26e
lea eax, [esi + 6]
cmp eax, 0x800
jae 0x4ac2dc
mov esi, dword [sym.imp.msvcrt.dll_wcsncpy]
push 4
push 0x4f3b18
push ebx
call esi
push 2
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebx + 8]
push eax
call esi
lea eax, [ebx + 0xc]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0x20
jmp 0x4ac2d8
lea ecx, [ebp - 0x1004]
call fcn.004abd66
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
add esi, 4
add eax, esi
mov esi, 0x800
pop ecx
cmp eax, esi
jae 0x4ac2dc
push 4
push 0x4f3b18
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy]
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebx + 8]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0x14
cmp word [edi], 0x2e
jne 0x4ac2cd
movzx ecx, word [edi + 2]
call fcn.004abd55
test al, al
je 0x4ac2cd
add edi, 4
push esi
mov edx, edi
mov ecx, ebx
call fcn.004ae1b7
pop ecx
mov al, 1
jmp 0x4ac2de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4ac4ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x8000
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
and dword [esi + 4], 0
and dword [esi], 0
cmp edi, eax
cmovb eax, edi
push eax
push ebx
push dword [esi + 0xc]
call dword [sym.imp.msvcrt.dll_memcpy]
xor eax, eax
add esp, 0xc
inc eax
xor dl, dl
cmp edi, eax
jbe 0x4ac4eb
xor dl, byte [eax + ebx]
inc eax
cmp eax, edi
jb 0x4ac4e3
mov ecx, dword [esi + 4]
add ecx, 8
mov eax, ecx
and ecx, 7
shr eax, 3
add dword [esi], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp + 0x10]
and dword [esi + 0x14], 0
cmp dl, byte [ebx]
jne 0x4ac594
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 8]
push edi
push ebx
mov dword [ebp - 8], vtable.micro::qsec::QCRC32.0
call fcn.004bb730
mov edx, dword [ebp - 4]
xor ecx, ecx
not edx
xor eax, eax
cmp dword [eax + 0x511e84], edx
jne 0x4ac53b
cmp dword [eax + 0x511e80], edi
je 0x4ac589
add eax, 0xc
inc ecx
cmp eax, 0x48
jb 0x4ac52b
xor edi, edi
test edi, edi
je 0x4ac594
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jbe 0x4ac55c
mov ecx, esi
call fcn.004acd28
mov ecx, dword [esi + 0x14]
push 3
lea eax, [ecx + 1]
imul ecx, ecx, 0x28
mov dword [esi + 0x14], eax
add ecx, dword [esi]
lea eax, [ecx + 0xc]
mov dword [ecx], 0x28
mov dword [eax], edi
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x1c]
mov dword [ecx + 0x24], eax
pop eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
jmp 0x4ac5fd
imul eax, ecx, 0xc
mov edi, dword [eax + 0x511e88]
jmp 0x4ac546
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jbe 0x4ac5a6
mov ecx, esi
call fcn.004acd28
mov ecx, dword [esi + 0x14]
xor edi, edi
push 3
lea eax, [ecx + 1]
imul ecx, ecx, 0x28
mov dword [esi + 0x14], eax
add ecx, dword [esi]
lea eax, [ecx + 0xc]
mov dword [ecx], 0x16
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x1c]
mov dword [ecx + 0x24], eax
pop eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
cmp dword [esi + 0x14], edi
jle 0x4ac5fd
xor edx, edx
mov ecx, dword [esi]
add ecx, edx
cmp dword [ecx + 0x14], 0
jne 0x4ac5e8
lea eax, [ecx + 0xc]
mov dword [ecx + 0x14], eax
cmp dword [ecx + 0x24], 0
jne 0x4ac5f4
lea eax, [ecx + 0x1c]
mov dword [ecx + 0x24], eax
inc edi
add edx, 0x28
cmp edi, dword [esi + 0x14]
jl 0x4ac5d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ad8c2
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edx + 0x18]
mov dword [ebp + 0x10], eax
movdqu xmm2, xmmword [edx + 8]
test esi, esi
je 0x4ad943
mov ecx, dword [ebp + 8]
mov eax, ecx
add ecx, 0x10
mov dword [ebp + 8], ecx
mov ecx, dword [edx + 4]
movdqu xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [ebp + 0x10]
dec ecx
movdqu xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x4ad91f
mov eax, ecx
shl eax, 4
add eax, dword [ebp + 0x10]
movdqu xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x4ad90e
cmp byte [edx + 1], 0
movdqu xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x4ad933
pxor xmm1, xmm2
mov eax, edi
movdqa xmm2, xmm3
add edi, 0x10
movdqu xmmword [eax], xmm1
dec esi
jne 0x4ad8df
pop edi
movdqu xmmword [edx + 8], xmm2
pop esi
pop ecx
pop ebp
ret 0xc
Function at 0x4adb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov eax, ecx
xor edi, edi
inc edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], edi
cmp dword [eax + 4], edi
jle 0x4adbde
push ebx
lea ebx, [eax + 0x28]
push esi
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 2]
xor esi, esi
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x20], 4
add ebx, esi
mov edi, eax
movzx eax, byte [edi + 1]
movzx ecx, byte [edi - 1]
mov dl, byte [esi + eax*4 + 0x5233a0]
movzx eax, byte [edi - 2]
xor dl, byte [esi + ecx*4 + 0x522ba0]
xor dl, byte [esi + eax*4 + 0x5216a0]
movzx eax, byte [edi]
lea edi, [edi + 4]
xor dl, byte [esi + eax*4 + 0x5237a0]
dec dword [ebp - 0x20]
mov byte [ebx], dl
lea ebx, [ebx + 4]
jne 0x4adb73
mov eax, dword [ebp - 0x24]
inc esi
cmp esi, 4
jl 0x4adb65
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push 0x10
push eax
push ebx
call dword [sym.imp.msvcrt.dll_memcpy]
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x28]
inc edi
add ebx, 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
cmp edi, dword [eax + 4]
jl 0x4adb5d
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4ae09a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x520ce0]
mov ebx, ecx
mov dword [ebp - 4], ebx
push edi
mov edi, edx
test esi, esi
jne 0x4ae10e
cmp byte [0x520cdc], 0
jne 0x4ae10e
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [0x520cd8], eax
test eax, eax
je 0x4ae0f9
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
push str.CryptUnprotectMemory
push dword [0x520cd8]
mov dword [0x520ce0], eax
call esi
mov ecx, eax
mov dword [0x520ce4], ecx
jmp 0x4ae0ff
mov ecx, dword [0x520ce4]
mov esi, dword [0x520ce0]
mov byte [0x520cdc], 1
jmp 0x4ae114
mov ecx, dword [0x520ce4]
mov eax, edi
mov edx, edi
and eax, 0xf
sub edx, eax
xor eax, eax
cmp byte [ebp + 0xc], al
setne al
cmp byte [ebp + 8], 0
je 0x4ae155
test esi, esi
je 0x4ae169
push eax
push edx
push ebx
call esi
test eax, eax
jne 0x4ae18a
push str.CryptProtectMemory_failed
mov esi, 0x511830
push esi
call fcn.004a8522
pop ecx
pop ecx
push 2
mov ecx, esi
call fcn.004a8561
jmp 0x4ae18a
test ecx, ecx
je 0x4ae169
push eax
push edx
push ebx
call ecx
test eax, eax
jne 0x4ae18a
push str.CryptUnprotectMemory_failed
jmp 0x4ae13d
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor edx, edx
mov ebx, eax
test edi, edi
je 0x4ae18a
mov esi, dword [ebp - 4]
add bl, 0x4b
lea ecx, [edx + esi]
lea eax, [edx + ebx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0x4ae17d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ae4ff
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x4ae579
push edi
lea edi, [esi + 4]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x4ae57f
push 0x10000
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4ae556
push str.CreateThread_failed
push 0x511830
call fcn.004a8522
pop ecx
pop ecx
push 2
mov ecx, 0x511830
call fcn.004a8561
mov eax, dword [ebp - 8]
mov dword [edi], eax
inc dword [esi + 0x84]
mov eax, dword [0x5165f4]
test eax, eax
je 0x4ae570
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x4ae512
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b679f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0x10
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x20]
mov esi, dword [edi]
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov ecx, edi
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
mov dword [ebp + 8], edx
call dword [esi + 0x18]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
setne al
test al, al
je 0x4b67fb
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push ebx
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 4]
call dword [eax + 0x14]
test al, al
je 0x4b67fb
mov bl, 1
xor ecx, ecx
mov eax, 0x80004005
pop edi
test bl, bl
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4baec7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x4ef644
mov esi, ecx
cmp dword [ebx + 4], 0
mov eax, edi
cmovne eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4baef6
test eax, 0x400
jne 0x4baf01
push 3
call dword [sym.imp.KERNEL32.DLL_SetLastError]
or dword [esi], 0xffffffff
cmp dword [ebx + 4], 0
mov ecx, 0x40000000
cmovne edi, dword [ebx + 4]
xor eax, eax
cmp byte [ebp + 0xc], al
push eax
push 0x2200000
push 3
push eax
push eax
cmovne eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4baf3a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 8]
call fcn.0041be4a
push 0x50b030
lea eax, [ebp - 8]
push eax
call sub.msvcrt.dll__CxxThrowException
int3

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

Disassembly:
push 0xc
mov eax, 0x4d1f3a
call fcn.0040193b
xor ebx, ebx
mov esi, 0x4ef644
inc ebx
mov eax, esi
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], 0
cmovne eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4bb1cf
lea ecx, [ebp - 0x18]
call fcn.0041be4a
push 0x50b030
lea eax, [ebp - 0x18]
push eax
call sub.msvcrt.dll__CxxThrowException
test al, 0x10
mov eax, esi
push 0
pop ecx
cmovne ecx, ebx
cmp dword [ebp + 0x14], 0
push ecx
cmovne eax, dword [ebp + 0x14]
cmp dword [ebp + 0xc], 0
push eax
cmovne esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_CreateSymbolicLinkW]
test al, al
je 0x4bb1b9
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
mov esi, vtable.micro::utils::QString.0
mov dword [ebp + 8], esi
call fcn.004b9e50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], esi
call fcn.004b9e50
mov al, bl
call fcn.00401a13
ret
Function at 0x4bb221
Capabilities:
Get disk information

Disassembly:
push 0xbc
mov eax, 0x4d1f70
call fcn.004019a4
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
push 0x5c
mov ax, word [ecx]
mov word [ebp - 0x18], ax
mov ax, word [ecx + 2]
mov word [ebp - 0x16], ax
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0xb8]
push 0x50
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4bb289
lea ecx, [ebp - 0xc8]
call fcn.0041be4a
push 0x50b030
lea eax, [ebp - 0xc8]
push eax
call sub.msvcrt.dll__CxxThrowException
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004b9cf7
mov dword [ebp - 0xc0], vtable.micro::files::QPathStr.0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.004bc9cf
cmp dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xb8]
mov eax, 0x4ef644
cmovne eax, dword [ebp - 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
je 0x4bb26d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
mov esi, vtable.micro::utils::QString.0
mov dword [ebp - 0xc0], esi
call fcn.004b9e50
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], esi
call fcn.004b9e50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], esi
call fcn.004b9e50
mov al, 1
call fcn.00401a27
ret

Function at 0x4bb5b3
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x4d2022
call fcn.0040193b
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.micro::files::QTempFile.0
mov dword [ebp - 4], 1
cmp byte [esi + 0x1c], 0
je 0x4bb5eb
cmp dword [esi + 0x18], 0
mov eax, 0x4ef644
cmovne eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [esi + 0x14]
mov edi, vtable.micro::utils::QString.0
mov dword [ecx], edi
call fcn.004b9e50
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
mov dword [ecx], edi
call fcn.004b9e50
mov ecx, esi
mov dword [esi], vtable.micro::files::QFile.0
call fcn.004baeaf
call fcn.00401a13
ret

Function at 0x4bb631
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push edi
mov word [ebp - 0x210], ax
mov edi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.004ba70a
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4bb730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x4bb764
test bl, 7
je 0x4bb764
movzx eax, byte [ebx]
movzx ecx, byte [edi + 4]
xor ecx, eax
mov eax, dword [edi + 4]
shr eax, 8
xor eax, dword [ecx*4 + 0x51a600]
inc ebx
mov dword [edi + 4], eax
dec esi
jne 0x4bb742
cmp esi, 8
jb 0x4bb7e6
mov ecx, dword [edi + 4]
mov eax, esi
shr eax, 3
mov dword [ebp + 8], eax
xor ecx, dword [ebx]
sub esi, 8
mov dword [edi + 4], ecx
mov edx, ecx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x51b600]
xor ecx, dword [eax*4 + 0x51ba00]
movzx eax, dl
xor ecx, dword [eax*4 + 0x51be00]
movzx eax, byte [ebx + 6]
xor ecx, dword [eax*4 + 0x51aa00]
movzx eax, byte [ebx + 5]
xor ecx, dword [eax*4 + 0x51ae00]
movzx eax, byte [ebx + 4]
xor ecx, dword [eax*4 + 0x51b200]
movzx eax, byte [ebx + 7]
add ebx, 8
xor ecx, dword [eax*4 + 0x51a600]
movzx eax, byte [edi + 4]
xor ecx, dword [eax*4 + 0x51c200]
dec dword [ebp + 8]
mov dword [edi + 4], ecx
jne 0x4bb774
test esi, esi
je 0x4bb807
mov edx, dword [edi + 4]
movzx eax, byte [ebx]
movzx ecx, byte [edi + 4]
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x51a600]
inc ebx
mov dword [edi + 4], edx
dec esi
jne 0x4bb7ed
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4bcca9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ebx, ebx
je 0x4bccf3
test cl, 7
je 0x4bccf3
movzx edx, byte [ecx]
xor edx, dword [edi]
mov eax, dword [edi]
and edx, 0xff
mov ecx, dword [edi + 4]
shrd eax, ecx, 8
xor eax, dword [edx*8 + 0x51ca00]
shr ecx, 8
xor ecx, dword [edx*8 + 0x51ca04]
mov dword [edi + 4], ecx
mov ecx, dword [ebp + 8]
inc ecx
mov dword [edi], eax
mov dword [ebp + 8], ecx
dec ebx
jne 0x4bccba
cmp ebx, 8
jb 0x4bcdb9
mov eax, ebx
shr eax, 3
mov dword [ebp + 0xc], eax
push esi
mov eax, dword [ecx]
sub ebx, 8
xor dword [edi], eax
mov eax, dword [ecx + 4]
xor dword [edi + 4], eax
movzx eax, byte [edi + 7]
movzx ecx, byte [edi + 4]
mov esi, dword [eax*8 + 0x51ca00]
mov edx, dword [eax*8 + 0x51ca04]
xor esi, dword [ecx*8 + 0x51e200]
xor edx, dword [ecx*8 + 0x51e204]
movzx eax, byte [edi + 6]
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp + 8], ecx
xor esi, dword [eax*8 + 0x51d200]
xor edx, dword [eax*8 + 0x51d204]
movzx eax, byte [edi + 1]
xor esi, dword [eax*8 + 0x51fa00]
xor edx, dword [eax*8 + 0x51fa04]
movzx eax, byte [edi]
xor esi, dword [eax*8 + 0x520200]
xor edx, dword [eax*8 + 0x520204]
movzx eax, byte [edi + 2]
xor esi, dword [eax*8 + 0x51f200]
xor edx, dword [eax*8 + 0x51f204]
movzx eax, byte [edi + 3]
xor esi, dword [eax*8 + 0x51ea00]
xor edx, dword [eax*8 + 0x51ea04]
movzx eax, byte [edi + 5]
xor esi, dword [eax*8 + 0x51da00]
xor edx, dword [eax*8 + 0x51da04]
dec dword [ebp + 0xc]
mov dword [edi], esi
mov dword [edi + 4], edx
jne 0x4bcd05
pop esi
test ebx, ebx
je 0x4bcdf1
movzx edx, byte [ecx]
xor edx, dword [edi]
mov eax, dword [edi]
and edx, 0xff
mov ecx, dword [edi + 4]
shrd eax, ecx, 8
xor eax, dword [edx*8 + 0x51ca00]
shr ecx, 8
xor ecx, dword [edx*8 + 0x51ca04]
mov dword [edi + 4], ecx
mov ecx, dword [ebp + 8]
inc ecx
mov dword [edi], eax
mov dword [ebp + 8], ecx
dec ebx
jne 0x4bcdbd
pop edi
pop ebx
pop ebp
ret 8