Function at 0x5401c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x58], edi
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x64], vtable.XmlNode.0
call fcn.005025b0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00502620
test al, al
jne 0x54048e
nop
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.005024b0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, 0x5e1e60
call fcn.0044f640
test al, al
je 0x540261
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.0054b280
jmp 0x540443
lea edx, [ebp - 0x40]
mov ecx, str.application
call fcn.0044f640
test al, al
je 0x540443
push str.show
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
call fcn.00502690
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x54029f
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
test esi, esi
je 0x540338
push str.show
push eax
call fcn.00502690
mov edx, 0x5dc194
mov ecx, eax
call fcn.0044f680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x41], al
cmp ecx, 0x10
jb 0x5402df
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00446620
mov al, byte [ebp - 0x41]
add esp, 8
test al, al
je 0x540317
mov eax, dword [ebx + 0x138]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x138]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 0x138]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x540443
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x138]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x540443
push str.disableQuit
push eax
call fcn.00502690
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x54035b
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
test esi, esi
je 0x5403b2
cmp dword [ebx + 0xc0], 0
jne 0x540443
push str.disableQuit
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
call fcn.00502690
mov edx, 0x5dc194
mov ecx, eax
call fcn.0044f680
xor al, 1
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5403a3
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
push dword [ebp - 0x54]
mov ecx, ebx
call fcn.0053d1c0
jmp 0x540443
push str.showpreferences
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
call fcn.00502690
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5403db
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
test esi, esi
je 0x540425
mov ecx, ebx
call fcn.00545950
mov ecx, ebx
call fcn.00540740
test al, al
jne 0x540408
push dword [edi + 0x14]
mov ecx, dword [ebx + 0xbc]
call fcn.00554120
inc eax
mov ecx, ebx
push eax
call fcn.00545980
mov edi, dword [edi + 0x1c]
push 0
push 5
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x58]
jmp 0x540443
push str.Unknown_application_node_received
push 0x57
push 0xdc9
push str.C:drone_srcGUIWindowsMainFrame.cpp
push str.CMainFrame::handleXMLApplicationNodes
call fcn.00573940
add esp, 0x14
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x54045c
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00446620
add esp, 8
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00502570
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x48], eax
call fcn.00502640
lea ecx, [ebp - 0x50]
call fcn.00502620
test al, al
je 0x540230
mov al, 1
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 8