joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b7c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x696fa1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, dword [esp + 0x274]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, vtable..0
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b860
sub ecx, edx
sar ecx, 1
push ecx
push vtable..0
lea ecx, [esp + 0x14]
call fcn.00409260
mov dword [esp + 0x26c], 0
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
cmp word [esp + 0x54], ax
jne 0x49b8bb
xor ecx, ecx
jmp 0x49b8d1
lea ecx, [esp + 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b8c2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409260
mov byte [esp + 0x26c], 1
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0041eff0
add esp, 0xc
mov byte [esp + 0x26c], 3
cmp dword [esp + 0x38], 8
jb 0x49b91a
push dword [esp + 0x24]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x26c], 4
cmp dword [esp + 0x20], 8
jb 0x49b94c
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
call fcn.004261a0
test al, al
jne 0x49b974
xor bl, bl
jmp 0x49b981
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.0049abb0
mov bl, al
mov dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x49b99f
push dword [esp + 0x3c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
mov al, bl
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.005472b9
add esp, 0x264
ret 4
Function at 0x49bfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6879b1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x44]
push ecx
push esi
call fcn.0049c0b0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x49c08e
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push ecx
push eax
call fcn.0049c0b0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x49c05f
cmp dword [esi + 0x14], 8
jb 0x49c044
push dword [esi]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00408e30
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x49c077
push dword [esp + 0x10]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x49ce30
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x69723b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [esp + 0x14], 0
call fcn.00547bd8
add esp, 4
mov dword [esp + 0x10], eax
mov byte [eax], 0
lea eax, [esp + 0x14]
push 0x11c
push 0
push eax
call fcn.00549c70
add esp, 0xc
mov dword [esp + 0x14], 0x11c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49cebe
cmp dword [esp + 0x18], 6
mov eax, dword [esp + 0x10]
setae cl
mov byte [eax], cl
mov dword [esp + 0x140], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x14]
call fcn.00435800
test al, al
je 0x49cef1
lea ecx, [esp + 0x10]
call fcn.00434a40
test al, al
jne 0x49cef1
xor bl, bl
jmp 0x49cf8f
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.0041d4f0
test al, al
jne 0x49cf15
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49cf10
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.0041d4f0
test al, al
jne 0x49cf3c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49cf37
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.0041d4f0
test al, al
jne 0x49cf63
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49cf5e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.0041d4f0
test al, al
jne 0x49cf8a
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49cf85
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00434180
mov al, bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005472b9
add esp, 0x134
ret
Function at 0x4a03c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6979c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
push eax
mov dword [esp + 0x18], eax
call fcn.004a0620
mov edi, eax
cmp edi, ebx
jne 0x4a0502
cmp dword [edi + 8], 0
je 0x4a0481
mov dword [esp + 0x18], esi
test esi, esi
je 0x4a0428
mov eax, dword [esi]
test eax, eax
je 0x4a0428
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
call fcn.00435c80
mov ecx, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [eax], ecx
test esi, esi
je 0x4a045b
mov eax, dword [esi]
test eax, eax
je 0x4a0455
push eax
call edi
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x4a0520
mov eax, dword [esi]
test eax, eax
je 0x4a0474
push eax
call edi
mov dword [esp + 0x18], 0
jmp 0x4a0520
mov dword [esp + 0x10], esi
test esi, esi
je 0x4a0496
mov eax, dword [esi]
test eax, eax
je 0x4a0496
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 1
cmp dword [esi + 8], 0
je 0x4a04d4
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 4]
call fcn.00435fd0
mov eax, dword [esi + 4]
cmp dword [esp + 0x18], eax
je 0x4a04d4
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
call fcn.004a0a10
mov eax, dword [esi]
test eax, eax
je 0x4a04e1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 4]
mov dword [esp + 0x14], 0
push 0xfffffffffffffffc
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0x28], 0xffffffff
jmp 0x4a0520
cmp dword [edi + 8], ebx
lea eax, [edi + 8]
je 0x4a051a
lea ebx, [ebx]
mov edi, dword [eax]
cmp dword [edi + 8], ebx
lea eax, [edi + 8]
jne 0x4a0510
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005472b9
add esp, 0x1c
ret 4
Function at 0x4a4620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69848b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x4a4693
push 0x10
call fcn.004ca65e
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4a4686
push 0x4a1f30
push fcn.004a1f20
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.00551db8
jmp 0x4a4688
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x4a46a7
cmp byte [ecx + eax - 1], 0xa
jne 0x4a46a7
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.004a1f40
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x4a8890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x698c00
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x44], 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
movq qword [esp + 0xc], xmm0
cmp eax, edx
je 0x4a8935
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.004045a0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esi + 0x14]
call fcn.004a8cf0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0040d250
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005472b9
add esp, 0x3c
ret 0xc
Function at 0x4ac660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6886c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x4ac69c
xor esi, esi
jmp 0x4ac6aa
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ac6a1
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004acfb0
push eax
mov ecx, edi
call fcn.0040c720
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4b3460
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4b346b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004b3480
Function at 0x4b8710
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
call fcn.0054ab3d
add eax, 0x40
push eax
call fcn.0066c1f8
add esp, 0xc
push 0x6f64fc
call fcn.0054ab3d
add eax, 0x40
push eax
call fcn.0066c1f8
add esp, 8
test esi, esi
je 0x4b8764
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4b8764
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4b8764
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4c3430
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c3518
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4c3511
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebx]
cmp dword [ebp - 0x20], 0x10
jb 0x4c34f6
call ebx
cmp dword [ebp - 0x14], eax
jne 0x4c34f6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x4c34f6
mov ecx, dword [esi]
test ecx, ecx
jne 0x4c34bf
push 0x200
push ecx
push dword [0x74f2b4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x4c3510
jmp 0x4c34e8
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x4c34e8
shl eax, 3
push eax
push ecx
push 0
push dword [0x74f2b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x4c3510
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4c3480
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005472b9
mov esp, ebp
pop ebp
ret

Function at 0x4c3530
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004c3430
cmp dword [edi], 0
je 0x4c359c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x4c359b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x4c3594
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.004c32c0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x4c3561
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4c35b0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x4c35fc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x4c35eb
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x4c35e4
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x4c35c1
pop ebx
push dword [edi]
push 0
push dword [0x74f2b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret

Function at 0x4c3600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
imul edi, ecx, 0x2c
mov ebx, 5
add edi, dword [0x750f10]
test byte [edi + 0x14], 1
mov esi, dword [edi]
je 0x4c3624
sub esi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4c3642
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi], 0xe9
mov eax, dword [edi + 4]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
test byte [edi + 0x14], 1
je 0x4c365d
mov eax, dword [edi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [edi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c3690
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x750f18]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x4c376d
mov eax, dword [0x750f10]
add eax, 0x14
test byte [eax], 2
je 0x4c36ca
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x4c36b5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x4c376d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004c3530
mov ecx, dword [0x750f18]
add esp, 4
cmp esi, ecx
jae 0x4c371b
imul edi, esi, 0x2c
mov eax, dword [0x750f10]
test byte [edi + eax + 0x14], 2
jne 0x4c3710
mov ecx, esi
call fcn.004c3600
mov ebx, eax
test ebx, ebx
jne 0x4c3718
mov ecx, dword [0x750f18]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x4c36f1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c376c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x4c375d
mov ebx, eax
jmp 0x4c3730
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x4c3751
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x4c3730
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x74f2b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3e10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x750f0c]
test eax, eax
je 0x4c3e2c
lea esp, [esp]
cmp dword [eax + 4], 0
jne 0x4c3e86
mov eax, dword [eax]
test eax, eax
jne 0x4c3e20
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x4c3e84
push esi
lea edx, [ecx + 0x20]
mov dword [ecx + 4], 0
mov esi, edx
mov dword [ecx + 8], 0
sub esi, ecx
lea esp, [esp]
mov eax, dword [ecx + 4]
add esi, 0x20
mov dword [edx], eax
mov dword [ecx + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x4c3e60
mov eax, dword [0x750f0c]
mov dword [ecx], eax
mov dword [0x750f0c], ecx
pop esi
mov eax, ecx
ret
Function at 0x4ca410
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x73d6e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov word [ebp - 0xc], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4ca482
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
Function at 0x4cf240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x699901
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [esp + 0x1c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [esp + 0x1c], 1
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov byte [esp + 0x1c], 2
mov dword [edi + 0x30], 0
mov byte [esp + 0x1c], 3
mov dword [edi + 0x34], 0
mov byte [esp + 0x1c], 4
mov dword [edi + 0x38], 0
mov byte [esp + 0x1c], 5
mov dword [edi + 0x3c], 0
mov byte [esp + 0x1c], 6
lea esi, [edi + 0x58]
mov byte [edi + 0x40], 0
mov ecx, esi
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 0
mov byte [edi + 0x54], 1
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0051bd40
mov dword [esi], eax
mov byte [esp + 0x1c], 0xb
push 0xb8
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xc
test esi, esi
je 0x4cf34f
push 0xb8
push 0
push esi
call fcn.00549c70
add esp, 0xc
mov ecx, esi
call fcn.004e27e0
jmp 0x4cf351
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x38], eax
test ecx, ecx
je 0x4cf366
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [edi]
mov ecx, dword [edi + 0x38]
call fcn.004ddca0
push 0xb8
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xd
test esi, esi
je 0x4cf3a5
push 0xb8
push 0
push esi
call fcn.00549c70
add esp, 0xc
mov ecx, esi
call fcn.004e27e0
jmp 0x4cf3a7
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x4cf3bc
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [edi]
mov ecx, dword [edi + 0x3c]
call fcn.004ddca0
push 0x48
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xe
test esi, esi
je 0x4cf403
push 0x48
push 0
push esi
call fcn.00549c70
add esp, 0xc
mov ecx, esi
call fcn.004e0820
jmp 0x4cf405
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov esi, dword [edi + 0x30]
mov dword [edi + 0x30], eax
test esi, esi
je 0x4cf424
mov ecx, esi
call fcn.004e08e0
push esi
call fcn.005472b4
add esp, 4
push 0x34
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xf
test esi, esi
je 0x4cf453
push 0x34
push 0
push esi
call fcn.00549c70
add esp, 0xc
mov ecx, esi
call fcn.004e0a30
jmp 0x4cf455
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov esi, dword [edi + 0x34]
mov dword [edi + 0x34], eax
test esi, esi
je 0x4cf474
mov ecx, esi
call fcn.004e0ad0
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4d00b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x699af8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x4d01af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x4d01af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4d01af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004da100
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4d01af
movdqu xmm0, xmmword [esp + 0x2c]
movdqu xmmword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004d1c60
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4d022e
push ebx
call fcn.004e4a60
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x4d]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004e47f0
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d0202
push dword [eax + 0xc]
call fcn.004df430
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x4d0212
mov ecx, esi
call fcn.004d0030
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004e49d0
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.004e5120
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005472b9
add esp, 0x50
ret 4