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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7120
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CGraphicTextInstance.0
call fcn.004c2900
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4c26a4
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x4c2685
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27bf
mov ecx, edi
push edx
push ecx
call fcn.00552bfd
mov dword [esi + 0x70], 0
add esp, 8
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x64]
call fcn.004c2590
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4c26ff
mov eax, dword [esi + 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4c26e0
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27bf
mov ecx, edi
push edx
push ecx
call fcn.00552bfd
mov dword [esi + 0x58], 0
add esp, 8
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x4c2752
mov eax, dword [esi + 0x54]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4c2733
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27bf
mov ecx, edi
push edx
push ecx
call fcn.00552bfd
mov dword [esi + 0x4c], 0
add esp, 8
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov ecx, dword [esi + 0x48]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4c276c
call fcn.004b8ae0
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
jb 0x4c279c
mov eax, dword [esi + 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x4c2792
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c27bf
mov eax, edx
push ecx
push eax
call fcn.00552bfd
add esp, 8
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005983fa
int3
Function at 0x4c5e10
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x696a04], eax
cmp dword [0x69873c], eax
je 0x4c5f5c
push 8
lea ecx, [ebp - 0x18]
mov dword [0x69873c], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004c8b80
add esp, 0xc
mov dword [0x6986fc], eax
cmp dword [0x650874], eax
je 0x4c5f5c
push 0x696a08
mov dword [0x650874], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x696a04]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x4c5ec8
sub eax, 0xd
je 0x4c5eb5
sub eax, 1
jne case.default.0x4c5eda
mov byte [0x696a12], al
mov dword [0x697edc], 0x650856
jmp 0x4c5f41
mov byte [0x696a12], 1
mov dword [0x697edc], 0x65085c
jmp 0x4c5f41
mov eax, ecx
mov byte [0x696a12], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x4c5eda
jmp dword [eax*4 + 0x4c5f6c]
mov byte [0x696a12], 0
mov dword [0x697edc], 0x65084a
jmp 0x4c5f41
mov dword [0x697edc], 0x650850
jmp 0x4c5f41
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x697edc], 0x650844
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x697edc]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005a688f
mov ecx, dword [0x697edc]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x6986f8], 0x4e8
je 0x4c5f5c
mov eax, dword [0x6986fc]
mov dword [0x6986f8], eax
call fcn.004c6050
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
Function at 0x4c6740
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x4c698d
mov ecx, dword [0x696a04]
cmp dword [0x698738], ecx
je 0x4c69db
cmp byte [0x6969fa], 0
mov eax, 0x404
mov dword [0x698738], ecx
je 0x4c67ab
cmp cx, ax
jne 0x4c67ab
mov dword [0x696ab4], 0x7000404
mov eax, 0x7000404
mov dword [0x696ab8], 0
jmp 0x4c698f
cmp ecx, 0xe0080404
je 0x4c67d7
cmp ecx, 0xe0090404
je 0x4c67d7
cmp ecx, 0xe00a0404
je 0x4c67d7
cmp ecx, 0xe00b0404
je 0x4c67d7
cmp ecx, 0xe00e0804
jne 0x4c6979
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x4c6979
cmp dword [0x6969f0], 0
jne 0x4c689e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4c689e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4c689e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4c689e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4c689e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x4c6979
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x696a04]
mov ebx, eax
test ebx, ebx
je 0x4c6979
call fcn.00553ba0
mov eax, esp
push eax
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4c6979
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x62da8c
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4c6979
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x6969f0], 0
jne 0x4c69ca
mov eax, 0x404
cmp si, ax
jne 0x4c69a8
cmp ecx, 0x4020000
je 0x4c69ca
cmp ecx, 0x4030000
je 0x4c69ca
cmp ecx, 0x4040000
je 0x4c69ca
cmp ecx, 0x5000000
je 0x4c69ca
cmp ecx, 0x5010000
je 0x4c69ca
cmp ecx, 0x5020000
je 0x4c69ca
cmp ecx, 0x6000000
je 0x4c69ca
mov dword [0x696ab8], 0
mov dword [0x696ab4], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x4c6979
cmp ecx, 0x4010000
je 0x4c69ca
cmp ecx, 0x4020000
je 0x4c69ca
cmp ecx, 0x5030000
jne 0x4c6979
mov eax, esi
or eax, ecx
mov dword [0x696ab4], eax
mov eax, dword [edx + 0xc]
mov dword [0x696ab8], eax
mov eax, dword [edi*4 + 0x696ab4]
jmp 0x4c698f
Function at 0x4c6b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x696a04]
push ebx
cmp eax, 0xe00e0804
je 0x4c6cde
cmp eax, 0xe0090404
je 0x4c6cde
mov ebx, dword [0x696ab4]
test ebx, ebx
je 0x4c6cde
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x4c6ccd
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x5f4d5c]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x5f4d5e]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x5f4d44]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x5f4d54]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x4c6bc4
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c6bd4
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x4c6cb8
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c6c95
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x4c6c60
cmp al, 0x22
je 0x4c6c76
cmp al, 0x23
je 0x4c6c76
cmp ebx, 0x5010000
je 0x4c6c70
cmp ebx, 0x5020000
jne 0x4c6c95
sub al, 0x22
cmp al, 2
ja 0x4c6c95
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00552bec
mov esp, ebp
pop ebp
ret
Function at 0x4c6fa0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6969f8], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x4c7168
cmp byte [0x698720], 0
mov dword [0x696a00], eax
jne 0x4c7002
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4c7002
push 0x69871c
push 0x5f4c64
push 1
push 0
push 0x619b60
mov byte [0x698720], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x696a18
mov dword [0x696a18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x6969f9], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4c70ea
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4c7040
mov eax, dword [0x5f4c74]
mov dword [ecx], eax
mov eax, dword [0x5f4c78]
mov dword [ecx + 4], eax
mov ax, word [0x5f4c7c]
mov word [ecx + 8], ax
mov al, byte [0x5f4c7e]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x696a14], eax
test eax, eax
je 0x4c70e3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x696a14]
mov dword [0x6969e0], eax
call esi
push str.ImmLockIMCC
push dword [0x696a14]
mov dword [0x6969e4], eax
call esi
push str.ImmUnlockIMCC
push dword [0x696a14]
mov dword [0x6969e8], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x696a14]
mov dword [0x6969ec], eax
call esi
pop esi
test eax, eax
je 0x4c70ea
push 0xffffffffffffffff
call eax
jmp 0x4c70ea
mov byte [0x6969f9], 1
push dword [0x696a00]
mov byte [0x6969f8], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x696a00]
call sub.IMM32.dll_ImmReleaseContext
call fcn.004c5e10
call fcn.004c5de0
push 2
call fcn.004c8080
add esp, 4
call fcn.004c8440
test eax, eax
setne byte [0x6969fa]
call fcn.004c5f80
cmp byte [0x6969fa], 0
je 0x4c7168
mov eax, dword [0x696a04]
and eax, 0x3ff
cmp eax, 4
jne 0x4c7157
call fcn.004c61c0
test eax, eax
je 0x4c7157
mov al, 1
jmp 0x4c7159
xor al, al
push 0
mov byte [0x6969fd], al
call fcn.004c85f0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
Function at 0x4c77b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e76eb
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x830], ebx
cmp byte [ebx + 0x20], 0
je 0x4c798a
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c798a
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x4c798a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov dword [ebp - 0x82c], ecx
test ecx, ecx
je 0x4c798a
mov edi, ecx
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
lea edx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4c7850
sub edi, edx
cmp edi, 0xf
ja 0x4c787c
push edi
push ecx
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], edi
push eax
call fcn.0058f8b0
mov byte [ebp + edi - 0x828], 0
jmp 0x4c78e0
cmp edi, 0x7fffffff
ja 0x4c79a6
mov ebx, edi
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x4c789c
mov ebx, closesocket
jmp 0x4c78a6
mov eax, 0x16
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x828]
call fcn.00406c90
push edi
push dword [ebp - 0x82c]
mov esi, eax
mov dword [ebp - 0x818], edi
push esi
mov dword [ebp - 0x814], ebx
call fcn.0058f330
mov ebx, dword [ebp - 0x830]
mov byte [esi + edi], 0
mov dword [ebp - 0x828], esi
add esp, 0xc
push dword [ebp - 0x834]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x4c7954
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x810]
push 0x400
push edx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push dword [0x6986fc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, ebx
push eax
call fcn.004c7180
mov ecx, dword [0x697ee0]
test ecx, ecx
je 0x4c7954
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
cmp edx, 0x10
jb 0x4c798a
mov ecx, dword [ebp - 0x828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c7980
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c79ab
push edx
push ecx
call fcn.00552bfd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
call fcn.00406c80
call fcn.005983fa
int3

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a7850

Function at 0x4d37c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x4d37d9
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4da5e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4da5f0
mov edx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [eax + 0x10]
xor ebx, ebx
xor eax, eax
xor esi, esi
lea ecx, [edi + edx]
cmp edx, ecx
cmova edi, ebx
test edi, edi
je 0x4da623
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x4da610
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4df040
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x61ce5c
lea esi, [edi + 0x259]
push esi
call fcn.00598636
add esp, 8
test eax, eax
je 0x4df06a
push eax
call fcn.00598946
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x368], 0
jne 0x4df0c4
push 0x61ce2c
push esi
call fcn.00598636
mov esi, eax
add esp, 8
test esi, esi
je 0x4df0c4
push esi
push 1
push 4
push 0x5f5710
call fcn.0059886c
push esi
push 1
push 4
push 0x5f5714
call fcn.0059886c
push esi
push 1
lea eax, [edi + 0x154]
push 4
push eax
call fcn.0059886c
push esi
call fcn.00598946
add esp, 0x34
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x4df110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13e8], 0x20
je 0x4df126
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x369], 0
jne 0x4df165
cmp dword [esi + 0x13ec], 0x10
push edi
lea edi, [esi + 0x13d8]
jb 0x4df141
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13e8]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x4df146
mov byte [esi + 0x369], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x4e04a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4e054d
cmp byte [esi + 0x3e], 0
je 0x4e054d
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4e0503
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4e0515
sub eax, 1
je 0x4e0519
sub eax, 2
je 0x4e054d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4e0536
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0059886c
add esp, 0x10
cmp edi, eax
jne 0x4e0503
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00552bec
mov esp, ebp
pop ebp
ret
Function at 0x4e1ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x4e1ef5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4e1f33
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x4e1f33
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4e200f
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x4e1f5d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e1f96
push dword [esi + 0x4c]
push edi
call fcn.005a728c
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x4e2014
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x4e200f
cmp eax, 1
jle 0x4e1fe2
cmp eax, 3
jne 0x4e200f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004dba60
add esp, 8
test al, al
movzx eax, di
jne 0x4e2014
jmp 0x4e200f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x4e1fff
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0059886c
add esp, 0x10
cmp ebx, eax
jne 0x4e200f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x4e1f1d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00552bec
mov esp, ebp
pop ebp
ret 4
Function at 0x4f1980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9356
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.UI::CWindow.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea esi, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov ecx, esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429220
mov dword [esi], eax
lea esi, [edi + 0x70]
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429220
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov byte [edi + 0x78], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5040a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5040b0
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x5040d7
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x5040c5
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x50b8f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea18e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6da270], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CRaceManager.0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f8e0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00434de0
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00415b20
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
call fcn.0050cbe0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret