joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58ffa8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4d2be0]
call fcn.004d9114
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0xffffff9e
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004bbd30
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004bbd30
push eax
call sub.user32.dll_SetWindowLongW
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004da150
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004db07c
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.005abf90
push eax
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.005abfa4
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0054151c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5900ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0045ed68
call fcn.004594d0
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040aea8
lea edx, [ebp - 0x30]
mov cl, 0xff
mov eax, dword [ebp - 0x10]
call fcn.00555898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5900f1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret

Function at 0x59013c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x59014c
call sub.user32.dll_FindWindowW
ret
Function at 0x5aa460
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x74], 0
jne 0x5aa478
mov eax, ebx
call fcn.005a9c98
cmp dword [ebx + 0x70], 0
jne 0x5aa485
mov eax, ebx
call fcn.005a9bf4
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x5aa638
cmp dword [ebx + 0x70], 0
je 0x5aa638
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [esp], eax
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.005a9a3c
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005abf90
cmp eax, dword [esp]
je 0x5aa507
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005abfa4
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5aa4e3
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.005abf90
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5aa4fc
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x5aa51a
mov eax, dword [eax + 0x18]
call fcn.004bbd30
mov esi, eax
jmp 0x5aa51d
mov esi, dword [ebx + 0x58]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x5aa532
or esi, 0xffffffff
jmp 0x5aa53c
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004dfb28
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x70]
call fcn.004dfb64
mov edx, dword [esp]
mov eax, dword [ebx + 0x70]
call fcn.004b2424
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x70]
call fcn.004b2458
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040aed8
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.004bbd30
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.004bbd30
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.004bbd30
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x74]
call fcn.0045ed68
call fcn.004594d0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.004bbd30
push eax
mov eax, dword [0x6a085c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x70]
call fcn.004bbd30
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5aa878
Capabilities:
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00404ae8
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5aaaae
push 0
push 0x5aaab8
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aaad4
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aaaf0
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aab10
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x5aaaae
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x5aaaae
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x5aaaae
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
test edi, edi
je 0x5aaaae
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
push edi
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x5aaaae
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5aaa9a
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5aaa90
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5aaa90
test byte [esp + 0x21], 0xd
jne 0x5aaa90
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x5aaa90
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5aaa90
cmp dword [esp + 0xc], 0
je 0x5aaa90
mov eax, dword [0x6a1094]
mov eax, dword [eax]
cmp byte [eax + 0xd3], 0
je 0x5aaa2d
mov eax, dword [0x6a1094]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x5aaa2d
mov eax, dword [0x6a1094]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004bbd30
mov dword [esp + 0x14], eax
jmp 0x5aaa3e
mov eax, dword [0x6a1094]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x5aaa90
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5aaa6c
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x5aaa9a
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.0040af94
jmp 0x5aaa9a
cmp ebx, dword [esp + 4]
jl 0x5aa986
push 0x8000
push 0
push esi
push edi
call sub.KERNEL32.DLL_VirtualFreeEx
push edi
call sub.KERNEL32.DLL_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5aa945
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00404ae8
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5aaaae
push 0
push 0x5aaab8
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aaad4
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aaaf0
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5aaaae
push 0
push 0x5aab10
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x5aaaae
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x5aaaae
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x5aaaae
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
test edi, edi
je 0x5aaaae
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
push edi
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x5aaaae
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5aaa9a
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5aaa90
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5aaa90
test byte [esp + 0x21], 0xd
jne 0x5aaa90
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x5aaa90
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5aaa90
cmp dword [esp + 0xc], 0
je 0x5aaa90
mov eax, dword [0x6a1094]
mov eax, dword [eax]
cmp byte [eax + 0xd3], 0
je 0x5aaa2d
mov eax, dword [0x6a1094]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x5aaa2d
mov eax, dword [0x6a1094]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004bbd30
mov dword [esp + 0x14], eax
jmp 0x5aaa3e
mov eax, dword [0x6a1094]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x5aaa90
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5aaa6c
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x5aaa9a
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.0040af94
jmp 0x5aaa9a
cmp ebx, dword [esp + 4]
jl 0x5aa986
push 0x8000
push 0
push esi
push edi
call sub.KERNEL32.DLL_VirtualFreeEx
push edi
call sub.KERNEL32.DLL_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5acb00
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00415018
test al, al
je 0x5acb87
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404ae8
or esi, 0x100
test esi, esi
jns 0x5acb3b
call fcn.0040506c
push esi
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00407118
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5acb87
mov dl, 1
mov eax, dword [0x45574c]
call fcn.00460a60
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00460ef4
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x5acb87
mov eax, esp
call fcn.0041d008
mov eax, dword [esp]
add esp, 0x2b8
pop esi
pop ebx
ret
Function at 0x5ea33c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x5ea34f
add esp, 0xfffffff0
call fcn.004056e0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5ea3c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.0040517c
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.005ea6e8
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.0040708c
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x5ea3f8
call fcn.00407570
mov ecx, esi
mov dl, 1
mov eax, dword [0x5e9d00]
call fcn.005eacb4
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ea3cf
lea eax, [ebp - 4]
call fcn.0040707c
ret
Function at 0x62e2b0
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 0x62e33d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00415060
test al, al
je 0x62e2ec
lea eax, [ebp - 4]
mov edx, esi
call fcn.004070e0
jmp 0x62e2f4
lea eax, [ebp - 4]
call fcn.0062e270
lea eax, [ebp - 0x20c]
push eax
xor bl, 1
movzx eax, bl
push eax
push 0x62e34c
mov eax, dword [ebp - 4]
call fcn.00407118
push eax
call sub.KERNEL32.DLL_GetTempFileNameW
mov eax, edi
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040729c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62e344
lea eax, [ebp - 4]
call fcn.0040707c
ret

Function at 0x62e3e0
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 0x62e49c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004159c4
mov edx, dword [ebp - 4]
mov eax, 0x62e4b8
call fcn.0040e958
test al, al
je 0x62e429
lea eax, [ebp - 4]
mov ecx, 8
mov edx, 1
call fcn.004078ac
jmp 0x62e44c
mov edx, dword [ebp - 4]
mov eax, 0x62e4d8
call fcn.0040e958
test al, al
je 0x62e44c
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.004078ac
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004156f8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0041bec0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004070e0
mov eax, dword [ebp - 4]
call fcn.00407118
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 0x62e4a3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407084
ret

Function at 0x62f990
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 0x62f9bb
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x6999d8]
shr edx, 8
and edx, 0xffffff
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x62f99c
mov dword [eax], edx
pop esi
pop ebx
ret

Function at 0x63189c
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 0x6318c4
inc ecx
mov ebx, edx
xor bl, byte [esi]
movzx ebx, bl
mov edi, dword [0x6a062c]
mov ebx, dword [edi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
inc esi
dec ecx
jne 0x6318a9
mov dword [eax], edx
pop edi
pop esi
pop ebx
ret

Function at 0x6368e0
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 0x636926
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.00635504
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63692d
lea eax, [ebp - 4]
call fcn.0040707c
ret
Function at 0x638714
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x6387a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x38], 0
jne 0x638792
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x28]
call fcn.0062e25c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2c]
call fcn.0040708c
mov edx, 2
mov eax, dword [ebx + 0x2c]
call fcn.00414e94
mov esi, eax
mov dword [ebx + 0x38], esi
test esi, esi
ja 0x638784
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x2c]
call fcn.00407118
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov ecx, dword [ebx + 0x2c]
mov dl, 1
mov eax, dword [0x62c390]
call fcn.0062d6d8
call fcn.00405c84
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6387af
lea eax, [ebp - 4]
call fcn.0040707c
ret
Function at 0x63ce6c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], 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 0x63d06a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00635694
cmp ebx, eax
jl 0x63ced3
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 [0x6a1280]
call fcn.0040a4f4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x42b998]
call fcn.0041a394
call fcn.00405c84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00635680
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6a]
sub al, 2
jne 0x63ceff
mov dl, 1
mov eax, dword [0x62c1d8]
call fcn.0062de4c
call fcn.00405c84
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x6a], 1
jne 0x63cf66
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x63cf25
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
jl 0x63cf2e
mov al, 1
jmp 0x63cf51
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0063a234
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x63cf4b
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setge al
test al, al
je 0x63cf66
mov dl, 1
mov eax, dword [0x62c1d8]
call fcn.0062de4c
call fcn.00405c84
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x63cf7f
mov eax, dword [ebp - 8]
call fcn.0062e178
jmp 0x63d01e
push 0xff40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42f620]
call fcn.0043b2e0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x63cfe6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x63cfd5
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 0x63cfdc
mov eax, dword [ebp - 0xc]
call fcn.004051ac
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.0062fd08
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0062fdc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63d071
lea eax, [ebp - 0x28]
call fcn.0040707c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407084
ret
Function at 0x63d078
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x63d1c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.00635694
cmp ebx, eax
jl 0x63d0da
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 [0x6a1280]
call fcn.0040a4f4
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x42b998]
call fcn.0041a394
call fcn.00405c84
mov edx, ebx
mov eax, dword [esi + 0x30]
call fcn.00635680
mov ebx, eax
movzx eax, byte [ebx + 0x6a]
sub al, 2
jne 0x63d0ff
mov dl, 1
mov eax, dword [0x62c1d8]
call fcn.0062de4c
call fcn.00405c84
cmp byte [ebx + 0x6a], 1
jne 0x63d161
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x63d121
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
jl 0x63d12a
mov al, 1
jmp 0x63d14c
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0063a234
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x63d146
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setge al
test al, al
je 0x63d161
mov dl, 1
mov eax, dword [0x62c1d8]
call fcn.0062de4c
call fcn.00405c84
mov eax, dword [ebx + 0xac]
shl eax, 9
cdq
add eax, dword [ebx + 0xa0]
adc edx, dword [ebx + 0xa4]
push edx
push eax
mov eax, dword [esi + 4]
call fcn.0043a92c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
cmp edx, 0
jne 0x63d190
cmp eax, 0
je 0x63d1a5
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.0043abd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63d1cf
lea eax, [ebp - 0x18]
call fcn.0040707c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407084
ret
Function at 0x6492fc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov ebx, eax
test esi, esi
jne 0x649324
mov ecx, 0xf8
mov edx, 0x6493b4
mov eax, 0x649410
call fcn.004063b4
mov edx, esi
mov eax, ebx
call fcn.00649478
mov dword [ebp - 0xc], 0xc
mov edi, dword [ebp - 8]
lea esi, [ebp - 0x18]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
movzx eax, byte [esi]
call fcn.0062f9c0
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0062f9c0
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 0xc]
jne 0x64933a
movzx eax, byte [ebp + 0xb]
cmp al, byte [ebp - 0xd]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x649478
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406aac
xor eax, eax
push ebp
push 0x649536
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [ebp - 4]
test eax, eax
je 0x6494ce
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x6494ce
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004066a4
test eax, eax
je 0x6494d7
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x649520
mov edi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0062f9c0
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0062f9c0
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x6494e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64953d
lea eax, [ebp - 4]
call fcn.00406488
ret