joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cb410
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5cb422
add esp, 0xfffffff0
call fcn.00408c1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c3498
mov eax, dword [0x66fec0]
mov dword [eax + 4], ebx
mov dword [eax], 0x5cb8dc
mov eax, dword [0x66fed8]
mov dword [eax + 4], ebx
mov dword [eax], 0x5cb8e8
mov eax, ebx
call fcn.005cb8f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5c5dc8
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005cbed0
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cbd00
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cbd00
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cbd00
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cbd00
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cbd00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5cb5a2
call fcn.00408c74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5cbaa0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5cbc4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5cbc2c
mov dl, 1
mov eax, dword [0x48f144]
call fcn.004b2ac0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a3bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5cbc1b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0052eecc
test al, al
je 0x5cbc0e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5cbc5c
lea eax, [ebp - 0x394]
call fcn.00426504
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5cbc0e
xor eax, eax
push ebp
push 0x5cbc07
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5cbccc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5cbbf0
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040af1c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5cbbf0
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040af1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cbc0e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5cbb11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b29e4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cbc52
lea eax, [ebp - 0x3a0]
call fcn.0040a3bc
ret

Function at 0x5cc858
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x6771bc]
cmp byte [eax + 0xc5], 0
jne 0x5cc8ca
cmp dword [0x6771e0], 0
jne 0x5cc88a
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6689c0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6771e0], eax
cmp dword [0x6771dc], 0
jne 0x5cc8a5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6771dc], eax
cmp dword [0x6771e4], 0
jne 0x5cc8ca
push esp
push 0
push 0
mov eax, dword [0x6689bc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x6771e4], eax
pop edx
ret
Function at 0x5cccec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5ccd03
add esp, 0xfffffff0
call fcn.00408c1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c3498
mov eax, dword [0x66fcb0]
cmp byte [eax], 0
jne 0x5ccd30
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x6701bc]
cmp word [eax + 2], 0
jne 0x5ccd4a
mov eax, dword [0x6701bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cf0e0
mov eax, dword [0x670388]
cmp word [eax + 2], 0
jne 0x5ccd64
mov eax, dword [0x670388]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cf2e4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f515c]
call fcn.004fb684
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5cf85c
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f9ef8]
call fcn.005058dc
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5ccf54
mov eax, dword [0x66ffdc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00505df8
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5cfb44
mov dl, 1
mov eax, dword [0x48b788]
call fcn.00408564
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x66ffdc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426304
test eax, eax
je 0x5cce7e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042615c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004262e8
test eax, eax
je 0x5cce96
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040af1c
push ebx
push 0x5ceabc
call fcn.005c1c78
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x66fcb0]
cmp byte [eax], 0
jne 0x5ccee7
mov eax, ebx
call fcn.005cd138
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005cfd7c
mov eax, ebx
call fcn.005d0a1c
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5ccf4b
call fcn.00408c74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cd47c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5cd51e
cmp dword [ebx + 0xac], 0
jne 0x5cd518
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5cd3b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5cd518
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5cd4de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5cd518
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004adf54
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cd4ed
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5cd7d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x6771bc]
cmp dword [eax + 0x188], 0
je 0x5cd952
test bl, bl
jne 0x5cd89d
cmp dword [esi + 0xb4], 0
jne 0x5cd892
mov eax, esi
call fcn.005d086c
push eax
push 0x5cd6cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cd863
mov eax, dword [0x6771bc]
cmp byte [eax + 0xeb], 0
je 0x5cd863
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5cd844
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd863
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cd84c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd892
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004adf54
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd872
inc dword [esi + 0xb4]
jmp 0x5cd952
cmp dword [esi + 0xb4], 0
jle 0x5cd952
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cd952
cmp dword [esi + 0x58], 0
je 0x5cd907
mov eax, dword [0x6771bc]
cmp byte [eax + 0xeb], 0
je 0x5cd907
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5cd8e8
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd907
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cd8f0
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd936
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004adf54
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd916
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5beab4]
call fcn.0040c7a0
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5ce5f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5ce64d
cmp byte [ebx + 0xeb], 0
jne 0x5ce64d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a544
mov eax, dword [esi]
test eax, eax
je 0x5ce63a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ce65a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a79c
jmp 0x5ce65a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a79c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cff90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d0001
mov eax, esi
call fcn.005289e0
test al, al
je 0x5d0001
mov eax, dword [ebx + 0x98]
call fcn.0052860c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d0001
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x5cfff2
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052860c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0051f008
jmp 0x5d0001
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cfd9c
pop esi
pop ebx
ret
Function at 0x5dcfa8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5dd037
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, esi
call fcn.004255fc
test al, al
je 0x5dcfe6
lea eax, [ebp - 4]
mov edx, esi
call fcn.0040a7e4
jmp 0x5dcfee
lea eax, [ebp - 4]
call fcn.004eeef4
lea eax, [ebp - 0x20c]
push eax
xor bl, 1
movzx eax, bl
push eax
push 0x5dd048
mov eax, dword [ebp - 4]
call fcn.0040ae60
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, edi
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040af1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dd03e
lea eax, [ebp - 4]
call fcn.0040a3bc
ret

Function at 0x5dd0c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5dd184
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00425ed8
mov edx, dword [ebp - 4]
mov eax, 0x5dd1a0
call fcn.004ec898
test al, al
je 0x5dd111
lea eax, [ebp - 4]
mov ecx, 8
mov edx, 1
call fcn.0040b284
jmp 0x5dd134
mov edx, dword [ebp - 4]
mov eax, 0x5dd1c0
call fcn.004ec898
test al, al
je 0x5dd134
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.0040b284
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00425d74
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042c758
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040a7e4
mov eax, dword [ebp - 4]
call fcn.0040ae60
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dd18b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a41c
ret

Function at 0x5de27c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, edx
mov edx, dword [eax]
dec ecx
test ecx, ecx
jl 0x5de2a7
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x668c7c]
shr edx, 8
and edx, 0xffffff
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x5de288
mov dword [eax], edx
pop esi
pop ebx
ret

Function at 0x5e0248
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [eax]
dec ecx
test ecx, ecx
jl 0x5e0270
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov edi, dword [0x66fca0]
mov ebx, dword [edi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x5e0255
mov dword [eax], edx
pop edi
pop esi
pop ebx
ret

Function at 0x5e695c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5e69a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
call fcn.005e5300
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e69a9
lea eax, [ebp - 4]
call fcn.0040a3bc
ret
Function at 0x5ea728
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5ea845
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408594
inc dword [ebx + 0x10]
cmp dword [ebx + 0x2c], 0
jne 0x5ea76e
cmp dword [ebx + 0x28], 0
jbe 0x5ea7a8
jmp 0x5ea770
jle 0x5ea7a8
mov esi, dword [ebx + 4]
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.005ea114
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.0040ae60
push eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
call fcn.0040ae60
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x5ea80a
cmp word [ebx + 0x32], 0
je 0x5ea7e9
mov byte [ebp - 1], 0
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
cmp byte [ebp - 1], 0
je 0x5ea7d5
mov dl, 1
mov eax, dword [0x5d99bc]
call fcn.005dbb50
call fcn.00409a7c
mov eax, dword [ebx + 4]
call fcn.005dd1cc
cmp edx, 0xffffffff
jne 0x5ea7e5
cmp eax, 0xffffffff
je 0x5ea7b3
jmp 0x5ea7fa
mov dl, 1
mov eax, dword [0x5d99bc]
call fcn.005dbb50
call fcn.00409a7c
mov eax, dword [ebx + 4]
call fcn.005dd050
mov edx, dword [ebx + 0x10]
call fcn.005de728
push 0xff20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x492210]
call fcn.004b5470
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ea84c
lea eax, [ebp - 0xc]
call fcn.0040a3bc
ret
Function at 0x5fabfc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5fade0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e548c
cmp ebx, eax
jl 0x5fac63
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x670464]
call fcn.0040f85c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41d8c4]
call fcn.0042b0ac
call fcn.00409a7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005e5470
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6a]
sub al, 2
jne 0x5fac8f
mov dl, 1
mov eax, dword [0x5daf18]
call fcn.005dcb9c
call fcn.00409a7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x6a], 1
jne 0x5facea
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5facaf
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
jl 0x5facb8
mov al, 1
jmp 0x5facd5
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.005f8270
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5faccf
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setge al
test al, al
je 0x5facea
mov dl, 1
mov eax, dword [0x5daf18]
call fcn.005dcb9c
call fcn.00409a7c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x5fad03
mov eax, dword [ebp - 8]
call fcn.005dcec8
jmp 0x5fad9c
push 0xff40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x492210]
call fcn.004b5470
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5fad6a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5fad59
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov edx, ebx
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 0x5fad60
mov eax, dword [ebp - 0xc]
call fcn.00408594
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x48]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 8]
call fcn.005de558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.005de614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fade7
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040a41c
ret
Function at 0x5fadf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5faf34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.005e548c
cmp ebx, eax
jl 0x5fae4e
mov dword [ebp - 8], ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x670464]
call fcn.0040f85c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41d8c4]
call fcn.0042b0ac
call fcn.00409a7c
mov eax, dword [esi + 0x30]
mov edx, ebx
call fcn.005e5470
mov ebx, eax
movzx eax, byte [ebx + 0x6a]
sub al, 2
jne 0x5fae73
mov dl, 1
mov eax, dword [0x5daf18]
call fcn.005dcb9c
call fcn.00409a7c
cmp byte [ebx + 0x6a], 1
jne 0x5faec9
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5fae8f
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
jl 0x5fae98
mov al, 1
jmp 0x5faeb4
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.005f8270
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5faeae
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setge al
test al, al
je 0x5faec9
mov dl, 1
mov eax, dword [0x5daf18]
call fcn.005dcb9c
call fcn.00409a7c
mov eax, dword [ebx + 0xac]
shl eax, 9
cdq
push edx
push eax
mov eax, dword [ebx + 0xa0]
mov edx, dword [ebx + 0xa4]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004b2c80
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
cmp edx, 0
jne 0x5faf04
cmp eax, 0
je 0x5faf19
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push edx
push eax
mov edx, dword [esi + 4]
mov eax, edi
call fcn.004b4ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5faf3b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040a41c
ret