joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4ac0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab9d4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
call fcn.004e7a50
mov dword [ebp - 4], 0
mov dword [esi], vtable.tTVPTimerThread.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
push ecx
lea ecx, [esi + 0x30]
call fcn.004e7cc0
mov byte [ebp - 4], 3
lea eax, [esi + 0x78]
push eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], vtable.NativeEventQueue_class_tTVPTimerThread_.0
mov dword [esi + 0x70], 0x4e5070
mov dword [esi + 0x74], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
xor eax, eax
cmp byte [0x77b0b9], al
mov byte [esi + 0x2c], 0
sete al
lea eax, [eax*2 + 3]
cmp eax, 6
ja 0x4e4b89
push eax
push 0
mov ecx, esi
call fcn.004e7bf0
jmp 0x4e4b94
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x38]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 8]
call edi
cmp eax, 1
jg 0x4e4ba3
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e7750
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6abe28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e788d
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00426990
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x1c]
inc ebx
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x4e77e2
mov ecx, dword [0x7894b8]
mov eax, dword [0x7894bc]
test eax, eax
cmovne ecx, eax
call fcn.00452890
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4e7804
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
push ebx
push ecx
push ebx
push eax
call fcn.00638eb4
add esp, 0x10
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call ebx
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 0x34], 0
mov eax, dword [edi]
test eax, eax
je 0x4e7826
mov eax, dword [eax + 0x34]
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4e77cd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4e7861
mov ecx, edi
call fcn.00401490
mov edx, eax
mov ecx, dword [ebp - 0x38]
call fcn.00496890
push esi
call ebx
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401930
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret
Function at 0x4e78e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6abe00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4e792d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0xd
mov dword [ebp - 0x24], 1
push 2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
cmp eax, 0xd
jne 0x4e79df
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4e79ac
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4e79ac
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00401430
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00402510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401470
mov bl, 1
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4e79ac
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4e79ac
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4e79ac
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.004024d0
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00402510
mov byte [ebp - 4], 4
jmp 0x4e7991

Function at 0x4e7a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6abe58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 4
push esi
push 0x4e7b40
push 0
push 0
mov dword [esi], vtable.tTVPThread.0
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [eax], 0
mov byte [esi + 0x10], 1
call fcn.00638f58
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x4e7ae8
call fcn.004df4c0
mov esi, eax
push 0x700a04
mov ecx, esi
call fcn.004177e0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [0x7896b4]
mov ecx, dword [0x7896b0]
test eax, eax
cmovne ecx, eax
push 0x25
lea edx, [ebp - 0x10]
call fcn.00452920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4e7ca0
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, ecx
lea ebx, [ebx]
push dword [esi + 8]
call edi
cmp eax, 1
jg 0x4e7cb0
pop edi
pop esi
ret
Function at 0x4e7df0
Capabilities:
Create thread
Get system information on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov dword [0x796c20], ecx
mov ecx, dword [0x772ce8]
sub esp, 0x34
mov dword [0x796c1c], 0
test ecx, ecx
jne 0x4e7e2d
mov ecx, dword [0x796e58]
test ecx, ecx
jne 0x4e7e2d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov dword [0x796e58], ecx
cmp ecx, 8
mov eax, 0x6f7c1c
lea edx, [ebp - 4]
cmovle eax, edx
push ebx
mov dword [ebp - 4], ecx
mov ebx, dword [eax]
mov eax, dword [0x789f68]
dec ebx
push esi
push edi
mov dword [ebp - 0xc], ebx
cmp eax, dword [0x789f6c]
jne 0x4e7eb8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edi
mov eax, 1
shl eax, cl
test dword [ebp - 8], eax
je 0x4e7e8d
lea eax, [ebp - 4]
push eax
mov ecx, 0x789f68
call fcn.0047ea70
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x20
jl 0x4e7e70
mov eax, dword [0x789f68]
cmp eax, dword [0x789f6c]
jne 0x4e7eb8
lea eax, [ebp - 4]
push eax
mov ecx, 0x789f68
mov dword [ebp - 4], 0x20
call fcn.004953e0
mov ecx, dword [0x789f5c]
mov edx, dword [0x789f58]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebx
jge 0x4e7f64
push 0x10
call fcn.006341f8
mov esi, eax
add esp, 4
test esi, esi
je 0x4e7ef1
xorps xmm0, xmm0
movq qword [esi], xmm0
movq qword [esi + 8], xmm0
jmp 0x4e7ef3
xor esi, esi
push 0
push 4
push esi
push 0x4e7d90
push 0
push 0
mov dword [ebp - 4], esi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [esi + 4], edi
mov eax, dword [0x789f5c]
sub eax, dword [0x789f58]
mov esi, dword [0x789f68]
mov ecx, dword [0x789f6c]
sub ecx, esi
sar eax, 2
sar ecx, 2
xor edx, edx
div ecx
mov eax, dword [esi + edx*4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
lea eax, [ebp - 4]
push eax
call fcn.004e8080
mov ecx, dword [0x789f5c]
mov edx, dword [0x789f58]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebx
jl 0x4e7ed3
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebx
jle 0x4e7fc2
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4e7f80
mov esi, dword [ecx - 4]
push dword [esi + 4]
mov byte [esi], 1
call edi
test eax, eax
jne 0x4e7f9d
nop
push 0
call ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x4e7f90
mov edx, dword [0x789f58]
mov ecx, dword [0x789f5c]
cmp edx, ecx
je 0x4e7fb6
sub ecx, 4
mov dword [0x789f5c], ecx
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, dword [ebp - 0xc]
jg 0x4e7f80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e7fd0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [0x796c20]
push esi
mov esi, dword [0x796c1c]
dec eax
push edi
mov edi, ecx
cmp esi, eax
jl 0x4e7fed
push edx
call edi
add esp, 4
pop edi
pop esi
ret
mov eax, dword [0x789f58]
mov ecx, esi
inc esi
mov dword [0x796c1c], esi
mov esi, dword [eax + ecx*4]
push ebx
push 0x77c2cc
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
call ebx
test eax, eax
jne 0x4e8032
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push dword [esi + 4]
call ebx
test eax, eax
je 0x4e8025
pop ebx
pop edi
pop esi
ret

Function at 0x4ea810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac2ae
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.TJS::tTJSNativeInstance.0
mov dword [ebp - 4], 0
lea eax, [ecx + 4]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.tTVPLayerTreeOwner.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 1
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 2
mov dword [ecx], vtable.tTJSNI_BitmapLayerTreeOwner.1.0
mov dword [eax], vtable.tTJSNI_BitmapLayerTreeOwner.0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ece80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac680
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov word [esi + 0x30], 0
mov dword [esi + 4], 1
mov dword [esi], 0
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov ebx, dword [ebp + 0x1c]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], 0x41
mov cl, byte [ebp + 0x24]
mov byte [esi + 0x32], cl
test eax, eax
je 0x4ecfb4
test ebx, ebx
je 0x4ecfb4
mov dword [ebp - 4], 0
test cl, cl
je 0x4ecf6b
shl eax, 2
mov dword [ebp + 0x24], eax
dec eax
and eax, 0xfffffff8
add eax, 8
mov dword [esi + 0x18], eax
imul eax, ebx
push eax
call fcn.00632c9c
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax*4]
mov dword [ebp + 0x18], ecx
xor edi, edi
mov dword [ebp - 0x14], edi
cmp edi, ebx
jae 0x4ecfad
push dword [ebp + 0x24]
mov eax, edi
imul eax, ecx
add eax, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x18]
imul eax, edi
add eax, dword [esi]
push eax
call fcn.0063a5b0
add esp, 0xc
inc edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0x18]
jmp 0x4ecf41
dec eax
and eax, 0xfffffff8
add eax, 8
mov dword [esi + 0x18], eax
imul eax, ebx
push eax
call fcn.00632c9c
add esp, 4
mov dword [esi], eax
xor edi, edi
mov dword [ebp - 0x18], edi
cmp edi, ebx
jae 0x4ecfad
push dword [ebp + 0x18]
mov eax, edi
imul eax, dword [ebp + 0xc]
add eax, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x18]
imul eax, edi
add eax, dword [esi]
push eax
call fcn.0063a5b0
add esp, 0xc
inc edi
jmp 0x4ecf85
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4ef0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac888
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi], 0
jne 0x4ef248
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push 0x572d30
push 0
push esi
call dword [sym.imp.GDI32.dll_EnumFontsW]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
test ebx, ebx
jle 0x4ef20b
lea eax, [edi + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
xor edi, edi
add esi, edi
cmp dword [esi + 0x14], 8
jb 0x4ef1a3
mov edx, dword [esi]
jmp 0x4ef1a5
mov edx, esi
movzx ecx, word [edx]
test cx, cx
jne 0x4ef1b1
xor ecx, ecx
jmp 0x4ef1ed
xor eax, eax
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
lea edx, [edx + 2]
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x4ef1b3
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
mov eax, 0xffffffff
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push ecx
push esi
mov ecx, eax
call fcn.004efa10
add edi, 0x18
dec ebx
je 0x4ef208
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
jmp 0x4ef197
mov edi, dword [ebp - 0x18]
mov byte [edi], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4ef248
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push ecx
call fcn.00417660
push dword [ebp - 0x24]
call fcn.00633f98
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
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 0x4f1e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ad458
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
test eax, eax
je 0x4f1e51
inc dword [eax]
mov edi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x78a9a0]
mov esi, dword [0x78a99c]
mov ecx, ebx
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4f1ef6
lea edi, [ebx - 0xc]
cmp edi, esi
jb 0x4f1ef3
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 8]
jne 0x4f1eb5
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 4]
jne 0x4f1eb2
push edi
lea ecx, [ebp - 0x18]
call fcn.00402550
test al, al
jne 0x4f1ebe
mov eax, dword [ebp + 0x10]
sub edi, 0xc
cmp edi, esi
jae 0x4f1e98
jmp 0x4f1ef3
push dword [ebp + 0x10]
lea ecx, [edi + 0xc]
push edi
mov edx, ebx
call fcn.00429b50
mov eax, dword [0x78a9a0]
add esp, 8
push eax
add eax, 0xfffffff4
push eax
call fcn.004282a0
mov ebx, dword [0x78a9a0]
mov esi, dword [0x78a99c]
sub ebx, 0xc
mov dword [0x78a9a0], ebx
mov edi, dword [ebp + 8]
cmp esi, ebx
je 0x4f1f6a
or ebx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
jne 0x4f1f0a
xor ecx, ecx
jmp 0x4f1f52
mov edx, dword [eax + 4]
test edx, edx
jne 0x4f1f14
lea edx, [eax + 8]
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x4f1f3d
mov edi, edi
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
lea edx, [edx + 2]
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x4f1f20
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
test ecx, ecx
cmove ecx, ebx
push esi
push ecx
push esi
mov ecx, 0x789f90
call fcn.004f53f0
add esi, 0xc
cmp esi, dword [0x78a9a0]
jne 0x4f1f00
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4f1f99
mov eax, dword [edi]
test eax, eax
jne 0x4f1f96
mov ecx, edi
call fcn.004df580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
dec eax
mov dword [edi], 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 0xc
Function at 0x516240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6b0a38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x76f950]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x80]
sub eax, dword [esi + 0x78]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x84]
sub eax, dword [esi + 0x7c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push dword [eax + 0x7c]
push dword [eax + 0x78]
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
call fcn.004eea50
mov eax, dword [ebp + 0x10]
test al, al
jne 0x516332
cmp dword [esi + 0x140], 0
je 0x516332
cmp byte [ebp + 0x14], al
je 0x516332
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x1b4]
call fcn.004ee6e0
cmp dword [esi + 0x1bc], 0x3c
jle 0x51632f
lea ecx, [esi + 0x1b4]
call fcn.00509530
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x51634d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00516240
jmp 0x516364
cmp byte [ebp + 0x18], 0
je 0x516364
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x516364
lea eax, [esp + 0x1c]
push eax
call fcn.005296d0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00516180
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], 0
je 0x516393
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x14]
call fcn.004edde0
mov ecx, esi
cmp esi, dword [esp + 0x1c]
jne 0x516383
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5163b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6afbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x80]
sub eax, dword [edi + 0x78]
push dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x84]
sub eax, dword [edi + 0x7c]
lea edx, [esp + 0x18]
mov ecx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
call fcn.004edb10
add esp, 4
test al, al
je 0x516590
mov ebx, dword [ebp + 0xc]
test bl, bl
jne 0x516455
cmp dword [edi + 0x140], 0
je 0x516455
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x1b4]
call fcn.004ee570
cmp dword [edi + 0x1bc], 0x3c
jle 0x516455
lea ecx, [edi + 0x1b4]
call fcn.00509530
cmp dword [edi + 0x20], 0
je 0x516520
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.004ee570
mov edx, dword [edi + 0x20]
mov eax, edx
test eax, eax
je 0x5164cd
jmp 0x5164c0
cmp byte [eax + 0x44], 0
je 0x5164da
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x5164c0
cmp byte [edi + 0x44], 0
je 0x5164da
mov ecx, 1
jmp 0x5164dc
xor ecx, ecx
mov al, byte [edi + 0x44]
push ecx
mov byte [esp + 0x14], al
push dword [esp + 0x14]
lea eax, [esp + 0x2c]
push ebx
push eax
push edi
mov ecx, edx
call fcn.00516240
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x516545
mov ebx, dword [esp + 0x24]
mov ecx, ebx
jmp 0x516510
mov esi, dword [ecx + 0x14]
call fcn.004edde0
mov ecx, esi
cmp esi, ebx
jne 0x516510
jmp 0x516545
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x516545
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.004ee570
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x516545
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x2c]
add esp, 8
mov ecx, dword [edi + 0x200]
test ecx, ecx
je 0x516590
cmp byte [ecx + 0x210], 0
je 0x516590
cmp byte [ecx + 0x212], 0
je 0x516590
cmp dword [ecx + 0x230], 0
push 1
je 0x516586
call fcn.00516710
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x18]
push eax
call fcn.005166b0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x528480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b0ab1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], vtable.tTVPDrawable.0
mov dword [ecx], vtable.tTVPLayerManager.1.0
mov dword [ecx + 4], vtable.tTVPLayerManager.0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x54], 0
mov byte [ecx + 0x64], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 1
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x38], 0
mov dword [ecx + 0x78], 0
mov word [ecx + 0x68], 0x100
mov dword [ecx + 0x6c], 0xffffffff
mov dword [ecx + 0x70], 0xffffffff
mov byte [ecx + 0x75], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4