joyce8/EMBER2024-capa huggingface dataset:
Function at 0x567020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x567054
push edi
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x567054
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x1fe]
push edx
mov word [ebp - 0x200], cx
call fcn.006100a0
mov ecx, dword [esi + 4]
add esp, 0xc
push 0x109
lea eax, [ebp - 0x200]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x314c]
jne 0x5670a7
mov ecx, dword [esi + 0x3114]
push edi
call fcn.004ff820
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3150]
jne 0x5670c3
mov ecx, dword [esi + 0x3118]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3154]
jne 0x5670df
mov ecx, dword [esi + 0x3110]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x315c]
jne 0x5670fb
mov ecx, dword [esi + 0x3140]
push edi
call fcn.004ff820
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3158]
jne 0x567117
mov ecx, dword [esi + 0x313c]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3160]
jne 0x567133
mov ecx, dword [esi + 0x311c]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3174]
jne 0x56714f
mov ecx, dword [esi + 0x312c]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3178]
jne 0x56716b
mov ecx, dword [esi + 0x3130]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3168]
jne 0x567187
mov ecx, dword [esi + 0x3134]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [esi + 0x3148]
jne 0x5671a3
mov ecx, dword [esi + 0x3138]
push edi
call fcn.00555760
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x568340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66133f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
or ebx, 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.00425980
mov byte [ebp - 4], 5
mov dword [esi + 0x40], edi
mov byte [ebp - 4], 6
mov dword [esi + 0x44], edi
mov byte [ebp - 4], 7
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x98], edi
lea ecx, [esi + 0x50]
mov dword [esi + 0x9c], edi
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
push ecx
call edi
lea edx, [esi + 0x80]
push edx
call edi
lea eax, [esi + 0x60]
push eax
call edi
lea ecx, [esi + 0x70]
push ecx
call edi
or dword [esi + 0xac], 0xa808
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x568870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6528a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [esi], vtable.CbannerWnd.0
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x24]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x28]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 8
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x568b50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x568b99
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x568ce9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x568c14
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x568c1b
cmp eax, 4
jne 0x568c14
cmp dword [ebp - 0x14c], 0x5a
jae 0x568c1b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x568cd8
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x568cd8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x568c80
add ecx, 0xfffffedc
jmp 0x568c82
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00566aa0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x568cc7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x568bb6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x56f470
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661ef1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 0x10]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 3
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [ebp - 4], 5
mov byte [esi + 0x3c], bl
mov dword [ebp - 4], 6
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0056bcc0
mov byte [ebp - 4], 7
mov dword [edi + 0xc0], ebx
mov eax, 0x10
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], eax
mov eax, 1
mov dword [edi + 0xcc], 0x18
mov dword [edi + 0xd0], eax
mov byte [edi + 0xd4], al
mov byte [ebp - 4], 8
mov cl, byte [ebp + 8]
mov dl, byte [ebp + 0xc]
mov dword [esi], vtable.CTabbedFrameImpl_class_CSpyChildFrame__class_CDotNetTabCtrl_class_CTabViewTabItem___class_CTabbedMDIChildWindowImpl_class_CSpyChildFrame__class_WTL::CMDIWindow__class_ATL::CWinTraits_1473183744__64___.0
mov byte [esi + 0x118], cl
mov byte [esi + 0x119], dl
mov dword [esi + 0x11c], 0x4002
mov dword [esi + 0x120], ebx
mov dword [esi + 0x110], eax
mov byte [esi + 0x114], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x5701e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x57023f
mov edx, dword [ecx + 0x44]
cmp edx, dword [eax]
jne 0x57023f
mov eax, dword [ecx + 0x64]
test eax, eax
js 0x57023f
cmp eax, dword [ecx + 0x74]
jb 0x570201
xor eax, eax
jmp 0x570207
mov edx, dword [ecx + 0x70]
mov eax, dword [edx + eax*4]
push esi
mov esi, dword [eax + 0x24]
test esi, esi
je 0x57023e
push edi
mov edi, dword [ecx + 0x120]
cmp esi, edi
je 0x57023d
push 0
push 1
mov dword [ecx + 0x120], esi
call fcn.0056d310
test edi, edi
je 0x570236
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0xc
Function at 0x576d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xf060
push esi
mov esi, ecx
jne 0x576da8
cmp dword [esi + 0x319c], 0
jle 0x576da8
push 8
call fcn.00611c8b
push 0
push 0
push eax
push 0x576d20
push 0
push 0
mov dword [eax + 4], 5
mov dword [eax], esi
call fcn.00615455
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x576dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [eax], 1
cmp byte [esi + 0x198], 0
jne 0x576e05
push 8
call fcn.00611c8b
push 0
push 0
push eax
push 0x576d20
push 0
push 0
mov dword [eax + 4], 1
mov dword [eax], esi
call fcn.00615455
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x576e10
Capabilities:
Create thread

Disassembly:
push esi
push 8
mov esi, ecx
call fcn.00611c8b
push 0
push 0
push eax
push 0x576d20
push 0
push 0
mov dword [eax + 4], 3
mov dword [eax], esi
call fcn.00615455
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret 0x10

Function at 0x576e50
Capabilities:
Create thread

Disassembly:
push esi
push 8
mov esi, ecx
call fcn.00611c8b
push 0
push 0
push eax
push 0x576d20
push 0
push 0
mov dword [eax + 4], 4
mov dword [eax], esi
call fcn.00615455
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret 0x10
Function at 0x579410
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662677
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x20]
mov dword [esi], vtable.CSrvUsersDlg.0
call fcn.00425980
mov byte [ebp - 4], 5
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x34]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x38]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x3c]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x40]
mov ecx, 0x700724
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0x58]
mov dword [esi + 0x4c], eax
push 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], edi
call fcn.00611c8b
add esp, 4
cmp eax, edi
je 0x57956f
mov dword [ebx], eax
mov dword [eax], eax
mov ebx, dword [ebx]
mov dword [ebx + 4], ebx
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x64]
call fcn.00412d10
mov byte [ebp - 4], 0x11
lea ebx, [esi + 0x2fac]
mov ecx, ebx
mov dword [ebp + 0x10], ebx
call fcn.00477560
mov byte [ebp - 4], 0x12
lea eax, [ebx + 0x3a4]
mov dword [ebx], vtable.CListCtrlData_unsigned_long_int_.0
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x335c], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x10], edi
call fcn.00610cdf
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
mov byte [ebp - 4], 0xd
push 0x6b9848
lea ecx, [ebp - 0x20]
push ecx
call fcn.0060fb01
int3
Function at 0x57bf00
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push 0x2001f
push esi
push edx
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x57bffc
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp ecx, esi
je 0x57bf6b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x18], ecx
cmp eax, esi
jne 0x57bffc
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x22c]
push eax
push esi
push ecx
mov dword [ebp - 0x1c], 0x100
call edi
test eax, eax
jne 0x57bfde
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0057bf00
mov ebx, eax
cmp ebx, esi
jne 0x57c029
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x18]
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push esi
push edx
mov dword [ebp - 0x1c], 0x100
call edi
test eax, eax
je 0x57bfa2
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x57bfef
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.0057b890
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x57c014
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x57c041
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x57dcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662dbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esi + 4], ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea edi, [esi + 0x24]
push edi
mov byte [edi + 0x10], bl
mov dword [edi + 0x14], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [edi + 0x18], vtable.dockwins::CVC7LikeExCaption::CPinButton.0
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], vtable.dockwins::CVC7LikeExCaption::CCloseButton.0
mov al, byte [edi + 0x10]
cmp al, bl
sete cl
cmp al, cl
je 0x57dd64
mov byte [edi + 0x10], cl
mov ecx, dword [0x7145bc]
add ecx, 5
mov dword [edi + 0x14], ecx
lea eax, [esi + 0x68]
push eax
mov byte [eax + 0x10], 1
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x7c], 8
mov dword [esi + 0x50], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x57e1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x420], ebx
mov byte [ebp - 4], 1
push 2
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, ebx
jne 0x57e24e
call fcn.00416a70
mov esi, eax
jmp 0x57e361
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x57e26d
call fcn.00416a70
jmp 0x57e358
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp + 0x10], ebx
test ebx, ebx
jne 0x57e288
call fcn.00416a70
jmp 0x57e358
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp + 0xc], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x57e2e0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x57e2b9
lea ecx, [ebp - 0x420]
call fcn.004dc950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00487430
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x420]
call fcn.0057c9a0
mov dword [ebp - 4], 1
jmp 0x57e30f
mov eax, dword [ebp - 0x420]
test eax, eax
jne 0x57e320
mov esi, 0x8007000e
jmp 0x57e35a
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x57e339
call fcn.00416a70
jmp 0x57e358
xor ecx, ecx
mov edx, dword [ebp - 0x420]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0057deb0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea edx, [ebp - 0x41c]
cmp dword [ebp - 0x420], edx
je 0x57e37e
lea ecx, [ebp - 0x420]
call fcn.004dc950
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x57fc20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x84], 0
sete al
test al, al
jne 0x57fc8a
mov eax, dword [esi + 4]
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
cmp byte [ebp + 8], 0
mov dword [esi + 0x84], 0
je 0x57fc7c
mov eax, dword [0x714528]
shr eax, 2
test al, 1
je 0x57fc7c
push 0
push 0x64
mov ecx, esi
call fcn.0057f8d0
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret 4
Function at 0x5801e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [eax], 0
cmp dword [esi + 0x84], 0
je 0x58022c
mov ecx, dword [esi + 4]
push edi
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x84]
mov eax, dword [edx + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
mov dword [esi + 0x84], 0
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x581280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
push 0x7ff
lea eax, [ebp - 0xc0b]
push 0
push eax
mov byte [ebp - 0xc0c], 0
call fcn.006100a0
push 0x3ff
lea ecx, [ebp - 0x40b]
push 0
push ecx
mov byte [ebp - 0x40c], 0
call fcn.006100a0
add esp, 0x18
lea edx, [ebp - 4]
push edx
push 1
push 0
push str.SOFTWAREStaffCopLic
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5812e2
xor al, al
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.skey
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x400
call esi
test eax, eax
je 0x581328
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc0c]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.lkey
push edx
mov dword [ebp - 8], 0x800
call esi
test eax, eax
je 0x581360
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x581370
sub eax, edx
push eax
lea ecx, [ebp - 0x40c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e350
lea eax, [ebp - 0xc0c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x581392
mov ecx, dword [ebp + 0xc]
sub eax, edx
push eax
lea edx, [ebp - 0xc0c]
push edx
call fcn.0041e350
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x581c90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x104], 0
je 0x581cd0
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x581cd0
push 0
push 0
push 0x229
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x581cce
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x581cce
push 0
mov ecx, esi
call fcn.00581c50
pop esi
ret
cmp byte [esi + 0xf8], 0
je 0x581cce
lea ecx, [esi + 0x24]
mov byte [esi + 0xf8], 0
call fcn.00503b80
cmp byte [esi + 0xf8], 0
mov ecx, esi
pop esi
je 0x581cf9
jmp fcn.00581970
jmp fcn.005818f0