Function at 0x51de90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0051ab30
mov dword [ebp - 0xc], eax
jmp 0x51dec0
mov eax, dword [ebp - 0xc]
push eax
call fcn.0051abb0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x51df24
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
je 0x51df24
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
and ecx, 0x4020
je 0x51df22
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x51defc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x30], edx
jmp 0x51df03
mov dword [ebp - 0x30], 0
push 4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
cmp eax, dword [edx]
jne 0x51df22
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x51deb1
cmp dword [ebp - 0x14], 0
je 0x51dfe3
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055e782
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
call fcn.0051ab30
mov dword [ebp - 0xc], eax
jmp 0x51df73
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0051abb0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x51dfe3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x68], 0
je 0x51dfe3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
and edx, 0x4020
je 0x51dfe1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x51dfaf
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
jmp 0x51dfb6
mov dword [ebp - 0x38], 0
push 4
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x68]
cmp eax, dword [ecx]
jne 0x51dfe1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x51df64
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
or ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x51e004
mov dword [ebp - 0x3c], 1
jmp 0x51e00b
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x51e016
jmp 0x51e333
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], 0x6055c8
jmp 0x51e033
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
add ecx, 0x10
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
je 0x51e04c
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jne 0x51e04a
jmp 0x51e333
jmp 0x51e028
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], 0
mov eax, dword [0x6055c8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x51e0b7
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x20]
call fcn.005275b0
cmp eax, dword [ebp - 4]
jne 0x51e0ac
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x40]
and edx, 0xfffffffd
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], edx
mov ecx, dword [0x6055c8]
mov dword [ebp - 0x24], ecx
jmp 0x51e0b5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x51e069
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x605668]
jne 0x51e101
call fcn.0051ab30
mov dword [ebp - 0x28], eax
jmp 0x51e0db
mov edx, dword [ebp - 0x28]
push edx
call fcn.0051abb0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x51e0f9
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
and edx, 0x4000
je 0x51e0f7
jmp 0x51e0f9
jmp 0x51e0cc
mov eax, dword [ebp - 0x28]
mov dword [0x605668], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00520650
add esp, 4
push 0xf
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
call edx
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00527c60
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jne 0x51e13a
call fcn.005208e0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call fcn.00520880
add esp, 4
push 0
push 0
push 0x8000
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x51e17b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.0051fa70
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx]
cmp eax, dword [0x6055f4]
jne 0x51e1bb
cmp dword [0x6055f8], 0
je 0x51e1bb
mov ecx, dword [0x6055f8]
push ecx
mov edx, dword [0x6055f4]
push edx
call fcn.0051fa70
add esp, 8
mov dword [0x6055f4], 0xffffffff
mov dword [0x6055f8], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x51e1d7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [ebp - 0x40], eax
jne 0x51e20b
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [ebp - 0x14], 0
je 0x51e2c6
mov dword [ebp - 0x10], 0
jmp 0x51e233
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x51e256
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x14]
call edx
jmp 0x51e22a
mov dword [ebp - 0x10], 0
jmp 0x51e268
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jge 0x51e2b4
cmp dword [ebp - 0x10], 0
je 0x51e299
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [edx]
mov ecx, dword [eax + ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x10]
call edx
jmp 0x51e25f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0055d77b
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
and ecx, 0x4020
je 0x51e31f
call fcn.0051ab30
test eax, eax
je 0x51e31f
call fcn.0051ab30
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x68], 0
je 0x51e2fd
mov dword [ebp - 0x44], 1
jmp 0x51e304
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0
je 0x51e31f
call fcn.0051ab30
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x6c], ecx
push 0x28
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0055d76d
add esp, 8
mov esp, ebp
pop ebp
ret