joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4425
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.005734f0
mov al, byte [ebp + 8]
mov dword [ebp - 4], 0
mov byte [esi + 0x7c], al
mov al, byte [ebp + 0xc]
mov byte [esi + 0x7d], al
mov al, byte [ebp + 0x10]
push 1
mov byte [esi + 0x7e], al
push dword [esi + 0x1f8]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebp + 0x14], 0
mov eax, dword [esi + 0x204]
je 0x524681
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
jmp 0x52468c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x204]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x7d], 0
mov eax, dword [esi + 0x248]
je 0x5246d8
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x7f], 0
lea ecx, [ebp - 0x28]
je 0x5246c7
mov dword [esi + 0x270], 0x8021
push 0x671690
jmp 0x5246e9
mov dword [esi + 0x270], 0x8022
push 0x672e18
jmp 0x5246e9
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x670c70
lea ecx, [ebp - 0x28]
call fcn.00443fb0
push eax
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [esi + 0x7e], 0
mov eax, dword [esi + 0x28c]
je 0x524759
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
mov ecx, esi
call fcn.005241b0
cmp byte [esi + 0x80], 0
lea ecx, [ebp - 0x28]
je 0x524736
mov dword [esi + 0x2b4], 0x8021
push 0x671690
jmp 0x524745
mov dword [esi + 0x2b4], 0x8022
push 0x672e18
call fcn.00443fb0
push eax
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x52476b
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, esi
call fcn.005241b0
lea ecx, [ebp - 0x28]
call fcn.005734b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x524790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x52489f
cmp byte [ebp + 8], 0
jne 0x52489f
push 0
push 0
push 0x1009
push dword [esi + 0x2c4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x2c4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x198]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x204]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x1f8]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x280]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x5248b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4459
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.005734f0
mov al, byte [ebp + 8]
mov dword [ebp - 4], 0
mov byte [esi + 0x81], al
test al, al
je 0x524998
push 0x671690
mov dword [esi + 0x22c], 0x801f
call fcn.00443fb0
push eax
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x84]
push 1
push dword [eax]
push 0x30
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x2c4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x64]
mov ecx, esi
movzx eax, byte [eax + 0x1b8]
push eax
call fcn.00524320
push 1
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x280]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.00524360
jmp 0x524a8e
push 0x672e18
mov dword [esi + 0x22c], 0x8020
call fcn.00443fb0
push eax
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x8c]
push 1
push dword [eax]
push 0x30
push dword [esi + 0x1fc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [esi + 0x2c4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x2c4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x198]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x280]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.005241f0
lea ecx, [ebp - 0x2c]
call fcn.005734b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x5367a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5ce1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x60], 8
lea edi, [ebx + 0x4c]
jb 0x5367d8
mov edi, dword [edi]
test edi, edi
je 0x53681c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*4 + 4]
mov dword [ebp - 0x14], eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x53681c
push 0
push 0
push dword [ebp - 0x14]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x53681e
xor esi, esi
push esi
push str.groupName
lea ecx, [ebx + 0x30]
call fcn.00565290
cmp dword [ebx + 0x78], 8
lea edi, [ebx + 0x64]
jb 0x536837
mov edi, dword [edi]
test edi, edi
je 0x53687b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*4 + 4]
mov dword [ebp - 0x14], eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x53687b
push 0
push 0
push dword [ebp - 0x14]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x53687d
xor esi, esi
push esi
push str.networkName
lea ecx, [ebx + 0x30]
call fcn.00565290
push 0
push 0xffffffffffffffff
push 0xc1
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c5d8d
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x14]
push esi
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x5d90f0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
lea ecx, [ebp - 0x18]
call fcn.0051cad0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x30]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x5368f7
push esi
jmp 0x5368fc
push 0x5d9130
push 0x5e5788
call fcn.00565290
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + eax]
mov eax, edx
test ecx, ecx
je 0x536920
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x536915
push edx
call fcn.004c59d6
add esp, 4
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
test esi, esi
je 0x536941
push esi
call fcn.004c59d6
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x536c60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5d99
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x20], 0x5e64e8
mov dword [edi + 0x98], vtable.CModuleEventCatcher.0
mov dword [edi + 0x9c], esi
push ecx
push 0xf4
push ecx
mov dword [ebp - 0x10], 1
call fcn.0055eb10
mov dword [ebp - 4], 1
lea ecx, [edi + 0x30]
mov eax, dword [edi + 0x20]
mov dword [edi], vtable.CL2SmartCardPinPopup.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x20], vtable.CL2SmartCardPinPopup.0
mov dword [edi + 0x2c], 0
call fcn.00565650
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x4c]
mov dword [edi + 0x48], esi
call fcn.0044a700
push dword [ebp + 0x14]
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 3
call fcn.0044a700
push dword [ebp + 0x18]
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 4
call fcn.0044a700
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x94], eax
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 0x18
Function at 0x540550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6d92
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov byte [edi + 0x5ad], 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SoftwareCiscoCisco_Secure_Client_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5405ee
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.EnableStatusPopups
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5405e3
cmp dword [ebp - 0x1c], 4
jne 0x5405e3
cmp dword [ebp - 0x14], eax
setne al
mov byte [edi + 0x5ad], al
test esi, esi
je 0x5405ee
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x540640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6dbc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [ebp + 8]
xor esi, esi
mov byte [edi + 0x5ad], al
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareCiscoCisco_Secure_Client_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5406b1
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
test eax, eax
jne 0x5406df
cmp byte [edi + 0x5ad], al
push 4
setne al
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.EnableStatusPopups
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x540702
push 0
push 0
push eax
push str.RegSetValueEx
push 0x45
push 0xca5
push str.C:drone_srcGUIWindowsMainFrame.cpp
push str.CMainFrame::SetToastPreference
call fcn.00573980
add esp, 0x20
test esi, esi
je 0x54070d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x5408e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x138]
mov eax, dword [eax + 4]
test eax, eax
je 0x5408f6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x5444a0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x545980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x5a0], 0
je 0x545a5c
mov eax, dword [esi + 0xcc]
sub eax, dword [esi + 0xc8]
mov ebx, dword [ebp + 8]
sar eax, 2
cmp ebx, eax
jae 0x545a5c
xor edi, edi
test eax, eax
je 0x545a5c
nop word [eax + eax]
cmp edi, ebx
je 0x5459fe
push 0
test edi, edi
jne 0x5459d2
mov eax, dword [esi + 0x144]
jmp 0x5459e6
mov ecx, dword [esi + 0xbc]
lea eax, [edi - 1]
push eax
call fcn.005548d0
push 0
mov eax, dword [eax + 0x1c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc8]
mov byte [ebp - 4], 0
mov ecx, dword [eax + edi*4]
jmp 0x545a3c
mov dword [esi + 0x574], ebx
test edi, edi
jne 0x545a10
mov eax, dword [esi + 0x144]
jmp 0x545a24
mov ecx, dword [esi + 0xbc]
lea eax, [edi - 1]
push 0
push eax
call fcn.005548d0
mov eax, dword [eax + 0x1c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ebx*4]
push dword [ebp - 4]
call fcn.00549200
mov eax, dword [esi + 0xcc]
inc edi
sub eax, dword [esi + 0xc8]
sar eax, 2
cmp edi, eax
jb 0x5459c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x545fb0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3c
mov edi, ecx
push 0
push edi
call fcn.004c76f0
add esp, 0xc
lea esi, [edi + 0x1c]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x10
lea eax, [edi + 0x2c]
push esi
push eax
call fcn.004c7170
add esp, 0xc
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [edi], eax
test eax, eax
jne 0x54601a
mov dword [edi + 4], 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edi + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi]
mov esi, dword [edi + 0x14]
sub esi, dword [ebx]
mov ebx, dword [edi + 0x18]
sub ebx, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 4
mov dword [ebp - 0x28], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
and eax, 1
cmp dword [edi + 0x10], 0
mov dword [edi + 8], eax
jle 0x546074
mov dword [edi + 4], 3
test eax, eax
je 0x5460ca
sub dword [edi + 0x38], ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xc], 0
jle 0x546099
mov dword [edi + 4], 2
test eax, eax
je 0x5460ca
sub dword [edi + 0x34], esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
cmp esi, ebx
jle 0x5460bc
mov dword [edi + 4], 1
test eax, eax
je 0x5460ca
add dword [edi + 0x30], ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
test eax, eax
je 0x5460ca
add dword [edi + 0x2c], esi
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004c59c5
mov esp, ebp
pop ebp
ret

Function at 0x546650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
lea eax, [ebp - 0x3c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.004c76f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
jb 0x546690
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
jb 0x5466a2
mov esi, dword [esi]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], esi
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
jne 0x5466f3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::ShellExecuteEx
push 0x45
push 0x16d
push str.C:drone_srcGUIWindowsMFDartBox.cpp
push str.MFDartBox::LaunchApplication
call fcn.00573980
add esp, 0x20
mov eax, 0xfe000009
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x546d60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a75bf
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf2f2f2
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea ecx, [ebp - 0x58]
mov dword [esi + 0x2c], eax
call fcn.005734f0
push 0x57e
mov dword [ebp - 4], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x672e90
lea ecx, [ebp - 0x58]
mov dword [esi + 0x24], eax
call fcn.00443fb0
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x546de2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004459d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6721d0
lea ecx, [ebp - 0x58]
call fcn.00443fb0
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x546e47
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004459d0
push 0x58b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [esi + 0x28], eax
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x546eaa
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x546ed9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.00446620
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.005734b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x548640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x6340c4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x548688
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0
push 0x474
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [edi + 0x84]
call fcn.004463c0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x54870b
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x28]
add eax, 0xfffffff8
push 2
add eax, ecx
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0xc
lea ecx, [edi + 0x64]
call fcn.004984b0
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x548900
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7910
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x548ab4
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x548980
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004459d0
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov edi, dword [ebp - 0x230]
cmp esi, 8
mov edx, dword [ebp - 0x220]
push 3
cmovae ecx, edi
push 0x5e8678
push ecx
call fcn.0045ad00
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
je 0x548a9e
xor eax, eax
mov dword [ebp - 0x238], 0
cmp dword [ebp - 0x220], ecx
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x230]
cmovb ecx, dword [ebp - 0x220]
cmp esi, 8
push ecx
cmovae eax, edi
mov dword [ebp - 0x234], 7
push eax
lea ecx, [ebp - 0x248]
call fcn.004459d0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x548a3f
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x230]
call fcn.00446620
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
push 0x18
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
push eax
call fcn.004c7170
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x230]
cmp esi, 8
jb 0x548ab4
lea eax, [esi*2 + 2]
push eax
push edi
call fcn.00446620
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret