joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a82b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a8506
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004a6b84
xor eax, eax
push ebp
push 0x4a84dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004a7184
test al, al
je 0x4a84c0
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004072f4
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4a84c0
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e4c
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004a6ae4
test al, al
je 0x4a84b4
mov eax, dword [ebp - 4]
call fcn.00407e4c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00407ea4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004a7bd0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a84b4
xor eax, eax
push ebp
push 0x4a84ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004a6b84
xor eax, eax
push ebp
push 0x4a848f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407e4c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00407ea4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004a6b88
mov eax, dword [ebp - 4]
call fcn.00407e4c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00407ea4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004a7bd0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4a846c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004a8180
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004a82b8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8473
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4a8343
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a84e3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004a6b84
ret
Function at 0x4a882c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8907
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a8856
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetEnvironmentStringsW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a88ec
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a88e5
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4a88b4
cmp dword [ebp - 4], 0
je 0x4a889a
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00407ea4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.0040767c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
inc eax
add eax, eax
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x4a887e
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
sar eax, 1
jns 0x4a88ca
adc eax, 0
inc eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a88f1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsW
ret
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a890e
lea eax, [ebp - 0x1c]
call fcn.0040716c
ret
Function at 0x4a8acc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4a8ad5
mov eax, dword [ebp - 4]
add esp, 0xfffff870
push ebx
xor ebx, ebx
mov dword [ebp - 0x2790], ebx
mov dword [ebp - 0x2794], ebx
mov dword [ebp - 0x2788], ebx
mov dword [ebp - 0x278c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407250
mov eax, dword [ebp - 8]
call fcn.00407250
xor eax, eax
push ebp
push 0x4a8caf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00404f60
mov dword [ebp - 0x60], 0x44
push dword [ebp - 4]
push 0x4a8ccc
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00408130
mov dl, 1
mov eax, dword [0x439020]
call fcn.00445954
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004a882c
lea edx, [ebp - 0x2788]
mov eax, dword [ebp - 4]
call fcn.0041eb38
mov eax, dword [ebp - 0x2788]
push eax
lea edx, [ebp - 0x278c]
mov eax, dword [0x5c1450]
call fcn.0040ad94
mov edx, dword [ebp - 0x278c]
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.00444a24
lea edx, [ebp - 0x2790]
mov eax, dword [ebp - 4]
call fcn.0041eb38
mov eax, dword [ebp - 0x2790]
push eax
lea edx, [ebp - 0x2794]
mov eax, dword [0x5c0e58]
call fcn.0040ad94
mov edx, dword [ebp - 0x2794]
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.00444a24
lea edx, [ebp - 0x2781]
mov ecx, 0x2711
mov eax, dword [ebp - 0x1c]
call fcn.004a8918
mov eax, dword [ebp - 0x1c]
call fcn.0040545c
push 0
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0x2781]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00407e4c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4a8c63
cmp byte [ebp - 9], 0
je 0x4a8c4f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4a8c6a
mov dword [ebp - 0x10], 0xffffffff
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x18]
call fcn.00423c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8cb6
lea eax, [ebp - 0x2794]
mov edx, 4
call fcn.004071cc
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004071cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004071cc
ret
Function at 0x4a90b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp - 8]
mov word [eax + 2], 0
mov eax, dword [ebp - 8]
mov word [eax + 4], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e4c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0040488c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4a9186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407e4c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4a916d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4a9194
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a916d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
mov edx, dword [ebp - 8]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov edx, dword [ebp - 8]
mov word [edx + 4], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a918d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004048a8
ret
Function at 0x4d55d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d5662
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00407fd0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407e4c
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4d5644
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407fd0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004b19bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040754c
jmp 0x4d564c
mov eax, dword [ebp - 4]
call fcn.0040716c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5669
lea eax, [ebp - 0xc]
call fcn.0040716c
ret

Function at 0x4e3498
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040716c
mov dword [ebp - 8], 0xf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4e34cf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004072f4
mov esp, ebp
pop ebp
ret

Function at 0x511434
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x51144b
add esp, 0xfffffff0
call fcn.00405a54
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5114db
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040542c
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00511a68
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0040754c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, 0x511510
call fcn.004080a8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x510948]
call fcn.00512150
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5114e2
lea eax, [ebp - 0xc]
call fcn.0040716c
ret
Function at 0x54e260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00407fd0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x54e295
mov eax, dword [ebp - 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407e4c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetTempPathW
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00407fd0
mov esp, ebp
pop ebp
ret

Function at 0x54e2b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54e34d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041e560
test al, al
je 0x54e2f9
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407594
jmp 0x54e301
lea eax, [ebp - 0x10]
call fcn.0054e260
lea eax, [ebp - 0x218]
push eax
mov al, byte [ebp - 5]
xor al, 1
and eax, 0x7f
push eax
push 0x54e35c
mov eax, dword [ebp - 0x10]
call fcn.00407e4c
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00407ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e354
lea eax, [ebp - 0x10]
call fcn.0040716c
ret

Function at 0x54e3e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54e4a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041ece8
mov edx, dword [ebp - 0xc]
mov eax, 0x54e4c4
call fcn.00451b04
test al, al
je 0x54e433
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 1
call fcn.00408260
jmp 0x54e456
mov edx, dword [ebp - 0xc]
mov eax, 0x54e4e4
call fcn.00451b04
test al, al
je 0x54e456
lea eax, [ebp - 0xc]
mov ecx, 4
mov edx, 1
call fcn.00408260
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0041eb98
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00426030
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00407594
mov eax, dword [ebp - 0xc]
call fcn.00407e4c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e4ae
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004071cc
ret
Function at 0x54f69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x54f6fc
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x10]
xor al, byte [edx]
and eax, 0xff
mov eax, dword [eax*4 + 0x5ba0d8]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x54f6cc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x54f708
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x5ba0d8]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x551a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x551a7c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5c0d48]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x551a50
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x5573c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x557415
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00555ae4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55741c
lea eax, [ebp - 0x10]
call fcn.0040716c
ret
Function at 0x55a000
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x55a155
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
call fcn.0040545c
mov eax, dword [ebp - 4]
inc dword [eax + 0x10]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x55a057
cmp dword [eax + 0x28], 0
jbe 0x55a09a
jmp 0x55a059
jle 0x55a09a
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.00407594
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
call fcn.005598fc
mov eax, dword [ebp - 0x18]
call fcn.00407e4c
push eax
mov eax, dword [ebp - 0x14]
call fcn.00407e4c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
jmp 0x55a10c
mov eax, dword [ebp - 4]
cmp word [eax + 0x32], 0
je 0x55a0e5
mov byte [ebp - 5], 0
lea ecx, [ebp - 5]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
cmp byte [ebp - 5], 0
je 0x55a0ce
mov dl, 1
mov eax, dword [0x54aa6c]
call fcn.0054cc54
call fcn.004067c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0054e4f0
cmp edx, 0xffffffff
jne 0x55a0e1
cmp eax, 0xffffffff
je 0x55a0a8
jmp 0x55a0f6
mov dl, 1
mov eax, dword [0x54aa6c]
call fcn.0054cc54
call fcn.004067c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0054e364
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0054fca8
push 0xff20
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x439f2c]
call fcn.004463e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a15c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004071cc
ret
Function at 0x565b20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x565d33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00555cd8
cmp eax, dword [ebp - 8]
jg 0x565b8c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
push eax
push 0
lea edx, [ebp - 0x34]
mov eax, dword [0x5c1a50]
call fcn.0040ad94
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x435700]
call fcn.00424b90
call fcn.004067c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.00555cb4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x6a]
sub al, 2
jne 0x565bb8
mov dl, 1
mov eax, dword [0x54bfc8]
call fcn.0054de14
call fcn.004067c8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x6a], 1
jne 0x565c3c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x565be9
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x64
jl 0x565bf5
mov byte [ebp - 0x25], 1
jmp 0x565c25
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
call fcn.00562ed0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x565c1d
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x64
setge byte [ebp - 0x25]
cmp byte [ebp - 0x25], 0
je 0x565c3c
mov dl, 1
mov eax, dword [0x54bfc8]
call fcn.0054de14
call fcn.004067c8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x565c55
mov eax, dword [ebp - 0xc]
call fcn.0054e168
jmp 0x565cef
push 0xff40
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x439f2c]
call fcn.004463e8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x565cbd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x565cac
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565cb3
mov eax, dword [ebp - 0x10]
call fcn.0040545c
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x48]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0xc]
call fcn.0054fa60
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0054fb50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565d3a
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004071cc
ret