Function at 0x514de3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0x113
jne 0x514e88
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], eax
jne 0x514e83
push 0xce0982
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 0x514e79
push 0xce9a59
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 0x514e79
push 1
push 0xce9a59
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetPropA]
nop
nop
nop
nop
push 0
push 0xce0982
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetPropA]
nop
nop
nop
nop
push dword [ebp + 8]
call fcn.0050c28d
mov eax, 0
jmp 0x5153a6
jmp 0x515373
cmp dword [ebp + 0xc], 0x200
jne 0x514ea8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0050f704
jmp 0x515373
cmp dword [ebp + 0xc], 0xf
jne 0x514ec9
push dword [ebp + 8]
call fcn.005102f1
mov eax, 0
jmp 0x5153a6
cmp dword [ebp + 0xc], 5
jne 0x514ee6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051073f
jmp 0x515373
cmp dword [ebp + 0xc], 0x201
jne 0x514f06
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051183c
jmp 0x515373
cmp dword [ebp + 0xc], 0x202
jne 0x514f26
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00512086
jmp 0x515373
cmp dword [ebp + 0xc], 0x203
jne 0x514f46
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005122ba
jmp 0x515373
cmp dword [ebp + 0xc], 0x204
jne 0x514f66
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005123a1
jmp 0x515373
cmp dword [ebp + 0xc], 0x205
jne 0x514f86
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00512488
jmp 0x515373
cmp dword [ebp + 0xc], 0x206
jne 0x514fa6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0051256f
jmp 0x515373
cmp dword [ebp + 0xc], 0x2a1
jne 0x514fc0
push dword [ebp + 8]
call fcn.00512656
jmp 0x515373
cmp dword [ebp + 0xc], 0x2a3
jne 0x514fda
push dword [ebp + 8]
call fcn.00512676
jmp 0x515373
cmp dword [ebp + 0xc], 0x20a
jne 0x514ffa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005127b8
jmp 0x515373
cmp dword [ebp + 0xc], 0x24
jne 0x515038
push 0xce9aa8
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.0045b5c8
jmp 0x515373
cmp dword [ebp + 0xc], 0x102
jne 0x515058
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00512888
jmp 0x515373
cmp dword [ebp + 0xc], 0x100
je 0x515076
cmp dword [ebp + 0xc], 0x101
je 0x515076
xor eax, eax
jmp 0x51507b
mov eax, 1
test eax, eax
je 0x5150a3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00512962
mov eax, 0
jmp 0x5153a6
cmp dword [ebp + 0xc], 0x10f
jne 0x5150cd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00512b0f
mov eax, 0
jmp 0x5153a6
cmp dword [ebp + 0xc], 6
jne 0x515105
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0xce9abe]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.0045b3e1
push eax
push dword [ebp + 8]
call fcn.00512beb
jmp 0x515373
cmp dword [ebp + 0xc], 7
jne 0x515145
push dword [ebp + 8]
call fcn.00512c3d
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0xce9abe]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.0045b3e1
push eax
push dword [ebp + 8]
call fcn.00512beb
jmp 0x515373
cmp dword [ebp + 0xc], 8
jne 0x515185
push dword [ebp + 8]
call fcn.00512e38
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0xce9abe]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.0045b3e1
push eax
push dword [ebp + 8]
call fcn.00512beb
jmp 0x515373
cmp dword [ebp + 0xc], 0xc
jne 0x5151bd
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0xce9abe]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.0045b3e1
push eax
push dword [ebp + 8]
call fcn.00512beb
jmp 0x515373
cmp dword [ebp + 0xc], 0x80
jne 0x5151f8
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0xce9abe]
fstp qword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
fld qword [ebp - 0x10]
call fcn.0045b3e1
push eax
push dword [ebp + 8]
call fcn.00512beb
jmp 0x515373
cmp dword [ebp + 0xc], 0x86
jne 0x515214
mov eax, 1
jmp 0x5153a6
cmp dword [ebp + 0xc], 0x84
je 0x515232
cmp dword [ebp + 0xc], 0x86
je 0x515232
xor eax, eax
jmp 0x515237
mov eax, 1
test eax, eax
je 0x51524e
mov eax, 1
jmp 0x5153a6
cmp dword [ebp + 0xc], 0x85
jne 0x51526a
mov eax, 0
jmp 0x5153a6
cmp dword [ebp + 0xc], 0x83
jne 0x515290
cmp dword [ebp + 0x10], 1
jne 0x51528b
mov eax, 1
jmp 0x5153a6
jmp 0x515373
cmp dword [ebp + 0xc], 0xae
jne 0x5152ac
mov eax, 0
jmp 0x5153a6
cmp dword [ebp + 0xc], 0x18
jne 0x5152d0
cmp dword [ebp + 0x10], 1
mov eax, 0
sete al
push eax
push dword [ebp + 8]
call fcn.00512f15
jmp 0x515373
cmp dword [ebp + 0xc], 0x82
jne 0x515333
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 0xce119d
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetPropA]
nop
nop
nop
nop
push eax
call fcn.00513e51
mov eax, dword [ebp + 0xc]
jmp 0x5153a6
cmp dword [ebp + 0xc], 2
jne 0x515373
cmp dword [0xd51671], 0
jne 0x51535c
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_ShowWindow]
nop
nop
nop
nop
push 0xffffffff
push 0xce99f7
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 0x5153a6
mov esp, ebp
pop ebp
ret 0x10