joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x208]
xor esi, esi
push eax
push 0x20019
push esi
push str.Control_PanelMouse
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a5f72
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x200
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push str.MouseTrails
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a5f66
cmp dword [ebp - 0x210], 1
jne 0x4a5f66
lea eax, [ebp - 0x204]
push eax
call fcn.004eaf5c
add esp, 4
mov esi, eax
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x4a7120
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519df8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a7aa0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c], 0xffffff9c
mov dword [edi + 0x20], 0x64
mov dword [edi + 0x24], 0xffffff9c
mov dword [edi + 0x28], 0x64
mov dword [edi + 0x2c], 0xffffff9c
mov dword [edi + 0x30], 0x64
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0x3c00
mov dword [edi + 0x44], 0x15e00
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0xffffffc4
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xfffffea2
mov dword [edi + 0x70], 0
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0x64
mov dword [edi + 0x54], 0x14
mov dword [edi + 0x58], 1
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xa
call fcn.00514e80
mulsd xmm0, qword [0x545cb0]
cvttsd2si esi, xmm0
xorps xmm0, xmm0
mov dword [edi + 0x90], esi
call fcn.00514740
mulsd xmm0, qword [0x545cb0]
mov dword [edi + 0x98], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0x14], 0
cvttsd2si eax, xmm0
mov dword [edi + 0x94], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa4], eax
mov dword [ebp - 4], 0xffffffff
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

Function at 0x4a7630
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
call fcn.004a7640
mov ecx, esi
pop esi
jmp fcn.004a76d0
Function at 0x4a76d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519e5f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x24]
sub ebx, dword [esi + 0x1c]
cmp dword [esi + 0x50], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jle 0x4a77b2
nop word [eax + eax]
push 0x1c
call fcn.004d8b0d
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [edi], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004e73ce
xor edx, edx
div ebx
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [edi + 0x10], eax
call fcn.004e73ce
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x20]
sub eax, edx
mov dword [edi + 0x14], eax
call fcn.004e73ce
xor edx, edx
mov ecx, esi
div dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
add eax, edx
mov dword [edi + 0x18], eax
movq xmm0, qword [edi + 0x10]
movq qword [edi + 4], xmm0
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x68]
sub dword [edi + 4], eax
mov eax, dword [esi + 0x6c]
sub dword [edi + 8], eax
mov eax, dword [esi + 0x70]
sub dword [edi + 0xc], eax
push edi
call fcn.004a7ae0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x50]
jl 0x4a7720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9340
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x18]
mov edi, edx
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4a93ce
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4a93c5
mov eax, dword [ebp - 0x20]
neg edi
push esi
push esi
mov dword [ebp - 0x10], eax
sbb edi, edi
mov eax, dword [ebp - 0x1c]
and edi, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4a93c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a93c3
lea esi, [eax + 1]
jmp 0x4a93c5
xor esi, esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x4aa090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.00481930
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 6]
call fcn.004a98c0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0x14]
lea esi, [eax + 0x20]
test edi, edi
je 0x4aa0f8
call fcn.004a98d0
mov ecx, dword [ebp - 0x18]
lea esi, [esi + 1]
movzx eax, ax
add byte [esi - 1], al
mov al, byte [esi - 1]
movzx eax, al
xor ecx, eax
add ebx, eax
mov dword [ebp - 0x18], ecx
sub edi, 1
jne 0x4aa0d2
mov eax, dword [ebp - 0x1c]
movzx edx, word [ebp - 6]
mov dword [eax + 0x10], edx
mov word [eax + 0x1c], bx
mov word [eax + 0x1e], cx
call fcn.00481940
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x4aa120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00481930
mov ecx, dword [edi + 0x10]
call fcn.004a98c0
push dword [edi + 0x14]
call fcn.004d8b4b
lea esi, [edi + 0x20]
mov dword [ebp - 8], eax
mov edi, dword [edi + 0x14]
xor ecx, ecx
add esp, 4
mov dword [ebp - 4], ecx
xor ebx, ebx
test edi, edi
je 0x4aa189
sub eax, esi
mov dword [ebp - 0xc], eax
nop
call fcn.004a98d0
mov cl, byte [esi]
lea esi, [esi + 1]
sub cl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + esi - 1], cl
movzx eax, byte [esi - 1]
mov ecx, dword [ebp - 4]
xor ebx, eax
add ecx, eax
mov dword [ebp - 4], ecx
sub edi, 1
jne 0x4aa160
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp word [edx + 0x1c], cx
jne 0x4aa198
cmp word [edx + 0x1e], bx
je 0x4aa1b1
push eax
call fcn.004d8b08
add esp, 4
xor esi, esi
call fcn.00481940
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
call fcn.00481940
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ae280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1c
mov edi, edx
mov esi, ecx
call fcn.004d8b0d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4ae160
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x18], eax
call fcn.004e99a3
add esp, 0x10
cmp eax, 0xffffffff
je 0x4ae2da
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x1c
push ebx
call fcn.004d8b3d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4afd20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a342
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.004d8b0d
mov esi, eax
push 0x74
push 0
lea edx, [esi + 4]
push edx
call fcn.004e4e70
mov ecx, dword [0x5bf444]
add esp, 0x10
inc ecx
mov dword [0x5bf444], ecx
mov dword [esi], ecx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xfa0
lea edi, [esi + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [ebp - 0x10]
mov dword [esi + 0x20], 0
push eax
push 0
push esi
push 0x4afc10
push 0
push 0
mov dword [esi + 0x24], 0
call fcn.004e9a33
add esp, 0x18
test eax, eax
je 0x4afe1b
push pe_nt_image_headers32
mov dword [esi + 0x6c], eax
call fcn.004d8b0d
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x5753f0]
call fcn.00420c20
push eax
mov ecx, edx
call fcn.00465b90
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], eax
mov eax, dword [0x5bf440]
mov dword [esi + 0x74], eax
mov dword [0x5bf440], esi
mov eax, dword [esi]
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x78
push esi
call fcn.004d8b3d
add esp, 8
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5195bf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004d8b0d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.0045f2f0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5bf4b4], eax
call fcn.004014a0
push 0xfa0
push 0x5bf454
mov dword [0x5bf494], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x4b18c0
mov dword [0x5bf46c], 1
call fcn.004e99a3
add esp, 0xc
cmp eax, 0xffffffff
je 0x4b19b7
push 1
push eax
mov dword [0x5bf4e0], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4b1b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x18
mov edi, edx
mov esi, ecx
call fcn.004d8b0d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4b1a80
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
call fcn.004e99a3
add esp, 0x10
cmp eax, 0xffffffff
je 0x4b1b74
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x18
push ebx
call fcn.004d8b3d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4b1c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x18
mov edi, edx
mov esi, ecx
call fcn.004d8b0d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4b1b90
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
call fcn.004e99a3
add esp, 0x10
cmp eax, 0xffffffff
je 0x4b1cb4
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x18
push ebx
call fcn.004d8b3d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4b1d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a4eb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
push 0x34
call fcn.004d8b0d
mov ebx, eax
add esp, 4
lea edi, [ebx + 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x10], esi
mov esi, ecx
mov dword [ebx + 8], 0
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b1de0
sub esi, edx
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x1c], edx
cmp esi, edx
ja 0x4b1e1c
mov dword [ebp - 0x14], edi
mov eax, edi
cmp edx, 0x10
jb 0x4b1e02
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
push esi
push ecx
push eax
mov dword [edi + 0x10], esi
call fcn.004e57f0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4b1eff
cmp esi, 0x7fffffff
ja 0x4b1f5d
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4b1e3c
mov ecx, 0x7fffffff
jmp 0x4b1e60
mov eax, edx
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x14]
cmp edx, eax
jbe 0x4b1e56
mov ecx, 0x7fffffff
jmp 0x4b1e60
mov eax, dword [ebp - 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x10], ecx
cmp edx, 0x1000
jb 0x4b1e9a
lea eax, [edx + 0x23]
or ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.004d8b0d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4b1f62
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x10]
jmp 0x4b1eae
test edx, edx
je 0x4b1eac
push edx
call fcn.004d8b0d
mov ecx, dword [ebp - 0x10]
add esp, 4
jmp 0x4b1eae
xor eax, eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ecx
call fcn.004e4fd0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov byte [eax + esi], 0
cmp ecx, 0x10
jb 0x4b1efd
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4b1ef0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1f62
mov eax, edx
push ecx
push eax
call fcn.004d8b3d
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x4b1cd0
mov dword [ebx + 0x30], eax
call fcn.004e99a3
add esp, 0xc
cmp eax, 0xffffffff
je 0x4b1f3f
push 0
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, ebx
call fcn.0045e810
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00451820
call fcn.004ea5bf
int3
Function at 0x4b2670
Capabilities:
Change the wallpaper
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
mov esi, edx
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.control_paneldesktop
push 0x80000001
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
test esi, esi
mov ecx, 0x545954
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, 0x545958
cmove eax, ecx
push eax
push 1
push 0
push 0x5458ec
push dword [ebp - 0x620]
call esi
push 4
test edi, edi
mov ecx, 0x545954
mov eax, 0x5458e8
cmove eax, ecx
push eax
push 1
push 0
push str.TileWallpaper
push dword [ebp - 0x620]
call esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x61c]
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x4b3ba0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5753a4]
push esi
mov esi, ecx
test eax, eax
je 0x4b3c43
test esi, esi
je 0x4b3c13
call fcn.00472f00
test eax, eax
jne 0x4b3c07
cmp dword [0x5bf914], eax
je 0x4b3bed
push 0x25
push eax
push eax
push dword [0x5bf8f0]
push dword [0x5bf8ec]
push eax
push dword [0x575080]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x5bf8f0]
call fcn.004749d0
push 1
push dword [0x575080]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x575080]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x5bf914], 0
jmp 0x4b3c21
push 0
push dword [0x575080]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x5bf8e0], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp eax, dword [0x575080]
mov eax, dword [0x5753a4]
sete cl
mov dword [0x574f18], ecx
pop esi
ret
Function at 0x4b4840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x34], 0xffffffff
jne 0x4b4857
mov eax, 0x80070006
pop esi
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [esi + 0x44]
push ebx
mov ebx, edx
add ebx, dword [esi + 0x38]
mov dword [ebp + 8], ebx
adc eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
add ebx, dword [esi + 0x48]
adc ecx, dword [esi + 0x4c]
cmp eax, ecx
jb 0x4b4888
ja 0x4b487f
cmp dword [ebp + 8], ebx
jbe 0x4b4888
mov edx, dword [esi + 0x40]
sub edx, dword [esi + 0x38]
add edx, dword [esi + 0x48]
mov ebx, dword [ebp + 0x14]
push 0
push ebx
push edx
push dword [ebp + 0xc]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b48b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4b48c2
movzx eax, ax
pop ebx
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
mov eax, dword [ebx]
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], 0
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4bb960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a69e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x55b2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004bd560
mov dword [ebp - 4], 0
lea eax, [esi + 0x98]
mov dword [esi], vtable.YCMFPlayer.1.0
mov dword [esi + 8], vtable.YCMFPlayer.0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0x3f800000
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
push 0x102
push eax
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [ebp - 0x14], eax
call fcn.004da685
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov word [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 0
mov dword [esi + 0x58], 0x80
mov byte [esi + 0x5c], 0
mov dword [esi + 0x60], 0x3f800000
mov dword [esi + 0x64], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4cebb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ecx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
test ebx, ebx
jle 0x4cebed
nop
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x53c6b0]
cmp esi, ebx
jl 0x4cebd0
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0xc]
xor esi, esi
test ebx, ebx
jle 0x4cec1d
mov edi, dword [ecx + 8]
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x53c6b0]
cmp esi, ebx
jl 0x4cec00
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d2780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x988]
mov edi, ecx
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d286c
push 1
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004ac3d0
push 1
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004ac450
add esp, 0x18
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [edi + 0x634]
call fcn.004d3080
test eax, eax
je 0x4d286c
push ebx
lea ecx, [ebp - 0x370]
lea ebx, [edi + 0x1c]
mov eax, ecx
mov edx, ebx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4d2811
lea edx, [ebp - 0x64]
lea ecx, [edi + 0x328]
mov eax, edx
mov esi, ecx
sub esi, eax
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x4d2830
push ecx
push ebx
lea ecx, [edi + 0x634]
mov dword [edi + 0x14], 0
call fcn.004d3170
pop ebx
mov dword [edi + 0x18], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret 8

Function at 0x4d2b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d2baa
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret 8