joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1150
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521116
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x565300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
push 0x525380
push edi
mov dword [ebp - 4], 0
call fcn.004ca710
add esp, 8
push dword [edi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4e11c7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [edi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00403fb0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
push str.path
push str.output
mov dword [ebp - 4], 1
lea ecx, [esi + 8]
call fcn.004a6f30
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004e2040
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00403280
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e123f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4e129f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [edi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4e129f
lea eax, [ebp - 0x18]
push 0x525380
push eax
call fcn.004ca710
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00403280
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4e129f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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 4
Function at 0x4ecef0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x565300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4ed081
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.xundupdf_screencapture
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004037a0
test al, al
jne 0x4ecf59
push 0x16
push str.xundupdf_screencapture
lea ecx, [ebp - 0x10]
call fcn.00403c10
mov edi, dword [0x568c58]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [edi - 0xc]
test ecx, ecx
jle 0x4ed029
mov ebx, dword [esi - 0xc]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x1c], ebx
sar eax, 1
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x4ecf8e
xor edx, edx
mov dword [ebp - 0x14], edx
jmp 0x4ecf9e
push ecx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
cmp ecx, ebx
jl 0x4ed08b
add ebx, edx
js 0x4ed08b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4ecfd5
push ebx
lea ecx, [ebp - 0x10]
call fcn.004039e0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
ja 0x4ecfe2
lea edi, [esi + eax*2]
lea eax, [esi + ecx*2]
add edx, edx
je 0x4ed01b
test eax, eax
je 0x4ed009
push edx
test edi, edi
je 0x4ecffe
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4ed01b
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi - 8]
jg 0x4ed08b
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
push esi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4ed04c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4ed04c
mov edi, 1
jmp 0x4ed04e
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ed06d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0x80004005
call fcn.00404110
push 0x80070057
call fcn.00404110
int3
Function at 0x4ed710
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x210]
test esi, esi
jne 0x4ed871
xor esi, esi
test eax, eax
je 0x4ed79c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edi
test esi, esi
jne 0x4ed871
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x4ed837
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x210]
call fcn.004ed710
mov esi, eax
test esi, esi
jne 0x4ed86b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x214], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x210]
call edi
test eax, eax
je 0x4ed7f0
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4ed84e
push eax
call ebx
mov dword [ebp - 0x210], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x20c], 0
call fcn.004ecc60
mov esi, eax
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4ed878
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4edbe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52204b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x565300]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4edc8c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x4edc8c
call fcn.004ec9b0
mov edi, eax
jmp 0x4eddab
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4edcaf
call fcn.004ec9b0
jmp 0x4edd9e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4edccd
call fcn.004ec9b0
jmp 0x4edd9e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4edcee
mov edi, 0x8007000e
jmp 0x4edda0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4edde4
jb 0x4edd0c
cmp eax, 0xffffffff
ja 0x4edde4
cmp eax, 0x400
jbe 0x4edd21
push eax
lea ecx, [ebp - 0x418]
call fcn.004ec8d0
jmp 0x4edd47
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4edd47
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4edd5e
mov edi, 0x8007000e
jmp 0x4edda0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4edd7e
call fcn.004ec9b0
jmp 0x4edd9e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004eda40
mov edi, eax
test esi, esi
je 0x4eddab
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4eddc4
lea ecx, [ebp - 0x418]
call fcn.004ecdb0
mov eax, edi
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.0050ea5d
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404110
int3
Function at 0x4f0e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
call fcn.004f02d0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4f0f82
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4f0eb0
sub edx, esi
sar edx, 1
je 0x4f0f82
push edi
mov edi, dword [ebp + 8]
push 0x83e
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x4f0f2a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4f0f2a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0xc]
pop edi
test eax, eax
je 0x4f0f82
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push 1
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4f0f82
cmp dword [ebp + 0xc], eax
je 0x4f0f82
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x4f0f7d
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
push edx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4f0f7f
xor esi, esi
mov dword [ebx + 0x14], esi
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x4f0fda
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x4f0fa3
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 4], eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4f0fc6
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
xor eax, eax
cmp dword [ebx + 4], eax
pop esi
setg al
pop ebx
pop ebp
ret 0xc
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x4f1000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 8]
mov edi, 0xfa000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 4], ecx
cmp ecx, 0xffffffff
jne 0x4f1038
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 0xfa000
mov eax, esi
push 0
cmovae eax, edi
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4f1086
cmp edi, esi
je 0x4f1071
mov ecx, dword [ebp - 4]
sub esi, 0xfa000
add ebx, edi
jmp 0x4f1040
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4f2490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x4f24a6
push 0x83e
jmp 0x4f24a7
push eax
push dword [ebp + 8]
push dword [0x568650]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4f25c4
push esi
push dword [0x568650]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x4f25c4
push edi
push esi
push dword [0x568650]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [ebp + 0xc]
pop edi
test esi, esi
je 0x4f25c4
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4f2576
cmp dword [ebp + 8], ebx
je 0x4f2576
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x4f2574
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], eax
jmp 0x4f2576
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x4f25c4
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 8], 0
test eax, eax
jne 0x4f25b1
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x4f25b1
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f2980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4f29b8
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
lea ecx, [esi + 0x28]
call fcn.00505800
push dword [esi + 4]
lea ecx, [esi + 0x28]
call fcn.00505180
cmp dword [section..data], 0
mov ecx, 0x5283d4
push 0xd
mov eax, str.IDB_PNG2
cmove eax, ecx
lea ecx, [esi + 0x28]
push eax
push dword [0x568650]
call fcn.005055c0
cmp dword [0x568a78], 0
mov eax, dword [0x568c54]
je 0x4f2a2e
cmp dword [eax - 0xc], 0
jne 0x4f2a27
mov eax, dword [esi + 0xdc]
mov ecx, 0x55e668
test eax, eax
mov edx, 0x55b4e8
cmovne edx, ecx
xor ecx, ecx
test eax, eax
setne cl
add ecx, 0xc
jmp 0x4f2a76
mov ecx, 0x561c08
jmp 0x4f2a5a
cmp dword [eax - 0xc], 0
jne 0x4f2a55
mov eax, dword [esi + 0xdc]
mov ecx, 0x5551e8
test eax, eax
mov edx, 0x552068
cmovne edx, ecx
xor ecx, ecx
test eax, eax
setne cl
add ecx, 0xc
jmp 0x4f2a76
mov ecx, 0x558788
mov eax, dword [0x568c14]
mov edx, 0x564968
test eax, eax
mov ebx, 2
cmove edx, ecx
mov ecx, 0xb
cmovne ecx, ebx
push ecx
push edx
lea ecx, [esi + 0x28]
call fcn.00505680
push 6
push 0x1b
push eax
push 0
mov dword [esi + 0xc4], eax
push 0
push 0
push dword [esi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x1b
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x28]
call fcn.005057e0
push 1
lea ecx, [esi + 0x28]
call fcn.00505810
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
mov dword [esi + 0xd8], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4f4670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx + 0x228], eax
je 0x4f4838
mov dword [ebx + 0x228], eax
push esi
cmp eax, 1
je 0x4f4774
cmp eax, 3
je 0x4f4774
cmp eax, 2
jne 0x4f482a
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x22c]
call esi
push 5
push dword [ebx + 0x230]
call esi
push 0
lea ecx, [ebx + 0x3c]
call fcn.00505810
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 4
push 0xc8
push 0x3c
push 7
push 0x1e
push 0
push dword [ebx + 0x230]
call esi
push 4
push 0xc8
push 0x2b
push 7
push 0x64
push 0
push dword [ebx + 0x22c]
call esi
movaps xmm0, xmmword [0x528530]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x174]
movups xmmword [ebp - 0x14], xmm0
call fcn.005057e0
movaps xmm0, xmmword [0x5284e0]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0xd8]
movups xmmword [ebp - 0x24], xmm0
call fcn.005057e0
push 0x22
push 0xb2
push 5
push 0x96
lea eax, [ebx + 0x214]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 6
push 0x27
push 0x144
push 0
push 0
push 0
push dword [ebx + 4]
call esi
jmp 0x4f482a
push edi
push 1
lea ecx, [ebx + 0x3c]
call fcn.00505810
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x22c]
call esi
push 0
push dword [ebx + 0x230]
call esi
movaps xmm0, xmmword [0x528520]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x174]
movups xmmword [ebp - 0x24], xmm0
call fcn.005057e0
movaps xmm0, xmmword [0x5284d0]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xd8]
movups xmmword [ebp - 0x14], xmm0
call fcn.005057e0
push 0x22
push 0x76
push 5
push 0x5a
lea eax, [ebx + 0x214]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
lea ecx, [ebx + 0x3c]
cmp dword [ebp + 8], 1
push 1
setne al
add eax, 0x500
push eax
call fcn.00503f00
push 6
push 0x27
push 0x108
push 0
mov ecx, 1
mov eax, 0xa
cmp dword [ebp + 8], ecx
push 0
push 0
push dword [ebx + 4]
cmove eax, ecx
mov dword [ebx + 0x224], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 4

Function at 0x4f4cb0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x568c88]
test eax, eax
je 0x4f4cc4
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4f6880
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4f68ed
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x4f68dd
cmp eax, 4
jne 0x4f68ed
cmp dword [ebp - 0x110], 0x5a
jb 0x4f68ed
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret

Function at 0x4f6990
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f69c3
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
call fcn.004f6c40
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4f69d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.Preferred_DropEffect
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4f69f1
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 4
push 0x2042
call ebx
mov edi, eax
test edi, edi
je 0x4f6abf
mov eax, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 4], eax
call eax
test eax, eax
je 0x4f6abf
mov ecx, dword [ebp + 0xc]
neg ecx
push esi
sbb ecx, ecx
add ecx, 2
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
mov dword [ebp + 0xc], eax
call eax
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f6a40
sub ecx, edx
lea eax, [ecx + 0x16]
push eax
push 0x2042
call ebx
mov ebx, eax
test ebx, ebx
je 0x4f6abe
push ebx
call dword [ebp - 4]
mov ecx, eax
mov dword [ecx], 0x14
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi + 0x13], al
test al, al
jne 0x4f6a84
push ebx
call dword [ebp + 0xc]
mov eax, dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
push 0xf
call esi
push edi
push dword [ebp - 0xc]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8