joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a5d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004909e0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x48a6c9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, esi
call fcn.0041dc40
test eax, eax
jne 0x48a6c9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push bind
mov ecx, esi
call fcn.0041dc40
test eax, eax
jne 0x48a6c9
lea edx, [esp + 0x10]
push 0x6a8234
push edx
call fcn.004b6760
mov esi, eax
add esp, 8
test esi, esi
jne 0x48a69a
lea eax, [esp + 0x10]
push 0x6a8230
push eax
call fcn.004b6760
mov esi, eax
add esp, 8
test esi, esi
jne 0x48a69a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x48a69d
mov byte [esi], 0
push 0x6a79f8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x490920
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d7628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4909d0
mov eax, dword [0x6ae930]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004c759a
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004c75e9
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004c7546
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4909b7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4909b7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c71b6
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x493ad0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d7ab0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x493c77
mov ecx, dword [0x6ae930]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x493bcc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004927f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004c72a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004c71b6
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6a79f8
call fcn.004c7224
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00492bb0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004c72a3
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004c71b6
lea ecx, [esp + 0xc]
call fcn.004c767e
mov ecx, dword [esp + 0xc]
push 0x6a8434
push ecx
call fcn.004b5614
add esp, 8
test eax, eax
je 0x493bf4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x493b2d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004c71b6
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004c71b6
jmp 0x493c7b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00493870
test eax, eax
push 0
je 0x493c5f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00491f10
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x493c45
cmp eax, 0x64
jg 0x493c33
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x493bd0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x493bd0
cmp eax, 0x64
jge 0x493bcc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x493bd0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00491f10
mov esi, eax
jmp 0x493bd0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x493c85
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x49af00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x49af66
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x49af66
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49af47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x49b2f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49b328
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x49bf50
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x49bf99
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x49c410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0049bfc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0049c040
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0049c040
lea ecx, [esi + 0xc]
call fcn.004c7141
lea ecx, [esi + 0x10]
call fcn.004c7141
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0049d5d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0049d5d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0049d5d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004c71b6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c71b6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a0600
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6f90b8]
xor edx, edx
cmp eax, edx
jne 0x4a0626
xor eax, eax
mov byte [eax + 0x6f8fb8], al
inc eax
cmp eax, 0x100
jl 0x4a060e
mov dword [0x6f90b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6f8fb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a06b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a068a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a0658
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a0730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a0783
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a076a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a7140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d825e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a7a60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6883b4
call fcn.004c6ef7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a71d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c6ef7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a71cc
push 0
mov ecx, eax
call fcn.0049e240
mov dword [esi + 0xc], eax
jmp 0x4a71d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a71d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4c95c4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c95fc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c7611
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c75e9
jmp 0x4c9608
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cacb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cacf4
call fcn.004d0d58
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cacf4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4caceb
xor eax, eax
jmp 0x4cacfc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cad02
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d1288
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d12b6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d12d4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d11ee
jmp 0x4d12d4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d12d4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d11ee
test edi, edi
mov eax, edi
jne 0x4d12be
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4017e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi]
mov dword [edi], esi
mov byte [edi + 4], 1
test eax, eax
jne 0x40180f
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jne 0x40180f
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x4036a0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x5c]
test eax, eax
jne 0x4036c7
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jne 0x4036c7
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x58], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x4d332c]
xorps xmm0, xmm0
mov ecx, dword [0x4d3334]
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x24], eax
mov byte [edx + 0x37], 1
mov byte [ecx + 0x37], 1
mov byte [edi + 0x68], 1
movsd qword [edi + 0x70], xmm0
pop edi
pop esi
ret
Function at 0x403950
Capabilities:
Check for time delay via queryperformancecounter
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4d100c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, dword [0x4d3310]
add esi, 0x58
mov eax, dword [esi]
test eax, eax
jne 0x40398d
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jne 0x40398d
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
jne 0x4039b0
push 0x4d3360
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
lea eax, [esp + 8]
push eax
movq qword [esp + 0xc], xmm0
movq qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [0x4d3360]
sub dword [esp + 8], eax
mov eax, dword [0x4d3364]
sbb dword [esp + 0xc], eax
mov eax, dword [0x4d332c]
mov byte [eax + 0x37], 1
mov eax, dword [0x4d3334]
mov byte [eax + 0x37], 1
mov eax, dword [0x4d3320]
mov byte [eax + 0x37], 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x4d3310]
push 0
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.00450db2
mov esp, ebp
pop ebp
ret

Function at 0x4058c0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword fs:[0x30]
push ebx
push esi
mov bl, cl
mov eax, dword [edx + 0xa4]
shl eax, 8
or eax, dword [edx + 0xa8]
cmp eax, 0x603
jb 0x405934
push 0x47c27c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40599f
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x405934
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x405934
cmp dword [ebp - 8], 0
jne 0x40599f
test bl, bl
je 0x405997
push 0
push 0
push 0
push 0x4057b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x4d1a40], 0xffffffff
jne 0x40596d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 1
call esi
cmp dword [0x4d1a40], 0xffffffff
je 0x405960
mov ecx, 0x25
call fcn.00412f00
mov ecx, 0x2d
mov esi, eax
call fcn.00412f00
mov ecx, dword [0x4d1a40]
push 0x4000
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00450db2
mov esp, ebp
pop ebp
ret
Function at 0x40fed0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [ebp - 0x234]
test ebx, ebx
je 0x410006
push esi
push edi
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.00452b60
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x228], 0xffffffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40ffd2
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
mov dword [ebp - 0x228], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x228]
mov esi, eax
test esi, esi
mov eax, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x228], ecx
cmp ecx, ebx
jne 0x40ffce
lea eax, [ebp - 0x20c]
push str.TwitchStudio.exe
push eax
call fcn.0045466a
add esp, 8
test eax, eax
je 0x40ffec
lea eax, [ebp - 0x20c]
push str.TwitchStudioUI.exe
push eax
call fcn.0045466a
add esp, 8
test eax, eax
je 0x40ffec
test esi, esi
jne 0x40ff60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop ebx
call fcn.00450db2
mov esp, ebp
pop ebp
ret
Function at 0x412f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0xc
mov dword [edi], esi
mov byte [edi + 4], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0
call fcn.004511c8
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax + 4], esi
push 0
push 0
push eax
push 0x4191d0
push 0
mov dword [eax], vtable.Util::SimpleThreadAdapter.0
mov dword [eax + 8], ecx
push 0
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x412fe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0xc
mov dword [esi], str.CheckForUpdatesBackgroundThread
mov byte [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call fcn.004511c8
add esp, 4
mov dword [ebp - 4], eax
mov dword [eax + 4], str.CheckForUpdatesBackgroundThread
push 0
push 0
push eax
push 0x4191d0
push 0
mov dword [eax], vtable.Util::SimpleThreadAdapter.0
mov dword [eax + 8], 0x403d10
push 0
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x414160
Capabilities:
Encode data using xor
Hash data using fnv

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 0x470ef5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4d100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x4141a8
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4141c6
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4141b4
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.004130a0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4141e6
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x414360
cmp dword [0x4d3340], 0x5555555
je 0x414376
mov dword [ebp - 0x20], 0x4d333c
mov dword [ebp - 4], 0
push 0x30
mov dword [ebp - 0x1c], 0
call fcn.004511c8
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], edi
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [edi + 0x20], xmm0
mov dword [ebp - 4], 1
mov ecx, dword [0x4d3340]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4ca1a0]
mov eax, dword [0x4d3354]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4ca1a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x4d3338]
comiss xmm2, xmm1
jbe 0x41430a
divss xmm0, xmm1
call fcn.004014a0
call fcn.0046fe10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x4d3354]
cmp eax, ecx
jae 0x4142e6
cmp eax, 0x200
jae 0x4142e4
shl eax, 3
cmp eax, ecx
jae 0x4142e6
mov eax, ecx
push eax
call fcn.00414730
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004130a0
mov ecx, dword [0x4d3340]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x41430d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x4d3340], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x4d3344]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4d3350]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x4d333c]
jne 0x414341
mov dword [ecx + eax*8], edi
jmp 0x414353
cmp esi, edx
jne 0x41434a
mov dword [ecx + eax*8], edi
jmp 0x414357
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x414357
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00450cfd
int3
Function at 0x418790
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x4d100c]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
jne 0x4187bc
push 0x4d3360
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
lea eax, [esp]
push eax
movq qword [esp + 4], xmm0
movq qword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp]
sub ecx, dword [0x4d3360]
mov edx, dword [esp + 4]
sbb edx, dword [0x4d3364]
call fcn.0046ff70
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movsd qword [esp], xmm0
call fcn.0046ff70
movsd xmm1, qword [esp]
divsd xmm1, xmm0
mov ecx, dword [esp + 0x14]
xor ecx, esp
movaps xmm0, xmm1
call fcn.00450db2
mov esp, ebp
pop ebp
ret

Function at 0x418830
Capabilities:
Create directory

Disassembly:
push ebx
push edi
mov ebx, ecx
push 0x5c
push ebx
call fcn.004528ae
push 0x2f
push ebx
mov edi, eax
call fcn.004528ae
add esp, 0x10
cmp eax, edi
cmova edi, eax
test edi, edi
je 0x41886f
push esi
movzx esi, word [edi]
xor eax, eax
mov ecx, ebx
mov word [edi], ax
call fcn.00418830
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [edi], si
pop esi
pop edi
mov al, 1
pop ebx
ret