Function at 0x527e60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4789
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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
xorps xmm0, xmm0
mov dword [ebp - 0x7c], vtable.CInstanceSmartPtr_class_CMainFrame_.0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.00546620
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x527ebc
movss xmm1, dword [eax + 0x5a8]
jmp 0x527ee2
push str.Invalid_CInstanceSmartPtr_CMainFrame_.
push 0x45
push 0x1a9
push str.C:drone_srcGUIWindowsL2CredentialsPopup.cpp
push str.CL2CredentialsPopup::positionChildren
call fcn.00573940
movss xmm1, dword [0x5fc81c]
add esp, 0x14
movaps xmm0, xmm1
mov ecx, dword [ebx + 0x48]
mulss xmm0, dword [0x5fc900]
xor edi, edi
cvttss2si esi, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x5fc91c]
mov dword [ebp - 0x6c], esi
cvttss2si eax, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x5fc918]
mov dword [ebp - 0x64], eax
cvttss2si eax, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x5fc894]
mov dword [ebp - 0x68], eax
mulss xmm0, dword [0x5fc8b0]
cvttss2si eax, xmm0
mov dword [ebp - 0x58], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x4c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x527f96
nop word [eax + eax]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x527f83
push 1
lea edx, [ebp - 0x20]
call fcn.00520f50
mov eax, dword [ebp - 0x18]
add esp, 4
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x68]
cmp eax, edx
jle 0x527f7e
cmp esi, edx
mov eax, edx
cmovg eax, esi
mov esi, eax
jmp 0x527f83
cmp esi, eax
cmovle esi, eax
mov eax, dword [ebx + 0x4c]
inc edi
mov ecx, dword [ebx + 0x48]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x527f50
mov dword [ebp - 0x6c], esi
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
lea eax, [ecx + edi*2]
add eax, edi
add eax, esi
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x5c]
je 0x528012
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x3c]
push 0
lea edx, [esi + eax*2]
mov eax, dword [ebp - 0x34]
add edx, dword [ebp - 0x5c]
sub eax, ecx
push eax
mov dword [ebp - 0x38], edx
sub edx, esi
push edx
push ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x52803d
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
sub edx, edi
mov eax, dword [ebp - 0x14]
add esi, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0
push eax
mov dword [ebp - 0x18], edx
sub edx, esi
push edx
push ecx
push esi
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
push 0
call fcn.00520f50
mov eax, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x5280ad
push 5
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x51], 0
lea edi, [esi + eax*2]
mov dword [ebp - 0x64], edx
mov eax, dword [ebx + 0x4c]
sub eax, ecx
mov dword [ebp - 0x70], edi
sar eax, 2
test eax, eax
je 0x528239
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x528222
mov esi, dword [eax]
test esi, esi
je 0x52821f
mov edi, dword [eax + 4]
test edi, edi
je 0x52821c
push 1
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.00520f50
mov eax, dword [ebp - 0x58]
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
push 1
add eax, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
push eax
push ecx
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x20]
push 0
mov ecx, dword [ecx]
call fcn.00520f50
mov eax, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x58]
push 0xfffffffffffffff0
push esi
cmp eax, ecx
jge 0x528170
lea eax, [edx + ecx]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x200
jmp 0x52817e
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x52818c
push ecx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x28]
add esi, dword [ebp - 0x58]
sub ecx, eax
mov edx, dword [ebp - 0x14]
push 1
push dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
sub edx, eax
sub ecx, esi
mov dword [ebp - 0x20], esi
push ecx
push edx
push esi
add eax, edx
mov dword [ebp - 0x1c], edx
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0x51], 0
jne 0x528209
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x528209
push edi
mov byte [ebp - 0x51], 1
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
add edi, esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], edi
jmp 0x528222
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x4c]
inc edx
mov ecx, dword [ebx + 0x48]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x64], edx
cmp edx, eax
jb 0x5280d8
lea ecx, [ebx + 0xb4]
mov edx, 0x5e5944
call fcn.00474f70
test al, al
je 0x528284
sub esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 1
push esi
lea eax, [esi + edi]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebx + 0x78]
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [ebx + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x14]
add edi, dword [ebp - 0x60]
jmp 0x528290
mov eax, dword [ebx + 0x78]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push dword [ebx + 4]
xorps xmm0, xmm0
add edi, 8
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x5282d0
lea eax, [ebp - 0x48]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
push 1
push ecx
lea eax, [ecx + edi]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
sub edx, eax
push edx
push edi
push eax
push esi
mov dword [ebp - 0x4c], edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x28]
add esi, 0xd
sub edx, dword [ebp - 0x58]
mov ecx, dword [ebx + 0x80]
push 1
push 0
push esi
call fcn.00520cc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x80]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x528344
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x7c]
push 1
push 0
push esi
call fcn.00520cc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x528385
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [ebp - 0x14]
push 4
add esi, 0xd
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x68]
add eax, esi
lea edi, [eax + ecx*2]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x5283db
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
push 1
lea eax, [edx + edi]
mov dword [ebp - 0x34], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x5283fd
call fcn.005465d0
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