Function at 0x515185
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x77e347
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x515734
cmp dword [ebp + 0xc], 0x113
jne 0x515249
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], eax
jne 0x515244
push 0x77db3a
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x51523a
push 0x786c11
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x51523a
push 1
push 0x786c11
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetPropA]
nop
nop
nop
nop
push 0
push 0x77db3a
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetPropA]
nop
nop
nop
nop
push dword [ebp + 8]
call fcn.0051576d
mov eax, 0
jmp 0x515767
jmp 0x515734
cmp dword [ebp + 0xc], 0x200
jne 0x515269
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00518be4
jmp 0x515734
cmp dword [ebp + 0xc], 0xf
jne 0x51528a
push dword [ebp + 8]
call fcn.005197d1
mov eax, 0
jmp 0x515767
cmp dword [ebp + 0xc], 5
jne 0x5152a7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00519c1f
jmp 0x515734
cmp dword [ebp + 0xc], 0x201
jne 0x5152c7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051ad1c
jmp 0x515734
cmp dword [ebp + 0xc], 0x202
jne 0x5152e7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051b566
jmp 0x515734
cmp dword [ebp + 0xc], 0x203
jne 0x515307
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051b79a
jmp 0x515734
cmp dword [ebp + 0xc], 0x204
jne 0x515327
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051b881
jmp 0x515734
cmp dword [ebp + 0xc], 0x205
jne 0x515347
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051b968
jmp 0x515734
cmp dword [ebp + 0xc], 0x206
jne 0x515367
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051ba4f
jmp 0x515734
cmp dword [ebp + 0xc], 0x2a1
jne 0x515381
push dword [ebp + 8]
call fcn.0051bb36
jmp 0x515734
cmp dword [ebp + 0xc], 0x2a3
jne 0x51539b
push dword [ebp + 8]
call fcn.0051bb56
jmp 0x515734
cmp dword [ebp + 0xc], 0x20a
jne 0x5153bb
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051bc98
jmp 0x515734
cmp dword [ebp + 0xc], 0x24
jne 0x5153f9
push 0x786c60
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push 0
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00464aa8
jmp 0x515734
cmp dword [ebp + 0xc], 0x102
jne 0x515419
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051bd68
jmp 0x515734
cmp dword [ebp + 0xc], 0x100
je 0x515437
cmp dword [ebp + 0xc], 0x101
je 0x515437
xor eax, eax
jmp 0x51543c
mov eax, 1
test eax, eax
je 0x515464
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0051be42
mov eax, 0
jmp 0x515767
cmp dword [ebp + 0xc], 0x10f
jne 0x51548e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051bfef
mov eax, 0
jmp 0x515767
cmp dword [ebp + 0xc], 6
jne 0x5154c6
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x786c76]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.004648c1
push eax
push dword [ebp + 8]
call fcn.0051c0cb
jmp 0x515734
cmp dword [ebp + 0xc], 7
jne 0x515506
push dword [ebp + 8]
call fcn.0051c11d
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x786c76]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.004648c1
push eax
push dword [ebp + 8]
call fcn.0051c0cb
jmp 0x515734
cmp dword [ebp + 0xc], 8
jne 0x515546
push dword [ebp + 8]
call fcn.0051c318
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x786c76]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.004648c1
push eax
push dword [ebp + 8]
call fcn.0051c0cb
jmp 0x515734
cmp dword [ebp + 0xc], 0xc
jne 0x51557e
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x786c76]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.004648c1
push eax
push dword [ebp + 8]
call fcn.0051c0cb
jmp 0x515734
cmp dword [ebp + 0xc], 0x80
jne 0x5155b9
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x786c76]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.004648c1
push eax
push dword [ebp + 8]
call fcn.0051c0cb
jmp 0x515734
cmp dword [ebp + 0xc], 0x86
jne 0x5155d5
mov eax, 1
jmp 0x515767
cmp dword [ebp + 0xc], 0x84
je 0x5155f3
cmp dword [ebp + 0xc], 0x86
je 0x5155f3
xor eax, eax
jmp 0x5155f8
mov eax, 1
test eax, eax
je 0x51560f
mov eax, 1
jmp 0x515767
cmp dword [ebp + 0xc], 0x85
jne 0x51562b
mov eax, 0
jmp 0x515767
cmp dword [ebp + 0xc], 0x83
jne 0x515651
cmp dword [ebp + 0x10], 1
jne 0x51564c
mov eax, 1
jmp 0x515767
jmp 0x515734
cmp dword [ebp + 0xc], 0xae
jne 0x51566d
mov eax, 0
jmp 0x515767
cmp dword [ebp + 0xc], 0x18
jne 0x515691
cmp dword [ebp + 0x10], 1
mov eax, 0
sete al
push eax
push dword [ebp + 8]
call fcn.0051c3f5
jmp 0x515734
cmp dword [ebp + 0xc], 0x82
jne 0x5156f4
push str.ex_ui_keye
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_CallWindowProcA]
nop
nop
nop
nop
mov dword [ebp + 0xc], eax
push 0x77e355
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
push eax
call fcn.0051d331
mov eax, dword [ebp + 0xc]
jmp 0x515767
cmp dword [ebp + 0xc], 2
jne 0x515734
cmp dword [0x7ee829], 0
jne 0x51571d
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_ShowWindow]
nop
nop
nop
nop
push 0xffffffff
push 0x786baf
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetPropA]
nop
nop
nop
nop
push str.ex_ui_keye
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_CallWindowProcA]
nop
nop
nop
nop
jmp 0x515767
mov esp, ebp
pop ebp
ret 0x10