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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021cfad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x102e2740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movups xmm0, xmmword [ecx]
mov esi, dword [ebx + 0xc]
movups xmm1, xmmword [edx + 0x10]
mov eax, dword [ebx + 8]
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0x80], eax
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x78], xmm1
movups xmmword [ebp - 0xa4], xmm0
movups xmm0, xmmword [ecx + 0x20]
psrldq xmm1, 4
movups xmmword [ebp - 0x94], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [edx + 0x40]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [edx + 0x50]
movq qword [ebp - 0x38], xmm0
movss xmm0, dword [edx + 0xc]
mulss xmm0, dword [esi]
movd edx, xmm1
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x7c], edx
cmp edx, 0x3fffffff
ja 0x100a662c
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x100a6545
mov ecx, eax
jmp 0x100a6590
lea ecx, [edx*4]
cmp ecx, 0x20000
ja 0x100a6565
lea eax, [ecx + 0xf]
call fcn.101e9f30
lea ecx, [esp + 0xf]
and ecx, 0xfffffff0
jmp 0x100a658d
xor eax, eax
add ecx, 0x10
setb al
neg eax
or eax, ecx
push eax
call fcn.101fdf4d
add esp, 4
test eax, eax
je 0x100a662c
mov ecx, eax
and ecx, 0xfffffff0
add ecx, 0x10
mov dword [ecx - 4], eax
mov edx, dword [ebp - 0x7c]
lea esi, [edx*4]
mov dword [ebp - 0x1c], 0
cmp esi, 0x20000
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
seta al
mov dword [ebp - 0x20], edx
xor edi, edi
mov byte [ebp - 0x1c], al
cmp dword [ebp - 0x78], edi
cmove edi, ecx
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x80]
push 1
push dword [eax]
push 1
push ecx
mov ecx, dword [ebp - 0xac]
push 3
push dword [ebp - 0xb4]
call fcn.100a4440
add esp, 0x1c
cmp esi, 0x20000
jbe 0x100a6608
test edi, edi
je 0x100a6608
push dword [edi - 4]
call fcn.101fcf0c
add esp, 4
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e9427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004cf20
int3
Function at 0x100aefc0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x102f90d0], 0
jne 0x100aefd9
push 0
push 0x10001
call fcn.100af3c0
add esp, 8
ret
jmp fcn.100afe40

Function at 0x100af040
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x102f90d0], 0
jne 0x100af059
push 0
push 0x10001
call fcn.100af3c0
add esp, 8
ret
jmp 0x100b0550
call dword [sym.imp.USER32.dll_WaitMessage]
jmp fcn.100afe40

Function at 0x100af6c0
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x102f90d0], 0
jne 0x100af76d
push 0x2220
push 0
push 0x102f90d0
call fcn.101eb6c0
movq xmm0, qword [0x102e05b4]
add esp, 0xc
mov eax, dword [0x102e05bc]
movq qword [0x102f90d4], xmm0
mov dword [0x102f90dc], eax
call fcn.100b4100
test eax, eax
je 0x100af773
push 0x102fa37c
call fcn.100af8e0
add esp, 4
test eax, eax
je 0x100af773
push 0x102fa36c
call fcn.100af900
add esp, 4
test eax, eax
je 0x100af773
push 0x102fa374
call fcn.100af900
add esp, 4
test eax, eax
je 0x100af773
push 0x102fb2f0
push 0x102fa36c
call fcn.100af9b0
add esp, 8
call fcn.100ad7f0
mov dword [0x102f90d0], 1
call fcn.100b3140
mov dword [0x102fa398], eax
mov dword [0x102fa39c], edx
call fcn.100aee20
mov eax, 1
ret
call fcn.100af7a0
xor eax, eax
ret

Function at 0x100af900
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [esp + 4]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
jne 0x100af927
push str.Win32:_Failed_to_allocate_TLS_index
push 0x10008
call fcn.100b3eb0
add esp, 8
xor eax, eax
ret
mov dword [ecx], 1
mov eax, 1
ret
Function at 0x100af9e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
push ebx
push ebp
push esi
call fcn.100b0890
add esp, 0xc
test eax, eax
je 0x100afb11
mov edi, dword [esp + 0x1c]
cmp dword [edi], 0
je 0x100afa84
mov eax, dword [edi + 4]
cmp eax, 0x36001
jne 0x100afa2d
call fcn.100b5050
test eax, eax
je 0x100afb11
push ebx
push edi
push esi
call fcn.100b4c50
jmp 0x100afa67
cmp eax, 0x36002
jne 0x100afa4b
call fcn.100b6280
test eax, eax
je 0x100afb11
push ebx
push edi
push esi
call fcn.100b5df0
jmp 0x100afa67
cmp eax, 0x36003
jne 0x100afa72
call fcn.100b6dd0
test eax, eax
je 0x100afb11
push ebx
push edi
push esi
call fcn.100b6bc0
add esp, 0xc
test eax, eax
je 0x100afb11
push edi
push esi
call fcn.100acd50
add esp, 8
test eax, eax
je 0x100afb11
cmp dword [esi + 0x3c], 0
je 0x100afae4
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.100b0650
push esi
call fcn.100b1000
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x100afb07
push esi
call fcn.100ad760
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [ebp + 0x10], 0
je 0x100afb07
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x18], 0
je 0x100afb07
push esi
call fcn.100afbd0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x100b0d40
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0x14
mov eax, dword [0x102e2740]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 4]
push edi
push eax
mov dword [0x102fb188], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100b0d9e
lea eax, [esp + 8]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [esp + 8]
cvtdq2pd xmm0, xmm0
movsd qword [0x102fb178], xmm0
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
movsd qword [0x102fb180], xmm0
cmp dword [ebx + 0x68], 0x34001
jne 0x100b0dc3
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x100b0db3
push dword [eax + 4]
jmp 0x100b0dc5
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
jmp 0x100b0dc5
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call fcn.100ad760
add esp, 4
lea eax, [esp + 8]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 8]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
cmp dword [ebx + 0x1e8], 0
je 0x100b0e5a
mov eax, dword [ebx + 0x2ac]
push 0xc
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push 1
push eax
mov dword [esp + 0x14], 0x20001
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x100b0e5a
push str.Win32:_Failed_to_register_raw_input_device
push 0x10008
call fcn.100b3eb0
add esp, 8
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
xor ecx, esp
call fcn.101e9427
add esp, 0x14
ret

Function at 0x100b0e70
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
push 0xc
push 1
lea eax, [esp + 8]
mov dword [esp + 8], 0x20001
push eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x100b0eb0
push str.Win32:_Failed_to_remove_raw_input_device
push 0x10008
call fcn.100b3eb0
add esp, 8
add esp, 0xc
ret
Function at 0x100b0ec0
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x1e8], 0
je 0x100b0f0e
push 0xc
push 1
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x20001
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x100b0f0e
push str.Win32:_Failed_to_remove_raw_input_device
push 0x10008
call fcn.100b3eb0
add esp, 8
push 0
mov dword [0x102fb188], 0
call dword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si eax, qword [0x102fb180]
cvttsd2si ecx, qword [0x102fb178]
mov dword [esp + 8], eax
mov dword [esi + 0x2dc], eax
lea eax, [esp + 4]
push eax
push dword [esi + 0x2ac]
mov dword [esp + 0xc], ecx
mov dword [esi + 0x2d8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [esi + 0x68], 0x34001
jne 0x100b0f9a
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100b0f81
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
add esp, 0xc
ret
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
add esp, 0xc
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
add esp, 0xc
ret

Function at 0x100b0fb0
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push 0xc
push 1
mov dword [esp + 8], 0x20001
mov eax, dword [eax + 0x2ac]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x100b0ff6
push str.Win32:_Failed_to_register_raw_input_device
push 0x10008
call fcn.100b3eb0
add esp, 8
add esp, 0xc
ret

Function at 0x100b1120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebp
movzx esi, ax
push 0x11
shr esi, 0xf
call ebp
mov edi, esi
or edi, 2
test ax, ax
push 0x12
cmovns edi, esi
call ebp
mov ebx, edi
or ebx, 4
test ax, ax
push 0x5c
cmovns ebx, edi
call ebp
push 0x5b
mov si, ax
call ebp
mov edi, ebx
or edi, 8
or si, ax
push 0x14
cmovns edi, ebx
call ebp
mov esi, edi
or esi, 0x10
test al, 1
push 0x90
cmove esi, edi
call ebp
mov ecx, esi
or ecx, 0x20
test al, 1
pop edi
cmove ecx, esi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret
Function at 0x100b45a0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x164
mov eax, dword [0x102e2740]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
push 0x100
lea eax, [esp + 0x74]
push 0
push eax
call fcn.101eb6c0
push 0x6d1
push 0
push 0x102faaa2
call fcn.101eb6c0
mov eax, 0x102fab42
lea ebx, [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x10], eax
mov esi, 0x20
sub ebx, 0x480
movsx edi, word [esi*2 + 0x102fa7e8]
cmp edi, 0xffffffff
je 0x100b46fd
cmp esi, 0x140
jb 0x100b469a
cmp esi, 0x14e
ja 0x100b469a
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x18], 0x61
mov dword [esp + 0x1c], 0x62
mov dword [esp + 0x20], 0x63
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], 0x65
mov dword [esp + 0x2c], 0x66
mov dword [esp + 0x30], 0x67
mov dword [esp + 0x34], 0x68
mov dword [esp + 0x38], 0x69
mov dword [esp + 0x3c], 0x6e
mov dword [esp + 0x40], 0x6f
mov dword [esp + 0x44], 0x6a
mov dword [esp + 0x48], 0x6d
mov dword [esp + 0x4c], 0x6b
mov ebp, dword [ebx]
jmp 0x100b46a5
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
push 0
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x100b46d6
push 0
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x100b46f9
push 0
push 0
push 5
push dword [esp + 0x1c]
lea eax, [esp + 0x60]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x10]
inc esi
add eax, 5
add ebx, 4
mov dword [esp + 0x10], eax
cmp esi, 0x15c
jle 0x100b45f5
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101e9427
add esp, 0x164
ret
Function at 0x100b49e0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x1c
mov eax, dword [0x102e2740]
xor eax, esp
mov dword [esp + 0x18], eax
push 0x102fa3d0
push 0x102f90d0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x100b4a27
push 0x1023c66c
push 0x10008
call fcn.100b3eb0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.101e9427
add esp, 0x1c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.user32.dll
call ebx
mov dword [0x102fb1b0], eax
test eax, eax
jne 0x100b4a62
push str.Win32:_Failed_to_load_user32.dll
push 0x10008
call fcn.100b3eb0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.101e9427
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessDPIAware
push eax
call edi
push str.ChangeWindowMessageFilterEx
push dword [0x102fb1b0]
mov dword [0x102fb1b4], eax
call edi
push str.EnableNonClientDpiScaling
push dword [0x102fb1b0]
mov dword [0x102fb1b8], eax
call edi
push str.SetProcessDpiAwarenessContext
push dword [0x102fb1b0]
mov dword [0x102fb1bc], eax
call edi
push str.GetDpiForWindow
push dword [0x102fb1b0]
mov dword [0x102fb1c0], eax
call edi
push str.AdjustWindowRectExForDpi
push dword [0x102fb1b0]
mov dword [0x102fb1c4], eax
call edi
push str.GetSystemMetricsForDpi
push dword [0x102fb1b0]
mov dword [0x102fb1c8], eax
call edi
push str.dinput8.dll
mov dword [0x102fb1cc], eax
call ebx
mov dword [0x102fb198], eax
test eax, eax
je 0x100b4aff
push str.DirectInput8Create
push eax
call edi
mov dword [0x102fb19c], eax
push esi
mov dword [esp + 0xc], str.xinput1_4.dll
xor esi, esi
mov dword [esp + 0x10], str.xinput1_3.dll
mov eax, str.xinput1_4.dll
mov dword [esp + 0x14], str.xinput9_1_0.dll
mov dword [esp + 0x18], str.xinput1_2.dll
mov dword [esp + 0x1c], str.xinput1_1.dll
mov dword [esp + 0x20], 0
push eax
call ebx
mov dword [0x102fb1a4], eax
test eax, eax
jne 0x100b4b4e
mov eax, dword [esp + esi*4 + 0x10]
inc esi
test eax, eax
jne 0x100b4b37
jmp 0x100b4b6d
push str.XInputGetCapabilities
push eax
call edi
push str.XInputGetState
push dword [0x102fb1a4]
mov dword [0x102fb1a8], eax
call edi
mov dword [0x102fb1ac], eax
push str.dwmapi.dll
call ebx
mov dword [0x102fb1d0], eax
pop esi
test eax, eax
je 0x100b4bc1
push str.DwmIsCompositionEnabled
push eax
call edi
push str.DwmFlush
push dword [0x102fb1d0]
mov dword [0x102fb1d4], eax
call edi
push str.DwmEnableBlurBehindWindow
push dword [0x102fb1d0]
mov dword [0x102fb1d8], eax
call edi
push str.DwmGetColorizationColor
push dword [0x102fb1d0]
mov dword [0x102fb1dc], eax
call edi
mov dword [0x102fb1e0], eax
push str.shcore.dll
call ebx
mov dword [0x102fb1e4], eax
test eax, eax
je 0x100b4bf0
push str.SetProcessDpiAwareness
push eax
call edi
push str.GetDpiForMonitor
push dword [0x102fb1e4]
mov dword [0x102fb1e8], eax
call edi
mov dword [0x102fb1ec], eax
push str.ntdll.dll
call ebx
mov dword [0x102fb1f0], eax
test eax, eax
je 0x100b4c0d
push str.RtlVerifyVersionInfo
push eax
call edi
mov dword [0x102fb1f4], eax
mov ecx, dword [esp + 0x20]
mov eax, 1
pop edi
pop ebx
xor ecx, esp
call fcn.101e9427
add esp, 0x1c
ret
Function at 0x100b6dd0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x10
mov eax, dword [0x102e2740]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [0x102fb2cc], 0
mov dword [esp], str.libOSMesa.dll
mov dword [esp + 4], str.OSMesa.dll
mov dword [esp + 8], 0
je 0x100b6e12
mov eax, 1
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.101e9427
add esp, 0x10
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
mov eax, str.libOSMesa.dll
push eax
call edi
mov ecx, eax
mov dword [0x102fb2cc], ecx
test ecx, ecx
jne 0x100b6e62
mov eax, dword [esp + esi*4 + 0xc]
inc esi
test eax, eax
jne 0x100b6e21
test ecx, ecx
jne 0x100b6e62
push str.OSMesa:_Library_not_found
push 0x10006
call fcn.100af3c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.101e9427
add esp, 0x10
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OSMesaCreateContextExt
push ecx
call esi
push str.OSMesaCreateContextAttribs
push dword [0x102fb2cc]
mov dword [0x102fb2d0], eax
call esi
push str.OSMesaDestroyContext
push dword [0x102fb2cc]
mov dword [0x102fb2d4], eax
call esi
push str.OSMesaMakeCurrent
push dword [0x102fb2cc]
mov dword [0x102fb2d8], eax
call esi
push str.OSMesaGetColorBuffer
push dword [0x102fb2cc]
mov dword [0x102fb2dc], eax
call esi
push str.OSMesaGetDepthBuffer
push dword [0x102fb2cc]
mov dword [0x102fb2e0], eax
call esi
push str.OSMesaGetProcAddress
push dword [0x102fb2cc]
mov dword [0x102fb2e4], eax
call esi
cmp dword [0x102fb2d0], 0
mov dword [0x102fb2e8], eax
je 0x100b6f28
cmp dword [0x102fb2d8], 0
je 0x100b6f28
cmp dword [0x102fb2dc], 0
je 0x100b6f28
cmp dword [0x102fb2e0], 0
je 0x100b6f28
cmp dword [0x102fb2e4], 0
je 0x100b6f28
test eax, eax
je 0x100b6f28
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.101e9427
add esp, 0x10
ret
push str.OSMesa:_Failed_to_load_required_entry_points
push 0x10008
call fcn.100af3c0
mov eax, dword [0x102fb2cc]
add esp, 8
test eax, eax
je 0x100b6f54
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x102fb2cc], 0
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101e9427
add esp, 0x10
ret

Function at 0x100baaa0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100baa93
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
sub ebp, edi
nop word [eax + eax]
inc byte [eax]
lea edi, [edi + 1]
movzx esi, byte [eax]
movzx ecx, byte [esi + eax + 2]
add byte [eax + 1], cl
movzx ecx, byte [eax + 1]
mov dl, byte [esi + eax + 2]
movzx ecx, byte [ecx + eax + 2]
mov byte [esi + eax + 2], cl
movzx ecx, byte [eax + 1]
mov byte [ecx + eax + 2], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + eax + 2]
movzx ecx, byte [eax]
movzx ecx, byte [ecx + eax + 2]
add edx, ecx
movzx ecx, dl
movzx ecx, byte [ecx + eax + 2]
xor cl, byte [edi + ebp - 1]
mov byte [edi - 1], cl
sub ebx, 1
jne 0x100baa40
pop edi
pop esi
pop ebp
pop ebx
ret
add dword [esp + 4], 0xc1
jmp 0x100baa20
Function at 0x100c8d00
Capabilities:
Hash data using sha1

Disassembly:
mov eax, 0x40
call fcn.101e9f00
mov eax, dword [0x102e2740]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x48], 0x1d
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x58]
je 0x100c8d3c
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101e9427
add esp, 0x40
ret
test esi, esi
je 0x100c8e4b
cmp dword [esp + 0x54], 0x30
jne 0x100c8e4b
push 0x30
push edi
push esi
call fcn.100c8c20
add esp, 0xc
test eax, eax
jle 0x100c8e4b
movaps xmm0, xmmword [str.6666666666666666O]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.100c8c20
add esp, 0xc
test eax, eax
je 0x100c8e4b
lea eax, [esp + 0x30]
push esi
push eax
call fcn.100c8a80
add esp, 8
test eax, eax
je 0x100c8e4b
push 0x4c
lea eax, [esi + 0x14]
push 0
push eax
call fcn.101eb6c0
push 0x30
push edi
push esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.100c8c20
add esp, 0x18
test eax, eax
jle 0x100c8e4b
movaps xmm0, xmmword [0x10262e10]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.100c8c20
add esp, 0xc
test eax, eax
je 0x100c8e4b
push 0x14
lea eax, [esp + 0x34]
push eax
push esi
call fcn.100c8c20
add esp, 0xc
test eax, eax
je 0x100c8e4b
lea eax, [esp + 0x30]
push 0x14
push eax
call fcn.10001320
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101e9427
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101e9427
add esp, 0x40
ret

Function at 0x100cb9f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101e9f00
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x100cba70
mov cl, byte [edi]
test cl, cl
je 0x100cba70
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x100cba20
pop esi
mov ecx, eax
pop ebx
shr ecx, 0x10
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret
Function at 0x100cbaf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101e9f00
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x100cbb73
mov cl, byte [edi]
test cl, cl
je 0x100cbb73
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
and esi, 0xffffffdf
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x100cbb20
pop esi
mov ecx, eax
pop ebx
shr ecx, 0x10
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret
Function at 0x100cef10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 4]
dec edx
xor eax, ecx
mov dword [esp + 0x10], edx
and eax, edx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, edx
and eax, edx
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [ebp + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, edx
and eax, 4
xor ecx, eax
mov dword [ebp + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x100cf026
push edi
cmp esi, 4
jb 0x100cf001
mov ecx, dword [ebp]
lea edi, [esi - 1]
mov edx, dword [ebx]
lea ebp, [esi - 1]
lea ebp, [ecx + ebp*4]
cmp edx, ebp
lea edi, [edx + edi*4]
mov ebp, dword [esp + 0x18]
ja 0x100cefa4
cmp edi, ecx
jae 0x100cf001
cmp edx, ebx
ja 0x100cefac
cmp edi, ebx
jae 0x100cf001
cmp edx, ebp
ja 0x100cefb4
cmp edi, ebp
jae 0x100cf001
lea edi, [esi - 1]
lea edi, [ecx + edi*4]
cmp ecx, ebx
ja 0x100cefc2
cmp edi, ebx
jae 0x100cf001
cmp ecx, ebp
ja 0x100cefca
cmp edi, ebp
jae 0x100cf001
mov edi, esi
and edi, 0xfffffffc
nop
movups xmm3, xmmword [edx + eax*4]
movups xmm2, xmmword [ecx + eax*4]
movaps xmm1, xmm3
xorps xmm1, xmm2
andps xmm1, xmm4
movaps xmm0, xmm1
xorps xmm1, xmm3
xorps xmm0, xmm2
movups xmmword [ecx + eax*4], xmm0
movups xmmword [edx + eax*4], xmm1
add eax, 4
cmp eax, edi
jl 0x100cefd0
mov dword [esp + 0x18], eax
cmp eax, esi
jge 0x100cf025
mov ecx, dword [ebp]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [esp + 0x14]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esp + 0x20]
jl 0x100cf001
pop edi
pop esi
pop ebp
pop ebx
ret